summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/SwNumberTree/SwNodeNum.cxx2
-rw-r--r--sw/source/core/SwNumberTree/SwNumberTree.cxx2
-rw-r--r--sw/source/core/access/acccell.hxx14
-rw-r--r--sw/source/core/access/acccontext.cxx4
-rw-r--r--sw/source/core/access/acccontext.hxx68
-rw-r--r--sw/source/core/access/accdoc.cxx2
-rw-r--r--sw/source/core/access/accdoc.hxx22
-rw-r--r--sw/source/core/access/accembedded.cxx2
-rw-r--r--sw/source/core/access/accembedded.hxx6
-rw-r--r--sw/source/core/access/accfootnote.cxx4
-rw-r--r--sw/source/core/access/accfootnote.hxx6
-rw-r--r--sw/source/core/access/accframebase.cxx2
-rw-r--r--sw/source/core/access/accframebase.hxx6
-rw-r--r--sw/source/core/access/accgraphic.cxx2
-rw-r--r--sw/source/core/access/accgraphic.hxx8
-rw-r--r--sw/source/core/access/accheaderfooter.cxx2
-rw-r--r--sw/source/core/access/accheaderfooter.hxx10
-rw-r--r--sw/source/core/access/acchyperlink.cxx22
-rw-r--r--sw/source/core/access/acchyperlink.hxx4
-rw-r--r--sw/source/core/access/acchypertextdata.cxx2
-rw-r--r--sw/source/core/access/acchypertextdata.hxx4
-rw-r--r--sw/source/core/access/accmap.cxx22
-rw-r--r--sw/source/core/access/accnotextframe.cxx2
-rw-r--r--sw/source/core/access/accnotextframe.hxx6
-rw-r--r--sw/source/core/access/accpage.cxx2
-rw-r--r--sw/source/core/access/accpage.hxx8
-rw-r--r--sw/source/core/access/accpara.hxx18
-rw-r--r--sw/source/core/access/accportions.cxx2
-rw-r--r--sw/source/core/access/accportions.hxx2
-rw-r--r--sw/source/core/access/accpreview.cxx2
-rw-r--r--sw/source/core/access/accpreview.hxx12
-rw-r--r--sw/source/core/access/accselectionhelper.cxx2
-rw-r--r--sw/source/core/access/accselectionhelper.hxx2
-rw-r--r--sw/source/core/access/acctable.cxx14
-rw-r--r--sw/source/core/access/acctable.hxx10
-rw-r--r--sw/source/core/access/acctextframe.cxx2
-rw-r--r--sw/source/core/access/acctextframe.hxx6
-rw-r--r--sw/source/core/access/textmarkuphelper.cxx2
-rw-r--r--sw/source/core/access/textmarkuphelper.hxx2
-rw-r--r--sw/source/core/attr/calbck.cxx108
-rw-r--r--sw/source/core/attr/cellatr.cxx24
-rw-r--r--sw/source/core/attr/fmtfollowtextflow.cxx2
-rw-r--r--sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx2
-rw-r--r--sw/source/core/attr/format.cxx52
-rw-r--r--sw/source/core/attr/hints.cxx8
-rw-r--r--sw/source/core/attr/swatrset.cxx12
-rw-r--r--sw/source/core/bastyp/SwSmartTagMgr.cxx8
-rw-r--r--sw/source/core/bastyp/bparr.cxx30
-rw-r--r--sw/source/core/bastyp/breakit.cxx6
-rw-r--r--sw/source/core/bastyp/calc.cxx380
-rw-r--r--sw/source/core/bastyp/checkit.cxx2
-rw-r--r--sw/source/core/bastyp/index.cxx48
-rw-r--r--sw/source/core/bastyp/init.cxx284
-rw-r--r--sw/source/core/bastyp/ring.cxx6
-rw-r--r--sw/source/core/bastyp/swcache.cxx116
-rw-r--r--sw/source/core/bastyp/swrect.cxx54
-rw-r--r--sw/source/core/bastyp/swregion.cxx42
-rw-r--r--sw/source/core/bastyp/swtypes.cxx28
-rw-r--r--sw/source/core/bastyp/tabcol.cxx12
-rw-r--r--sw/source/core/crsr/BlockCursor.cxx2
-rw-r--r--sw/source/core/crsr/BlockCursor.hxx4
-rw-r--r--sw/source/core/crsr/IBlockCursor.hxx8
-rw-r--r--sw/source/core/crsr/bookmrk.cxx4
-rw-r--r--sw/source/core/crsr/callnk.cxx8
-rw-r--r--sw/source/core/crsr/callnk.hxx4
-rw-r--r--sw/source/core/crsr/crbm.cxx8
-rw-r--r--sw/source/core/crsr/crossrefbookmark.cxx2
-rw-r--r--sw/source/core/crsr/crsrsh.cxx160
-rw-r--r--sw/source/core/crsr/crstrvl.cxx82
-rw-r--r--sw/source/core/crsr/crstrvl1.cxx2
-rw-r--r--sw/source/core/crsr/findattr.cxx96
-rw-r--r--sw/source/core/crsr/findcoll.cxx2
-rw-r--r--sw/source/core/crsr/findfmt.cxx8
-rw-r--r--sw/source/core/crsr/findtxt.cxx16
-rw-r--r--sw/source/core/crsr/pam.cxx6
-rw-r--r--sw/source/core/crsr/paminit.cxx66
-rw-r--r--sw/source/core/crsr/swcrsr.cxx74
-rw-r--r--sw/source/core/crsr/trvlcol.cxx4
-rw-r--r--sw/source/core/crsr/trvlfnfl.cxx12
-rw-r--r--sw/source/core/crsr/trvlreg.cxx12
-rw-r--r--sw/source/core/crsr/trvltbl.cxx40
-rw-r--r--sw/source/core/crsr/unocrsr.cxx8
-rw-r--r--sw/source/core/crsr/viscrs.cxx38
-rw-r--r--sw/source/core/doc/SwStyleNameMapper.cxx50
-rw-r--r--sw/source/core/doc/acmplwrd.cxx2
-rw-r--r--sw/source/core/doc/dbgoutsw.cxx28
-rw-r--r--sw/source/core/doc/doc.cxx194
-rw-r--r--sw/source/core/doc/docbasic.cxx10
-rw-r--r--sw/source/core/doc/docbm.cxx58
-rw-r--r--sw/source/core/doc/docchart.cxx4
-rw-r--r--sw/source/core/doc/doccomp.cxx34
-rw-r--r--sw/source/core/doc/doccorr.cxx10
-rw-r--r--sw/source/core/doc/docdde.cxx54
-rw-r--r--sw/source/core/doc/docdesc.cxx52
-rw-r--r--sw/source/core/doc/docdraw.cxx36
-rw-r--r--sw/source/core/doc/docedt.cxx80
-rw-r--r--sw/source/core/doc/docfld.cxx116
-rw-r--r--sw/source/core/doc/docfly.cxx34
-rw-r--r--sw/source/core/doc/docfmt.cxx70
-rw-r--r--sw/source/core/doc/docftn.cxx8
-rw-r--r--sw/source/core/doc/docglbl.cxx44
-rw-r--r--sw/source/core/doc/docglos.cxx4
-rw-r--r--sw/source/core/doc/doclay.cxx136
-rw-r--r--sw/source/core/doc/docnew.cxx40
-rw-r--r--sw/source/core/doc/docnum.cxx66
-rw-r--r--sw/source/core/doc/docredln.cxx98
-rw-r--r--sw/source/core/doc/docruby.cxx48
-rw-r--r--sw/source/core/doc/docsort.cxx62
-rw-r--r--sw/source/core/doc/docstat.cxx16
-rw-r--r--sw/source/core/doc/doctxm.cxx114
-rw-r--r--sw/source/core/doc/docxforms.cxx6
-rw-r--r--sw/source/core/doc/extinput.cxx2
-rw-r--r--sw/source/core/doc/fmtcol.cxx20
-rw-r--r--sw/source/core/doc/ftnidx.cxx22
-rw-r--r--sw/source/core/doc/gctable.cxx10
-rw-r--r--sw/source/core/doc/htmltbl.cxx54
-rw-r--r--sw/source/core/doc/lineinfo.cxx2
-rw-r--r--sw/source/core/doc/list.cxx2
-rw-r--r--sw/source/core/doc/notxtfrm.cxx96
-rw-r--r--sw/source/core/doc/number.cxx16
-rw-r--r--sw/source/core/doc/poolfmt.cxx290
-rw-r--r--sw/source/core/doc/sortopt.cxx4
-rw-r--r--sw/source/core/doc/swserv.cxx4
-rw-r--r--sw/source/core/doc/swstylemanager.cxx2
-rw-r--r--sw/source/core/doc/swstylemanager.hxx4
-rw-r--r--sw/source/core/doc/tblafmt.cxx94
-rw-r--r--sw/source/core/doc/tblcpy.cxx46
-rw-r--r--sw/source/core/doc/tblrwcl.cxx198
-rw-r--r--sw/source/core/doc/visiturl.cxx2
-rw-r--r--sw/source/core/docnode/cancellablejob.cxx2
-rw-r--r--sw/source/core/docnode/cancellablejob.hxx2
-rw-r--r--sw/source/core/docnode/finalthreadmanager.cxx2
-rw-r--r--sw/source/core/docnode/ndcopy.cxx46
-rw-r--r--sw/source/core/docnode/ndindex.cxx12
-rw-r--r--sw/source/core/docnode/ndnotxt.cxx4
-rw-r--r--sw/source/core/docnode/ndnum.cxx80
-rw-r--r--sw/source/core/docnode/ndsect.cxx26
-rw-r--r--sw/source/core/docnode/ndtbl.cxx140
-rw-r--r--sw/source/core/docnode/ndtbl1.cxx138
-rw-r--r--sw/source/core/docnode/node.cxx176
-rw-r--r--sw/source/core/docnode/node2lay.cxx8
-rw-r--r--sw/source/core/docnode/nodes.cxx534
-rw-r--r--sw/source/core/docnode/observablethread.cxx2
-rw-r--r--sw/source/core/docnode/pausethreadstarting.cxx2
-rw-r--r--sw/source/core/docnode/retrievedinputstreamdata.cxx2
-rw-r--r--sw/source/core/docnode/retrieveinputstream.cxx2
-rw-r--r--sw/source/core/docnode/retrieveinputstreamconsumer.cxx2
-rw-r--r--sw/source/core/docnode/section.cxx46
-rw-r--r--sw/source/core/docnode/swbaslnk.cxx40
-rw-r--r--sw/source/core/docnode/swthreadjoiner.cxx2
-rw-r--r--sw/source/core/docnode/swthreadmanager.cxx2
-rw-r--r--sw/source/core/docnode/threadlistener.cxx2
-rw-r--r--sw/source/core/docnode/threadmanager.cxx2
-rw-r--r--sw/source/core/draw/dcontact.cxx82
-rw-r--r--sw/source/core/draw/dflyobj.cxx64
-rw-r--r--sw/source/core/draw/dobjfac.cxx2
-rw-r--r--sw/source/core/draw/dpage.cxx18
-rw-r--r--sw/source/core/draw/drawdoc.cxx2
-rw-r--r--sw/source/core/draw/dview.cxx58
-rw-r--r--sw/source/core/edit/acorrect.cxx26
-rw-r--r--sw/source/core/edit/autofmt.cxx254
-rw-r--r--sw/source/core/edit/edatmisc.cxx14
-rw-r--r--sw/source/core/edit/edattr.cxx22
-rw-r--r--sw/source/core/edit/eddel.cxx26
-rw-r--r--sw/source/core/edit/edfcol.cxx12
-rw-r--r--sw/source/core/edit/edfld.cxx54
-rw-r--r--sw/source/core/edit/edfldexp.cxx4
-rw-r--r--sw/source/core/edit/edfmt.cxx4
-rw-r--r--sw/source/core/edit/edglbldc.cxx10
-rw-r--r--sw/source/core/edit/edglss.cxx26
-rw-r--r--sw/source/core/edit/editsh.cxx90
-rw-r--r--sw/source/core/edit/edlingu.cxx176
-rw-r--r--sw/source/core/edit/ednumber.cxx42
-rw-r--r--sw/source/core/edit/edredln.cxx2
-rw-r--r--sw/source/core/edit/edsect.cxx14
-rw-r--r--sw/source/core/edit/edtab.cxx12
-rw-r--r--sw/source/core/edit/edtox.cxx42
-rw-r--r--sw/source/core/edit/edundo.cxx20
-rw-r--r--sw/source/core/edit/edws.cxx26
-rw-r--r--sw/source/core/except/dbgloop.cxx12
-rw-r--r--sw/source/core/except/errhdl.cxx24
-rw-r--r--sw/source/core/fields/authfld.cxx34
-rw-r--r--sw/source/core/fields/cellfml.cxx102
-rw-r--r--sw/source/core/fields/chpfld.cxx24
-rw-r--r--sw/source/core/fields/dbfld.cxx20
-rw-r--r--sw/source/core/fields/ddefld.cxx16
-rw-r--r--sw/source/core/fields/ddetbl.cxx6
-rw-r--r--sw/source/core/fields/docufld.cxx114
-rw-r--r--sw/source/core/fields/expfld.cxx54
-rw-r--r--sw/source/core/fields/fldbas.cxx94
-rw-r--r--sw/source/core/fields/flddat.cxx2
-rw-r--r--sw/source/core/fields/flddropdown.cxx2
-rw-r--r--sw/source/core/fields/fldlst.cxx8
-rw-r--r--sw/source/core/fields/macrofld.cxx4
-rw-r--r--sw/source/core/fields/postithelper.cxx8
-rw-r--r--sw/source/core/fields/reffld.cxx46
-rw-r--r--sw/source/core/fields/scrptfld.cxx2
-rw-r--r--sw/source/core/fields/tblcalc.cxx14
-rw-r--r--sw/source/core/fields/textapi.cxx24
-rw-r--r--sw/source/core/fields/usrfld.cxx20
-rw-r--r--sw/source/core/frmedt/fecopy.cxx52
-rw-r--r--sw/source/core/frmedt/fedesc.cxx26
-rw-r--r--sw/source/core/frmedt/fefly1.cxx206
-rw-r--r--sw/source/core/frmedt/feflyole.cxx4
-rw-r--r--sw/source/core/frmedt/feshview.cxx286
-rw-r--r--sw/source/core/frmedt/fetab.cxx206
-rw-r--r--sw/source/core/frmedt/fews.cxx122
-rw-r--r--sw/source/core/frmedt/tblsel.cxx114
-rw-r--r--sw/source/core/graphic/grfatr.cxx10
-rw-r--r--sw/source/core/graphic/ndgrf.cxx16
-rw-r--r--sw/source/core/inc/GetMetricVal.hxx16
-rw-r--r--sw/source/core/inc/MarkManager.hxx16
-rw-r--r--sw/source/core/inc/SwGrammarMarkUp.hxx8
-rw-r--r--sw/source/core/inc/SwPortionHandler.hxx6
-rw-r--r--sw/source/core/inc/SwXMLBlockExport.hxx10
-rw-r--r--sw/source/core/inc/SwXMLBlockImport.hxx4
-rw-r--r--sw/source/core/inc/SwXMLBlockListContext.hxx34
-rw-r--r--sw/source/core/inc/SwXMLTextBlocks.hxx16
-rw-r--r--sw/source/core/inc/SwXTextDefaults.hxx2
-rw-r--r--sw/source/core/inc/acorrect.hxx14
-rw-r--r--sw/source/core/inc/anchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/ascharanchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/blink.hxx16
-rw-r--r--sw/source/core/inc/bodyfrm.hxx6
-rw-r--r--sw/source/core/inc/bookmrk.hxx4
-rw-r--r--sw/source/core/inc/cntfrm.hxx32
-rw-r--r--sw/source/core/inc/colfrm.hxx4
-rw-r--r--sw/source/core/inc/crossrefbookmark.hxx2
-rw-r--r--sw/source/core/inc/dbg_lay.hxx54
-rw-r--r--sw/source/core/inc/dbgloop.hxx10
-rw-r--r--sw/source/core/inc/dflyobj.hxx40
-rw-r--r--sw/source/core/inc/docfld.hxx36
-rw-r--r--sw/source/core/inc/docsort.hxx76
-rw-r--r--sw/source/core/inc/doctxm.hxx30
-rw-r--r--sw/source/core/inc/drawdev.hxx14
-rw-r--r--sw/source/core/inc/drawfont.hxx12
-rw-r--r--sw/source/core/inc/dview.hxx12
-rw-r--r--sw/source/core/inc/environmentofanchoredobject.hxx2
-rw-r--r--sw/source/core/inc/finalthreadmanager.hxx2
-rw-r--r--sw/source/core/inc/flowfrm.hxx52
-rw-r--r--sw/source/core/inc/flyfrm.hxx52
-rw-r--r--sw/source/core/inc/flyfrms.hxx10
-rw-r--r--sw/source/core/inc/fntcache.hxx14
-rw-r--r--sw/source/core/inc/frame.hxx230
-rw-r--r--sw/source/core/inc/frminf.hxx10
-rw-r--r--sw/source/core/inc/frmtool.hxx72
-rw-r--r--sw/source/core/inc/ftnboss.hxx20
-rw-r--r--sw/source/core/inc/ftnfrm.hxx34
-rw-r--r--sw/source/core/inc/hffrm.hxx8
-rw-r--r--sw/source/core/inc/ifinishedthreadlistener.hxx2
-rw-r--r--sw/source/core/inc/ithreadlistenerowner.hxx2
-rw-r--r--sw/source/core/inc/layact.hxx104
-rw-r--r--sw/source/core/inc/laycache.hxx2
-rw-r--r--sw/source/core/inc/layfrm.hxx12
-rw-r--r--sw/source/core/inc/layouter.hxx2
-rw-r--r--sw/source/core/inc/movedfwdfrmsbyobjpos.hxx2
-rw-r--r--sw/source/core/inc/mvsave.hxx14
-rw-r--r--sw/source/core/inc/node2lay.hxx8
-rw-r--r--sw/source/core/inc/noteurl.hxx12
-rw-r--r--sw/source/core/inc/notxtfrm.hxx6
-rw-r--r--sw/source/core/inc/objectformatter.hxx2
-rw-r--r--sw/source/core/inc/observablethread.hxx2
-rw-r--r--sw/source/core/inc/pagefrm.hxx78
-rw-r--r--sw/source/core/inc/pamtyp.hxx10
-rw-r--r--sw/source/core/inc/ptqueue.hxx2
-rw-r--r--sw/source/core/inc/retrievedinputstreamdata.hxx2
-rw-r--r--sw/source/core/inc/retrieveinputstream.hxx2
-rw-r--r--sw/source/core/inc/retrieveinputstreamconsumer.hxx2
-rw-r--r--sw/source/core/inc/rootfrm.hxx92
-rw-r--r--sw/source/core/inc/rowfrm.hxx4
-rw-r--r--sw/source/core/inc/scriptinfo.hxx6
-rw-r--r--sw/source/core/inc/sectfrm.hxx20
-rw-r--r--sw/source/core/inc/setmapvirtdev.hxx2
-rw-r--r--sw/source/core/inc/sortedobjs.hxx2
-rw-r--r--sw/source/core/inc/sortedobjsimpl.hxx2
-rw-r--r--sw/source/core/inc/swblocks.hxx102
-rw-r--r--sw/source/core/inc/swcache.hxx64
-rw-r--r--sw/source/core/inc/swfntcch.hxx4
-rw-r--r--sw/source/core/inc/swfont.hxx82
-rw-r--r--sw/source/core/inc/swselectionlist.hxx6
-rw-r--r--sw/source/core/inc/swthreadjoiner.hxx2
-rw-r--r--sw/source/core/inc/swthreadmanager.hxx2
-rw-r--r--sw/source/core/inc/tabfrm.hxx36
-rw-r--r--sw/source/core/inc/tblrwcl.hxx12
-rw-r--r--sw/source/core/inc/textapi.hxx30
-rw-r--r--sw/source/core/inc/threadlistener.hxx2
-rw-r--r--sw/source/core/inc/threadmanager.hxx2
-rw-r--r--sw/source/core/inc/tocntntanchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/tolayoutanchoredobjectposition.hxx2
-rw-r--r--sw/source/core/inc/toxhlp.hxx2
-rw-r--r--sw/source/core/inc/txmsrt.hxx44
-rw-r--r--sw/source/core/inc/txtfrm.hxx86
-rw-r--r--sw/source/core/inc/txttypes.hxx92
-rw-r--r--sw/source/core/inc/undoflystrattr.hxx2
-rw-r--r--sw/source/core/inc/unofldmid.h20
-rw-r--r--sw/source/core/inc/unometa.hxx2
-rw-r--r--sw/source/core/inc/viewimp.hxx58
-rw-r--r--sw/source/core/inc/visiturl.hxx6
-rw-r--r--sw/source/core/inc/wrong.hxx4
-rw-r--r--sw/source/core/layout/anchoreddrawobject.cxx2
-rw-r--r--sw/source/core/layout/anchoredobject.cxx2
-rw-r--r--sw/source/core/layout/atrfrm.cxx136
-rw-r--r--sw/source/core/layout/calcmove.cxx120
-rw-r--r--sw/source/core/layout/colfrm.cxx34
-rw-r--r--sw/source/core/layout/dbg_lay.cxx228
-rw-r--r--sw/source/core/layout/findfrm.cxx144
-rw-r--r--sw/source/core/layout/flowfrm.cxx250
-rw-r--r--sw/source/core/layout/fly.cxx188
-rw-r--r--sw/source/core/layout/flycnt.cxx92
-rw-r--r--sw/source/core/layout/flyincnt.cxx72
-rw-r--r--sw/source/core/layout/flylay.cxx96
-rw-r--r--sw/source/core/layout/flypos.cxx4
-rw-r--r--sw/source/core/layout/frmtool.cxx298
-rw-r--r--sw/source/core/layout/ftnfrm.cxx346
-rw-r--r--sw/source/core/layout/hffrm.cxx34
-rw-r--r--sw/source/core/layout/layact.cxx172
-rw-r--r--sw/source/core/layout/laycache.cxx12
-rw-r--r--sw/source/core/layout/layhelp.hxx42
-rw-r--r--sw/source/core/layout/layouter.cxx14
-rw-r--r--sw/source/core/layout/movedfwdfrmsbyobjpos.cxx2
-rw-r--r--sw/source/core/layout/newfrm.cxx46
-rw-r--r--sw/source/core/layout/objectformatter.cxx2
-rw-r--r--sw/source/core/layout/objectformatterlayfrm.cxx2
-rw-r--r--sw/source/core/layout/objectformatterlayfrm.hxx2
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.cxx2
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.hxx2
-rw-r--r--sw/source/core/layout/objstmpconsiderwrapinfl.cxx2
-rw-r--r--sw/source/core/layout/objstmpconsiderwrapinfl.hxx2
-rw-r--r--sw/source/core/layout/pagechg.cxx294
-rw-r--r--sw/source/core/layout/pagedesc.cxx70
-rw-r--r--sw/source/core/layout/paintfrm.cxx300
-rw-r--r--sw/source/core/layout/sectfrm.cxx198
-rw-r--r--sw/source/core/layout/softpagebreak.cxx6
-rw-r--r--sw/source/core/layout/sortedobjs.cxx2
-rw-r--r--sw/source/core/layout/sortedobjsimpl.cxx2
-rw-r--r--sw/source/core/layout/ssfrm.cxx34
-rw-r--r--sw/source/core/layout/swselectionlist.cxx4
-rw-r--r--sw/source/core/layout/tabfrm.cxx232
-rw-r--r--sw/source/core/layout/trvlfrm.cxx308
-rw-r--r--sw/source/core/layout/unusedf.cxx2
-rw-r--r--sw/source/core/layout/virtoutp.cxx10
-rw-r--r--sw/source/core/layout/virtoutp.hxx24
-rw-r--r--sw/source/core/layout/wsfrm.cxx328
-rw-r--r--sw/source/core/objectpositioning/anchoredobjectposition.cxx2
-rw-r--r--sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx2
-rw-r--r--sw/source/core/objectpositioning/environmentofanchoredobject.cxx2
-rw-r--r--sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx2
-rw-r--r--sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx2
-rw-r--r--sw/source/core/ole/ndole.cxx16
-rw-r--r--sw/source/core/para/paratr.cxx24
-rw-r--r--sw/source/core/sw3io/sw3convert.cxx182
-rw-r--r--sw/source/core/sw3io/swacorr.cxx12
-rw-r--r--sw/source/core/swg/SwXMLBlockExport.cxx6
-rw-r--r--sw/source/core/swg/SwXMLBlockImport.cxx6
-rw-r--r--sw/source/core/swg/SwXMLBlockListContext.cxx2
-rw-r--r--sw/source/core/swg/SwXMLSectionList.cxx6
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks.cxx12
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks1.cxx12
-rw-r--r--sw/source/core/swg/swblocks.cxx16
-rw-r--r--sw/source/core/table/swnewtable.cxx6
-rw-r--r--sw/source/core/table/swtable.cxx158
-rw-r--r--sw/source/core/text/EnhancedPDFExportHelper.cxx6
-rw-r--r--sw/source/core/text/SwGrammarMarkUp.cxx4
-rw-r--r--sw/source/core/text/atrhndl.hxx2
-rw-r--r--sw/source/core/text/atrstck.cxx12
-rw-r--r--sw/source/core/text/blink.cxx8
-rw-r--r--sw/source/core/text/frmcrsr.cxx54
-rw-r--r--sw/source/core/text/frmform.cxx102
-rw-r--r--sw/source/core/text/frminf.cxx30
-rw-r--r--sw/source/core/text/frmpaint.cxx28
-rw-r--r--sw/source/core/text/guess.cxx8
-rw-r--r--sw/source/core/text/guess.hxx14
-rw-r--r--sw/source/core/text/inftxt.cxx122
-rw-r--r--sw/source/core/text/inftxt.hxx136
-rw-r--r--sw/source/core/text/itradj.cxx2
-rw-r--r--sw/source/core/text/itratr.cxx46
-rw-r--r--sw/source/core/text/itratr.hxx10
-rw-r--r--sw/source/core/text/itrcrsr.cxx52
-rw-r--r--sw/source/core/text/itrform2.cxx86
-rw-r--r--sw/source/core/text/itrform2.hxx22
-rw-r--r--sw/source/core/text/itrpaint.cxx30
-rw-r--r--sw/source/core/text/itrpaint.hxx2
-rw-r--r--sw/source/core/text/itrtxt.cxx18
-rw-r--r--sw/source/core/text/itrtxt.hxx24
-rw-r--r--sw/source/core/text/noteurl.cxx2
-rw-r--r--sw/source/core/text/pordrop.hxx14
-rw-r--r--sw/source/core/text/porexp.cxx20
-rw-r--r--sw/source/core/text/porexp.hxx14
-rw-r--r--sw/source/core/text/porfld.cxx50
-rw-r--r--sw/source/core/text/porfld.hxx36
-rw-r--r--sw/source/core/text/porfly.cxx40
-rw-r--r--sw/source/core/text/porfly.hxx10
-rw-r--r--sw/source/core/text/porftn.hxx16
-rw-r--r--sw/source/core/text/porglue.cxx34
-rw-r--r--sw/source/core/text/porglue.hxx18
-rw-r--r--sw/source/core/text/porhyph.hxx8
-rw-r--r--sw/source/core/text/porlay.cxx52
-rw-r--r--sw/source/core/text/porlay.hxx76
-rw-r--r--sw/source/core/text/porlin.cxx36
-rw-r--r--sw/source/core/text/porlin.hxx76
-rw-r--r--sw/source/core/text/pormulti.cxx42
-rw-r--r--sw/source/core/text/pormulti.hxx34
-rw-r--r--sw/source/core/text/porref.cxx6
-rw-r--r--sw/source/core/text/porref.hxx6
-rw-r--r--sw/source/core/text/porrst.cxx22
-rw-r--r--sw/source/core/text/porrst.hxx14
-rw-r--r--sw/source/core/text/portab.hxx4
-rw-r--r--sw/source/core/text/portox.cxx6
-rw-r--r--sw/source/core/text/portox.hxx6
-rw-r--r--sw/source/core/text/portxt.cxx2
-rw-r--r--sw/source/core/text/portxt.hxx8
-rw-r--r--sw/source/core/text/possiz.hxx10
-rw-r--r--sw/source/core/text/redlnitr.cxx30
-rw-r--r--sw/source/core/text/redlnitr.hxx8
-rw-r--r--sw/source/core/text/txtcache.cxx60
-rw-r--r--sw/source/core/text/txtcache.hxx4
-rw-r--r--sw/source/core/text/txtcfg.hxx4
-rw-r--r--sw/source/core/text/txtdrop.cxx14
-rw-r--r--sw/source/core/text/txtfld.cxx10
-rw-r--r--sw/source/core/text/txtfly.cxx82
-rw-r--r--sw/source/core/text/txtfly.hxx14
-rw-r--r--sw/source/core/text/txtfrm.cxx90
-rw-r--r--sw/source/core/text/txtftn.cxx92
-rw-r--r--sw/source/core/text/txthyph.cxx28
-rw-r--r--sw/source/core/text/txtinit.cxx16
-rw-r--r--sw/source/core/text/txtio.cxx6
-rw-r--r--sw/source/core/text/txtpaint.cxx4
-rw-r--r--sw/source/core/text/txtpaint.hxx26
-rw-r--r--sw/source/core/text/txttab.cxx4
-rw-r--r--sw/source/core/text/widorp.cxx38
-rw-r--r--sw/source/core/text/widorp.hxx14
-rw-r--r--sw/source/core/text/wrong.cxx10
-rw-r--r--sw/source/core/tox/tox.cxx4
-rw-r--r--sw/source/core/tox/toxhlp.cxx12
-rw-r--r--sw/source/core/tox/txmsrt.cxx26
-rw-r--r--sw/source/core/txtnode/SwGrammarContact.cxx6
-rw-r--r--sw/source/core/txtnode/atrfld.cxx12
-rw-r--r--sw/source/core/txtnode/atrflyin.cxx8
-rw-r--r--sw/source/core/txtnode/atrftn.cxx24
-rw-r--r--sw/source/core/txtnode/atrref.cxx4
-rw-r--r--sw/source/core/txtnode/atrtox.cxx2
-rw-r--r--sw/source/core/txtnode/chrfmt.cxx4
-rw-r--r--sw/source/core/txtnode/fmtatr2.cxx12
-rw-r--r--sw/source/core/txtnode/fntcache.cxx62
-rw-r--r--sw/source/core/txtnode/fntcap.cxx38
-rw-r--r--sw/source/core/txtnode/modeltoviewhelper.cxx6
-rw-r--r--sw/source/core/txtnode/ndhints.cxx4
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx128
-rw-r--r--sw/source/core/txtnode/swfntcch.cxx14
-rw-r--r--sw/source/core/txtnode/swfont.cxx40
-rw-r--r--sw/source/core/txtnode/thints.cxx66
-rw-r--r--sw/source/core/txtnode/txatbase.cxx2
-rw-r--r--sw/source/core/txtnode/txatritr.cxx4
-rw-r--r--sw/source/core/txtnode/txtatr2.cxx16
-rw-r--r--sw/source/core/txtnode/txtedt.cxx32
-rw-r--r--sw/source/core/undo/SwRewriter.cxx2
-rw-r--r--sw/source/core/undo/SwUndoField.cxx2
-rw-r--r--sw/source/core/undo/SwUndoFmt.cxx2
-rw-r--r--sw/source/core/undo/SwUndoPageDesc.cxx2
-rw-r--r--sw/source/core/undo/SwUndoTOXChange.cxx4
-rw-r--r--sw/source/core/undo/docundo.cxx46
-rw-r--r--sw/source/core/undo/rolbck.cxx30
-rw-r--r--sw/source/core/undo/unattr.cxx16
-rw-r--r--sw/source/core/undo/unbkmk.cxx6
-rw-r--r--sw/source/core/undo/undel.cxx28
-rw-r--r--sw/source/core/undo/undo.hrc130
-rw-r--r--sw/source/core/undo/undo.src2
-rw-r--r--sw/source/core/undo/undobj.cxx46
-rw-r--r--sw/source/core/undo/undobj1.cxx26
-rw-r--r--sw/source/core/undo/undoflystrattr.cxx2
-rw-r--r--sw/source/core/undo/undraw.cxx10
-rw-r--r--sw/source/core/undo/unfmco.cxx6
-rw-r--r--sw/source/core/undo/unins.cxx18
-rw-r--r--sw/source/core/undo/unmove.cxx18
-rw-r--r--sw/source/core/undo/unnum.cxx24
-rw-r--r--sw/source/core/undo/unoutl.cxx4
-rw-r--r--sw/source/core/undo/unovwr.cxx18
-rw-r--r--sw/source/core/undo/unredln.cxx16
-rw-r--r--sw/source/core/undo/unsect.cxx4
-rw-r--r--sw/source/core/undo/unsort.cxx10
-rw-r--r--sw/source/core/undo/unspnd.cxx2
-rw-r--r--sw/source/core/undo/untbl.cxx52
-rw-r--r--sw/source/core/undo/untblk.cxx16
-rw-r--r--sw/source/core/unocore/SwXTextDefaults.cxx2
-rw-r--r--sw/source/core/unocore/TextCursorHelper.cxx2
-rw-r--r--sw/source/core/unocore/XMLRangeHelper.cxx2
-rw-r--r--sw/source/core/unocore/XMLRangeHelper.hxx2
-rw-r--r--sw/source/core/unocore/swunohelper.cxx6
-rw-r--r--sw/source/core/unocore/unobkm.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx24
-rw-r--r--sw/source/core/unocore/unocoll.cxx22
-rw-r--r--sw/source/core/unocore/unocore.src2
-rw-r--r--sw/source/core/unocore/unocrsrhelper.cxx26
-rw-r--r--sw/source/core/unocore/unodraw.cxx70
-rw-r--r--sw/source/core/unocore/unoevent.cxx72
-rw-r--r--sw/source/core/unocore/unoevtlstnr.cxx8
-rw-r--r--sw/source/core/unocore/unofield.cxx270
-rw-r--r--sw/source/core/unocore/unoflatpara.cxx14
-rw-r--r--sw/source/core/unocore/unoframe.cxx70
-rw-r--r--sw/source/core/unocore/unoftn.cxx2
-rw-r--r--sw/source/core/unocore/unoidx.cxx8
-rw-r--r--sw/source/core/unocore/unomap.cxx1204
-rw-r--r--sw/source/core/unocore/unoobj.cxx16
-rw-r--r--sw/source/core/unocore/unoobj2.cxx14
-rw-r--r--sw/source/core/unocore/unoparagraph.cxx6
-rw-r--r--sw/source/core/unocore/unoport.cxx8
-rw-r--r--sw/source/core/unocore/unoportenum.cxx22
-rw-r--r--sw/source/core/unocore/unoprnms.cxx1220
-rw-r--r--sw/source/core/unocore/unoredline.cxx28
-rw-r--r--sw/source/core/unocore/unoredlines.cxx4
-rw-r--r--sw/source/core/unocore/unorefmk.cxx2
-rw-r--r--sw/source/core/unocore/unosect.cxx2
-rw-r--r--sw/source/core/unocore/unosett.cxx114
-rw-r--r--sw/source/core/unocore/unosrch.cxx66
-rw-r--r--sw/source/core/unocore/unostyle.cxx44
-rw-r--r--sw/source/core/unocore/unotbl.cxx192
-rw-r--r--sw/source/core/unocore/unotext.cxx30
-rw-r--r--sw/source/core/unocore/unotextmarkup.cxx50
-rw-r--r--sw/source/core/view/pagepreviewlayout.cxx2
-rw-r--r--sw/source/core/view/printdata.cxx72
-rw-r--r--sw/source/core/view/vdraw.cxx12
-rw-r--r--sw/source/core/view/viewimp.cxx4
-rw-r--r--sw/source/core/view/viewpg.cxx14
-rw-r--r--sw/source/core/view/viewsh.cxx22
-rw-r--r--sw/source/core/view/vnew.cxx4
-rw-r--r--sw/source/core/view/vprint.cxx30
526 files changed, 11076 insertions, 11074 deletions
diff --git a/sw/source/core/SwNumberTree/SwNodeNum.cxx b/sw/source/core/SwNumberTree/SwNodeNum.cxx
index cad245d97bb8..73c19f2eaf87 100644
--- a/sw/source/core/SwNumberTree/SwNodeNum.cxx
+++ b/sw/source/core/SwNumberTree/SwNodeNum.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/SwNumberTree/SwNumberTree.cxx b/sw/source/core/SwNumberTree/SwNumberTree.cxx
index b3a1d4381be4..8d28fbf9b49b 100644
--- a/sw/source/core/SwNumberTree/SwNumberTree.cxx
+++ b/sw/source/core/SwNumberTree/SwNumberTree.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/acccell.hxx b/sw/source/core/access/acccell.hxx
index 0983f8ccc4d1..05385a40dbac 100644
--- a/sw/source/core/access/acccell.hxx
+++ b/sw/source/core/access/acccell.hxx
@@ -34,13 +34,13 @@
class SwCellFrm;
class SwFrmFmt;
-class SwAccessibleCell : public SwAccessibleContext,
+class SwAccessibleCell : public SwAccessibleContext,
::com::sun::star::accessibility::XAccessibleValue
{
- sal_Bool bIsSelected; // protected by base class mutex
+ sal_Bool bIsSelected; // protected by base class mutex
- sal_Bool IsSelected();
+ sal_Bool IsSelected();
sal_Bool _InvalidateMyCursorPos();
sal_Bool _InvalidateChildrenCursorPos( const SwFrm *pFrm );
@@ -59,24 +59,24 @@ public:
SwAccessibleCell( SwAccessibleMap* pInitMap, const SwCellFrm *pCellFrm );
- virtual sal_Bool HasCursor(); // required by map to remember that object
+ virtual sal_Bool HasCursor(); // required by map to remember that object
//===== XAccessibleContext ==============================================
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (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)
diff --git a/sw/source/core/access/acccontext.cxx b/sw/source/core/access/acccontext.cxx
index 979157ad0644..127820fe1ffa 100644
--- a/sw/source/core/access/acccontext.cxx
+++ b/sw/source/core/access/acccontext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -1550,7 +1550,7 @@ void lcl_SwAccessibleContext_DbgMsg( SwAccessibleContext *pThisAcc,
sal_Bool bConstrDestr )
{
static SvFileStream aStrm( String::CreateFromAscii("j:\\acc.log"),
- STREAM_WRITE|STREAM_TRUNC|STREAM_SHARE_DENYNONE );
+ STREAM_WRITE|STREAM_TRUNC|STREAM_SHARE_DENYNONE );
ByteString aName( String(pThisAcc->GetName()),
RTL_TEXTENCODING_ISO_8859_1 );
if( aName.Len() )
diff --git a/sw/source/core/access/acccontext.hxx b/sw/source/core/access/acccontext.hxx
index 5bb7159e9066..43612ebaed2d 100644
--- a/sw/source/core/access/acccontext.hxx
+++ b/sw/source/core/access/acccontext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +75,17 @@ protected:
private:
- ::rtl::OUString sName; // immutable outside constructor
+ ::rtl::OUString sName; // immutable outside constructor
// The parent if it has been retrieved. This is always an
// SwAccessibleContext. (protected by Mutex)
::com::sun::star::uno::WeakReference <
::com::sun::star::accessibility::XAccessible > xWeakParent;
- SwAccessibleMap *pMap; // must be protected by solar mutex
+ SwAccessibleMap *pMap; // must be protected by solar mutex
sal_uInt32 nClientId; // client id in the AccessibleEventNotifier queue
- sal_Int16 nRole; // immutable outside constructor
+ sal_Int16 nRole; // immutable outside constructor
// The current states (protected by mutex)
sal_Bool bIsShowingState : 1;
@@ -215,60 +215,60 @@ public:
//===== XAccessible =====================================================
- /// Return the XAccessibleContext.
+ /// Return the XAccessibleContext.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
getAccessibleContext (void) throw (com::sun::star::uno::RuntimeException);
//===== 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 NULL if index is invalid.
+ /// Return the specified child or NULL if index is invalid.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IndexOutOfBoundsException);
- /// 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
@@ -321,13 +321,13 @@ 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)
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)
@@ -409,7 +409,7 @@ public:
const ::rtl::OUString& GetName() const { return sName; }
- virtual sal_Bool HasCursor(); // required by map to remember that object
+ virtual sal_Bool HasCursor(); // required by map to remember that object
sal_Bool Select( SwPaM *pPaM, SdrObject *pObj, sal_Bool bAdd );
inline sal_Bool Select( SwPaM& rPaM )
@@ -432,29 +432,29 @@ public:
const sal_Char sDefunc[] = "object is defunctional";
const sal_Char sMissingWindow[] = "window is missing";
-#define THROW_RUNTIME_EXCEPTION( ifc, msg ) \
- ::com::sun::star::uno::Reference < ifc > xThis( this ); \
+#define THROW_RUNTIME_EXCEPTION( ifc, msg ) \
+ ::com::sun::star::uno::Reference < ifc > xThis( this ); \
::com::sun::star::uno::RuntimeException aExcept( \
- ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(msg) ), xThis ); \
+ ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(msg) ), xThis ); \
throw aExcept;
-#define CHECK_FOR_DEFUNC_THIS( ifc, ths ) \
- if( !(GetFrm() && GetMap()) ) \
- { \
- ::com::sun::star::uno::Reference < ifc > xThis( ths ); \
- ::com::sun::star::lang::DisposedException aExcept( \
+#define CHECK_FOR_DEFUNC_THIS( ifc, ths ) \
+ if( !(GetFrm() && GetMap()) ) \
+ { \
+ ::com::sun::star::uno::Reference < ifc > xThis( ths ); \
+ ::com::sun::star::lang::DisposedException aExcept( \
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM(sDefunc) ), \
- xThis ); \
- throw aExcept; \
+ xThis ); \
+ throw aExcept; \
}
-#define CHECK_FOR_DEFUNC( ifc ) \
+#define CHECK_FOR_DEFUNC( ifc ) \
CHECK_FOR_DEFUNC_THIS( ifc, this )
-#define CHECK_FOR_WINDOW( i, w ) \
- if( !(w) ) \
- { \
- THROW_RUNTIME_EXCEPTION( i, sMissingWindow ); \
+#define CHECK_FOR_WINDOW( i, w ) \
+ if( !(w) ) \
+ { \
+ THROW_RUNTIME_EXCEPTION( i, sMissingWindow ); \
}
#endif
diff --git a/sw/source/core/access/accdoc.cxx b/sw/source/core/access/accdoc.cxx
index 956198146914..e7b8e8b43141 100644
--- a/sw/source/core/access/accdoc.cxx
+++ b/sw/source/core/access/accdoc.cxx
@@ -432,7 +432,7 @@ uno::Any SwAccessibleDocument::queryInterface(
}
//====== XTypeProvider ====================================================
-uno::Sequence< uno::Type > SAL_CALL SwAccessibleDocument::getTypes()
+uno::Sequence< uno::Type > SAL_CALL SwAccessibleDocument::getTypes()
throw(uno::RuntimeException)
{
uno::Sequence< uno::Type > aTypes( SwAccessibleDocumentBase::getTypes() );
diff --git a/sw/source/core/access/accdoc.hxx b/sw/source/core/access/accdoc.hxx
index 082ac329e480..05f061358f1f 100644
--- a/sw/source/core/access/accdoc.hxx
+++ b/sw/source/core/access/accdoc.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 VclSimpleEvent;
* base class for SwAccessibleDocument (in this same header file) and
* SwAccessiblePreview
*/
-class SwAccessibleDocumentBase : public SwAccessibleContext
+class SwAccessibleDocumentBase : public SwAccessibleContext
{
::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible> mxParent;
@@ -61,27 +61,27 @@ 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 NULL if index is invalid.
+ /// Return the specified child or NULL if index is invalid.
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 nIndex)
throw (::com::sun::star::uno::RuntimeException,
::com::sun::star::lang::IndexOutOfBoundsException);
- /// 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 description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (void) throw (com::sun::star::uno::RuntimeException);
@@ -113,7 +113,7 @@ public:
/**
* access to an accessible Writer document
*/
-class SwAccessibleDocument : public SwAccessibleDocumentBase,
+class SwAccessibleDocument : public SwAccessibleDocumentBase,
public com::sun::star::accessibility::XAccessibleSelection
{
// Implementation for XAccessibleSelection interface
@@ -135,13 +135,13 @@ 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)
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/sw/source/core/access/accembedded.cxx b/sw/source/core/access/accembedded.cxx
index 5ccbc03f3339..18808e2e80a4 100644
--- a/sw/source/core/access/accembedded.cxx
+++ b/sw/source/core/access/accembedded.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accembedded.hxx b/sw/source/core/access/accembedded.hxx
index 94f8e2d43c20..c1376afa909f 100644
--- a/sw/source/core/access/accembedded.hxx
+++ b/sw/source/core/access/accembedded.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,13 +43,13 @@ 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)
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/sw/source/core/access/accfootnote.cxx b/sw/source/core/access/accfootnote.cxx
index 2efd6cf6d78f..6cfea848696c 100644
--- a/sw/source/core/access/accfootnote.cxx
+++ b/sw/source/core/access/accfootnote.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwAccessibleFootnote::SwAccessibleFootnote(
SwAccessibleMap* pInitMap,
sal_Bool bIsEndnote,
sal_Int32 nFootEndNote,
- const SwFtnFrm *pFtnFrm ) :
+ const SwFtnFrm *pFtnFrm ) :
SwAccessibleContext( pInitMap,
bIsEndnote ? AccessibleRole::END_NOTE : AccessibleRole::FOOTNOTE,
pFtnFrm )
diff --git a/sw/source/core/access/accfootnote.hxx b/sw/source/core/access/accfootnote.hxx
index 521247685a16..eae0820dcbd2 100644
--- a/sw/source/core/access/accfootnote.hxx
+++ b/sw/source/core/access/accfootnote.hxx
@@ -52,20 +52,20 @@ public:
//===== XAccessibleContext ==============================================
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (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)
diff --git a/sw/source/core/access/accframebase.cxx b/sw/source/core/access/accframebase.cxx
index 5ab12b068678..f9c77e2a0e26 100644
--- a/sw/source/core/access/accframebase.cxx
+++ b/sw/source/core/access/accframebase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accframebase.hxx b/sw/source/core/access/accframebase.hxx
index 4f0b17d0898e..780249f72b9e 100644
--- a/sw/source/core/access/accframebase.hxx
+++ b/sw/source/core/access/accframebase.hxx
@@ -37,9 +37,9 @@ class SwFlyFrm;
class SwAccessibleFrameBase : public SwAccessibleContext,
public SwClient
{
- sal_Bool bIsSelected; // protected by base class mutex
+ sal_Bool bIsSelected; // protected by base class mutex
- sal_Bool IsSelected();
+ sal_Bool IsSelected();
protected:
@@ -59,7 +59,7 @@ public:
sal_Int16 nInitRole,
const SwFlyFrm *pFlyFrm );
- virtual sal_Bool HasCursor(); // required by map to remember that object
+ virtual sal_Bool HasCursor(); // required by map to remember that object
virtual void Modify( SfxPoolItem *pOld, SfxPoolItem *pNew);
diff --git a/sw/source/core/access/accgraphic.cxx b/sw/source/core/access/accgraphic.cxx
index 4c389e2f85c1..d6ba4ee9ff6d 100644
--- a/sw/source/core/access/accgraphic.cxx
+++ b/sw/source/core/access/accgraphic.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accgraphic.hxx b/sw/source/core/access/accgraphic.hxx
index 18c0f67b68dc..e9c9ef0c7a6c 100644
--- a/sw/source/core/access/accgraphic.hxx
+++ b/sw/source/core/access/accgraphic.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#define _ACCGRAPHIC_HXX
#include "accnotextframe.hxx"
-class SwAccessibleGraphic : public SwAccessibleNoTextFrame
+class SwAccessibleGraphic : public SwAccessibleNoTextFrame
{
protected:
@@ -43,13 +43,13 @@ 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)
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/sw/source/core/access/accheaderfooter.cxx b/sw/source/core/access/accheaderfooter.cxx
index 6472f75e9fe5..c1e2697116b7 100644
--- a/sw/source/core/access/accheaderfooter.cxx
+++ b/sw/source/core/access/accheaderfooter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accheaderfooter.hxx b/sw/source/core/access/accheaderfooter.hxx
index 210657e7602a..4d72923c752d 100644
--- a/sw/source/core/access/accheaderfooter.hxx
+++ b/sw/source/core/access/accheaderfooter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
class SwHeaderFrm;
class SwFooterFrm;
-class SwAccessibleHeaderFooter : public SwAccessibleContext
+class SwAccessibleHeaderFooter : public SwAccessibleContext
{
protected:
@@ -49,20 +49,20 @@ public:
//===== XAccessibleContext ==============================================
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (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)
diff --git a/sw/source/core/access/acchyperlink.cxx b/sw/source/core/access/acchyperlink.cxx
index 6b239b04e0e2..96fd0c70bf57 100644
--- a/sw/source/core/access/acchyperlink.cxx
+++ b/sw/source/core/access/acchyperlink.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +70,13 @@ const SwTxtAttr *SwAccessibleHyperlink::GetTxtAttr() const
// XAccessibleAction
-sal_Int32 SAL_CALL SwAccessibleHyperlink::getAccessibleActionCount()
+sal_Int32 SAL_CALL SwAccessibleHyperlink::getAccessibleActionCount()
throw (uno::RuntimeException)
{
return isValid() ? 1 : 0;
}
-sal_Bool SAL_CALL SwAccessibleHyperlink::doAccessibleAction( sal_Int32 nIndex )
+sal_Bool SAL_CALL SwAccessibleHyperlink::doAccessibleAction( sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
SolarMutexGuard aGuard;
@@ -111,7 +111,7 @@ sal_Bool SAL_CALL SwAccessibleHyperlink::doAccessibleAction( sal_Int32 nIndex )
}
OUString SAL_CALL SwAccessibleHyperlink::getAccessibleActionDescription(
- sal_Int32 nIndex )
+ sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
OUString sDesc;
@@ -127,7 +127,7 @@ OUString SAL_CALL SwAccessibleHyperlink::getAccessibleActionDescription(
}
uno::Reference< XAccessibleKeyBinding > SAL_CALL
- SwAccessibleHyperlink::getAccessibleActionKeyBinding( sal_Int32 nIndex )
+ SwAccessibleHyperlink::getAccessibleActionKeyBinding( sal_Int32 nIndex )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
uno::Reference< XAccessibleKeyBinding > xKeyBinding;
@@ -151,32 +151,32 @@ uno::Reference< XAccessibleKeyBinding > SAL_CALL
// XAccessibleHyperlink
uno::Any SAL_CALL SwAccessibleHyperlink::getAccessibleActionAnchor(
- sal_Int32 /*nIndex*/ )
+ sal_Int32 /*nIndex*/ )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
return uno::Any();
}
-uno::Any SAL_CALL SwAccessibleHyperlink::getAccessibleActionObject(
- sal_Int32 /*nIndex*/ )
+uno::Any SAL_CALL SwAccessibleHyperlink::getAccessibleActionObject(
+ sal_Int32 /*nIndex*/ )
throw (lang::IndexOutOfBoundsException, uno::RuntimeException)
{
return uno::Any();
}
-sal_Int32 SAL_CALL SwAccessibleHyperlink::getStartIndex()
+sal_Int32 SAL_CALL SwAccessibleHyperlink::getStartIndex()
throw (uno::RuntimeException)
{
return nStartIdx;
}
-sal_Int32 SAL_CALL SwAccessibleHyperlink::getEndIndex()
+sal_Int32 SAL_CALL SwAccessibleHyperlink::getEndIndex()
throw (uno::RuntimeException)
{
return nEndIdx;
}
-sal_Bool SAL_CALL SwAccessibleHyperlink::isValid( )
+sal_Bool SAL_CALL SwAccessibleHyperlink::isValid( )
throw (uno::RuntimeException)
{
SolarMutexGuard aGuard;
diff --git a/sw/source/core/access/acchyperlink.hxx b/sw/source/core/access/acchyperlink.hxx
index ecbaff3ec383..2907f20c8f03 100644
--- a/sw/source/core/access/acchyperlink.hxx
+++ b/sw/source/core/access/acchyperlink.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwAccessibleHyperlink :
SwAccessibleHyperlink( sal_uInt16 nHintPos,
SwAccessibleParagraph *p,
- sal_Int32 nStt, sal_Int32 nEnd );
+ sal_Int32 nStt, sal_Int32 nEnd );
const SwTxtAttr *GetTxtAttr() const;
void Invalidate();
diff --git a/sw/source/core/access/acchypertextdata.cxx b/sw/source/core/access/acchypertextdata.cxx
index 2e233522aa64..39ac794174e9 100644
--- a/sw/source/core/access/acchypertextdata.cxx
+++ b/sw/source/core/access/acchypertextdata.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/acchypertextdata.hxx b/sw/source/core/access/acchypertextdata.hxx
index d3d49e4e211b..91ce303275ab 100644
--- a/sw/source/core/access/acchypertextdata.hxx
+++ b/sw/source/core/access/acchypertextdata.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwTxtAttr;
namespace com { namespace sun { namespace star {
- namespace accessibility { class XAccessibleHyperlink; }
+ namespace accessibility { class XAccessibleHyperlink; }
} } }
typedef ::std::less< const SwTxtAttr * > SwTxtAttrPtrLess;
diff --git a/sw/source/core/access/accmap.cxx b/sw/source/core/access/accmap.cxx
index f8215eac6e9f..3c9a7d6794d9 100644
--- a/sw/source/core/access/accmap.cxx
+++ b/sw/source/core/access/accmap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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:
virtual void SAL_CALL addEventListener( const uno::Reference< document::XEventListener >& xListener ) throw (uno::RuntimeException);
virtual void SAL_CALL removeEventListener( const uno::Reference< document::XEventListener >& xListener ) throw (uno::RuntimeException);
- virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
+ virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint );
void Dispose();
};
@@ -318,13 +318,13 @@ public:
INVALID_ATTR };
private:
- SwRect maOldBox; // the old bounds for CHILD_POS_CHANGED
+ SwRect maOldBox; // the old bounds for CHILD_POS_CHANGED
// and POS_CHANGED
- uno::WeakReference < XAccessible > mxAcc; // The object that fires the event
+ uno::WeakReference < XAccessible > mxAcc; // The object that fires the event
SwAccessibleChild maFrmOrObj; // the child for CHILD_POS_CHANGED and
// the same as xAcc for any other
// event type
- EventType meType; // The event type
+ EventType meType; // The event type
tAccessibleStates mnStates; // check states or update caret pos
SwAccessibleEvent_Impl& operator==( const SwAccessibleEvent_Impl& );
@@ -1583,7 +1583,7 @@ void SwAccessibleMap::RemoveContext( const SwFrm *pFrm )
OSL_ENSURE( pOldAccImpl->GetFrm(), "old caret context is disposed" );
if( pOldAccImpl->GetFrm() == pFrm )
{
- xOldAcc.clear(); // get an empty ref
+ xOldAcc.clear(); // get an empty ref
mxCursorContext = xOldAcc;
}
}
@@ -1954,7 +1954,7 @@ void SwAccessibleMap::InvalidateCursorPosition( const SwFrm *pFrm )
osl::MutexGuard aGuard( maMutex );
xOldAcc = mxCursorContext;
- mxCursorContext = xAcc; // clear reference
+ mxCursorContext = xAcc; // clear reference
bOldShapeSelected = mbShapeSelected;
mbShapeSelected = bShapeSelected;
@@ -1985,9 +1985,9 @@ void SwAccessibleMap::InvalidateCursorPosition( const SwFrm *pFrm )
AreInSameTable( xOldAcc, aFrmOrObj.GetSwFrm() ) )
{
if( xAcc.is() )
- xOldAcc = xAcc; // avoid extra invalidation
+ xOldAcc = xAcc; // avoid extra invalidation
else
- xAcc = xOldAcc; // make sure ate least one
+ xAcc = xOldAcc; // make sure ate least one
}
if( !xAcc.is() )
xAcc = GetContext( aFrmOrObj.GetSwFrm(), sal_True );
@@ -2402,7 +2402,7 @@ sal_Bool SwAccessibleMap::ReplaceChild (
const uno::Reference< drawing::XShape >& _rxShape,
const long /*_nIndex*/,
const ::accessibility::AccessibleShapeTreeInfo& /*_rShapeTreeInfo*/
- ) throw (uno::RuntimeException)
+ ) throw (uno::RuntimeException)
{
const SdrObject *pObj = 0;
{
@@ -2432,7 +2432,7 @@ sal_Bool SwAccessibleMap::ReplaceChild (
// hold it.
// Also get keep parent.
uno::Reference < XAccessible > xParent( pCurrentChild->getAccessibleParent() );
- pCurrentChild = 0; // well be realease by dispose
+ pCurrentChild = 0; // well be realease by dispose
Dispose( 0, pObj, 0 );
{
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx
index 29652810c624..7b6e5864d892 100644
--- a/sw/source/core/access/accnotextframe.cxx
+++ b/sw/source/core/access/accnotextframe.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx
index 275d96ed81d5..1ee13d61ce56 100644
--- a/sw/source/core/access/accnotextframe.hxx
+++ b/sw/source/core/access/accnotextframe.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
class SwFlyFrm;
class SwNoTxtNode;
-class SwAccessibleNoTextFrame : public SwAccessibleFrameBase,
+class SwAccessibleNoTextFrame : public SwAccessibleFrameBase,
public ::com::sun::star::accessibility::XAccessibleImage
{
- SwDepend aDepend;
+ SwDepend aDepend;
// --> OD 2009-07-14 #i73249#
::rtl::OUString msTitle;
// <--
diff --git a/sw/source/core/access/accpage.cxx b/sw/source/core/access/accpage.cxx
index 2b5886e026d2..cd1dc8a02ac4 100644
--- a/sw/source/core/access/accpage.cxx
+++ b/sw/source/core/access/accpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accpage.hxx b/sw/source/core/access/accpage.hxx
index ebb96cf8948f..690bf12acfe2 100644
--- a/sw/source/core/access/accpage.hxx
+++ b/sw/source/core/access/accpage.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,9 +40,9 @@
*/
class SwAccessiblePage : public SwAccessibleContext
{
- sal_Bool bIsSelected; // protected by base class mutex
+ sal_Bool bIsSelected; // protected by base class mutex
- sal_Bool IsSelected();
+ sal_Bool IsSelected();
using SwAccessibleFrame::GetBounds;
@@ -91,7 +91,7 @@ public:
//===== XTypeProvider ====================================================
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
- virtual sal_Bool HasCursor(); // required by map to remember that object
+ virtual sal_Bool HasCursor(); // required by map to remember that object
};
#endif
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index 05c2dce8011a..9b1038acc26f 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwAccessibleParagraph :
{
friend class SwAccessibleHyperlink;
- ::rtl::OUString sDesc; // protected by base classes mutex
+ ::rtl::OUString sDesc; // protected by base classes mutex
/// data for this paragraph's text portions; this contains the
/// mapping from the core 'model string' to the accessible text
@@ -86,11 +86,11 @@ class SwAccessibleParagraph :
SwAccessiblePortionData* pPortionData;
SwAccessibleHyperTextData *pHyperTextData;
- sal_Int32 nOldCaretPos; // The 'old' caret pos. It's only valid as long
+ sal_Int32 nOldCaretPos; // The 'old' caret pos. It's only valid as long
// as the cursor is inside this object (protected by
// mutex)
- sal_Bool bIsHeading; // protected by base classes mutex
+ sal_Bool bIsHeading; // protected by base classes mutex
// implementation for XAccessibleSelection
SwAccessibleSelectionHelper aSelectionHelper;
@@ -242,7 +242,7 @@ public:
inline operator ::com::sun::star::accessibility::XAccessibleText *();
- virtual sal_Bool HasCursor(); // required by map to remember that object
+ virtual sal_Bool HasCursor(); // required by map to remember that object
// --> OD 2010-02-19 #i108125#
virtual void Modify( SfxPoolItem* pOld, SfxPoolItem* pNew);
@@ -250,12 +250,12 @@ public:
//===== XAccessibleContext ==============================================
- /// 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 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
@@ -286,13 +286,13 @@ 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)
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/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx
index 65119ef1710a..bf1d21407296 100644
--- a/sw/source/core/access/accportions.cxx
+++ b/sw/source/core/access/accportions.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx
index ec06580af634..1a58ae123e4b 100644
--- a/sw/source/core/access/accportions.hxx
+++ b/sw/source/core/access/accportions.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accpreview.cxx b/sw/source/core/access/accpreview.cxx
index 20538d9ab97f..dd0ef1aab786 100644
--- a/sw/source/core/access/accpreview.cxx
+++ b/sw/source/core/access/accpreview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/accpreview.hxx b/sw/source/core/access/accpreview.hxx
index 589811e927c9..d976efefa114 100644
--- a/sw/source/core/access/accpreview.hxx
+++ b/sw/source/core/access/accpreview.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +32,13 @@
/**
* accessibility implementation for the page preview.
- * The children of the page preview are the pages that are visible in the
+ * The children of the page preview are the pages that are visible in the
* preview.
*
- * The vast majority of the implemention logic is inherited from
+ * The vast majority of the implemention logic is inherited from
* SwAccessibleDocumentBase.
*/
-class SwAccessiblePreview : public SwAccessibleDocumentBase
+class SwAccessiblePreview : public SwAccessibleDocumentBase
{
virtual ~SwAccessiblePreview();
@@ -50,13 +50,13 @@ 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)
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/sw/source/core/access/accselectionhelper.cxx b/sw/source/core/access/accselectionhelper.cxx
index 93753fdeb5d1..acb2bcd8427d 100644
--- a/sw/source/core/access/accselectionhelper.cxx
+++ b/sw/source/core/access/accselectionhelper.cxx
@@ -85,7 +85,7 @@ void SwAccessibleSelectionHelper::throwIndexOutOfBoundsException()
Reference < XAccessibleSelection >xSelThis( xThis, UNO_QUERY );
lang::IndexOutOfBoundsException aExcept(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("index out of bounds") ),
- xSelThis ); \
+ xSelThis ); \
throw aExcept;
}
diff --git a/sw/source/core/access/accselectionhelper.hxx b/sw/source/core/access/accselectionhelper.hxx
index 73c84703386f..502ec819e860 100644
--- a/sw/source/core/access/accselectionhelper.hxx
+++ b/sw/source/core/access/accselectionhelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index 1454075df979..28e01cd65777 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -84,10 +84,10 @@ public:
class SwAccessibleTableData_Impl
{
SwAccessibleMap& mrAccMap;
- Int32Set_Impl maRows;
- Int32Set_Impl maColumns;
- Int32PairList_Impl maExtents; // cell extends for event processing only
- Point maTabFrmPos;
+ Int32Set_Impl maRows;
+ Int32Set_Impl maColumns;
+ Int32PairList_Impl maExtents; // cell extends for event processing only
+ Point maTabFrmPos;
const SwTabFrm *mpTabFrm;
sal_Bool mbIsInPagePreview;
bool mbOnlyTableColumnHeader;
@@ -226,7 +226,7 @@ void SwAccessibleTableData_Impl::CollectExtents( const SwFrm *pFrm )
sal_Bool SwAccessibleTableData_Impl::FindCell(
const Point& rPos, const SwFrm *pFrm, sal_Bool bExact,
- const SwFrm *& rRet ) const
+ const SwFrm *& rRet ) const
{
sal_Bool bFound = sal_False;
@@ -302,7 +302,7 @@ void SwAccessibleTableData_Impl::GetSelection(
const_cast< SwTableBox *>( pCFrm->GetTabBox() ); //SVPtrArr!
if( !rSelBoxes.Seek_Entry( pBox ) )
{
- const Int32Set_Impl rRowsOrCols =
+ const Int32Set_Impl rRowsOrCols =
bColumns ? maColumns : maRows;
sal_Int32 nPos = bColumns ? (rBox.Left() - rTabPos.X())
@@ -1483,7 +1483,7 @@ void SAL_CALL SwAccessibleTable::selectAccessibleChild(
// SwPaM* pPaM = pCrsrShell->GetCrsr();
// pPaM->DeleteMark();
// *(pPaM->GetPoint()) = SwPosition( *pStartNode );
-// pPaM->Move( fnMoveForward, fnGoNode );
+// pPaM->Move( fnMoveForward, fnGoNode );
// // pCrsrShell->SelTblBox();
pCrsrShell->StartAction();
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index 0ea33d1f69f0..7bff387b6092 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -47,8 +47,8 @@ class SwAccessibleTable :
public ::com::sun::star::accessibility::XAccessibleSelection,
public SwClient
{
- SwAccessibleTableData_Impl *mpTableData; // the table's data, prot by Sol-Mutex
- ::rtl::OUString sDesc;
+ SwAccessibleTableData_Impl *mpTableData; // the table's data, prot by Sol-Mutex
+ ::rtl::OUString sDesc;
const SwSelBoxes *GetSelBoxes() const;
void FireTableChangeEvent( const SwAccessibleTableData_Impl& rTableData );
@@ -118,7 +118,7 @@ public:
//===== XAccessibleContext ==============================================
- /// Return this object's description.
+ /// Return this object's description.
virtual ::rtl::OUString SAL_CALL
getAccessibleDescription (void)
throw (com::sun::star::uno::RuntimeException);
@@ -195,13 +195,13 @@ 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)
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/sw/source/core/access/acctextframe.cxx b/sw/source/core/access/acctextframe.cxx
index 4383c1f7dfdc..8d520323eda2 100644
--- a/sw/source/core/access/acctextframe.cxx
+++ b/sw/source/core/access/acctextframe.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/acctextframe.hxx b/sw/source/core/access/acctextframe.hxx
index 9462e0d04c58..e8d0bd47cc9e 100644
--- a/sw/source/core/access/acctextframe.hxx
+++ b/sw/source/core/access/acctextframe.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +69,13 @@ 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)
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/sw/source/core/access/textmarkuphelper.cxx b/sw/source/core/access/textmarkuphelper.cxx
index c8e09da350db..e49054879a4e 100644
--- a/sw/source/core/access/textmarkuphelper.cxx
+++ b/sw/source/core/access/textmarkuphelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/access/textmarkuphelper.hxx b/sw/source/core/access/textmarkuphelper.hxx
index e42e79041985..447959971f5d 100644
--- a/sw/source/core/access/textmarkuphelper.hxx
+++ b/sw/source/core/access/textmarkuphelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/attr/calbck.cxx b/sw/source/core/attr/calbck.cxx
index 246b7ecfda4b..6381df188ef1 100644
--- a/sw/source/core/attr/calbck.cxx
+++ b/sw/source/core/attr/calbck.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "precompiled_sw.hxx"
-#include <hintids.hxx> // fuer RES_..
+#include <hintids.hxx> // fuer RES_..
#include <frame.hxx>
#include <hints.hxx>
#include <swcache.hxx>
@@ -42,14 +42,14 @@
static SwClientIter* pClientIters = 0;
-TYPEINIT0(SwClient); //rtti
+TYPEINIT0(SwClient); //rtti
/*************************************************************************
-|* SwClient::SwClient(SwModify *)
+|* SwClient::SwClient(SwModify *)
|*
-|* Beschreibung callback.doc V1.14
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung MA 20. Mar. 95
+|* Beschreibung callback.doc V1.14
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung MA 20. Mar. 95
*************************************************************************/
@@ -67,11 +67,11 @@ SwClient::SwClient(SwModify *pToRegisterIn)
}
/*************************************************************************
-|* SwClient::Modify()
+|* SwClient::Modify()
|*
-|* Beschreibung callback.doc V1.14
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung VB 20.03.91
+|* Beschreibung callback.doc V1.14
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung VB 20.03.91
*************************************************************************/
@@ -94,11 +94,11 @@ void SwClient::Modify( SfxPoolItem *pOld, SfxPoolItem * )
}
/*************************************************************************
-|* SwClient::~SwClient()
+|* SwClient::~SwClient()
|*
-|* Beschreibung callback.doc V1.14
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung MA 25. Jan. 94
+|* Beschreibung callback.doc V1.14
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung MA 25. Jan. 94
*************************************************************************/
@@ -114,15 +114,15 @@ SwClient::~SwClient()
// erfrage vom Client Informationen
BOOL SwClient::GetInfo( SfxPoolItem& ) const
{
- return TRUE; // und weiter
+ return TRUE; // und weiter
}
/*************************************************************************
-|* SwModify::SwModify( SwModify * )
+|* SwModify::SwModify( SwModify * )
|*
-|* Beschreibung Dokument 1.7
-|* Ersterstellung JP 20.11.90
-|* Letzte Aenderung VB 20.03.91
+|* Beschreibung Dokument 1.7
+|* Ersterstellung JP 20.11.90
+|* Letzte Aenderung VB 20.03.91
*************************************************************************/
@@ -139,11 +139,11 @@ SwModify::SwModify( const SwModify & )
}
/*************************************************************************
-|* SwModify::~SwModify()
+|* SwModify::~SwModify()
|*
-|* Beschreibung Dokument 1.7
-|* Ersterstellung JP 20.11.90
-|* Letzte Aenderung JP 15.04.94
+|* Beschreibung Dokument 1.7
+|* Ersterstellung JP 20.11.90
+|* Letzte Aenderung JP 15.04.94
*************************************************************************/
@@ -166,7 +166,7 @@ SwModify::~SwModify()
while( 0 != ( p = aIter++ ) )
p->pRegisteredIn = 0;
- p = aIter.GoRoot(); // wieder ab Root (==Start) anfangen
+ p = aIter.GoRoot(); // wieder ab Root (==Start) anfangen
do {
p->pRegisteredIn = 0;
} while( 0 != ( p = aIter-- ) );
@@ -186,11 +186,11 @@ SwModify::~SwModify()
}
/*************************************************************************
-|* SwModify::Modify( SwHint * pOldValue, SwHint * pNewValue )
+|* SwModify::Modify( SwHint * pOldValue, SwHint * pNewValue )
|*
-|* Beschreibung Dokument 1.7
-|* Ersterstellung JP 20.11.90
-|* Letzte Aenderung MA 20. Mar. 95
+|* Beschreibung Dokument 1.7
+|* Ersterstellung JP 20.11.90
+|* Letzte Aenderung MA 20. Mar. 95
*************************************************************************/
@@ -236,11 +236,11 @@ void SwModify::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
SwClientIter aIter( *this );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do
{
pLast->Modify( pOldValue, pNewValue );
- if( !pRoot ) // Baum schon Weg ??
+ if( !pRoot ) // Baum schon Weg ??
break;
} while( 0 != ( pLast = aIter++ ));
@@ -252,7 +252,7 @@ void SwModify::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
BOOL SwModify::GetInfo( SfxPoolItem& rInfo ) const
{
- BOOL bRet = TRUE; // bedeutet weiter zum naechsten
+ BOOL bRet = TRUE; // bedeutet weiter zum naechsten
if( pRoot )
{
@@ -265,15 +265,15 @@ BOOL SwModify::GetInfo( SfxPoolItem& rInfo ) const
;
}
- return bRet; // und weiter
+ return bRet; // und weiter
}
/*************************************************************************
-|* SwModify::Add( SwClient *pDepend )
+|* SwModify::Add( SwClient *pDepend )
|*
-|* Beschreibung Dokument 1.7
-|* Ersterstellung JP 20.11.90
-|* Letzte Aenderung JP 14.09.94
+|* Beschreibung Dokument 1.7
+|* Ersterstellung JP 20.11.90
+|* Letzte Aenderung JP 14.09.94
*************************************************************************/
@@ -319,11 +319,11 @@ void SwModify::Add(SwClient *pDepend)
}
/*************************************************************************
-|* SwModify::_Remove( SwClient *pDepend )
+|* SwModify::_Remove( SwClient *pDepend )
|*
-|* Beschreibung Dokument 1.7
-|* Ersterstellung JP 20.11.90
-|* Letzte Aenderung JP 14.09.94
+|* Beschreibung Dokument 1.7
+|* Ersterstellung JP 20.11.90
+|* Letzte Aenderung JP 14.09.94
*************************************************************************/
@@ -376,10 +376,10 @@ SwClient *SwModify::_Remove(SwClient * pDepend)
/*************************************************************************
-|* SwModify::CheckCaching( const USHORT nWhich )
+|* SwModify::CheckCaching( const USHORT nWhich )
|*
-|* Ersterstellung JP 25.06.95
-|* Letzte Aenderung JP 25.06.95
+|* Ersterstellung JP 25.06.95
+|* Letzte Aenderung JP 25.06.95
*************************************************************************/
@@ -420,11 +420,11 @@ void SwModify::CheckCaching( const USHORT nWhich )
// ----------
/*************************************************************************
-|* SwDepend::SwDepend(SwClient *pTellHim,SwModify *pDepend)
+|* SwDepend::SwDepend(SwClient *pTellHim,SwModify *pDepend)
|*
-|* Beschreibung callback.doc V1.14
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung VB 20.03.91
+|* Beschreibung callback.doc V1.14
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung VB 20.03.91
*************************************************************************/
@@ -436,11 +436,11 @@ SwDepend::SwDepend(SwClient *pTellHim, SwModify *pDepend)
/*************************************************************************
|*
-|* SwDepend::Modify(SwHint *, SwHint *)
+|* SwDepend::Modify(SwHint *, SwHint *)
|*
-|* Beschreibung callback.doc V1.14
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung VB 20.03.91
+|* Beschreibung callback.doc V1.14
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung VB 20.03.91
|*
*************************************************************************/
@@ -568,7 +568,7 @@ SwClient* SwClientIter::operator--()
}
-SwClient* SwClientIter::GoStart() // zum Anfang des Baums
+SwClient* SwClientIter::GoStart() // zum Anfang des Baums
{
pAkt = rRoot.pRoot;
if( pAkt )
@@ -579,7 +579,7 @@ SwClient* SwClientIter::GoStart() // zum Anfang des Baums
}
-SwClient* SwClientIter::GoEnd() // zum End des Baums
+SwClient* SwClientIter::GoEnd() // zum End des Baums
{
pAkt = pDelNext;
if( !pAkt )
diff --git a/sw/source/core/attr/cellatr.cxx b/sw/source/core/attr/cellatr.cxx
index 4260cb2391ed..21a281a0a2a8 100644
--- a/sw/source/core/attr/cellatr.cxx
+++ b/sw/source/core/attr/cellatr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <rtl/math.hxx>
-#include <hintids.hxx> // fuer RES_..
+#include <hintids.hxx> // fuer RES_..
#include <cellatr.hxx>
#include <calc.hxx>
#include <format.hxx>
@@ -45,7 +45,7 @@
-//TYPEINIT1( SwFmt, SwClient ); //rtti fuer SwFmt
+//TYPEINIT1( SwFmt, SwClient ); //rtti fuer SwFmt
/*************************************************************************
|*
@@ -105,8 +105,8 @@ SfxPoolItem* SwTblBoxFormula::Clone( SfxItemPool* ) const
// suche den Node, in dem die Formel steht:
- // TextFeld -> TextNode,
- // BoxAttribut -> BoxStartNode
+ // TextFeld -> TextNode,
+ // BoxAttribut -> BoxStartNode
// !!! MUSS VON JEDER ABLEITUNG UEBERLADEN WERDEN !!!
const SwNode* SwTblBoxFormula::GetNodeOfFormula() const
{
@@ -157,10 +157,10 @@ void SwTblBoxFormula::ChangeState( const SfxPoolItem* pItem )
case TBL_CALC:
// setze das Value-Flag zurueck
// JP 17.06.96: interne Darstellung auf alle Formeln
- // (Referenzen auf andere Tabellen!!!)
-// if( VF_CMD & pFld->GetFormat() )
-// pFld->PtrToBoxNm( pUpdtFld->pTbl );
-// else
+ // (Referenzen auf andere Tabellen!!!)
+// if( VF_CMD & pFld->GetFormat() )
+// pFld->PtrToBoxNm( pUpdtFld->pTbl );
+// else
ChgValid( FALSE );
break;
case TBL_BOXNAME:
@@ -172,7 +172,7 @@ void SwTblBoxFormula::ChangeState( const SfxPoolItem* pItem )
case TBL_BOXPTR:
// zur internen Darstellung
// JP 17.06.96: interne Darstellung auf alle Formeln
- // (Referenzen auf andere Tabellen!!!)
+ // (Referenzen auf andere Tabellen!!!)
BoxNmToPtr( &pTblNd->GetTable() );
break;
case TBL_RELBOXNAME:
@@ -219,7 +219,7 @@ void SwTblBoxFormula::ChangeState( const SfxPoolItem* pItem )
void SwTblBoxFormula::Calc( SwTblCalcPara& rCalcPara, double& rValue )
{
- if( !rCalcPara.rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
+ if( !rCalcPara.rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
{
// erzeuge aus den BoxNamen die Pointer
BoxNmToPtr( rCalcPara.pTbl );
@@ -228,7 +228,7 @@ void SwTblBoxFormula::Calc( SwTblCalcPara& rCalcPara, double& rValue )
rValue = rCalcPara.rCalc.Calculate( sFml ).GetDouble();
else
rValue = DBL_MAX;
- ChgValid( !rCalcPara.IsStackOverFlow() ); // der Wert ist wieder gueltig
+ ChgValid( !rCalcPara.IsStackOverFlow() ); // der Wert ist wieder gueltig
}
}
diff --git a/sw/source/core/attr/fmtfollowtextflow.cxx b/sw/source/core/attr/fmtfollowtextflow.cxx
index b51d15be5cc3..3f99644a7c2b 100644
--- a/sw/source/core/attr/fmtfollowtextflow.cxx
+++ b/sw/source/core/attr/fmtfollowtextflow.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx b/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
index d7e50547f509..49de186fde4f 100644
--- a/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
+++ b/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/attr/format.cxx b/sw/source/core/attr/format.cxx
index d9acc6b71bea..9b4aaceae402 100644
--- a/sw/source/core/attr/format.cxx
+++ b/sw/source/core/attr/format.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +30,18 @@
#include "precompiled_sw.hxx"
-#include <hintids.hxx> // fuer RES_..
-#include <frame.hxx> // fuer AttrCache
+#include <hintids.hxx> // fuer RES_..
+#include <frame.hxx> // fuer AttrCache
#include <format.hxx>
-#include <hints.hxx> // fuer SwFmtChg
+#include <hints.hxx> // fuer SwFmtChg
#include <doc.hxx>
-#include <paratr.hxx> // fuer SwParaFmt - SwHyphenBug
+#include <paratr.hxx> // fuer SwParaFmt - SwHyphenBug
#include <swcache.hxx>
// --> OD 2006-11-22 #i71574#
#include <fmtcolfunc.hxx>
// <--
-TYPEINIT1( SwFmt, SwClient ); //rtti fuer SwFmt
+TYPEINIT1( SwFmt, SwClient ); //rtti fuer SwFmt
/*************************************************************************
|* SwFmt::SwFmt
@@ -109,7 +109,7 @@ SwFmt::SwFmt( const SwFmt& rFmt )
/*************************************************************************
|* SwFmt &SwFmt::operator=(const SwFmt& aFmt)
|*
-|* Beschreibung Dokument 1.14
+|* Beschreibung Dokument 1.14
|* Ersterstellung JP 22.11.90
|* Letzte Aenderung JP 05.08.94
*************************************************************************/
@@ -187,10 +187,10 @@ void SwFmt::SetName( const String& rNewName, sal_Bool bBroadcast )
* Basis-Klasse auf 0 defaultet ist.
*
* Zusatz: JP 8.4.1994
- * Wird ueber Dokumentgrenzen kopiert, so muss das neue Dokument
- * mit angeben werden, in dem this steht. Z.Z. ist das fuers
- * DropCaps wichtig, dieses haelt Daten, die tief kopiert werden
- * muessen !!
+ * Wird ueber Dokumentgrenzen kopiert, so muss das neue Dokument
+ * mit angeben werden, in dem this steht. Z.Z. ist das fuers
+ * DropCaps wichtig, dieses haelt Daten, die tief kopiert werden
+ * muessen !!
* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
@@ -208,9 +208,9 @@ void SwFmt::CopyAttrs( const SwFmt& rFmt, BOOL bReplace )
// Sonderbehandlung fuer einige Attribute
SwAttrSet* pChgSet = (SwAttrSet*)&rFmt.aSet;
- if( !bReplace ) // nur die neu, die nicht gesetzt sind ??
+ if( !bReplace ) // nur die neu, die nicht gesetzt sind ??
{
- if( pChgSet == (SwAttrSet*)&rFmt.aSet ) // Set hier kopieren
+ if( pChgSet == (SwAttrSet*)&rFmt.aSet ) // Set hier kopieren
pChgSet = new SwAttrSet( rFmt.aSet );
pChgSet->Differentiate( aSet );
}
@@ -230,18 +230,18 @@ void SwFmt::CopyAttrs( const SwFmt& rFmt, BOOL bReplace )
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
- if( pChgSet != (SwAttrSet*)&rFmt.aSet ) // Set hier angelegt ?
+ if( pChgSet != (SwAttrSet*)&rFmt.aSet ) // Set hier angelegt ?
delete pChgSet;
}
/*************************************************************************
|* SwFmt::~SwFmt()
|*
-|* Beschreibung Dokument 1.14
+|* Beschreibung Dokument 1.14
|* Ersterstellung JP 22.11.90
|* Letzte Aenderung JP 14.02.91
*************************************************************************/
@@ -258,7 +258,7 @@ SwFmt::~SwFmt()
bFmtInDTOR = TRUE;
SwFmt *pParentFmt = DerivedFrom();
- if (!pParentFmt) // see #112405#
+ if (!pParentFmt) // see #112405#
{
DBG_ERROR( "~SwFmt: parent format missing" );
}
@@ -280,7 +280,7 @@ SwFmt::~SwFmt()
/*************************************************************************
|* void SwFmt::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
|*
-|* Beschreibung Dokument 1.14
+|* Beschreibung Dokument 1.14
|* Ersterstellung JP 22.11.90
|* Letzte Aenderung JP 05.08.94
*************************************************************************/
@@ -288,13 +288,13 @@ SwFmt::~SwFmt()
void SwFmt::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
{
- BOOL bWeiter = TRUE; // TRUE = Propagierung an die Abhaengigen
+ BOOL bWeiter = TRUE; // TRUE = Propagierung an die Abhaengigen
USHORT nWhich = pOldValue ? pOldValue->Which() :
pNewValue ? pNewValue->Which() : 0 ;
switch( nWhich )
{
- case 0: break; // Which-Id von 0 ???
+ case 0: break; // Which-Id von 0 ???
case RES_OBJECTDYING :
{
@@ -477,7 +477,7 @@ BOOL SwFmt::SetFmtAttr(const SfxPoolItem& rAttr )
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
return bRet;
@@ -525,7 +525,7 @@ BOOL SwFmt::SetFmtAttr( const SfxItemSet& rSet )
aSet.SetModifyAtAttr( this );
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
return bRet;
@@ -540,7 +540,7 @@ BOOL SwFmt::ResetFmtAttr( USHORT nWhich1, USHORT nWhich2 )
return FALSE;
if( !nWhich2 || nWhich2 < nWhich1 )
- nWhich2 = nWhich1; // dann setze auf 1. Id, nur dieses Item
+ nWhich2 = nWhich1; // dann setze auf 1. Id, nur dieses Item
if ( IsInCache() || IsInSwFntCache() )
{
@@ -562,7 +562,7 @@ BOOL SwFmt::ResetFmtAttr( USHORT nWhich1, USHORT nWhich2 )
{
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
return bRet;
}
@@ -596,7 +596,7 @@ USHORT SwFmt::ResetAllFmtAttr()
{
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
return aNew.Count();
}
@@ -645,7 +645,7 @@ void SwFmt::DelDiffs( const SfxItemSet& rSet )
{
SwAttrSetChg aChgOld( aSet, aOld );
SwAttrSetChg aChgNew( aSet, aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
diff --git a/sw/source/core/attr/hints.cxx b/sw/source/core/attr/hints.cxx
index fa2a95b1f654..f065413f4e27 100644
--- a/sw/source/core/attr/hints.cxx
+++ b/sw/source/core/attr/hints.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -295,9 +295,9 @@ USHORT GetWhichOfScript( USHORT nWhich, USHORT nScript )
nScript = GetI18NScriptTypeOfLanguage( (USHORT)GetAppLanguage() );
switch( nScript)
{
- case ScriptType::COMPLEX: ++pM; // no break;
- case ScriptType::ASIAN: ++pM; // no break;
- default: nRet = *pM;
+ case ScriptType::COMPLEX: ++pM; // no break;
+ case ScriptType::ASIAN: ++pM; // no break;
+ default: nRet = *pM;
}
}
}
diff --git a/sw/source/core/attr/swatrset.cxx b/sw/source/core/attr/swatrset.cxx
index d2d8ba190205..c7bf78864064 100644
--- a/sw/source/core/attr/swatrset.cxx
+++ b/sw/source/core/attr/swatrset.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <charfmt.hxx>
#include <doc.hxx>
#include <node.hxx>
-#include <paratr.hxx> // fuer SetModifyAtAttr
-#include <cellatr.hxx> // fuer SetModifyAtAttr
+#include <paratr.hxx> // fuer SetModifyAtAttr
+#include <cellatr.hxx> // fuer SetModifyAtAttr
#include <cmdid.h>
#include <istyleaccess.hxx>
#include <numrule.hxx>
@@ -195,8 +195,8 @@ void SwAttrSet::Changed( const SfxPoolItem& rOld,
// ----------------------------------------------------------------
// Sonderbehandlung fuer einige Attribute
// Setze den Modify-Pointer (alten pDefinedIn) bei folgenden Attributen:
-// - SwFmtDropCaps
-// - SwFmtPageDesc
+// - SwFmtDropCaps
+// - SwFmtPageDesc
// (Wird beim Einfuegen in Formate/Nodes gerufen)
// ----------------------------------------------------------------
@@ -325,7 +325,7 @@ void SwAttrSet::CopyToModify( SwModify& rMod ) const
// <--
// JP 04.02.99: Task #61467# Seitenvorlagenwechsel mit kopieren
- // Gegenueber dem alten Verhalten, sie zu entfernen
+ // Gegenueber dem alten Verhalten, sie zu entfernen
const SwPageDesc* pPgDesc;
if( pSrcDoc != pDstDoc && SFX_ITEM_SET == GetItemState(
RES_PAGEDESC, FALSE, &pItem ) &&
diff --git a/sw/source/core/bastyp/SwSmartTagMgr.cxx b/sw/source/core/bastyp/SwSmartTagMgr.cxx
index d550ae2f9ee7..68e6308ba3a8 100644
--- a/sw/source/core/bastyp/SwSmartTagMgr.cxx
+++ b/sw/source/core/bastyp/SwSmartTagMgr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwSmartTagMgr::~SwSmartTagMgr()
void SwSmartTagMgr::modified( const lang::EventObject& rEO ) throw( RuntimeException )
{
SolarMutexGuard aGuard;
-
+
// Installed recognizers have changed. We remove all existing smart tags:
SW_MOD()->CheckSpellChanges( sal_False, sal_True, sal_True, sal_True );
-
+
SmartTagMgr::modified( rEO );
}
@@ -87,7 +87,7 @@ SmartTagMgr& SwSmartTagMgr::Get()
{
if ( !pSmartTagMgr )
pSmartTagMgr = new SmartTagMgr( SwDocShell::Factory().GetModuleName() );
-
+
return *pSmartTagMgr;
}
*/
diff --git a/sw/source/core/bastyp/bparr.cxx b/sw/source/core/bastyp/bparr.cxx
index 4e448882ab9e..28a4daa767ae 100644
--- a/sw/source/core/bastyp/bparr.cxx
+++ b/sw/source/core/bastyp/bparr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BigPtrArray::BigPtrArray()
{
nBlock = nCur = 0;
nSize = 0;
- nMaxBlock = nBlockGrowSize; // == 20 * 1000 Eintraege
+ nMaxBlock = nBlockGrowSize; // == 20 * 1000 Eintraege
ppInf = new BlockInfo* [ nMaxBlock ];
}
@@ -98,7 +98,7 @@ void BigPtrArray::Move( ULONG from, ULONG to )
USHORT cur = Index2Block( from );
BlockInfo* p = ppInf[ cur ];
ElementPtr pElem = p->pData[ from - p->nStart ];
- Insert( pElem, to ); // erst einfuegen, dann loeschen !!!!
+ Insert( pElem, to ); // erst einfuegen, dann loeschen !!!!
Remove( ( to < from ) ? ( from + 1 ) : from );
}
@@ -250,7 +250,7 @@ BlockInfo* BigPtrArray::InsBlock( USHORT pos )
p->nStart = p->nEnd = ppInf[ pos-1 ]->nEnd + 1;
else
p->nStart = p->nEnd = 0;
- p->nEnd--; // keine Elemente
+ p->nEnd--; // keine Elemente
p->nElem = 0;
p->pData = new ElementPtr [ MAXENTRY ];
p->pBigArr = this;
@@ -377,10 +377,10 @@ void BigPtrArray::Remove( ULONG pos, ULONG n )
{
CHECKIDX( ppInf, nBlock, nSize, nCur );
- USHORT nBlkdel = 0; // entfernte Bloecke
- USHORT cur = Index2Block( pos ); // aktuelle Blocknr
+ USHORT nBlkdel = 0; // entfernte Bloecke
+ USHORT cur = Index2Block( pos ); // aktuelle Blocknr
USHORT nBlk1 = cur; // 1. behandelter Block
- USHORT nBlk1del = USHRT_MAX; // 1. entfernter Block
+ USHORT nBlk1del = USHRT_MAX; // 1. entfernter Block
BlockInfo* p = ppInf[ cur ];
pos -= p->nStart;
ULONG nElem = n;
@@ -431,7 +431,7 @@ void BigPtrArray::Remove( ULONG pos, ULONG n )
( nBlock - nBlkdel - nBlk1del ) * sizeof( BlockInfo* ) );
// JP 19.07.95: nicht den ersten behandelten, sondern den davor!!
- // UpdateIdx updatet nur alle Nachfolgende!!
+ // UpdateIdx updatet nur alle Nachfolgende!!
if( !nBlk1 )
{
p = ppInf[ 0 ];
@@ -441,7 +441,7 @@ void BigPtrArray::Remove( ULONG pos, ULONG n )
else
--nBlk1;
}
- BlockDel( nBlkdel ); // es wurden Bloecke geloescht
+ BlockDel( nBlkdel ); // es wurden Bloecke geloescht
}
nSize -= n;
@@ -484,10 +484,10 @@ USHORT BigPtrArray::Compress( short nMax )
// benutzt; wobei pp das "alte" Array, qq das "neue" Array ist.
BlockInfo** pp = ppInf, **qq = pp;
BlockInfo* p;
- BlockInfo* pLast(0); // letzter nicht voller Block
- USHORT nLast = 0; // fehlende Elemente
- USHORT nBlkdel = 0; // Anzahl der geloeschte Bloecke
- USHORT nFirstChgPos = USHRT_MAX; // ab welcher Pos gab es die 1. Aenderung?
+ BlockInfo* pLast(0); // letzter nicht voller Block
+ USHORT nLast = 0; // fehlende Elemente
+ USHORT nBlkdel = 0; // Anzahl der geloeschte Bloecke
+ USHORT nFirstChgPos = USHRT_MAX; // ab welcher Pos gab es die 1. Aenderung?
// von Fuell-Prozenten auf uebrige Eintrage umrechnen
nMax = MAXENTRY - (long) MAXENTRY * nMax / 100;
@@ -548,9 +548,9 @@ USHORT BigPtrArray::Compress( short nMax )
}
}
- if( p ) // die Blockinfo wurde nicht geloescht
+ if( p ) // die Blockinfo wurde nicht geloescht
{
- *qq++ = p; // dann setze sie an die richtige neue Position
+ *qq++ = p; // dann setze sie an die richtige neue Position
// eventuell den letzten halbvollen Block festhalten
if( !nLast && p->nElem < MAXENTRY )
diff --git a/sw/source/core/bastyp/breakit.cxx b/sw/source/core/bastyp/breakit.cxx
index 3805541242ab..b670b13058c9 100644
--- a/sw/source/core/bastyp/breakit.cxx
+++ b/sw/source/core/bastyp/breakit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +71,8 @@ SwBreakIt::SwBreakIt(
//if ( m_xMSF.is() )
//{
// xBreak = uno::Reference< i18n::XBreakIterator >(
- // m_xMSF->createInstance(
- // rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator")) ),
+ // m_xMSF->createInstance(
+ // rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.i18n.BreakIterator")) ),
// uno::UNO_QUERY);
// xCTLDetect = uno::Reference< i18n::XScriptTypeDetector >(
diff --git a/sw/source/core/bastyp/calc.cxx b/sw/source/core/bastyp/calc.cxx
index ce1d90e297c7..a40f06508f2d 100644
--- a/sw/source/core/bastyp/calc.cxx
+++ b/sw/source/core/bastyp/calc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,35 +69,35 @@ using namespace ::com::sun::star;
// tippt sich schneller
#define RESOURCE ViewShell::GetShellRes()
-const sal_Char __FAR_DATA sCalc_Add[] = "add";
-const sal_Char __FAR_DATA sCalc_Sub[] = "sub";
-const sal_Char __FAR_DATA sCalc_Mul[] = "mul";
-const sal_Char __FAR_DATA sCalc_Div[] = "div";
-const sal_Char __FAR_DATA sCalc_Phd[] = "phd";
-const sal_Char __FAR_DATA sCalc_Sqrt[] = "sqrt";
-const sal_Char __FAR_DATA sCalc_Pow[] = "pow";
-const sal_Char __FAR_DATA sCalc_Or[] = "or";
-const sal_Char __FAR_DATA sCalc_Xor[] = "xor";
-const sal_Char __FAR_DATA sCalc_And[] = "and";
-const sal_Char __FAR_DATA sCalc_Not[] = "not";
-const sal_Char __FAR_DATA sCalc_Eq[] = "eq";
-const sal_Char __FAR_DATA sCalc_Neq[] = "neq";
-const sal_Char __FAR_DATA sCalc_Leq[] = "leq";
-const sal_Char __FAR_DATA sCalc_Geq[] = "geq";
-const sal_Char __FAR_DATA sCalc_L[] = "l";
-const sal_Char __FAR_DATA sCalc_G[] = "g";
-const sal_Char __FAR_DATA sCalc_Sum[] = "sum";
-const sal_Char __FAR_DATA sCalc_Mean[] = "mean";
-const sal_Char __FAR_DATA sCalc_Min[] = "min";
-const sal_Char __FAR_DATA sCalc_Max[] = "max";
-const sal_Char __FAR_DATA sCalc_Sin[] = "sin";
-const sal_Char __FAR_DATA sCalc_Cos[] = "cos";
-const sal_Char __FAR_DATA sCalc_Tan[] = "tan";
-const sal_Char __FAR_DATA sCalc_Asin[] = "asin";
-const sal_Char __FAR_DATA sCalc_Acos[] = "acos";
-const sal_Char __FAR_DATA sCalc_Atan[] = "atan";
-const sal_Char __FAR_DATA sCalc_Round[] = "round";
-const sal_Char __FAR_DATA sCalc_Date[] = "date";
+const sal_Char __FAR_DATA sCalc_Add[] = "add";
+const sal_Char __FAR_DATA sCalc_Sub[] = "sub";
+const sal_Char __FAR_DATA sCalc_Mul[] = "mul";
+const sal_Char __FAR_DATA sCalc_Div[] = "div";
+const sal_Char __FAR_DATA sCalc_Phd[] = "phd";
+const sal_Char __FAR_DATA sCalc_Sqrt[] = "sqrt";
+const sal_Char __FAR_DATA sCalc_Pow[] = "pow";
+const sal_Char __FAR_DATA sCalc_Or[] = "or";
+const sal_Char __FAR_DATA sCalc_Xor[] = "xor";
+const sal_Char __FAR_DATA sCalc_And[] = "and";
+const sal_Char __FAR_DATA sCalc_Not[] = "not";
+const sal_Char __FAR_DATA sCalc_Eq[] = "eq";
+const sal_Char __FAR_DATA sCalc_Neq[] = "neq";
+const sal_Char __FAR_DATA sCalc_Leq[] = "leq";
+const sal_Char __FAR_DATA sCalc_Geq[] = "geq";
+const sal_Char __FAR_DATA sCalc_L[] = "l";
+const sal_Char __FAR_DATA sCalc_G[] = "g";
+const sal_Char __FAR_DATA sCalc_Sum[] = "sum";
+const sal_Char __FAR_DATA sCalc_Mean[] = "mean";
+const sal_Char __FAR_DATA sCalc_Min[] = "min";
+const sal_Char __FAR_DATA sCalc_Max[] = "max";
+const sal_Char __FAR_DATA sCalc_Sin[] = "sin";
+const sal_Char __FAR_DATA sCalc_Cos[] = "cos";
+const sal_Char __FAR_DATA sCalc_Tan[] = "tan";
+const sal_Char __FAR_DATA sCalc_Asin[] = "asin";
+const sal_Char __FAR_DATA sCalc_Acos[] = "acos";
+const sal_Char __FAR_DATA sCalc_Atan[] = "atan";
+const sal_Char __FAR_DATA sCalc_Round[] = "round";
+const sal_Char __FAR_DATA sCalc_Date[] = "date";
@@ -111,41 +111,41 @@ struct _CalcOp
SwCalcOper eOp;
};
-_CalcOp __READONLY_DATA aOpTable[] = {
+_CalcOp __READONLY_DATA aOpTable[] = {
/* ACOS */ {{sCalc_Acos}, CALC_ACOS}, // Arcuscosinus
/* ADD */ {{sCalc_Add}, CALC_PLUS}, // Addition
-/* AND */ {{sCalc_And}, CALC_AND}, // log. und
+/* AND */ {{sCalc_And}, CALC_AND}, // log. und
/* ASIN */ {{sCalc_Asin}, CALC_ASIN}, // Arcussinus
/* ATAN */ {{sCalc_Atan}, CALC_ATAN}, // Arcustangens
-/* COS */ {{sCalc_Cos}, CALC_COS}, // Cosinus
-/* DATE */ {{sCalc_Date}, CALC_DATE}, // Date
+/* COS */ {{sCalc_Cos}, CALC_COS}, // Cosinus
+/* DATE */ {{sCalc_Date}, CALC_DATE}, // Date
/* DIV */ {{sCalc_Div}, CALC_DIV}, // Dividieren
-/* EQ */ {{sCalc_Eq}, CALC_EQ}, // gleich
-/* G */ {{sCalc_G}, CALC_GRE}, // groesser
-/* GEQ */ {{sCalc_Geq}, CALC_GEQ}, // groesser gleich
-/* L */ {{sCalc_L}, CALC_LES}, // kleiner
-/* LEQ */ {{sCalc_Leq}, CALC_LEQ}, // kleiner gleich
-/* MAX */ {{sCalc_Max}, CALC_MAX}, // Maximalwert
+/* EQ */ {{sCalc_Eq}, CALC_EQ}, // gleich
+/* G */ {{sCalc_G}, CALC_GRE}, // groesser
+/* GEQ */ {{sCalc_Geq}, CALC_GEQ}, // groesser gleich
+/* L */ {{sCalc_L}, CALC_LES}, // kleiner
+/* LEQ */ {{sCalc_Leq}, CALC_LEQ}, // kleiner gleich
+/* MAX */ {{sCalc_Max}, CALC_MAX}, // Maximalwert
/* MEAN */ {{sCalc_Mean}, CALC_MEAN}, // Mittelwert
-/* MIN */ {{sCalc_Min}, CALC_MIN}, // Minimalwert
-/* MUL */ {{sCalc_Mul}, CALC_MUL}, // Multiplizieren
-/* NEQ */ {{sCalc_Neq}, CALC_NEQ}, // nicht gleich
-/* NOT */ {{sCalc_Not}, CALC_NOT}, // log. nicht
-/* OR */ {{sCalc_Or}, CALC_OR}, // log. oder
+/* MIN */ {{sCalc_Min}, CALC_MIN}, // Minimalwert
+/* MUL */ {{sCalc_Mul}, CALC_MUL}, // Multiplizieren
+/* NEQ */ {{sCalc_Neq}, CALC_NEQ}, // nicht gleich
+/* NOT */ {{sCalc_Not}, CALC_NOT}, // log. nicht
+/* OR */ {{sCalc_Or}, CALC_OR}, // log. oder
/* PHD */ {{sCalc_Phd}, CALC_PHD}, // Prozent
-/* POW */ {{sCalc_Pow}, CALC_POW}, // Potenzieren
-/* ROUND */ {{sCalc_Round}, CALC_ROUND}, // Runden
-/* SIN */ {{sCalc_Sin}, CALC_SIN}, // Sinus
-/* SQRT */ {{sCalc_Sqrt}, CALC_SQRT}, // Wurzel
-/* SUB */ {{sCalc_Sub}, CALC_MINUS}, // Subtraktion
-/* SUM */ {{sCalc_Sum}, CALC_SUM}, // Summe
-/* TAN */ {{sCalc_Tan}, CALC_TAN}, // Tangens
-/* XOR */ {{sCalc_Xor}, CALC_XOR} // log. xoder
+/* POW */ {{sCalc_Pow}, CALC_POW}, // Potenzieren
+/* ROUND */ {{sCalc_Round}, CALC_ROUND}, // Runden
+/* SIN */ {{sCalc_Sin}, CALC_SIN}, // Sinus
+/* SQRT */ {{sCalc_Sqrt}, CALC_SQRT}, // Wurzel
+/* SUB */ {{sCalc_Sub}, CALC_MINUS}, // Subtraktion
+/* SUM */ {{sCalc_Sum}, CALC_SUM}, // Summe
+/* TAN */ {{sCalc_Tan}, CALC_TAN}, // Tangens
+/* XOR */ {{sCalc_Xor}, CALC_XOR} // log. xoder
};
double __READONLY_DATA nRoundVal[] = {
- 5.0e+0, 0.5e+0, 0.5e-1, 0.5e-2, 0.5e-3, 0.5e-4, 0.5e-5, 0.5e-6,
- 0.5e-7, 0.5e-8, 0.5e-9, 0.5e-10,0.5e-11,0.5e-12,0.5e-13,0.5e-14,
+ 5.0e+0, 0.5e+0, 0.5e-1, 0.5e-2, 0.5e-3, 0.5e-4, 0.5e-5, 0.5e-6,
+ 0.5e-7, 0.5e-8, 0.5e-9, 0.5e-10,0.5e-11,0.5e-12,0.5e-13,0.5e-14,
0.5e-15,0.5e-16
};
@@ -258,10 +258,10 @@ double lcl_ConvertToDateValue( SwDoc& rDoc, sal_Int32 nDate )
/******************************************************************************
|*
-|* SwCalc::SwCalc( SwDoc* pD ) :
+|* SwCalc::SwCalc( SwDoc* pD ) :
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung JP 03.11.95
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung JP 03.11.95
|*
|******************************************************************************/
@@ -400,17 +400,17 @@ static ULONG SwDocStat::* __READONLY_DATA aDocStat2[ 4 ] =
// at time its better not to use "graph", because then the im-/export have
// to change in all formulas this name.
-// nVal.PutLong( rDocStat.*aDocStat1[ 1 ] );
-// VarTable[ aHashValue[ 26 ] ]->pNext = new SwCalcExp(
-// sNTypeTab[ 26 ], nVal, 0 );
+// nVal.PutLong( rDocStat.*aDocStat1[ 1 ] );
+// VarTable[ aHashValue[ 26 ] ]->pNext = new SwCalcExp(
+// sNTypeTab[ 26 ], nVal, 0 );
}
/******************************************************************************
|*
-|* SwCalc::~SwCalc()
+|* SwCalc::~SwCalc()
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung OK 12-02-93 11:04am
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung OK 12-02-93 11:04am
|*
|******************************************************************************/
@@ -426,10 +426,10 @@ SwCalc::~SwCalc()
/******************************************************************************
|*
-|* SwSbxValue SwCalc::Calculate( const String& rStr )
+|* SwSbxValue SwCalc::Calculate( const String& rStr )
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung OK 12-02-93 11:04am
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung OK 12-02-93 11:04am
|*
|******************************************************************************/
@@ -442,7 +442,7 @@ SwSbxValue SwCalc::Calculate( const String& rStr )
return nResult;
nListPor = 0;
- eCurrListOper = CALC_PLUS; // defaulten auf Summe
+ eCurrListOper = CALC_PLUS; // defaulten auf Summe
sCommand = rStr;
nCommandPos = 0;
@@ -458,13 +458,13 @@ SwSbxValue SwCalc::Calculate( const String& rStr )
/******************************************************************************
|*
-|* String SwCalc::GetStrResult( SwSbxValue nValue, BOOL bRound = TRUE )
-|* Beschreibung Der Parameter bRound ist auf TRUE defaultet und darf
-|* nur beim errechnen von Tabellenzellen auf FALSE gesetzt
-|* werden, damit keine Rundungsfehler beim zusammenstellen
-|* der Formel entstehen.
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung JP 19.02.98
+|* String SwCalc::GetStrResult( SwSbxValue nValue, BOOL bRound = TRUE )
+|* Beschreibung Der Parameter bRound ist auf TRUE defaultet und darf
+|* nur beim errechnen von Tabellenzellen auf FALSE gesetzt
+|* werden, damit keine Rundungsfehler beim zusammenstellen
+|* der Formel entstehen.
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung JP 19.02.98
|*
|******************************************************************************/
@@ -482,18 +482,18 @@ String SwCalc::GetStrResult( double nValue, BOOL )
if( nValue >= DBL_MAX )
switch( eError )
{
- case CALC_SYNTAX : return RESOURCE->aCalc_Syntax;
- case CALC_ZERODIV : return RESOURCE->aCalc_ZeroDiv;
- case CALC_BRACK : return RESOURCE->aCalc_Brack;
- case CALC_POWERR : return RESOURCE->aCalc_Pow;
- case CALC_VARNFND : return RESOURCE->aCalc_VarNFnd;
- case CALC_OVERFLOW : return RESOURCE->aCalc_Overflow;
- case CALC_WRONGTIME : return RESOURCE->aCalc_WrongTime;
- default : return RESOURCE->aCalc_Default;
+ case CALC_SYNTAX : return RESOURCE->aCalc_Syntax;
+ case CALC_ZERODIV : return RESOURCE->aCalc_ZeroDiv;
+ case CALC_BRACK : return RESOURCE->aCalc_Brack;
+ case CALC_POWERR : return RESOURCE->aCalc_Pow;
+ case CALC_VARNFND : return RESOURCE->aCalc_VarNFnd;
+ case CALC_OVERFLOW : return RESOURCE->aCalc_Overflow;
+ case CALC_WRONGTIME : return RESOURCE->aCalc_WrongTime;
+ default : return RESOURCE->aCalc_Default;
}
- USHORT nDec = 15; //pLclData->getNumDigits();
- String aRetStr( ::rtl::math::doubleToUString( nValue,
+ USHORT nDec = 15; //pLclData->getNumDigits();
+ String aRetStr( ::rtl::math::doubleToUString( nValue,
rtl_math_StringFormat_Automatic,
nDec,
pLclData->getNumDecimalSep().GetChar(0),
@@ -504,10 +504,10 @@ String SwCalc::GetStrResult( double nValue, BOOL )
/******************************************************************************
|*
-|* SwCalcExp* SwCalc::VarLook( const String& )
+|* SwCalcExp* SwCalc::VarLook( const String& )
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung JP 15.11.99
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung JP 15.11.99
|*
|******************************************************************************/
@@ -520,10 +520,10 @@ SwCalcExp* SwCalc::VarInsert( const String &rStr )
/******************************************************************************
|*
-|* SwCalcExp* SwCalc::VarLook( const String& , USHORT ins )
+|* SwCalcExp* SwCalc::VarLook( const String& , USHORT ins )
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung JP 15.11.99
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung JP 15.11.99
|*
|******************************************************************************/
SwCalcExp* SwCalc::VarLook( const String& rStr, USHORT ins )
@@ -564,22 +564,22 @@ SwCalcExp* SwCalc::VarLook( const String& rStr, USHORT ins )
else if( !pUFld->IsValid() )
{
// Die aktuellen Werte sichern . . .
- USHORT nOld_ListPor = nListPor;
- SwSbxValue nOld_LastLeft = nLastLeft;
- SwSbxValue nOld_NumberValue = nNumberValue;
- xub_StrLen nOld_CommandPos = nCommandPos;
- SwCalcOper eOld_CurrOper = eCurrOper;
- SwCalcOper eOld_CurrListOper = eCurrListOper;
+ USHORT nOld_ListPor = nListPor;
+ SwSbxValue nOld_LastLeft = nLastLeft;
+ SwSbxValue nOld_NumberValue = nNumberValue;
+ xub_StrLen nOld_CommandPos = nCommandPos;
+ SwCalcOper eOld_CurrOper = eCurrOper;
+ SwCalcOper eOld_CurrListOper = eCurrListOper;
pFndExp->nValue.PutDouble( pUFld->GetValue( *this ) );
// . . . und zurueck damit.
- nListPor = nOld_ListPor;
- nLastLeft = nOld_LastLeft;
- nNumberValue = nOld_NumberValue;
- nCommandPos = nOld_CommandPos;
- eCurrOper = eOld_CurrOper;
- eCurrListOper = eOld_CurrListOper;
+ nListPor = nOld_ListPor;
+ nLastLeft = nOld_LastLeft;
+ nNumberValue = nOld_NumberValue;
+ nCommandPos = nOld_CommandPos;
+ eCurrOper = eOld_CurrOper;
+ eCurrListOper = eOld_CurrListOper;
}
else
pFndExp->nValue.PutDouble( pUFld->GetValue() );
@@ -677,10 +677,10 @@ SwCalcExp* SwCalc::VarLook( const String& rStr, USHORT ins )
/******************************************************************************
|*
-|* BOOL SwCalc::VarChange( const String& rStr, const SwSbxValue nValue )
+|* BOOL SwCalc::VarChange( const String& rStr, const SwSbxValue nValue )
|*
-|* Erstellung OK 12-02-93 11:04am
-|* Letzte Aenderung OK 12-02-93 11:04am
+|* Erstellung OK 12-02-93 11:04am
+|* Letzte Aenderung OK 12-02-93 11:04am
|*
|******************************************************************************/
@@ -710,10 +710,10 @@ void SwCalc::VarChange( const String& rStr, const SwSbxValue& rValue )
/******************************************************************************
|*
-|* BOOL SwCalc::Push( const void* pPtr )
+|* BOOL SwCalc::Push( const void* pPtr )
|*
-|* Erstellung OK 12-02-93 11:05am
-|* Letzte Aenderung OK 12-02-93 11:05am
+|* Erstellung OK 12-02-93 11:05am
+|* Letzte Aenderung OK 12-02-93 11:05am
|*
|******************************************************************************/
@@ -728,10 +728,10 @@ BOOL SwCalc::Push( const VoidPtr pPtr )
/******************************************************************************
|*
-|* void SwCalc::Pop( const void* pPtr )
+|* void SwCalc::Pop( const void* pPtr )
|*
-|* Erstellung OK 12-02-93 11:05am
-|* Letzte Aenderung OK 12-02-93 11:05am
+|* Erstellung OK 12-02-93 11:05am
+|* Letzte Aenderung OK 12-02-93 11:05am
|*
|******************************************************************************/
@@ -745,10 +745,10 @@ void SwCalc::Pop( const VoidPtr )
/******************************************************************************
|*
-|* SwCalcOper SwCalc::GetToken()
+|* SwCalcOper SwCalc::GetToken()
|*
-|* Erstellung OK 12-02-93 11:05am
-|* Letzte Aenderung JP 03.11.95
+|* Erstellung OK 12-02-93 11:05am
+|* Letzte Aenderung JP 03.11.95
|*
|******************************************************************************/
@@ -756,7 +756,7 @@ SwCalcOper SwCalc::GetToken()
{
#if OSL_DEBUG_LEVEL > 1
//JP 25.01.2001: static for switch back to the "old" implementation of the
-// calculator, which don't use the I18N routines.
+// calculator, which don't use the I18N routines.
static int nUseOld = 0;
if( !nUseOld )
{
@@ -792,7 +792,7 @@ if( !nUseOld )
if( sLowerCaseName == sCurrSym )
{
nCommandPos = (xub_StrLen)aRes.EndPos;
- return GetToken(); // also nochmal aufrufen
+ return GetToken(); // also nochmal aufrufen
}
// Operations abfangen
@@ -855,7 +855,7 @@ if( !nUseOld )
case '+':
case '-':
case '(':
- case ')': eCurrOper = SwCalcOper(ch);
+ case ')': eCurrOper = SwCalcOper(ch);
break;
case '=':
@@ -962,7 +962,7 @@ if( !nUseOld )
#if OSL_DEBUG_LEVEL > 1
-#define NextCh( s, n ) (nCommandPos < sCommand.Len() ? sCommand.GetChar( nCommandPos++ ) : 0)
+#define NextCh( s, n ) (nCommandPos < sCommand.Len() ? sCommand.GetChar( nCommandPos++ ) : 0)
}
else
@@ -1003,7 +1003,7 @@ else
case '+':
case '-':
case '(':
- case ')': eCurrOper = SwCalcOper(ch);
+ case ')': eCurrOper = SwCalcOper(ch);
break;
case '=': if( '=' == sCommand.GetChar( nCommandPos ) )
@@ -1042,12 +1042,12 @@ else
eCurrOper = eCurrListOper;
break;
- case '0': case '1': case '2': case '3': case '4':
- case '5': case '6': case '7': case '8': case '9':
+ case '0': case '1': case '2': case '3': case '4':
+ case '5': case '6': case '7': case '8': case '9':
case ',':
- case '.': {
+ case '.': {
double nVal;
- --nCommandPos; // auf das 1. Zeichen zurueck
+ --nCommandPos; // auf das 1. Zeichen zurueck
if( Str2Double( sCommand, nCommandPos, nVal, pLclData ))
{
nNumberValue.PutDouble( nVal );
@@ -1062,7 +1062,7 @@ else
}
break;
- case '[': {
+ case '[': {
String aStr;
BOOL bIgnore = FALSE;
do {
@@ -1087,7 +1087,7 @@ else
}
break;
- case '"': {
+ case '"': {
xub_StrLen nStt = nCommandPos;
while( 0 != ( ch = NextCh( sCommand, nCommandPos ) )
&& '"' != ch )
@@ -1101,7 +1101,7 @@ else
}
break;
- default: if( ch && pCharClass->isLetter( sCommand, nCommandPos - 1)
+ default: if( ch && pCharClass->isLetter( sCommand, nCommandPos - 1)
|| '_' == ch )
{
xub_StrLen nStt = nCommandPos-1;
@@ -1120,7 +1120,7 @@ else
// Currency-Symbol abfangen
if( aStr == sCurrSym )
- return GetToken(); // also nochmal aufrufen
+ return GetToken(); // also nochmal aufrufen
// Operations abfangen
_CalcOp* pFnd = ::FindOperator( aStr );
@@ -1160,10 +1160,10 @@ else
/******************************************************************************
|*
-|* SwSbxValue SwCalc::Term()
+|* SwSbxValue SwCalc::Term()
|*
-|* Erstellung OK 12-02-93 11:05am
-|* Letzte Aenderung JP 16.01.96
+|* Erstellung OK 12-02-93 11:05am
+|* Letzte Aenderung JP 16.01.96
|*
|******************************************************************************/
@@ -1178,22 +1178,22 @@ SwSbxValue SwCalc::Term()
switch( eCurrOper )
{
// wir haben kein Bitweises verodern, oder ?
-// case CALC_AND: eSbxOper = SbxAND; break;
-// case CALC_OR: eSbxOper = SbxOR; break;
-// case CALC_XOR: eSbxOper = SbxXOR; break;
- case CALC_AND: {
+// case CALC_AND: eSbxOper = SbxAND; break;
+// case CALC_OR: eSbxOper = SbxOR; break;
+// case CALC_XOR: eSbxOper = SbxXOR; break;
+ case CALC_AND: {
GetToken();
BOOL bB = Prim().GetBool();
left.PutBool( left.GetBool() && bB );
}
break;
- case CALC_OR: {
+ case CALC_OR: {
GetToken();
BOOL bB = Prim().GetBool();
left.PutBool( left.GetBool() || bB );
}
break;
- case CALC_XOR: {
+ case CALC_XOR: {
GetToken();
BOOL bR = Prim().GetBool();
BOOL bL = left.GetBool();
@@ -1201,15 +1201,15 @@ SwSbxValue SwCalc::Term()
}
break;
- case CALC_EQ: nSbxOper = SbxEQ; break;
- case CALC_NEQ: nSbxOper = SbxNE; break;
- case CALC_LEQ: nSbxOper = SbxLE; break;
- case CALC_GEQ: nSbxOper = SbxGE; break;
- case CALC_GRE: nSbxOper = SbxGT; break;
- case CALC_LES: nSbxOper = SbxLT; break;
+ case CALC_EQ: nSbxOper = SbxEQ; break;
+ case CALC_NEQ: nSbxOper = SbxNE; break;
+ case CALC_LEQ: nSbxOper = SbxLE; break;
+ case CALC_GEQ: nSbxOper = SbxGE; break;
+ case CALC_GRE: nSbxOper = SbxGT; break;
+ case CALC_LES: nSbxOper = SbxLT; break;
- case CALC_MUL: nSbxOper = SbxMUL; break;
- case CALC_DIV: nSbxOper = SbxDIV; break;
+ case CALC_MUL: nSbxOper = SbxMUL; break;
+ case CALC_DIV: nSbxOper = SbxDIV; break;
case CALC_MIN_IN:
{
@@ -1285,7 +1285,7 @@ SwSbxValue SwCalc::Term()
bSign = FALSE;
// runden
- double fNum = fVal; // find the exponent
+ double fNum = fVal; // find the exponent
int nExp = 0;
if( fNum > 0 )
{
@@ -1335,7 +1335,7 @@ SwSbxValue SwCalc::Term()
}
break;
*/
- default: return left;
+ default: return left;
}
if( USHRT_MAX != nSbxOper )
@@ -1363,10 +1363,10 @@ SwSbxValue SwCalc::Term()
/******************************************************************************
|*
-|* SwSbxValue SwCalc::Prim()
+|* SwSbxValue SwCalc::Prim()
|*
-|* Erstellung OK 12-02-93 11:05am
-|* Letzte Aenderung JP 03.11.95
+|* Erstellung OK 12-02-93 11:05am
+|* Letzte Aenderung JP 03.11.95
|*
|******************************************************************************/
@@ -1382,14 +1382,14 @@ SwSbxValue SwCalc::Prim()
switch( eCurrOper )
{
- case CALC_SIN: pFnc = &sin; break;
- case CALC_COS: pFnc = &cos; break;
- case CALC_TAN: pFnc = &tan; break;
- case CALC_ATAN: pFnc = &atan; break;
- case CALC_ASIN: pFnc = &asin; bChkTrig = TRUE; break;
- case CALC_ACOS: pFnc = &acos; bChkTrig = TRUE; break;
-
- case CALC_NOT: {
+ case CALC_SIN: pFnc = &sin; break;
+ case CALC_COS: pFnc = &cos; break;
+ case CALC_TAN: pFnc = &tan; break;
+ case CALC_ATAN: pFnc = &atan; break;
+ case CALC_ASIN: pFnc = &asin; bChkTrig = TRUE; break;
+ case CALC_ACOS: pFnc = &acos; bChkTrig = TRUE; break;
+
+ case CALC_NOT: {
GetToken();
nErg = Prim();
if( SbxSTRING == nErg.GetType() )
@@ -1410,7 +1410,7 @@ SwSbxValue SwCalc::Prim()
}
break;
- case CALC_NUMBER: if( GetToken() == CALC_PHD )
+ case CALC_NUMBER: if( GetToken() == CALC_PHD )
{
double aTmp = nNumberValue.GetDouble();
aTmp *= 0.01;
@@ -1426,7 +1426,7 @@ SwSbxValue SwCalc::Prim()
}
break;
- case CALC_NAME: if( GetToken() == CALC_ASSIGN )
+ case CALC_NAME: if( GetToken() == CALC_ASSIGN )
{
SwCalcExp* n = VarInsert( aVarName );
GetToken();
@@ -1439,11 +1439,11 @@ SwSbxValue SwCalc::Prim()
}
break;
- case CALC_MINUS: GetToken();
+ case CALC_MINUS: GetToken();
nErg.PutDouble( -(Prim().GetDouble()) );
break;
- case CALC_LP: {
+ case CALC_LP: {
GetToken();
nErg = Expr();
if( eCurrOper != CALC_RP )
@@ -1456,7 +1456,7 @@ SwSbxValue SwCalc::Prim()
}
break;
- case CALC_MEAN: {
+ case CALC_MEAN: {
nListPor = 1;
GetToken();
nErg = Expr();
@@ -1466,7 +1466,7 @@ SwSbxValue SwCalc::Prim()
}
break;
- case CALC_SQRT: {
+ case CALC_SQRT: {
GetToken();
nErg = Prim();
if( nErg.GetDouble() < 0 )
@@ -1479,14 +1479,14 @@ SwSbxValue SwCalc::Prim()
case CALC_SUM:
case CALC_DATE:
case CALC_MIN:
- case CALC_MAX: GetToken();
+ case CALC_MAX: GetToken();
nErg = Expr();
break;
- case CALC_ENDCALC: nErg.Clear();
+ case CALC_ENDCALC: nErg.Clear();
break;
- default: eError = CALC_SYNTAX;
+ default: eError = CALC_SYNTAX;
break;
}
@@ -1526,7 +1526,7 @@ SwSbxValue SwCalc::Prim()
else
{
nErg.PutDouble( dleft );
-// GetToken();
+// GetToken();
}
}
}
@@ -1536,21 +1536,21 @@ SwSbxValue SwCalc::Prim()
/******************************************************************************
|*
-|* SwSbxValue SwCalc::Expr()
+|* SwSbxValue SwCalc::Expr()
|*
-|* Erstellung OK 12-02-93 11:06am
-|* Letzte Aenderung JP 03.11.95
+|* Erstellung OK 12-02-93 11:06am
+|* Letzte Aenderung JP 03.11.95
|*
|******************************************************************************/
-SwSbxValue SwCalc::Expr()
+SwSbxValue SwCalc::Expr()
{
SwSbxValue left = Term(), right;
nLastLeft = left;
for(;;)
switch(eCurrOper)
{
- case CALC_PLUS: GetToken();
+ case CALC_PLUS: GetToken();
// erzeuge zum addieren auf jedenfall einen
// Double-Wert
left.MakeDouble();
@@ -1559,7 +1559,7 @@ SwSbxValue SwCalc::Expr()
nListPor++;
break;
- case CALC_MINUS: GetToken();
+ case CALC_MINUS: GetToken();
// erzeuge zum addieren auf jedenfall einen
// Double-Wert
left.MakeDouble();
@@ -1567,7 +1567,7 @@ SwSbxValue SwCalc::Expr()
left.Compute( SbxMINUS, right );
break;
- default: return left;
+ default: return left;
}
}
@@ -1631,10 +1631,10 @@ lcl_Str2Double( const String& rCommand, xub_StrLen& rCommandPos, double& rVal,
}
/******************************************************************************
- * Methode : BOOL SwCalc::Str2Double( double& )
- * Beschreibung:
- * Erstellt : OK 07.06.94 12:56
- * Aenderung : JP 27.10.98
+ * Methode : BOOL SwCalc::Str2Double( double& )
+ * Beschreibung:
+ * Erstellt : OK 07.06.94 12:56
+ * Aenderung : JP 27.10.98
******************************************************************************/
bool SwCalc::Str2Double( const String& rCommand, xub_StrLen& rCommandPos,
double& rVal, const LocaleDataWrapper* const pLclData )
@@ -1698,10 +1698,10 @@ BOOL SwCalc::IsValidVarName( const String& rStr,
/******************************************************************************
|*
-|* CTOR DTOR der SwHash classes
+|* CTOR DTOR der SwHash classes
|*
-|* Ersterstellung OK 25.06.93 12:20
-|* Letzte Aenderung OK 25.06.93 12:20
+|* Ersterstellung OK 25.06.93 12:20
+|* Letzte Aenderung OK 25.06.93 12:20
|*
******************************************************************************/
@@ -1775,18 +1775,18 @@ SwSbxValue& SwSbxValue::MakeDouble()
void main()
{
static sal_Char
- sNType0[] = "false", sNType1[] = "true", sNType2[] = "pi",
- sNType3[] = "e", sNType4[] = "tables", sNType5[] = "graf",
- sNType6[] = "ole", sNType7[] = "page", sNType8[] = "para",
- sNType9[] = "word", sNType10[]= "char",
- sNType11[] = "user_company" , sNType12[] = "user_firstname" ,
- sNType13[] = "user_lastname" , sNType14[] = "user_initials",
+ sNType0[] = "false", sNType1[] = "true", sNType2[] = "pi",
+ sNType3[] = "e", sNType4[] = "tables", sNType5[] = "graf",
+ sNType6[] = "ole", sNType7[] = "page", sNType8[] = "para",
+ sNType9[] = "word", sNType10[]= "char",
+ sNType11[] = "user_company" , sNType12[] = "user_firstname" ,
+ sNType13[] = "user_lastname" , sNType14[] = "user_initials",
sNType15[] = "user_street" , sNType16[] = "user_country" ,
sNType17[] = "user_zipcode" , sNType18[] = "user_city" ,
sNType19[] = "user_title" , sNType20[] = "user_position" ,
- sNType21[] = "user_tel_home", sNType22[] = "user_tel_work",
+ sNType21[] = "user_tel_home", sNType22[] = "user_tel_work",
sNType23[] = "user_fax" , sNType24[] = "user_email" ,
- sNType25[] = "user_state", sNType26[] = "graph"
+ sNType25[] = "user_state", sNType26[] = "graph"
;
static const sal_Char* sNTypeTab[ 27 ] =
diff --git a/sw/source/core/bastyp/checkit.cxx b/sw/source/core/bastyp/checkit.cxx
index ec4a3b8e8aed..148e0b6fff98 100644
--- a/sw/source/core/bastyp/checkit.cxx
+++ b/sw/source/core/bastyp/checkit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/bastyp/index.cxx b/sw/source/core/bastyp/index.cxx
index a249a21ec2a6..bff41705d68a 100644
--- a/sw/source/core/bastyp/index.cxx
+++ b/sw/source/core/bastyp/index.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +30,19 @@
#include "precompiled_sw.hxx"
-#include <stdlib.h> // fuer qsort
+#include <stdlib.h> // fuer qsort
#include <tools/solar.h>
-#include "errhdl.hxx" // fuers ASSERT
+#include "errhdl.hxx" // fuers ASSERT
#include "index.hxx"
-#include "error.h" // fuers ASSERT
+#include "error.h" // fuers ASSERT
#if OSL_DEBUG_LEVEL > 1
int SwIndex::nSerial = 0;
#endif
-TYPEINIT0(SwIndexReg); // rtti
+TYPEINIT0(SwIndexReg); // rtti
#ifdef CHK
@@ -76,12 +76,12 @@ void SwIndexReg::ChkArr()
}
}
-#else // CHK
+#else // CHK
#define IDX_CHK_ARRAY
#define ARR_CHK_ARRAY
-#endif // CHK
+#endif // CHK
@@ -91,7 +91,7 @@ SwIndex::SwIndex(SwIndexReg *const pArr, xub_StrLen const nIdx)
if( !pArray )
{
pArray = SwIndexReg::pEmptyIndexArray;
- nIndex = 0; // steht immer auf 0 !!!
+ nIndex = 0; // steht immer auf 0 !!!
}
if( !pArray->pFirst || !pArray->pLast ) // 1. Index ??
@@ -102,7 +102,7 @@ SwIndex::SwIndex(SwIndexReg *const pArr, xub_StrLen const nIdx)
ChgValue( *pArray->pFirst, nIdx );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
IDX_CHK_ARRAY
}
@@ -114,7 +114,7 @@ SwIndex::SwIndex( const SwIndex& rIdx, short nIdx )
ChgValue( rIdx, rIdx.nIndex + nIdx );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
IDX_CHK_ARRAY
}
@@ -125,7 +125,7 @@ SwIndex::SwIndex( const SwIndex& rIdx )
{
ChgValue( rIdx, rIdx.nIndex );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
IDX_CHK_ARRAY
}
@@ -134,7 +134,7 @@ IDX_CHK_ARRAY
SwIndex& SwIndex::ChgValue( const SwIndex& rIdx, xub_StrLen nNewValue )
{
SwIndex* pFnd = (SwIndex*)&rIdx;
- if( rIdx.nIndex > nNewValue ) // nach vorne versuchen
+ if( rIdx.nIndex > nNewValue ) // nach vorne versuchen
{
SwIndex* pPrv;
while( 0 != ( pPrv = pFnd->pPrev ) && pPrv->nIndex > nNewValue )
@@ -208,7 +208,7 @@ SwIndex& SwIndex::ChgValue( const SwIndex& rIdx, xub_StrLen nNewValue )
pNext = rIdx.pNext;
pPrev->pNext = this;
- if( !pNext ) // im IndexArray als letzes
+ if( !pNext ) // im IndexArray als letzes
pArray->pLast = this;
else
pNext->pPrev = this;
@@ -244,11 +244,11 @@ IDX_CHK_ARRAY
/*************************************************************************
|*
-|* SwIndex & SwIndex::operator=( const SwIndex & aSwIndex )
+|* SwIndex & SwIndex::operator=( const SwIndex & aSwIndex )
|*
-|* Beschreibung
-|* Ersterstellung JP 07.11.90
-|* Letzte Aenderung JP 07.03.94
+|* Beschreibung
+|* Ersterstellung JP 07.11.90
+|* Letzte Aenderung JP 07.03.94
|*
*************************************************************************/
@@ -256,7 +256,7 @@ IDX_CHK_ARRAY
SwIndex& SwIndex::operator=( const SwIndex& rIdx )
{
int bEqual;
- if( rIdx.pArray != pArray ) // im alten abmelden !!
+ if( rIdx.pArray != pArray ) // im alten abmelden !!
{
Remove();
pArray = rIdx.pArray;
@@ -273,11 +273,11 @@ SwIndex& SwIndex::operator=( const SwIndex& rIdx )
/*************************************************************************
|*
-|* SwIndex &SwIndex::Assign
+|* SwIndex &SwIndex::Assign
|*
-|* Beschreibung
-|* Ersterstellung VB 25.03.91
-|* Letzte Aenderung JP 07.03.94
+|* Beschreibung
+|* Ersterstellung VB 25.03.91
+|* Letzte Aenderung JP 07.03.94
|*
*************************************************************************/
@@ -287,10 +287,10 @@ SwIndex& SwIndex::Assign( SwIndexReg* pArr, xub_StrLen nIdx )
if( !pArr )
{
pArr = SwIndexReg::pEmptyIndexArray;
- nIdx = 0; // steht immer auf 0 !!!
+ nIdx = 0; // steht immer auf 0 !!!
}
- if( pArr != pArray ) // im alten abmelden !!
+ if( pArr != pArray ) // im alten abmelden !!
{
Remove();
pArray = pArr;
diff --git a/sw/source/core/bastyp/init.cxx b/sw/source/core/bastyp/init.cxx
index 3c76b6effaf4..f94be22941af 100644
--- a/sw/source/core/bastyp/init.cxx
+++ b/sw/source/core/bastyp/init.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ extern void _FrmFinit();
extern void ClearFEShellTabCols();
/*************************************************************************
-|* einige Bereiche fuer die Set in Collections / Nodes
+|* einige Bereiche fuer die Set in Collections / Nodes
|*************************************************************************/
// AttrSet-Range fuer die 2 Break-Attribute
USHORT __FAR_DATA aBreakSetRange[] = {
@@ -192,12 +192,12 @@ USHORT __FAR_DATA aNoTxtNodeSetRange[] = {
};
USHORT __FAR_DATA aTableSetRange[] = {
- RES_FILL_ORDER, RES_FRM_SIZE,
- RES_LR_SPACE, RES_BREAK,
- RES_BACKGROUND, RES_SHADOW,
- RES_HORI_ORIENT, RES_HORI_ORIENT,
- RES_KEEP, RES_KEEP,
- RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT,
+ RES_FILL_ORDER, RES_FRM_SIZE,
+ RES_LR_SPACE, RES_BREAK,
+ RES_BACKGROUND, RES_SHADOW,
+ RES_HORI_ORIENT, RES_HORI_ORIENT,
+ RES_KEEP, RES_KEEP,
+ RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT,
RES_FRAMEDIR, RES_FRAMEDIR,
// --> collapsing borders FME 2005-05-27 #i29550#
RES_COLLAPSING_BORDERS, RES_COLLAPSING_BORDERS,
@@ -207,22 +207,22 @@ USHORT __FAR_DATA aTableSetRange[] = {
};
USHORT __FAR_DATA aTableLineSetRange[] = {
- RES_FILL_ORDER, RES_FRM_SIZE,
- RES_LR_SPACE, RES_UL_SPACE,
- RES_BACKGROUND, RES_SHADOW,
+ RES_FILL_ORDER, RES_FRM_SIZE,
+ RES_LR_SPACE, RES_UL_SPACE,
+ RES_BACKGROUND, RES_SHADOW,
RES_ROW_SPLIT, RES_ROW_SPLIT,
RES_PROTECT, RES_PROTECT,
- RES_VERT_ORIENT, RES_VERT_ORIENT,
+ RES_VERT_ORIENT, RES_VERT_ORIENT,
RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
0
};
USHORT __FAR_DATA aTableBoxSetRange[] = {
- RES_FILL_ORDER, RES_FRM_SIZE,
- RES_LR_SPACE, RES_UL_SPACE,
- RES_BACKGROUND, RES_SHADOW,
- RES_PROTECT, RES_PROTECT,
- RES_VERT_ORIENT, RES_VERT_ORIENT,
+ RES_FILL_ORDER, RES_FRM_SIZE,
+ RES_LR_SPACE, RES_UL_SPACE,
+ RES_BACKGROUND, RES_SHADOW,
+ RES_PROTECT, RES_PROTECT,
+ RES_VERT_ORIENT, RES_VERT_ORIENT,
RES_FRAMEDIR, RES_FRAMEDIR,
RES_BOXATR_BEGIN, RES_BOXATR_END-1,
RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
@@ -266,46 +266,46 @@ SwDfltAttrTab __FAR_DATA aAttrTab;
SfxItemInfo __FAR_DATA aSlotTab[] =
{
- { SID_ATTR_CHAR_CASEMAP, SFX_ITEM_POOLABLE }, // RES_CHRATR_CASEMAP
- { SID_ATTR_CHAR_CHARSETCOLOR, SFX_ITEM_POOLABLE }, // RES_CHRATR_CHARSETCOLOR
- { SID_ATTR_CHAR_COLOR, SFX_ITEM_POOLABLE }, // RES_CHRATR_COLOR
- { SID_ATTR_CHAR_CONTOUR, SFX_ITEM_POOLABLE }, // RES_CHRATR_CONTOUR
- { SID_ATTR_CHAR_STRIKEOUT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CROSSEDOUT
- { SID_ATTR_CHAR_ESCAPEMENT, SFX_ITEM_POOLABLE }, // RES_CHRATR_ESCAPEMENT
- { SID_ATTR_CHAR_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_FONT
- { SID_ATTR_CHAR_FONTHEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_FONTSIZE
- { SID_ATTR_CHAR_KERNING, SFX_ITEM_POOLABLE }, // RES_CHRATR_KERNING
- { SID_ATTR_CHAR_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_LANGUAGE
- { SID_ATTR_CHAR_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_POSTURE
- { SID_ATTR_CHAR_PROPSIZE, SFX_ITEM_POOLABLE }, // RES_CHRATR_PROPORTIONALFONTSIZE
- { SID_ATTR_CHAR_SHADOWED, SFX_ITEM_POOLABLE }, // RES_CHRATR_SHADOWED
- { SID_ATTR_CHAR_UNDERLINE, SFX_ITEM_POOLABLE }, // RES_CHRATR_UNDERLINE
- { SID_ATTR_CHAR_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_WEIGHT
- { SID_ATTR_CHAR_WORDLINEMODE, SFX_ITEM_POOLABLE }, // RES_CHRATR_WORDLINEMODE
- { SID_ATTR_CHAR_AUTOKERN, SFX_ITEM_POOLABLE }, // RES_CHRATR_AUTOKERN
- { SID_ATTR_FLASH, SFX_ITEM_POOLABLE }, // RES_CHRATR_BLINK
- { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_NOLINEBREAK
- { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_NOHYPHEN
- { SID_ATTR_BRUSH_CHAR, SFX_ITEM_POOLABLE }, // RES_CHRATR_BACKGROUND
- { SID_ATTR_CHAR_CJK_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_FONT
+ { SID_ATTR_CHAR_CASEMAP, SFX_ITEM_POOLABLE }, // RES_CHRATR_CASEMAP
+ { SID_ATTR_CHAR_CHARSETCOLOR, SFX_ITEM_POOLABLE }, // RES_CHRATR_CHARSETCOLOR
+ { SID_ATTR_CHAR_COLOR, SFX_ITEM_POOLABLE }, // RES_CHRATR_COLOR
+ { SID_ATTR_CHAR_CONTOUR, SFX_ITEM_POOLABLE }, // RES_CHRATR_CONTOUR
+ { SID_ATTR_CHAR_STRIKEOUT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CROSSEDOUT
+ { SID_ATTR_CHAR_ESCAPEMENT, SFX_ITEM_POOLABLE }, // RES_CHRATR_ESCAPEMENT
+ { SID_ATTR_CHAR_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_FONT
+ { SID_ATTR_CHAR_FONTHEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_FONTSIZE
+ { SID_ATTR_CHAR_KERNING, SFX_ITEM_POOLABLE }, // RES_CHRATR_KERNING
+ { SID_ATTR_CHAR_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_LANGUAGE
+ { SID_ATTR_CHAR_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_POSTURE
+ { SID_ATTR_CHAR_PROPSIZE, SFX_ITEM_POOLABLE }, // RES_CHRATR_PROPORTIONALFONTSIZE
+ { SID_ATTR_CHAR_SHADOWED, SFX_ITEM_POOLABLE }, // RES_CHRATR_SHADOWED
+ { SID_ATTR_CHAR_UNDERLINE, SFX_ITEM_POOLABLE }, // RES_CHRATR_UNDERLINE
+ { SID_ATTR_CHAR_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_WEIGHT
+ { SID_ATTR_CHAR_WORDLINEMODE, SFX_ITEM_POOLABLE }, // RES_CHRATR_WORDLINEMODE
+ { SID_ATTR_CHAR_AUTOKERN, SFX_ITEM_POOLABLE }, // RES_CHRATR_AUTOKERN
+ { SID_ATTR_FLASH, SFX_ITEM_POOLABLE }, // RES_CHRATR_BLINK
+ { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_NOLINEBREAK
+ { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_NOHYPHEN
+ { SID_ATTR_BRUSH_CHAR, SFX_ITEM_POOLABLE }, // RES_CHRATR_BACKGROUND
+ { SID_ATTR_CHAR_CJK_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_FONT
{ SID_ATTR_CHAR_CJK_FONTHEIGHT, SFX_ITEM_POOLABLE },// RES_CHRATR_CJK_FONTSIZE
- { SID_ATTR_CHAR_CJK_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_LANGUAGE
- { SID_ATTR_CHAR_CJK_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_POSTURE
- { SID_ATTR_CHAR_CJK_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_WEIGHT
- { SID_ATTR_CHAR_CTL_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_FONT
+ { SID_ATTR_CHAR_CJK_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_LANGUAGE
+ { SID_ATTR_CHAR_CJK_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_POSTURE
+ { SID_ATTR_CHAR_CJK_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CJK_WEIGHT
+ { SID_ATTR_CHAR_CTL_FONT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_FONT
{ SID_ATTR_CHAR_CTL_FONTHEIGHT, SFX_ITEM_POOLABLE },// RES_CHRATR_CTL_FONTSIZE
- { SID_ATTR_CHAR_CTL_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_LANGUAGE
- { SID_ATTR_CHAR_CTL_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_POSTURE
- { SID_ATTR_CHAR_CTL_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_WEIGHT
- { SID_ATTR_CHAR_ROTATED, SFX_ITEM_POOLABLE }, // RES_CHRATR_ROTATE
- { SID_ATTR_CHAR_EMPHASISMARK, SFX_ITEM_POOLABLE }, // RES_CHRATR_EMPHASIS_MARK
- { SID_ATTR_CHAR_TWO_LINES, SFX_ITEM_POOLABLE }, // RES_CHRATR_TWO_LINES
- { SID_ATTR_CHAR_SCALEWIDTH, SFX_ITEM_POOLABLE }, // RES_CHRATR_SCALEW
- { SID_ATTR_CHAR_RELIEF, SFX_ITEM_POOLABLE }, // RES_CHRATR_RELIEF
+ { SID_ATTR_CHAR_CTL_LANGUAGE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_LANGUAGE
+ { SID_ATTR_CHAR_CTL_POSTURE, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_POSTURE
+ { SID_ATTR_CHAR_CTL_WEIGHT, SFX_ITEM_POOLABLE }, // RES_CHRATR_CTL_WEIGHT
+ { SID_ATTR_CHAR_ROTATED, SFX_ITEM_POOLABLE }, // RES_CHRATR_ROTATE
+ { SID_ATTR_CHAR_EMPHASISMARK, SFX_ITEM_POOLABLE }, // RES_CHRATR_EMPHASIS_MARK
+ { SID_ATTR_CHAR_TWO_LINES, SFX_ITEM_POOLABLE }, // RES_CHRATR_TWO_LINES
+ { SID_ATTR_CHAR_SCALEWIDTH, SFX_ITEM_POOLABLE }, // RES_CHRATR_SCALEW
+ { SID_ATTR_CHAR_RELIEF, SFX_ITEM_POOLABLE }, // RES_CHRATR_RELIEF
{ SID_ATTR_CHAR_HIDDEN, SFX_ITEM_POOLABLE }, // RES_CHRATR_HIDDEN
- { SID_ATTR_CHAR_OVERLINE, SFX_ITEM_POOLABLE }, // RES_CHRATR_OVERLINE
- { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_DUMMY1
- { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_DUMMY2
+ { SID_ATTR_CHAR_OVERLINE, SFX_ITEM_POOLABLE }, // RES_CHRATR_OVERLINE
+ { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_DUMMY1
+ { 0, SFX_ITEM_POOLABLE }, // RES_CHRATR_DUMMY2
{ 0, 0 }, // RES_TXTATR_REFMARK
{ 0, 0 }, // RES_TXTATR_TOXMARK
@@ -318,28 +318,28 @@ SfxItemInfo __FAR_DATA aSlotTab[] =
{ 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_UNKNOWN_CONTAINER
{ 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY5
- { 0, 0 }, // RES_TXTATR_FIELD
- { 0, 0 }, // RES_TXTATR_FLYCNT
- { 0, 0 }, // RES_TXTATR_FTN
+ { 0, 0 }, // RES_TXTATR_FIELD
+ { 0, 0 }, // RES_TXTATR_FLYCNT
+ { 0, 0 }, // RES_TXTATR_FTN
{ 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY4
{ 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY3
- { 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY1
- { 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY2
-
- { SID_ATTR_PARA_LINESPACE, SFX_ITEM_POOLABLE }, // RES_PARATR_LINESPACING
- { SID_ATTR_PARA_ADJUST, SFX_ITEM_POOLABLE }, // RES_PARATR_ADJUST
- { SID_ATTR_PARA_SPLIT, SFX_ITEM_POOLABLE }, // RES_PARATR_SPLIT
- { SID_ATTR_PARA_ORPHANS, SFX_ITEM_POOLABLE }, // RES_PARATR_ORPHANS
- { SID_ATTR_PARA_WIDOWS, SFX_ITEM_POOLABLE }, // RES_PARATR_WIDOWS
- { SID_ATTR_TABSTOP, SFX_ITEM_POOLABLE }, // RES_PARATR_TABSTOP
- { SID_ATTR_PARA_HYPHENZONE, SFX_ITEM_POOLABLE }, // RES_PARATR_HYPHENZONE
- { FN_FORMAT_DROPCAPS, 0 }, // RES_PARATR_DROP
- { SID_ATTR_PARA_REGISTER, SFX_ITEM_POOLABLE }, // RES_PARATR_REGISTER
+ { 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY1
+ { 0, SFX_ITEM_POOLABLE }, // RES_TXTATR_DUMMY2
+
+ { SID_ATTR_PARA_LINESPACE, SFX_ITEM_POOLABLE }, // RES_PARATR_LINESPACING
+ { SID_ATTR_PARA_ADJUST, SFX_ITEM_POOLABLE }, // RES_PARATR_ADJUST
+ { SID_ATTR_PARA_SPLIT, SFX_ITEM_POOLABLE }, // RES_PARATR_SPLIT
+ { SID_ATTR_PARA_ORPHANS, SFX_ITEM_POOLABLE }, // RES_PARATR_ORPHANS
+ { SID_ATTR_PARA_WIDOWS, SFX_ITEM_POOLABLE }, // RES_PARATR_WIDOWS
+ { SID_ATTR_TABSTOP, SFX_ITEM_POOLABLE }, // RES_PARATR_TABSTOP
+ { SID_ATTR_PARA_HYPHENZONE, SFX_ITEM_POOLABLE }, // RES_PARATR_HYPHENZONE
+ { FN_FORMAT_DROPCAPS, 0 }, // RES_PARATR_DROP
+ { SID_ATTR_PARA_REGISTER, SFX_ITEM_POOLABLE }, // RES_PARATR_REGISTER
// --> OD 2008-03-04 #refactorlists#
// RES_PARATR_NUMRULE is now poolable
{ SID_ATTR_PARA_NUMRULE, SFX_ITEM_POOLABLE }, // RES_PARATR_NUMRULE
// <--
- { SID_ATTR_PARA_SCRIPTSPACE, SFX_ITEM_POOLABLE }, // RES_PARATR_SCRIPTSPACE
+ { SID_ATTR_PARA_SCRIPTSPACE, SFX_ITEM_POOLABLE }, // RES_PARATR_SCRIPTSPACE
{ SID_ATTR_PARA_HANGPUNCTUATION, SFX_ITEM_POOLABLE },// RES_PARATR_HANGINGPUNCTUATION
{ SID_ATTR_PARA_FORBIDDEN_RULES, SFX_ITEM_POOLABLE },// RES_PARATR_FORBIDDEN_RULES
@@ -357,41 +357,41 @@ SfxItemInfo __FAR_DATA aSlotTab[] =
{ 0, SFX_ITEM_POOLABLE }, // RES_PARATR_LIST_ISCOUNTED
// <--
- { 0, SFX_ITEM_POOLABLE }, // RES_FILL_ORDER
- { 0, SFX_ITEM_POOLABLE }, // RES_FRM_SIZE
- { SID_ATTR_PAGE_PAPERBIN, SFX_ITEM_POOLABLE }, // RES_PAPER_BIN
- { SID_ATTR_LRSPACE, SFX_ITEM_POOLABLE }, // RES_LR_SPACE
- { SID_ATTR_ULSPACE, SFX_ITEM_POOLABLE }, // RES_UL_SPACE
- { 0, 0 }, // RES_PAGEDESC
- { SID_ATTR_PARA_PAGEBREAK, SFX_ITEM_POOLABLE }, // RES_BREAK
- { 0, 0 }, // RES_CNTNT
- { 0, SFX_ITEM_POOLABLE }, // RES_HEADER
- { 0, SFX_ITEM_POOLABLE }, // RES_FOOTER
- { 0, SFX_ITEM_POOLABLE }, // RES_PRINT
- { FN_OPAQUE, SFX_ITEM_POOLABLE }, // RES_OPAQUE
- { FN_SET_PROTECT, SFX_ITEM_POOLABLE }, // RES_PROTECT
- { FN_SURROUND, SFX_ITEM_POOLABLE }, // RES_SURROUND
- { FN_VERT_ORIENT, SFX_ITEM_POOLABLE }, // RES_VERT_ORIENT
- { FN_HORI_ORIENT, SFX_ITEM_POOLABLE }, // RES_HORI_ORIENT
- { 0, 0 }, // RES_ANCHOR
- { SID_ATTR_BRUSH, SFX_ITEM_POOLABLE }, // RES_BACKGROUND
- { SID_ATTR_BORDER_OUTER, SFX_ITEM_POOLABLE }, // RES_BOX
- { SID_ATTR_BORDER_SHADOW, SFX_ITEM_POOLABLE }, // RES_SHADOW
- { SID_ATTR_MACROITEM, SFX_ITEM_POOLABLE }, // RES_FRMMACRO
- { FN_ATTR_COLUMNS, SFX_ITEM_POOLABLE }, // RES_COL
- { SID_ATTR_PARA_KEEP, SFX_ITEM_POOLABLE }, // RES_KEEP
- { 0, SFX_ITEM_POOLABLE }, // RES_URL
- { 0, SFX_ITEM_POOLABLE }, // RES_EDIT_IN_READONLY
-
- { 0, SFX_ITEM_POOLABLE }, // RES_LAYOUT_SPLIT
- { 0, 0 }, // RES_CHAIN
+ { 0, SFX_ITEM_POOLABLE }, // RES_FILL_ORDER
+ { 0, SFX_ITEM_POOLABLE }, // RES_FRM_SIZE
+ { SID_ATTR_PAGE_PAPERBIN, SFX_ITEM_POOLABLE }, // RES_PAPER_BIN
+ { SID_ATTR_LRSPACE, SFX_ITEM_POOLABLE }, // RES_LR_SPACE
+ { SID_ATTR_ULSPACE, SFX_ITEM_POOLABLE }, // RES_UL_SPACE
+ { 0, 0 }, // RES_PAGEDESC
+ { SID_ATTR_PARA_PAGEBREAK, SFX_ITEM_POOLABLE }, // RES_BREAK
+ { 0, 0 }, // RES_CNTNT
+ { 0, SFX_ITEM_POOLABLE }, // RES_HEADER
+ { 0, SFX_ITEM_POOLABLE }, // RES_FOOTER
+ { 0, SFX_ITEM_POOLABLE }, // RES_PRINT
+ { FN_OPAQUE, SFX_ITEM_POOLABLE }, // RES_OPAQUE
+ { FN_SET_PROTECT, SFX_ITEM_POOLABLE }, // RES_PROTECT
+ { FN_SURROUND, SFX_ITEM_POOLABLE }, // RES_SURROUND
+ { FN_VERT_ORIENT, SFX_ITEM_POOLABLE }, // RES_VERT_ORIENT
+ { FN_HORI_ORIENT, SFX_ITEM_POOLABLE }, // RES_HORI_ORIENT
+ { 0, 0 }, // RES_ANCHOR
+ { SID_ATTR_BRUSH, SFX_ITEM_POOLABLE }, // RES_BACKGROUND
+ { SID_ATTR_BORDER_OUTER, SFX_ITEM_POOLABLE }, // RES_BOX
+ { SID_ATTR_BORDER_SHADOW, SFX_ITEM_POOLABLE }, // RES_SHADOW
+ { SID_ATTR_MACROITEM, SFX_ITEM_POOLABLE }, // RES_FRMMACRO
+ { FN_ATTR_COLUMNS, SFX_ITEM_POOLABLE }, // RES_COL
+ { SID_ATTR_PARA_KEEP, SFX_ITEM_POOLABLE }, // RES_KEEP
+ { 0, SFX_ITEM_POOLABLE }, // RES_URL
+ { 0, SFX_ITEM_POOLABLE }, // RES_EDIT_IN_READONLY
+
+ { 0, SFX_ITEM_POOLABLE }, // RES_LAYOUT_SPLIT
+ { 0, 0 }, // RES_CHAIN
{ 0, SFX_ITEM_POOLABLE }, // RES_TEXTGRID
{ FN_FORMAT_LINENUMBER, SFX_ITEM_POOLABLE }, // RES_LINENUMBER
- { 0, SFX_ITEM_POOLABLE }, // RES_FTN_AT_TXTEND
- { 0, SFX_ITEM_POOLABLE }, // RES_END_AT_TXTEND
- { 0, SFX_ITEM_POOLABLE }, // RES_COLUMNBALANCE
+ { 0, SFX_ITEM_POOLABLE }, // RES_FTN_AT_TXTEND
+ { 0, SFX_ITEM_POOLABLE }, // RES_END_AT_TXTEND
+ { 0, SFX_ITEM_POOLABLE }, // RES_COLUMNBALANCE
- { SID_ATTR_FRAMEDIRECTION, SFX_ITEM_POOLABLE }, // RES_FRAMEDIR
+ { SID_ATTR_FRAMEDIRECTION, SFX_ITEM_POOLABLE }, // RES_FRAMEDIR
{ SID_ATTR_HDFT_DYNAMIC_SPACING, SFX_ITEM_POOLABLE }, // RES_HEADER_FOOTER_EAT_SPACING
{ FN_TABLE_ROW_SPLIT, SFX_ITEM_POOLABLE }, // RES_ROW_SPLIT
@@ -406,29 +406,29 @@ SfxItemInfo __FAR_DATA aSlotTab[] =
{ 0, SFX_ITEM_POOLABLE }, // RES_FRMATR_STYLE_NAME
{ 0, SFX_ITEM_POOLABLE }, // RES_FRMATR_CONDITIONAL_STYLE_NAME
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_MIRRORGRF
- { SID_ATTR_GRAF_CROP, SFX_ITEM_POOLABLE }, // RES_GRFATR_CROPGRF
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_ROTATION,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_LUMINANCE,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CONTRAST,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELR,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELG,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELB,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_GAMMA,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_INVERT,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_TRANSPARENCY,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY1,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY2,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY3,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY4,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY5,
- { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY6,
-
- { 0, SFX_ITEM_POOLABLE }, // RES_BOXATR_FORMAT
- { 0, 0 }, // RES_BOXATR_FORMULA,
- { 0, SFX_ITEM_POOLABLE }, // RES_BOXATR_VALUE
-
- { 0, SFX_ITEM_POOLABLE } // RES_UNKNOWNATR_CONTAINER
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_MIRRORGRF
+ { SID_ATTR_GRAF_CROP, SFX_ITEM_POOLABLE }, // RES_GRFATR_CROPGRF
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_ROTATION,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_LUMINANCE,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CONTRAST,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELR,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELG,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_CHANNELB,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_GAMMA,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_INVERT,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_TRANSPARENCY,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY1,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY2,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY3,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY4,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY5,
+ { 0, SFX_ITEM_POOLABLE }, // RES_GRFATR_DUMMY6,
+
+ { 0, SFX_ITEM_POOLABLE }, // RES_BOXATR_FORMAT
+ { 0, 0 }, // RES_BOXATR_FORMULA,
+ { 0, SFX_ITEM_POOLABLE }, // RES_BOXATR_VALUE
+
+ { 0, SFX_ITEM_POOLABLE } // RES_UNKNOWNATR_CONTAINER
};
@@ -441,13 +441,13 @@ USHORT* SwAttrPool::pVersionMap5 = 0;
USHORT* SwAttrPool::pVersionMap6 = 0;
SwIndexReg* SwIndexReg::pEmptyIndexArray = 0;
-const sal_Char* __FAR_DATA pMarkToTable = "table";
-const sal_Char* __FAR_DATA pMarkToFrame = "frame";
-const sal_Char* __FAR_DATA pMarkToRegion = "region";
-const sal_Char* __FAR_DATA pMarkToText = "text";
-const sal_Char* __FAR_DATA pMarkToOutline = "outline";
-const sal_Char* __FAR_DATA pMarkToGraphic = "graphic";
-const sal_Char* __FAR_DATA pMarkToOLE = "ole";
+const sal_Char* __FAR_DATA pMarkToTable = "table";
+const sal_Char* __FAR_DATA pMarkToFrame = "frame";
+const sal_Char* __FAR_DATA pMarkToRegion = "region";
+const sal_Char* __FAR_DATA pMarkToText = "text";
+const sal_Char* __FAR_DATA pMarkToOutline = "outline";
+const sal_Char* __FAR_DATA pMarkToGraphic = "graphic";
+const sal_Char* __FAR_DATA pMarkToOLE = "ole";
SvPtrarr *pGlobalOLEExcludeList = 0;
@@ -460,7 +460,7 @@ CollatorWrapper* pCollator = 0, *pCaseCollator = 0;
::utl::TransliterationWrapper* pTransWrp = 0;
/******************************************************************************
- * void _InitCore()
+ * void _InitCore()
******************************************************************************/
salhelper::SingletonRef<SwCalendarWrapper>* s_getCalendarWrapper()
{
@@ -665,11 +665,11 @@ void _InitCore()
*(SvxFontItem*)aAttrTab[ RES_CHRATR_CTL_FONT - POOLATTR_BEGIN ] );
// 1. Version - neue Attribute:
- // - RES_CHRATR_BLINK
- // - RES_CHRATR_NOHYPHEN
- // - RES_CHRATR_NOLINEBREAK
- // - RES_PARATR_REGISTER
- // + 2 Dummies fuer die einzelnen "Bereiche"
+ // - RES_CHRATR_BLINK
+ // - RES_CHRATR_NOHYPHEN
+ // - RES_CHRATR_NOLINEBREAK
+ // - RES_PARATR_REGISTER
+ // + 2 Dummies fuer die einzelnen "Bereiche"
SwAttrPool::pVersionMap1 = new USHORT[ 60 ];
USHORT i;
for( i = 1; i <= 17; i++ )
@@ -684,7 +684,7 @@ void _InitCore()
SwAttrPool::pVersionMap1[ i-1 ] = i + 12;
// 2. Version - neue Attribute:
- // 10 Dummies fuer den Frame "Bereich"
+ // 10 Dummies fuer den Frame "Bereich"
SwAttrPool::pVersionMap2 = new USHORT[ 75 ];
for( i = 1; i <= 70; i++ )
SwAttrPool::pVersionMap2[ i-1 ] = i;
@@ -692,8 +692,8 @@ void _InitCore()
SwAttrPool::pVersionMap2[ i-1 ] = i + 10;
// 3. Version - neue Attribute:
- // neue Attribute und Dummies fuer die CJK-Version
- // und neue Grafik-Attribute
+ // neue Attribute und Dummies fuer die CJK-Version
+ // und neue Grafik-Attribute
SwAttrPool::pVersionMap3 = new USHORT[ 86 ];
for( i = 1; i <= 21; i++ )
SwAttrPool::pVersionMap3[ i-1 ] = i;
@@ -752,7 +752,7 @@ void _InitCore()
}
/******************************************************************************
- * void _FinitCore()
+ * void _FinitCore()
******************************************************************************/
diff --git a/sw/source/core/bastyp/ring.cxx b/sw/source/core/bastyp/ring.cxx
index 805a921248ab..be61374bb52b 100644
--- a/sw/source/core/bastyp/ring.cxx
+++ b/sw/source/core/bastyp/ring.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
|*
|* Ring::Ring()
|*
-|* Ersterstellung VB 02.07.91
+|* Ersterstellung VB 02.07.91
|* Letzte Aenderung JP 10.10.97
|*
*************************************************************************/
@@ -60,7 +60,7 @@ Ring::Ring( Ring *pObj )
|*
|* Ring::~Ring()
|*
-|* Ersterstellung VB 02.07.91
+|* Ersterstellung VB 02.07.91
|* Letzte Aenderung JP 10.10.97
|*
*************************************************************************/
diff --git a/sw/source/core/bastyp/swcache.cxx b/sw/source/core/bastyp/swcache.cxx
index d7a328df72f1..91ebbf5e16e1 100644
--- a/sw/source/core/bastyp/swcache.cxx
+++ b/sw/source/core/bastyp/swcache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,17 +37,17 @@
SV_IMPL_PTRARR(SwCacheObjArr,SwCacheObj*);
#if OSL_DEBUG_LEVEL > 1
-#define INCREMENT( nVar ) ++nVar
+#define INCREMENT( nVar ) ++nVar
#else
#define INCREMENT( nVar )
#endif
/*************************************************************************
|*
-|* SwCache::Check()
+|* SwCache::Check()
|*
-|* Ersterstellung MA 23. Mar. 94
-|* Letzte Aenderung MA 23. Mar. 94
+|* Ersterstellung MA 23. Mar. 94
+|* Letzte Aenderung MA 23. Mar. 94
|*
|*************************************************************************/
@@ -96,10 +96,10 @@ void SwCache::Check()
/*************************************************************************
|*
-|* SwCache::SwCache(), ~SwCache()
+|* SwCache::SwCache(), ~SwCache()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 15. Mar. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 15. Mar. 94
|*
|*************************************************************************/
@@ -143,31 +143,31 @@ SwCache::~SwCache()
#if OSL_DEBUG_LEVEL > 1
{
ByteString sOut( aName ); sOut += '\n';
- (( sOut += "Anzahl neuer Eintraege: " )
+ (( sOut += "Anzahl neuer Eintraege: " )
+= ByteString::CreateFromInt32( nAppend ))+= '\n';
- (( sOut += "Anzahl Insert auf freie Plaetze: " )
+ (( sOut += "Anzahl Insert auf freie Plaetze: " )
+= ByteString::CreateFromInt32( nInsertFree ))+= '\n';
- (( sOut += "Anzahl Ersetzungen: " )
+ (( sOut += "Anzahl Ersetzungen: " )
+= ByteString::CreateFromInt32( nReplace ))+= '\n';
- (( sOut += "Anzahl Erfolgreicher Get's: " )
+ (( sOut += "Anzahl Erfolgreicher Get's: " )
+= ByteString::CreateFromInt32( nGetSuccess ))+= '\n';
- (( sOut += "Anzahl Fehlgeschlagener Get's: " )
+ (( sOut += "Anzahl Fehlgeschlagener Get's: " )
+= ByteString::CreateFromInt32( nGetFail ))+= '\n';
- (( sOut += "Anzahl Umsortierungen (LRU): " )
+ (( sOut += "Anzahl Umsortierungen (LRU): " )
+= ByteString::CreateFromInt32( nToTop ))+= '\n';
- (( sOut += "Anzahl Loeschungen: " )
+ (( sOut += "Anzahl Loeschungen: " )
+= ByteString::CreateFromInt32( nDelete ))+= '\n';
- (( sOut += "Anzahl Get's ohne Index: " )
+ (( sOut += "Anzahl Get's ohne Index: " )
+= ByteString::CreateFromInt32( nGetSeek ))+= '\n';
- (( sOut += "Anzahl Seek fuer Get ohne Index: " )
+ (( sOut += "Anzahl Seek fuer Get ohne Index: " )
+= ByteString::CreateFromInt32( nAverageSeekCnt ))+= '\n';
- (( sOut += "Anzahl Flush-Aufrufe: " )
+ (( sOut += "Anzahl Flush-Aufrufe: " )
+= ByteString::CreateFromInt32( nFlushCnt ))+= '\n';
- (( sOut += "Anzahl geflush'ter Objekte: " )
+ (( sOut += "Anzahl geflush'ter Objekte: " )
+= ByteString::CreateFromInt32( nFlushedObjects ))+= '\n';
- (( sOut += "Anzahl Cache-Erweiterungen: " )
+ (( sOut += "Anzahl Cache-Erweiterungen: " )
+= ByteString::CreateFromInt32( nIncreaseMax ))+= '\n';
- (( sOut += "Anzahl Cache-Verkleinerungen: " )
+ (( sOut += "Anzahl Cache-Verkleinerungen: " )
+= ByteString::CreateFromInt32( nDecreaseMax ))+= '\n';
DBG_ERROR( sOut.GetBuffer() );
@@ -179,10 +179,10 @@ SwCache::~SwCache()
/*************************************************************************
|*
-|* SwCache::Flush()
+|* SwCache::Flush()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 15. Mar. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 15. Mar. 94
|*
|*************************************************************************/
@@ -207,7 +207,7 @@ void SwCache::Flush( const BYTE )
pObj = pTmp;
}
else
- { pLast->SetNext( pObj );
+ { pLast->SetNext( pObj );
pObj->SetPrev( pLast );
pLast = pObj;
pTmp = pObj->GetNext();
@@ -230,10 +230,10 @@ void SwCache::Flush( const BYTE )
/*************************************************************************
|*
-|* SwCache::ToTop()
+|* SwCache::ToTop()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 24. Apr. 95
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 24. Apr. 95
|*
|*************************************************************************/
@@ -243,13 +243,13 @@ void SwCache::ToTop( SwCacheObj *pObj )
INCREMENT( nToTop );
//Objekt aus der LRU-Kette ausschneiden und am Anfang einfuegen.
- if ( pRealFirst == pObj ) //pFirst wurde vom Aufrufer geprueft!
- { CHECK;
+ if ( pRealFirst == pObj ) //pFirst wurde vom Aufrufer geprueft!
+ { CHECK;
return;
}
if ( !pRealFirst )
- { //Der erste wird eingetragen.
+ { //Der erste wird eingetragen.
OSL_ENSURE( !pFirst && !pLast, "First not first." );
pRealFirst = pFirst = pLast = pObj;
CHECK;
@@ -300,10 +300,10 @@ void SwCache::ToTop( SwCacheObj *pObj )
/*************************************************************************
|*
-|* SwCache::Get()
+|* SwCache::Get()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 22. Aug. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 22. Aug. 94
|*
|*************************************************************************/
@@ -356,10 +356,10 @@ SwCacheObj *SwCache::Get( const void *pOwner, const BOOL bToTop )
/*************************************************************************
|*
-|* SwCache::Delete()
+|* SwCache::Delete()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 15. Mar. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 15. Mar. 94
|*
|*************************************************************************/
@@ -404,7 +404,7 @@ void SwCache::DeleteObj( SwCacheObj *pObj )
{
SwCacheObj *pTmpObj = operator[](i);
if ( !pTmpObj )
- { SwCacheObjArr::Remove( i, 1 );
+ { SwCacheObjArr::Remove( i, 1 );
--i;
}
else
@@ -440,10 +440,10 @@ void SwCache::Delete( const void *pOwner )
/*************************************************************************
|*
-|* SwCache::Insert()
+|* SwCache::Insert()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 20. Sep. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 20. Sep. 94
|*
|*************************************************************************/
@@ -503,11 +503,11 @@ BOOL SwCache::Insert( SwCacheObj *pNew )
pNew->SetCachePos( nPos );
//Anstelle von ToTop, einfach als pFirst einfuegen.
-// ToTop( nPos );
+// ToTop( nPos );
if ( pFirst )
{
if ( pFirst->GetPrev() )
- { pFirst->GetPrev()->SetNext( pNew );
+ { pFirst->GetPrev()->SetNext( pNew );
pNew->SetPrev( pFirst->GetPrev() );
}
pFirst->SetPrev( pNew );
@@ -527,10 +527,10 @@ BOOL SwCache::Insert( SwCacheObj *pNew )
/*************************************************************************
|*
-|* SwCache::SetLRUOfst()
+|* SwCache::SetLRUOfst()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 15. Mar. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 15. Mar. 94
|*
|*************************************************************************/
@@ -554,10 +554,10 @@ void SwCache::SetLRUOfst( const USHORT nOfst )
/*************************************************************************
|*
-|* SwCacheObj::SwCacheObj()
+|* SwCacheObj::SwCacheObj()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 24. Nov. 95
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 24. Nov. 95
|*
|*************************************************************************/
@@ -579,10 +579,10 @@ SwCacheObj::~SwCacheObj()
/*************************************************************************
|*
-|* SwCacheObj::SetLock(), Unlock()
+|* SwCacheObj::SetLock(), Unlock()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 15. Mar. 94
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 15. Mar. 94
|*
|*************************************************************************/
@@ -614,10 +614,10 @@ SwCacheAccess::~SwCacheAccess()
/*************************************************************************
|*
-|* SwCacheAccess::Get()
+|* SwCacheAccess::Get()
|*
-|* Ersterstellung MA 15. Mar. 94
-|* Letzte Aenderung MA 04. Apr. 95
+|* Ersterstellung MA 15. Mar. 94
+|* Letzte Aenderung MA 04. Apr. 95
|*
|*************************************************************************/
@@ -638,10 +638,10 @@ void SwCacheAccess::_Get()
/*************************************************************************
|*
-|* SwCacheAccess::IsAvailable()
+|* SwCacheAccess::IsAvailable()
|*
-|* Ersterstellung MA 23. Mar. 94
-|* Letzte Aenderung MA 23. Mar. 94
+|* Ersterstellung MA 23. Mar. 94
+|* Letzte Aenderung MA 23. Mar. 94
|*
|*************************************************************************/
diff --git a/sw/source/core/bastyp/swrect.cxx b/sw/source/core/bastyp/swrect.cxx
index 24a702c9971c..39a30e4d3222 100644
--- a/sw/source/core/bastyp/swrect.cxx
+++ b/sw/source/core/bastyp/swrect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
/*************************************************************************
|*
-|* SwRect::SwRect()
+|* SwRect::SwRect()
|*
-|* Ersterstellung MA 02. Feb. 93
-|* Letzte Aenderung MA 05. Sep. 93
+|* Ersterstellung MA 02. Feb. 93
+|* Letzte Aenderung MA 05. Sep. 93
|*
|*************************************************************************/
@@ -59,10 +59,10 @@ SwRect::SwRect( const Rectangle &rRect ) :
/*************************************************************************
|*
-|* SwRect::Center()
+|* SwRect::Center()
|*
-|* Ersterstellung MA 27. Jan. 93
-|* Letzte Aenderung MA 27. Jan. 93
+|* Ersterstellung MA 27. Jan. 93
+|* Letzte Aenderung MA 27. Jan. 93
|*
|*************************************************************************/
Point SwRect::Center() const
@@ -80,10 +80,10 @@ Point SwRect::Center() const
/*************************************************************************
|*
-|* SwRect::Union()
+|* SwRect::Union()
|*
-|* Ersterstellung MA 27. Jan. 93
-|* Letzte Aenderung MA 27. Jan. 93
+|* Ersterstellung MA 27. Jan. 93
+|* Letzte Aenderung MA 27. Jan. 93
|*
|*************************************************************************/
@@ -105,10 +105,10 @@ SwRect& SwRect::Union( const SwRect& rRect )
}
/*************************************************************************
|*
-|* SwRect::Intersection(), _Intersection()
+|* SwRect::Intersection(), _Intersection()
|*
-|* Ersterstellung MA 27. Jan. 93
-|* Letzte Aenderung MA 05. Sep. 93
+|* Ersterstellung MA 27. Jan. 93
+|* Letzte Aenderung MA 05. Sep. 93
|*
|*************************************************************************/
@@ -160,10 +160,10 @@ SwRect& SwRect::_Intersection( const SwRect& rRect )
}
/*************************************************************************
|*
-|* SwRect::IsInside()
+|* SwRect::IsInside()
|*
-|* Ersterstellung MA 27. Jan. 93
-|* Letzte Aenderung MA 27. Jan. 93
+|* Ersterstellung MA 27. Jan. 93
+|* Letzte Aenderung MA 27. Jan. 93
|*
|*************************************************************************/
@@ -176,9 +176,9 @@ BOOL SwRect::IsInside( const SwRect& rRect ) const
const long nrRight = rRect.Right();
const long nrBottom= rRect.Bottom();
return (Left() <= rRect.Left()) && (rRect.Left()<= nRight) &&
- (Left() <= nrRight) && (nrRight <= nRight) &&
- (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) &&
- (Top() <= nrBottom) && (nrBottom <= nBottom);
+ (Left() <= nrRight) && (nrRight <= nRight) &&
+ (Top() <= rRect.Top()) && (rRect.Top() <= nBottom) &&
+ (Top() <= nrBottom) && (nrBottom <= nBottom);
}
@@ -204,10 +204,10 @@ BOOL SwRect::IsNear( const Point& rPoint, long nTolerance ) const
/*************************************************************************
|*
-|* SwRect::IsOver()
+|* SwRect::IsOver()
|*
-|* Ersterstellung MA 25. Feb. 94
-|* Letzte Aenderung MA 27. Jun. 96
+|* Ersterstellung MA 25. Feb. 94
+|* Letzte Aenderung MA 27. Jun. 96
|*
|*************************************************************************/
@@ -215,7 +215,7 @@ BOOL SwRect::IsNear( const Point& rPoint, long nTolerance ) const
BOOL SwRect::IsOver( const SwRect& rRect ) const
{
- return (Top() <= rRect.Bottom())
+ return (Top() <= rRect.Bottom())
&& (Left() <= rRect.Right())
&& (Right() >= rRect.Left())
&& (Bottom()>= rRect.Top()) ? TRUE : FALSE;
@@ -223,10 +223,10 @@ BOOL SwRect::IsOver( const SwRect& rRect ) const
/*************************************************************************
|*
-|* SwRect::Justify()
+|* SwRect::Justify()
|*
-|* Ersterstellung MA 10. Oct. 94
-|* Letzte Aenderung MA 23. Oct. 96
+|* Ersterstellung MA 10. Oct. 94
+|* Letzte Aenderung MA 23. Oct. 96
|*
|*************************************************************************/
@@ -319,7 +319,7 @@ void SwRect::SetLowerLeftCorner( const Point& rNew )
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * operator<<( ostream&, SwRect&)
+ * operator<<( ostream&, SwRect&)
*************************************************************************/
diff --git a/sw/source/core/bastyp/swregion.cxx b/sw/source/core/bastyp/swregion.cxx
index fea6620d1b45..b0b4931d0938 100644
--- a/sw/source/core/bastyp/swregion.cxx
+++ b/sw/source/core/bastyp/swregion.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SV_IMPL_VARARR( SwRects, SwRect );
/*************************************************************************
|*
-|* SwRegionRects::SwRegionRects()
+|* SwRegionRects::SwRegionRects()
|*
-|* Ersterstellung MA 28. Oct. 92
-|* Letzte Aenderung MA 01. Feb. 93
+|* Ersterstellung MA 28. Oct. 92
+|* Letzte Aenderung MA 01. Feb. 93
|*
|*************************************************************************/
@@ -58,7 +58,7 @@ SwRegionRects::SwRegionRects( const SwRect &rStartRect, USHORT nInit,
}
/*************************************************************************
- * inline InsertRect()
+ * inline InsertRect()
*
* InsertRect() wird nur von operator-=() gerufen.
* Wenn bDel == TRUE ist, dann wird das Rect an der Position nPos mit
@@ -80,15 +80,15 @@ inline void SwRegionRects::InsertRect( const SwRect &rRect, const USHORT nPos,
/*************************************************************************
|*
-|* SwRegionRects::operator-=()
+|* SwRegionRects::operator-=()
|*
-|* Beschreibung Alle Ueberschneidungen der Rechtecke, die sich
-|* gerade im Array befinden, mit dem uebergebenen Rechteck werden
-|* entfernt.
-|* Dazu muessen die vorhandenen Rechtecke entweder aufgeteilt oder
-|* geloescht werden.
-|* Ersterstellung MA 28. Oct. 92
-|* Letzte Aenderung MA 09. Sep. 93
+|* Beschreibung Alle Ueberschneidungen der Rechtecke, die sich
+|* gerade im Array befinden, mit dem uebergebenen Rechteck werden
+|* entfernt.
+|* Dazu muessen die vorhandenen Rechtecke entweder aufgeteilt oder
+|* geloescht werden.
+|* Ersterstellung MA 28. Oct. 92
+|* Letzte Aenderung MA 09. Sep. 93
|*
|*************************************************************************/
@@ -141,8 +141,8 @@ void SwRegionRects::operator-=( const SwRect &rRect )
if( bDel )
{
Remove( i );
- --i; //Damit wir keinen uebergehen.
- --nMax; //Damit wir keinen zuviel verarbeiten.
+ --i; //Damit wir keinen uebergehen.
+ --nMax; //Damit wir keinen zuviel verarbeiten.
}
}
}
@@ -150,7 +150,7 @@ void SwRegionRects::operator-=( const SwRect &rRect )
}
/*************************************************************************
- * SwRegionRects::Invert()
+ * SwRegionRects::Invert()
*
* Bezugspunkt ist aOrigin, das Original-SRectangle.
* Aus Loechern werden Flaechen, aus Flaechen werden Loecher.
@@ -193,11 +193,11 @@ void SwRegionRects::Invert()
}
/*************************************************************************
|*
-|* SwRegionRects::Compress()
+|* SwRegionRects::Compress()
|*
-|* Beschreibung Zusammenfassen von benachbarten Rechtecken.
-|* Ersterstellung MA 16. Apr. 93
-|* Letzte Aenderung MA 21. Apr. 93
+|* Beschreibung Zusammenfassen von benachbarten Rechtecken.
+|* Ersterstellung MA 16. Apr. 93
+|* Letzte Aenderung MA 21. Apr. 93
|*
|*************************************************************************/
inline SwTwips CalcArea( const SwRect &rRect )
@@ -235,7 +235,7 @@ void SwRegionRects::Compress( BOOL bFuzzy )
//moeglichst wenig einzelne Paints zu haben darf die Flaeche
//der Union ruhig ein bischen groesser sein
//( 9622 * 141.5 = 1361513 ~= ein virtel Zentimeter ueber die
- // Breite einer DINA4 Seite)
+ // Breite einer DINA4 Seite)
const long nFuzzy = bFuzzy ? 1361513 : 0;
SwRect aUnion( *(pData + i) );aUnion.Union( *(pData + j) );
SwRect aInter( *(pData + i) );aInter.Intersection( *(pData + j));
diff --git a/sw/source/core/bastyp/swtypes.cxx b/sw/source/core/bastyp/swtypes.cxx
index 25c934b7a2f2..ce0a56d6d747 100644
--- a/sw/source/core/bastyp/swtypes.cxx
+++ b/sw/source/core/bastyp/swtypes.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
using namespace com::sun::star;
-ByteString aEmptyByteStr; // Konstante Strings
-String aEmptyStr; // Konstante Strings
-String aDotStr('.'); // Konstante Strings
+ByteString aEmptyByteStr; // Konstante Strings
+String aEmptyStr; // Konstante Strings
+String aDotStr('.'); // Konstante Strings
IMPL_FIXEDMEMPOOL_NEWDEL( SwAttrSet, 25, 25 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwStartNode, 20, 20 )
@@ -75,16 +75,16 @@ IMPL_FIXEDMEMPOOL_NEWDEL( SwpHints, 25, 25 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwFntObj, 50, 50 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwFontObj, 50, 50 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwBorderAttrs, 100, 100 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwCellFrm, 50, 50 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwRowFrm, 10, 10 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwColumnFrm, 40, 40 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwSectionFrm, 20, 20 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwTabFrm, 10, 10 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwPageFrm, 20, 20 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwBodyFrm, 20, 20 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwHeaderFrm, 20, 20 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwFooterFrm, 20, 20 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtFrm, 50, 50 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwCellFrm, 50, 50 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwRowFrm, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwColumnFrm, 40, 40 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwSectionFrm, 20, 20 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwTabFrm, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwPageFrm, 20, 20 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwBodyFrm, 20, 20 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwHeaderFrm, 20, 20 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwFooterFrm, 20, 20 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtFrm, 50, 50 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwTableFmt, 10, 10 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwTableLineFmt, 10, 10 )
IMPL_FIXEDMEMPOOL_NEWDEL( SwTableBoxFmt, 50, 50 )
diff --git a/sw/source/core/bastyp/tabcol.cxx b/sw/source/core/bastyp/tabcol.cxx
index a7117d13ce56..b87ad1fe2fdd 100644
--- a/sw/source/core/bastyp/tabcol.cxx
+++ b/sw/source/core/bastyp/tabcol.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "tabcol.hxx"
-#include <errhdl.hxx> // fuer Create-Methoden
+#include <errhdl.hxx> // fuer Create-Methoden
SwTabCols::SwTabCols( USHORT nSize ) :
@@ -73,8 +73,8 @@ SwTabCols::SwTabCols( const SwTabCols& rCpy ) :
SwTabCols &SwTabCols::operator=( const SwTabCols& rCpy )
{
nLeftMin = rCpy.GetLeftMin();
- nLeft = rCpy.GetLeft();
- nRight = rCpy.GetRight();
+ nLeft = rCpy.GetLeft();
+ nRight = rCpy.GetRight();
nRightMax= rCpy.GetRightMax();
bLastRowAllowedToChange = rCpy.IsLastRowAllowedToChange();
@@ -89,8 +89,8 @@ BOOL SwTabCols::operator==( const SwTabCols& rCmp ) const
USHORT i;
if ( !(nLeftMin == rCmp.GetLeftMin() &&
- nLeft == rCmp.GetLeft() &&
- nRight == rCmp.GetRight() &&
+ nLeft == rCmp.GetLeft() &&
+ nRight == rCmp.GetRight() &&
nRightMax== rCmp.GetRightMax()&&
bLastRowAllowedToChange== rCmp.IsLastRowAllowedToChange() &&
Count()== rCmp.Count()) )
diff --git a/sw/source/core/crsr/BlockCursor.cxx b/sw/source/core/crsr/BlockCursor.cxx
index 45e5c0c7291e..06b9f709ecbe 100644
--- a/sw/source/core/crsr/BlockCursor.cxx
+++ b/sw/source/core/crsr/BlockCursor.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/crsr/BlockCursor.hxx b/sw/source/core/crsr/BlockCursor.hxx
index aced7c582cd1..bce1ea912e30 100644
--- a/sw/source/core/crsr/BlockCursor.hxx
+++ b/sw/source/core/crsr/BlockCursor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,6 +34,6 @@ struct SwPosition;
IBlockCursor *createBlockCursor(const SwCrsrShell& rCrsrSh, const SwPosition &rPos);
-#endif //_BLOCKURSOR_HXX
+#endif //_BLOCKURSOR_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/crsr/IBlockCursor.hxx b/sw/source/core/crsr/IBlockCursor.hxx
index da3c3c3ef383..5ac4f4bbb358 100644
--- a/sw/source/core/crsr/IBlockCursor.hxx
+++ b/sw/source/core/crsr/IBlockCursor.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 Point;
/** Access to the block cursor
A block cursor contains a SwShellCrsr and additional information about
- the rectangle which has been created by pressing the mouse button and
+ the rectangle which has been created by pressing the mouse button and
moving the mouse.
This interface provides access to the SwShellCrsr and to start and end
point of the mouse movement.
@@ -51,7 +51,7 @@ class Point;
virtual SwShellCrsr& getShellCrsr() = 0;
/** Defines the starting vertex of the block selection
-
+
@param rPt
rPt should contain the document coordinates of the mouse cursor when
the block selection starts (MouseButtonDown)
@@ -59,7 +59,7 @@ class Point;
virtual void setStartPoint( const Point &rPt ) = 0;
/** Defines the ending vertex of the block selection
-
+
@param rPt
rPt should contain the document coordinates of the mouse cursor when
the block selection has started and the mouse has been moved (MouseMove)
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 33a7b1c43897..46576e04610b 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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
SwPaM aStartPaM(rStart);
SwPaM aEndPaM(rEnd);
io_pDoc->StartUndo(UNDO_UI_REPLACE, NULL);
- if( ( ch_start != aStartMark ) && ( rStart != rEnd ) )
+ if( ( ch_start != aStartMark ) && ( aEndMark != CH_TXT_ATR_FORMELEMENT ) )
{
io_pDoc->InsertString(aStartPaM, aStartMark);
rStart.nContent--;
diff --git a/sw/source/core/crsr/callnk.cxx b/sw/source/core/crsr/callnk.cxx
index 1abc4fb46918..ea998febda1d 100644
--- a/sw/source/core/crsr/callnk.cxx
+++ b/sw/source/core/crsr/callnk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwCallLink::SwCallLink( SwCrsrShell & rSh )
SwCallLink::~SwCallLink()
{
- if( !nNdTyp || !rShell.bCallChgLnk ) // siehe ctor
+ if( !nNdTyp || !rShell.bCallChgLnk ) // siehe ctor
return ;
// wird ueber Nodes getravellt, Formate ueberpruefen und im neuen
@@ -175,8 +175,8 @@ SwCallLink::~SwCallLink()
// und sich nicht der Frame geaendert hat (Spalten!)
if( nLeftFrmPos == SwCallLink::GetFrm( (SwTxtNode&)*pCNd, nAktCntnt,
!rShell.ActionPend() ) &&
- (( nCmp = nCntnt ) + 1 == nAktCntnt || // Right
- nCntnt -1 == ( nCmp = nAktCntnt )) ) // Left
+ (( nCmp = nCntnt ) + 1 == nAktCntnt || // Right
+ nCntnt -1 == ( nCmp = nAktCntnt )) ) // Left
{
if( nCmp == nAktCntnt && pCurCrsr->HasMark() ) // left & Sele
++nCmp;
diff --git a/sw/source/core/crsr/callnk.hxx b/sw/source/core/crsr/callnk.hxx
index 24f6b3aa0bab..4d238b36649d 100644
--- a/sw/source/core/crsr/callnk.hxx
+++ b/sw/source/core/crsr/callnk.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,6 +54,6 @@ public:
-#endif // _CALLNK_HXX
+#endif // _CALLNK_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/crsr/crbm.cxx b/sw/source/core/crsr/crbm.cxx
index 33a2c686ebaa..b3fba00d7204 100644
--- a/sw/source/core/crsr/crbm.cxx
+++ b/sw/source/core/crsr/crbm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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
}
}
- // returns true if the Cursor had been rolled back
+ // returns true if the Cursor had been rolled back
bool RollbackIfIllegal()
{
if(m_pCrsr->IsSelOvr(nsSwCursorSelOverFlags::SELOVER_CHECKNODESSECTION
@@ -157,7 +157,7 @@ bool SwCrsrShell::GoNextBookmark()
back_inserter(vCandidates),
&lcl_IsInvisibleBookmark);
- // watch Crsr-Moves
+ // watch Crsr-Moves
CrsrStateHelper aCrsrSt(*this);
IDocumentMarkAccess::const_iterator_t ppMark = vCandidates.begin();
for(; ppMark!=vCandidates.end(); ++ppMark)
@@ -196,7 +196,7 @@ bool SwCrsrShell::GoPrevBookmark()
vCandidates.end(),
&lcl_ReverseMarkOrderingByEnd);
- // watch Crsr-Moves
+ // watch Crsr-Moves
CrsrStateHelper aCrsrSt(*this);
IDocumentMarkAccess::const_iterator_t ppMark = vCandidates.begin();
for(; ppMark!=vCandidates.end(); ++ppMark)
diff --git a/sw/source/core/crsr/crossrefbookmark.cxx b/sw/source/core/crsr/crossrefbookmark.cxx
index bdfbd404441d..97e093b36932 100644
--- a/sw/source/core/crsr/crossrefbookmark.cxx
+++ b/sw/source/core/crsr/crossrefbookmark.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index b8179bb9f771..334e8188f5ff 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -61,7 +61,7 @@
#include <scriptinfo.hxx>
#include <globdoc.hxx>
#include <pamtyp.hxx>
-#include <mdiexp.hxx> // ...Percent()
+#include <mdiexp.hxx> // ...Percent()
#include <fmteiro.hxx>
#include <wrong.hxx> // SMARTTAGS
#include <unotextrange.hxx> // SMARTTAGS
@@ -150,7 +150,7 @@ SwPaM * SwCrsrShell::CreateCrsr()
pCurCrsr->DeleteMark();
UpdateCrsr( SwCrsrShell::SCROLLWIN );
-// return pCurCrsr;
+// return pCurCrsr;
return pNew;
}
@@ -265,11 +265,11 @@ if( GetWin() )
GetDoc()->UpdateNumRule();
// Task: 76923: dont show the cursor in the ViewShell::EndAction() - call.
- // Only the UpdateCrsr shows the cursor.
+ // Only the UpdateCrsr shows the cursor.
BOOL bSavSVCrsrVis = bSVCrsrVis;
bSVCrsrVis = FALSE;
- ViewShell::EndAction( bIdleEnd ); //der ViewShell den Vortritt lassen
+ ViewShell::EndAction( bIdleEnd ); //der ViewShell den Vortritt lassen
bSVCrsrVis = bSavSVCrsrVis;
@@ -284,9 +284,9 @@ if( GetWin() )
if( !BasicActionPend() )
{
//JP 12.01.98: Bug #46496# - es muss innerhalb einer BasicAction
- // der Cursor geupdatet werden; um z.B. den
- // TabellenCursor zu erzeugen. Im UpdateCrsr wird
- // das jetzt beruecksichtigt!
+ // der Cursor geupdatet werden; um z.B. den
+ // TabellenCursor zu erzeugen. Im UpdateCrsr wird
+ // das jetzt beruecksichtigt!
UpdateCrsr( SwCrsrShell::CHKRANGE, bIdleEnd );
{
@@ -299,7 +299,7 @@ if( GetWin() )
if( bCallChgLnk && bChgCallFlag && aChgLnk.IsSet() )
{
aChgLnk.Call( this );
- bChgCallFlag = FALSE; // Flag zuruecksetzen
+ bChgCallFlag = FALSE; // Flag zuruecksetzen
}
}
return;
@@ -308,7 +308,7 @@ if( GetWin() )
USHORT nParm = SwCrsrShell::CHKRANGE;
if ( !bIdleEnd )
nParm |= SwCrsrShell::SCROLLWIN;
- UpdateCrsr( nParm, bIdleEnd ); // Cursor-Aenderungen anzeigen
+ UpdateCrsr( nParm, bIdleEnd ); // Cursor-Aenderungen anzeigen
{
SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
@@ -325,7 +325,7 @@ if( GetWin() )
if( bCallChgLnk && bChgCallFlag && aChgLnk.IsSet() )
{
aChgLnk.Call( this );
- bChgCallFlag = FALSE; // Flag zuruecksetzen
+ bChgCallFlag = FALSE; // Flag zuruecksetzen
}
}
@@ -482,7 +482,7 @@ BOOL SwCrsrShell::UpDown( BOOL bUp, USHORT nCnt )
if( bRet )
{
- eMvState = MV_UPDOWN; // Status fuers Crsr-Travelling - GetCrsrOfst
+ eMvState = MV_UPDOWN; // Status fuers Crsr-Travelling - GetCrsrOfst
if( !ActionPend() )
{
CrsrFlag eUpdtMode = SwCrsrShell::SCROLLWIN;
@@ -500,7 +500,7 @@ BOOL SwCrsrShell::LRMargin( BOOL bLeft, BOOL bAPI)
{
SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
SET_CURR_SHELL( this );
- eMvState = MV_LEFTMARGIN; // Status fuers Crsr-Travelling - GetCrsrOfst
+ eMvState = MV_LEFTMARGIN; // Status fuers Crsr-Travelling - GetCrsrOfst
const BOOL bTableMode = IsTableMode();
SwShellCrsr* pTmpCrsr = getShellCrsr( true );
@@ -547,7 +547,7 @@ BOOL SwCrsrShell::SttEndDoc( BOOL bStt )
if( bRet )
{
if( bStt )
- pTmpCrsr->GetPtPos().Y() = 0; // expl. 0 setzen (TabellenHeader)
+ pTmpCrsr->GetPtPos().Y() = 0; // expl. 0 setzen (TabellenHeader)
if( pBlockCrsr )
{
pBlockCrsr->clearPoints();
@@ -774,12 +774,12 @@ int SwCrsrShell::SetCrsr( const Point &rLPt, BOOL bOnlyText, bool bBlock )
{
// es gibt keinen gueltigen Inhalt -> Cursor verstecken
pVisCrsr->Hide(); // sichtbaren Cursor immer verstecken
- eMvState = MV_NONE; // Status fuers Crsr-Travelling
+ eMvState = MV_NONE; // Status fuers Crsr-Travelling
bAllProtect = TRUE;
if( GetDoc()->GetDocShell() )
{
GetDoc()->GetDocShell()->SetReadOnlyUI( TRUE );
- CallChgLnk(); // UI bescheid sagen!
+ CallChgLnk(); // UI bescheid sagen!
}
}
}
@@ -841,8 +841,8 @@ void SwCrsrShell::ClearMark()
if( pCurCrsr->HasMark() )
{
// falls doch nicht alle Indizies richtig verschoben werden
- // (z.B.: Kopf-/Fusszeile loeschen) den Content-Anteil vom
- // Mark aufs Nodes-Array setzen
+ // (z.B.: Kopf-/Fusszeile loeschen) den Content-Anteil vom
+ // Mark aufs Nodes-Array setzen
SwPosition& rPos = *pCurCrsr->GetMark();
rPos.nNode.Assign( pDoc->GetNodes(), 0 );
rPos.nContent.Assign( 0, 0 );
@@ -859,8 +859,8 @@ void SwCrsrShell::ClearMark()
if( !pCurCrsr->HasMark() )
return;
// falls doch nicht alle Indizies richtig verschoben werden
- // (z.B.: Kopf-/Fusszeile loeschen) den Content-Anteil vom
- // Mark aufs Nodes-Array setzen
+ // (z.B.: Kopf-/Fusszeile loeschen) den Content-Anteil vom
+ // Mark aufs Nodes-Array setzen
SwPosition& rPos = *pCurCrsr->GetMark();
rPos.nNode.Assign( pDoc->GetNodes(), 0 );
rPos.nContent.Assign( 0, 0 );
@@ -916,8 +916,8 @@ BOOL SwCrsrShell::ChgCurrPam( const Point & rPt,
if( pCmp->HasMark() &&
*pCmp->Start() <= aPtPos && *pCmp->End() > aPtPos )
{
- if( bTstOnly || pCurCrsr == pCmp ) // ist der aktuelle.
- return TRUE; // return ohne Update
+ if( bTstOnly || pCurCrsr == pCmp ) // ist der aktuelle.
+ return TRUE; // return ohne Update
pCurCrsr = pCmp;
UpdateCrsr(); // Cursor steht schon richtig
@@ -1172,7 +1172,7 @@ void SwCrsrShell::Paint( const Rectangle &rRect)
BOOL bVis = FALSE;
// ist Cursor sichtbar, dann verstecke den SV-Cursor
- if( pVisCrsr->IsVisible() && !aRect.IsOver( aCharRect ) ) //JP 18.06.97: ???
+ if( pVisCrsr->IsVisible() && !aRect.IsOver( aCharRect ) ) //JP 18.06.97: ???
{
bVis = TRUE;
pVisCrsr->Hide();
@@ -1184,7 +1184,7 @@ void SwCrsrShell::Paint( const Rectangle &rRect)
if( bHasFocus && !bBasicHideCrsr )
{
SwShellCrsr* pAktCrsr = pTblCrsr ? pTblCrsr : pCurCrsr;
-// pAktCrsr->Invalidate( aRect );
+// pAktCrsr->Invalidate( aRect );
if( !ActionPend() )
{
// damit nicht rechts/unten die Raender abgeschnitten werden
@@ -1268,7 +1268,7 @@ void SwCrsrShell::UpdateCrsrPos()
}
// JP 30.04.99: Bug 65475 - falls Point/Mark in versteckten Bereichen
-// stehen, so mussen diese daraus verschoben werden
+// stehen, so mussen diese daraus verschoben werden
static void lcl_CheckHiddenSection( SwNodeIndex& rIdx )
{
const SwSectionNode* pSectNd = rIdx.GetNode().FindSectionNode();
@@ -1332,10 +1332,10 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
// erfrage den Count fuer die Start-/End-Actions und ob die Shell
// ueberhaupt den Focus hat
-// if( ActionPend() /*|| !bHasFocus*/ )
+// if( ActionPend() /*|| !bHasFocus*/ )
//JP 12.01.98: Bug #46496# - es muss innerhalb einer BasicAction der
- // Cursor geupdatet werden; um z.B. den TabellenCursor zu
- // erzeugen. Im EndAction wird jetzt das UpdateCrsr gerufen!
+ // Cursor geupdatet werden; um z.B. den TabellenCursor zu
+ // erzeugen. Im EndAction wird jetzt das UpdateCrsr gerufen!
if( ActionPend() && BasicActionPend() )
{
if ( eFlags & SwCrsrShell::READONLY )
@@ -1353,8 +1353,8 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
eFlags |= SwCrsrShell::READONLY;
}
- if( eFlags & SwCrsrShell::CHKRANGE ) // alle Cursor-Bewegungen auf
- CheckRange( pCurCrsr ); // ueberlappende Bereiche testen
+ if( eFlags & SwCrsrShell::CHKRANGE ) // alle Cursor-Bewegungen auf
+ CheckRange( pCurCrsr ); // ueberlappende Bereiche testen
if( !bIdleEnd )
CheckTblBoxCntnt();
@@ -1374,7 +1374,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
SwPosition* pPos = pITmpCrsr->GetPoint();
// JP 30.04.99: Bug 65475 - falls Point/Mark in versteckten Bereichen
- // stehen, so mussen diese daraus verschoben werden
+ // stehen, so mussen diese daraus verschoben werden
lcl_CheckHiddenSection( pPos->nNode );
lcl_CheckHiddenSection( pITmpCrsr->GetMark()->nNode );
@@ -1506,7 +1506,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
-aCharRect.Width() : aCharRect.Height();
pVisCrsr->Show(); // wieder anzeigen
}
- eMvState = MV_NONE; // Status fuers Crsr-Travelling - GetCrsrOfst
+ eMvState = MV_NONE; // Status fuers Crsr-Travelling - GetCrsrOfst
if( pTblFrm && Imp()->IsAccessible() )
Imp()->InvalidateAccessibleCursorPosition( pTblFrm );
return;
@@ -1546,12 +1546,12 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
bChgState = FALSE;
else
{
- eMvState = MV_NONE; // Status fuers Crsr-Travelling
+ eMvState = MV_NONE; // Status fuers Crsr-Travelling
bAllProtect = TRUE;
if( GetDoc()->GetDocShell() )
{
GetDoc()->GetDocShell()->SetReadOnlyUI( TRUE );
- CallChgLnk(); // UI bescheid sagen!
+ CallChgLnk(); // UI bescheid sagen!
}
return;
}
@@ -1565,7 +1565,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
GetDoc()->GetDocShell()->IsReadOnlyUI() )
{
GetDoc()->GetDocShell()->SetReadOnlyUI( FALSE );
- CallChgLnk(); // UI bescheid sagen!
+ CallChgLnk(); // UI bescheid sagen!
}
}
}
@@ -1655,7 +1655,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
if( GetDoc()->GetDocShell() )
{
GetDoc()->GetDocShell()->SetReadOnlyUI( TRUE );
- CallChgLnk(); // UI bescheid sagen!
+ CallChgLnk(); // UI bescheid sagen!
}
return;
}
@@ -1669,7 +1669,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
GetDoc()->GetDocShell()->IsReadOnlyUI() )
{
GetDoc()->GetDocShell()->SetReadOnlyUI( FALSE );
- CallChgLnk(); // UI bescheid sagen!
+ CallChgLnk(); // UI bescheid sagen!
}
bAllProtect = FALSE;
bAgainst = TRUE; // nochmal den richigen Frm suchen
@@ -1699,7 +1699,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
rPt = aCharRect.Center();
pFrm->GetCrsrOfst( pShellCrsr->GetPoint(), rPt, &aTmpState );
}
-// ALIGNRECT( aCharRect );
+// ALIGNRECT( aCharRect );
if( !pShellCrsr->HasMark() )
aCrsrHeight = aTmpState.aRealHeight;
@@ -1734,7 +1734,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
pShellCrsr->GetPtPos().X() = aCharRect.Left();
pShellCrsr->GetPtPos().Y() = aCharRect.Top();
- if( !(eFlags & SwCrsrShell::UPDOWN )) // alte Pos. von Up/Down loeschen
+ if( !(eFlags & SwCrsrShell::UPDOWN )) // alte Pos. von Up/Down loeschen
{
pFrm->Calc();
nUpDownX = pFrm->IsVertical() ?
@@ -1748,8 +1748,8 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
!IsCrsrReadonly() || GetViewOptions()->IsSelectionInReadonly()) )
{
//JP 30.04.99: damit das EndAction, beim evtuellen Scrollen, den
- // SV-Crsr nicht wieder sichtbar macht, wird hier das Flag
- // gesichert und zurueckgesetzt.
+ // SV-Crsr nicht wieder sichtbar macht, wird hier das Flag
+ // gesichert und zurueckgesetzt.
BOOL bSav = bSVCrsrVis; bSVCrsrVis = FALSE;
MakeSelVisible();
bSVCrsrVis = bSav;
@@ -1779,7 +1779,7 @@ void SwCrsrShell::UpdateCrsr( USHORT eFlags, BOOL bIdleEnd )
}
}
- eMvState = MV_NONE; // Status fuers Crsr-Travelling - GetCrsrOfst
+ eMvState = MV_NONE; // Status fuers Crsr-Travelling - GetCrsrOfst
if( pFrm && Imp()->IsAccessible() )
Imp()->InvalidateAccessibleCursorPosition( pFrm );
@@ -2188,12 +2188,12 @@ void SwCrsrShell::CallChgLnk()
// innerhalb von Start-/End-Action kein Call, sondern nur merken,
// das sich etwas geaendert hat. Wird bei EndAction beachtet.
if( BasicActionPend() )
- bChgCallFlag = TRUE; // das Change merken
+ bChgCallFlag = TRUE; // das Change merken
else if( aChgLnk.IsSet() )
{
if( bCallChgLnk )
aChgLnk.Call( this );
- bChgCallFlag = FALSE; // Flag zuruecksetzen
+ bChgCallFlag = FALSE; // Flag zuruecksetzen
}
}
@@ -2237,7 +2237,7 @@ String SwCrsrShell::GetText() const
// hole vom Start/Ende der akt. SSelection das nte Zeichen
sal_Unicode SwCrsrShell::GetChar( BOOL bEnd, long nOffset )
{
- if( IsTableMode() ) // im TabelleMode nicht moeglich
+ if( IsTableMode() ) // im TabelleMode nicht moeglich
return 0;
const SwPosition* pPos = !pCurCrsr->HasMark() ? pCurCrsr->GetPoint()
@@ -2262,7 +2262,7 @@ sal_Unicode SwCrsrShell::GetChar( BOOL bEnd, long nOffset )
BOOL SwCrsrShell::ExtendSelection( BOOL bEnd, xub_StrLen nCount )
{
if( !pCurCrsr->HasMark() || IsTableMode() )
- return FALSE; // keine Selektion
+ return FALSE; // keine Selektion
SwPosition* pPos = bEnd ? pCurCrsr->End() : pCurCrsr->Start();
SwTxtNode* pTxtNd = pPos->nNode.GetNode().GetTxtNode();
@@ -2274,14 +2274,14 @@ BOOL SwCrsrShell::ExtendSelection( BOOL bEnd, xub_StrLen nCount )
if( ( nPos + nCount ) <= pTxtNd->GetTxt().Len() )
nPos = nPos + nCount;
else
- return FALSE; // nicht mehr moeglich
+ return FALSE; // nicht mehr moeglich
}
else if( nPos >= nCount )
nPos = nPos - nCount;
else
- return FALSE; // nicht mehr moeglich
+ return FALSE; // nicht mehr moeglich
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
pPos->nContent = nPos;
UpdateCrsr();
@@ -2322,9 +2322,9 @@ BOOL SwCrsrShell::SetVisCrsr( const Point &rPt )
SwRect aTmp( aCharRect );
pFrm->GetCharRect( aCharRect, aPos, &aTmpState );
-// ALIGNRECT( aCharRect );
+// ALIGNRECT( aCharRect );
- if( aTmp == aCharRect && // BUG 10137: bleibt der Cursor auf der
+ if( aTmp == aCharRect && // BUG 10137: bleibt der Cursor auf der
pVisCrsr->IsVisible() ) // Position nicht hidden & showen
return TRUE;
@@ -2336,8 +2336,8 @@ BOOL SwCrsrShell::SetVisCrsr( const Point &rPt )
}
// Bug 29584: bei Rahmenselektion ist der Cursor versteckt, aber den
- // D&D-Cursor will man trotzdem haben
-// if( bSVCrsrVis )
+ // D&D-Cursor will man trotzdem haben
+// if( bSVCrsrVis )
{
if( aTmpState.bRealHeight )
aCrsrHeight = aTmpState.aRealHeight;
@@ -2430,12 +2430,12 @@ BOOL SwCrsrShell::ParkTblCrsr()
}
/***********************************************************************
-#* Class : SwCrsrShell
-#* Methode : ParkCrsr
-#* Beschreibung: Vernichtet Selektionen und zus. Crsr aller Shell der
-#* verbleibende Crsr der Shell wird geparkt.
-#* Datum : MA 05. Nov. 92
-#* Update : JP 19.09.97
+#* Class : SwCrsrShell
+#* Methode : ParkCrsr
+#* Beschreibung: Vernichtet Selektionen und zus. Crsr aller Shell der
+#* verbleibende Crsr der Shell wird geparkt.
+#* Datum : MA 05. Nov. 92
+#* Update : JP 19.09.97
#***********************************************************************/
void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
@@ -2468,7 +2468,7 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
pTmpDel = pTmp;
bGoNext = TRUE;
- if( pTmpDel ) // ist der Pam im Bereich ?? loesche ihn
+ if( pTmpDel ) // ist der Pam im Bereich ?? loesche ihn
{
BOOL bDelete = TRUE;
if( *ppDelRing == pTmpDel )
@@ -2482,11 +2482,11 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
}
}
else
- bDelete = FALSE; // StackCrsr nie loeschen !!
+ bDelete = FALSE; // StackCrsr nie loeschen !!
}
if( bDelete )
- delete pTmpDel; // hebe alten Bereich auf
+ delete pTmpDel; // hebe alten Bereich auf
else
{
pTmpDel->GetPoint()->nContent.Assign( 0, 0 );
@@ -2496,10 +2496,10 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
}
pTmpDel = 0;
}
- else if( !pTmp->HasMark() ) // sorge auf jedenfall dafuer, das
- { // nicht benutzte Indizies beachtet werden!
- pTmp->SetMark(); // SPoint liegt nicht im Bereich,
- pTmp->DeleteMark(); // aber vielleicht GetMark, also setzen
+ else if( !pTmp->HasMark() ) // sorge auf jedenfall dafuer, das
+ { // nicht benutzte Indizies beachtet werden!
+ pTmp->SetMark(); // SPoint liegt nicht im Bereich,
+ pTmp->DeleteMark(); // aber vielleicht GetMark, also setzen
}
if( bGoNext )
pTmp = (SwPaM*)pTmp->GetNext();
@@ -2520,7 +2520,7 @@ void SwCrsrShell::ParkCrsr( const SwNodeIndex &rIdx )
// den Crsr auf dem Tabellen-Node (ausserhalb der Tabelle)
pNew->GetPoint()->nNode = *pNode->StartOfSectionNode();
}
- else // also auf dem StartNode selbst.
+ else // also auf dem StartNode selbst.
// Dann immer ueber seinen EndNode den StartNode erfragen !!!
// (StartOfSection vom StartNode ist der Parent !)
pNew->GetPoint()->nNode = *pNode->EndOfSectionNode()->StartOfSectionNode();
@@ -2589,7 +2589,7 @@ SwCrsrShell::SwCrsrShell( SwCrsrShell& rShell, Window *pInitWin )
bCallChgLnk = bHasFocus = bSVCrsrVis = bAutoUpdateCells = TRUE;
bSetCrsrInReadOnly = TRUE;
pVisCrsr = new SwVisCrsr( this );
-// UpdateCrsr( 0 );
+// UpdateCrsr( 0 );
// OD 11.02.2003 #100556#
mbMacroExecAllowed = rShell.IsMacroExecAllowed();
}
@@ -2633,7 +2633,7 @@ SwCrsrShell::SwCrsrShell( SwDoc& rDoc, Window *pInitWin,
bSetCrsrInReadOnly = TRUE;
pVisCrsr = new SwVisCrsr( this );
-// UpdateCrsr( 0 );
+// UpdateCrsr( 0 );
// OD 11.02.2003 #100556#
mbMacroExecAllowed = true;
}
@@ -2669,8 +2669,8 @@ SwCrsrShell::~SwCrsrShell()
}
// JP 27.07.98: Bug 54025 - ggfs. den HTML-Parser, der als Client in
- // der CursorShell haengt keine Chance geben, sich an den
- // TextNode zu haengen.
+ // der CursorShell haengt keine Chance geben, sich an den
+ // TextNode zu haengen.
if( GetRegisteredIn() )
pRegisteredIn->Remove( this );
}
@@ -2747,7 +2747,7 @@ void SwCrsrShell::MakeSelVisible()
// suche eine gueltige ContentPosition (nicht geschuetzt/nicht versteckt)
BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
{
- if( pTblCrsr ) // was soll ich jetzt machen ??
+ if( pTblCrsr ) // was soll ich jetzt machen ??
{
OSL_ENSURE( !this, "TabellenSelection nicht aufgehoben!" );
return FALSE;
@@ -2759,12 +2759,12 @@ BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
return TRUE;
// dann raus da!
- if( pCurCrsr->HasMark() )
+ if( pCurCrsr->HasMark() )
ClearMark();
// als erstes mal auf Rahmen abpruefen
SwNodeIndex& rNdIdx = pCurCrsr->GetPoint()->nNode;
- ULONG nNdIdx = rNdIdx.GetIndex(); // sichern
+ ULONG nNdIdx = rNdIdx.GetIndex(); // sichern
SwNodes& rNds = pDoc->GetNodes();
SwCntntNode* pCNd = rNdIdx.GetNode().GetCntntNode();
const SwCntntFrm * pFrm;
@@ -2786,9 +2786,9 @@ BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
pCNd = ::GetNode( aPam, bFirst, fnMoveBackward, FALSE );
}
- if( !pCNd ) // sollte nie passieren !!!
+ if( !pCNd ) // sollte nie passieren !!!
{
- rNdIdx = nNdIdx; // alten Node zurueck
+ rNdIdx = nNdIdx; // alten Node zurueck
return FALSE;
}
*pCurCrsr->GetPoint() = *aPam.GetPoint();
@@ -2861,7 +2861,7 @@ BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
{
SwCallLink aTmp( *this );
SwCrsrSaveState aSaveState( *pCurCrsr );
- aTmp.nNdTyp = 0; // im DTOR nichts machen!
+ aTmp.nNdTyp = 0; // im DTOR nichts machen!
if( !pCurCrsr->IsInProtectTable( TRUE, TRUE ) )
{
const SwSectionNode* pSNd = pCNd->FindSectionNode();
@@ -2870,15 +2870,15 @@ BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
pSNd->GetSection().IsProtectFlag() ))
{
bOk = TRUE;
- break; // eine nicht geschuetzte Zelle gef.
+ break; // eine nicht geschuetzte Zelle gef.
}
- continue; // dann weiter suchen
+ continue; // dann weiter suchen
}
}
else
{
bOk = TRUE;
- break; // eine nicht geschuetzte Zelle gef.
+ break; // eine nicht geschuetzte Zelle gef.
}
}
@@ -2907,7 +2907,7 @@ BOOL SwCrsrShell::FindValidCntntNode( BOOL bOnlyText )
if( bOk )
{
pCNd = rNdIdx.GetNode().GetCntntNode();
-// USHORT nCntnt = Min( pCNd->Len(), pCurCrsr->GetPoint()->nContent.GetIndex() );
+// USHORT nCntnt = Min( pCNd->Len(), pCurCrsr->GetPoint()->nContent.GetIndex() );
xub_StrLen nCntnt = rNdIdx.GetIndex() < nNdIdx ? pCNd->Len() : 0;
pCurCrsr->GetPoint()->nContent.Assign( pCNd, nCntnt );
}
diff --git a/sw/source/core/crsr/crstrvl.cxx b/sw/source/core/crsr/crstrvl.cxx
index 3ab506a9f209..d86eb0e02bf2 100644
--- a/sw/source/core/crsr/crstrvl.cxx
+++ b/sw/source/core/crsr/crstrvl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <pam.hxx>
#include <ndtxt.hxx>
#include <fldbas.hxx>
-#include <swtable.hxx> // SwTxtFld
+#include <swtable.hxx> // SwTxtFld
#include <docary.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
@@ -316,8 +316,8 @@ BOOL SwCrsrShell::GotoNextTOXBase( const String* pName )
pCurCrsr->GetPoint()->nNode < pSectNd->GetIndex() &&
( !pFnd || pFnd->GetIndex() > pSectNd->GetIndex() ) &&
// JP 10.12.96: solange wir nur 3 Typen kennen und UI-seitig keine anderen
-// einstellbar sind, muss ueber den Titel gesucht werden!
-// ( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTypeName() ) &&
+// einstellbar sind, muss ueber den Titel gesucht werden!
+// ( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTypeName() ) &&
( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTOXName() )
)
{
@@ -366,8 +366,8 @@ BOOL SwCrsrShell::GotoPrevTOXBase( const String* pName )
pCurCrsr->GetPoint()->nNode > pSectNd->EndOfSectionIndex() &&
( !pFnd || pFnd->GetIndex() < pSectNd->GetIndex() ) &&
// JP 10.12.96: solange wir nur 3 Typen kennen und UI-seitig keine anderen
-// einstellbar sind, muss ueber den Titel gesucht werden!
-// ( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTypeName() ) &&
+// einstellbar sind, muss ueber den Titel gesucht werden!
+// ( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTypeName() ) &&
( !pName || *pName == ((SwTOXBaseSection*)pSect)->GetTOXName() )
)
{
@@ -567,7 +567,7 @@ BOOL SwCrsrShell::GotoNxtPrvTOXMark( BOOL bNext )
0 != ( pCFrm = pTxtNd->GetFrm( &aPt, 0, FALSE )) &&
( IsReadOnlyAvailable() || !pCFrm->IsProtected() ))
{
- SwNodeIndex aNdIndex( *pTxtNd ); // UNIX benoetigt dieses Obj.
+ SwNodeIndex aNdIndex( *pTxtNd ); // UNIX benoetigt dieses Obj.
_SetGetExpFld aCmp( aNdIndex, *pTxtTOX, 0 );
aCmp.SetBodyPos( *pCFrm );
@@ -701,9 +701,9 @@ BOOL SwCrsrShell::MoveFldType( const SwFieldType* pFldType, BOOL bNext,
SwCursor* pCrsr = getShellCrsr( true );
{
// JP 19.08.98: es muss immer ueber das Feld gesucht werden, damit
- // auch immer das richtige gefunden wird, wenn welche in
- // Rahmen stehen, die in einem Absatz verankert sind,
- // in dem ein Feld steht - siehe auch Bug 55247
+ // auch immer das richtige gefunden wird, wenn welche in
+ // Rahmen stehen, die in einem Absatz verankert sind,
+ // in dem ein Feld steht - siehe auch Bug 55247
const SwPosition& rPos = *pCrsr->GetPoint();
SwTxtNode* pTNd = rPos.nNode.GetNode().GetTxtNode();
@@ -738,15 +738,15 @@ BOOL SwCrsrShell::MoveFldType( const SwFieldType* pFldType, BOOL bNext,
delete pTxtFld;
}
- if( bFound ) // stehe auf einem ?
+ if( bFound ) // stehe auf einem ?
{
if( bNext )
{
if( ++nPos >= aSrtLst.Count() )
- return FALSE; // schon am Ende
+ return FALSE; // schon am Ende
}
else if( !nPos-- )
- return FALSE; // weiter nach vorne geht nicht
+ return FALSE; // weiter nach vorne geht nicht
}
else if( bNext ? nPos >= aSrtLst.Count() : !nPos--)
return FALSE;
@@ -827,7 +827,7 @@ BOOL SwCrsrShell::GotoOutline( const String& rName )
-BOOL SwCrsrShell::GotoNextOutline() // naechster Node mit Outline-Num.
+BOOL SwCrsrShell::GotoNextOutline() // naechster Node mit Outline-Num.
{
SwCursor* pCrsr = getShellCrsr( true );
const SwNodes& rNds = GetDoc()->GetNodes();
@@ -855,7 +855,7 @@ BOOL SwCrsrShell::GotoNextOutline() // naechster Node mit Outline-Num.
}
-BOOL SwCrsrShell::GotoPrevOutline() // vorheriger Node mit Outline-Num.
+BOOL SwCrsrShell::GotoPrevOutline() // vorheriger Node mit Outline-Num.
{
SwCursor* pCrsr = getShellCrsr( true );
const SwNodes& rNds = GetDoc()->GetNodes();
@@ -867,7 +867,7 @@ BOOL SwCrsrShell::GotoPrevOutline() // vorheriger Node mit Outline-Num.
BOOL bRet = FALSE;
if( nPos )
{
- --nPos; // davor
+ --nPos; // davor
pNd = rNds.GetOutLineNds()[ nPos ];
if( pNd->GetIndex() > pCrsr->GetPoint()->nNode.GetIndex() )
@@ -897,9 +897,9 @@ USHORT SwCrsrShell::GetOutlinePos( BYTE nLevel )
SwNode* pNd = pCrsr->GetNode();
USHORT nPos;
if( rNds.GetOutLineNds().Seek_Entry( pNd, &nPos ))
- nPos++; // steht auf der Position, fuers while zum Naechsten
+ nPos++; // steht auf der Position, fuers while zum Naechsten
- while( nPos-- ) // immer den davor testen !
+ while( nPos-- ) // immer den davor testen !
{
pNd = rNds.GetOutLineNds()[ nPos ];
@@ -908,7 +908,7 @@ USHORT SwCrsrShell::GetOutlinePos( BYTE nLevel )
return nPos;
}
- return USHRT_MAX; // davor keiner mehr also Ende
+ return USHRT_MAX; // davor keiner mehr also Ende
}
@@ -917,13 +917,13 @@ BOOL SwCrsrShell::MakeOutlineSel( USHORT nSttPos, USHORT nEndPos,
{
const SwNodes& rNds = GetDoc()->GetNodes();
const SwOutlineNodes& rOutlNds = rNds.GetOutLineNds();
- if( !rOutlNds.Count() ) // wie jetzt ???
+ if( !rOutlNds.Count() ) // wie jetzt ???
return FALSE;
SET_CURR_SHELL( this );
SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
- if( nSttPos > nEndPos ) // sollte jemand das vertauscht haben?
+ if( nSttPos > nEndPos ) // sollte jemand das vertauscht haben?
{
OSL_ENSURE( !this, "Start- > Ende-Position im Array" );
USHORT nTmp = nSttPos;
@@ -944,14 +944,14 @@ BOOL SwCrsrShell::MakeOutlineSel( USHORT nSttPos, USHORT nEndPos,
//BYTE nNxtLevel = pEndNd->GetTxtNode()->GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
const int nNxtLevel = pEndNd->GetTxtNode()->GetAttrOutlineLevel()-1;//<-end,zhaojianwei
if( nNxtLevel <= nLevel )
- break; // EndPos steht jetzt auf dem naechsten
+ break; // EndPos steht jetzt auf dem naechsten
}
}
// ohne Childs, dann aber zumindest auf den naechsten
else if( ++nEndPos < rOutlNds.Count() )
pEndNd = rOutlNds[ nEndPos ];
- if( nEndPos == rOutlNds.Count() ) // kein Ende gefunden
+ if( nEndPos == rOutlNds.Count() ) // kein Ende gefunden
pEndNd = &rNds.GetEndOfContent();
KillPams();
@@ -963,7 +963,7 @@ BOOL SwCrsrShell::MakeOutlineSel( USHORT nSttPos, USHORT nEndPos,
pCurCrsr->GetPoint()->nContent.Assign( pSttNd->GetCntntNode(), 0 );
pCurCrsr->SetMark();
pCurCrsr->GetPoint()->nNode = *pEndNd;
- pCurCrsr->Move( fnMoveBackward, fnGoNode ); // ans Ende vom Vorgaenger
+ pCurCrsr->Move( fnMoveBackward, fnGoNode ); // ans Ende vom Vorgaenger
// und schon ist alles selektiert
BOOL bRet = !pCurCrsr->IsSelOvr();
@@ -1104,14 +1104,14 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt,
}
if( bRet )
{
-// rCntntAtPos.sStr = pTxtNd->GetExpandTxt(
-// *pTxtAttr->GetStart(),
-// *pTxtAttr->GetEnd() - *pTxtAttr->GetStart(),
-// FALSE );
+// rCntntAtPos.sStr = pTxtNd->GetExpandTxt(
+// *pTxtAttr->GetStart(),
+// *pTxtAttr->GetEnd() - *pTxtAttr->GetStart(),
+// FALSE );
-// rCntntAtPos.aFnd.pAttr = &pTxtAttr->GetAttr();
+// rCntntAtPos.aFnd.pAttr = &pTxtAttr->GetAttr();
rCntntAtPos.eCntntAtPos = SwContentAtPos::SW_SMARTTAG;
-// rCntntAtPos.pFndTxtAttr = pTxtAttr;
+// rCntntAtPos.pFndTxtAttr = pTxtAttr;
if( pFldRect && 0 != ( pFrm = pTxtNd->GetFrm( &aPt ) ) )
pFrm->GetCharRect( *pFldRect, aPos, &aTmpState );
@@ -1159,7 +1159,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt,
// erzeuge aus der internen (fuer CORE)
// die externe (fuer UI) Formel
const SwTableNode* pTblNd = pTxtNd->FindTableNode();
- if( pTblNd ) // steht in einer Tabelle
+ if( pTblNd ) // steht in einer Tabelle
((SwTblField*)pFld)->PtrToBoxNm( &pTblNd->GetTable() );
}
}
@@ -1374,7 +1374,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt,
pSttNd->GetIndex() )) &&
#if OSL_DEBUG_LEVEL > 1
( SFX_ITEM_SET == pBox->GetFrmFmt()->GetItemState(
- RES_BOXATR_FORMULA, FALSE, &pItem ) ||
+ RES_BOXATR_FORMULA, FALSE, &pItem ) ||
SFX_ITEM_SET == pBox->GetFrmFmt()->GetItemState(
RES_BOXATR_VALUE, FALSE, &pItem ))
#else
@@ -1401,7 +1401,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt,
else if( !pF )
pF = pFrm;
- if( pF ) // nur dann ist es gueltig!!
+ if( pF ) // nur dann ist es gueltig!!
{
// erzeuge aus der internen (fuer CORE)
// die externe (fuer UI) Formel
@@ -1452,7 +1452,7 @@ BOOL SwCrsrShell::GetContentAtPos( const Point& rPt,
{
const SwTxtAttr* pHt = pTxtNd->GetSwpHints()[i];
xub_StrLen nAttrStart = *pHt->GetStart();
- if( nAttrStart > n ) // ueber den Bereich hinaus
+ if( nAttrStart > n ) // ueber den Bereich hinaus
break;
if( 0 != pHt->GetEnd() && (
@@ -1785,7 +1785,7 @@ BOOL SwCrsrShell::SetShadowCrsrPos( const Point& rPt, SwFillMode eFillMode )
*pCurCrsr->GetPoint() = aPos;
GetDoc()->SetTxtFmtColl( *pCurCrsr, pNextFmt, false );
//JP 04.11.97: erstmal keine Folgevorlage der
- // Folgevorlage beachten
+ // Folgevorlage beachten
// pNextFmt = pNextFmt->GetNextTxtFmtColl();
}
if( n < aFPos.nColumnCnt )
@@ -2015,7 +2015,7 @@ const SwRedline* SwCrsrShell::GotoRedline( USHORT nArrPos, BOOL bSelect )
switch( ::ComparePosition( *pCStt, *pCEnd,
*pNStt, *pNEnd ))
{
- case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
+ case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
if( !pCur->HasMark() )
{
pCur->SetMark();
@@ -2026,16 +2026,16 @@ const SwRedline* SwCrsrShell::GotoRedline( USHORT nArrPos, BOOL bSelect )
*pCEnd = *pNEnd;
break;
- case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
- case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
+ case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
+ case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
break;
- case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
+ case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
if( !pCur->HasMark() )
pCur->SetMark();
*pCEnd = *pNEnd;
break;
- case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
+ case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
if( !pCur->HasMark() )
{
pCur->SetMark();
@@ -2201,7 +2201,7 @@ BOOL SwCrsrShell::SelectNxtPrvHyperlink( BOOL bNext )
MakeSelVisible();
bRet = TRUE;
}
- else // then is it a fly
+ else // then is it a fly
{
SwFlyFrm* pFly = pFndFmt->GetFrm(&aPt, FALSE );
if( pFly )
diff --git a/sw/source/core/crsr/crstrvl1.cxx b/sw/source/core/crsr/crstrvl1.cxx
index 9f9a8d474e9a..b9ca2512214c 100644
--- a/sw/source/core/crsr/crstrvl1.cxx
+++ b/sw/source/core/crsr/crstrvl1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/crsr/findattr.cxx b/sw/source/core/crsr/findattr.cxx
index c45028545a80..57bf8c494dfd 100644
--- a/sw/source/core/crsr/findattr.cxx
+++ b/sw/source/core/crsr/findattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +91,9 @@ const SwTxtAttr* GetFrwrdTxtHint( const SwpHints& rHtsArr, USHORT& rPos,
const SwTxtAttr *pTxtHt = rHtsArr.GetStart( rPos++ );
// der Start vom Attribut muss innerhalb des Bereiches liegen !!
if( *pTxtHt->GetStart() >= nCntntPos )
- return pTxtHt; // gueltiges TextAttribut
+ return pTxtHt; // gueltiges TextAttribut
}
- return 0; // kein gueltiges TextAttribut
+ return 0; // kein gueltiges TextAttribut
}
@@ -106,9 +106,9 @@ const SwTxtAttr* GetBkwrdTxtHint( const SwpHints& rHtsArr, USHORT& rPos,
const SwTxtAttr *pTxtHt = rHtsArr.GetStart( --rPos );
// der Start vom Attribut muss innerhalb des Bereiches liegen !!
if( *pTxtHt->GetStart() < nCntntPos )
- return pTxtHt; // gueltiges TextAttribut
+ return pTxtHt; // gueltiges TextAttribut
}
- return 0; // kein gueltiges TextAttribut
+ return 0; // kein gueltiges TextAttribut
}
@@ -124,7 +124,7 @@ void lcl_SetAttrPam( SwPaM & rPam, xub_StrLen nStart, const xub_StrLen* pEnde,
SwCntntNode* pCNd = rPam.GetCntntNode();
rPam.GetPoint()->nContent.Assign( pCNd, nStart );
- rPam.SetMark(); // Point == GetMark
+ rPam.SetMark(); // Point == GetMark
// Point zeigt auf das Ende vom SuchBereich oder Ende vom Attribut
if( pEnde )
@@ -195,8 +195,8 @@ public:
void SetNewSet( const SwTxtNode& rTxtNd, const SwPaM& rPam );
// wieviele Attribute ueberhaupt ??
- USHORT Count() const { return aCmpSet.Count(); }
- int Found() const { return nFound == aCmpSet.Count(); }
+ USHORT Count() const { return aCmpSet.Count(); }
+ int Found() const { return nFound == aCmpSet.Count(); }
int CheckStack();
xub_StrLen Start() const;
@@ -264,8 +264,8 @@ void SwAttrCheckArr::SetNewSet( const SwTxtNode& rTxtNd, const SwPaM& rPam )
return ;
const SfxItemSet& rSet = rTxtNd.GetSwAttrSet();
-// if( !rSet.Count() )
-// return;
+// if( !rSet.Count() )
+// return;
SfxItemIter aIter( aCmpSet );
const SfxPoolItem* pItem = aIter.GetCurItem();
@@ -279,7 +279,7 @@ void SwAttrCheckArr::SetNewSet( const SwTxtNode& rTxtNd, const SwPaM& rPam )
{
nWhich = aCmpSet.GetWhichByPos( aIter.GetCurPos() );
if( RES_TXTATR_END <= nWhich )
- break; // Ende der TextAttribute
+ break; // Ende der TextAttribute
if( SFX_ITEM_SET == rSet.GetItemState( nWhich, !bNoColls, &pFndItem )
&& !CmpAttr( *pFndItem, rSet.GetPool()->GetDefaultItem( nWhich ) ))
@@ -292,11 +292,11 @@ void SwAttrCheckArr::SetNewSet( const SwTxtNode& rTxtNd, const SwPaM& rPam )
else
{
if( RES_TXTATR_END <= (nWhich = pItem->Which() ))
- break; // Ende der TextAttribute
+ break; // Ende der TextAttribute
//JP 27.02.95: wenn nach defaults gesucht wird, dann muss man bis zum Pool
-// runter
-// if( SFX_ITEM_SET == rSet.GetItemState( nWhich, !bNoColls, &pFndItem )
+// runter
+// if( SFX_ITEM_SET == rSet.GetItemState( nWhich, !bNoColls, &pFndItem )
// && *pFndItem == *pItem )
if( CmpAttr( rSet.Get( nWhich, !bNoColls ), *pItem ) )
{
@@ -363,7 +363,7 @@ int SwAttrCheckArr::SetAttrFwd( const SwTxtAttr& rAttr )
++n, ++pArrPtr )
if( pArrPtr->nWhich && pArrPtr->nEnd <= aTmp.nStt )
{
- pArrPtr->nWhich = 0; // geloescht
+ pArrPtr->nWhich = 0; // geloescht
nFound--;
}
@@ -379,7 +379,7 @@ int SwAttrCheckArr::SetAttrFwd( const SwTxtAttr& rAttr )
if( pArrPtr->nEnd <= aTmp.nStt )
{
- pArrPtr->nWhich = 0; // geloescht
+ pArrPtr->nWhich = 0; // geloescht
if( !--nStackCnt )
break;
}
@@ -387,7 +387,7 @@ int SwAttrCheckArr::SetAttrFwd( const SwTxtAttr& rAttr )
{
if( ( pCmp = &pFndArr[ n ])->nWhich )
{
- if( pCmp->nEnd < pArrPtr->nEnd ) // erweitern
+ if( pCmp->nEnd < pArrPtr->nEnd ) // erweitern
pCmp->nEnd = pArrPtr->nEnd;
}
else
@@ -412,10 +412,10 @@ int SwAttrCheckArr::SetAttrFwd( const SwTxtAttr& rAttr )
// suche das Attribut und erweiter es gegebenenfalls
if( !( pCmp = &pFndArr[ nWhch - nArrStart ])->nWhich )
{
- *pCmp = aTmp; // nicht gefunden, eintragen
+ *pCmp = aTmp; // nicht gefunden, eintragen
nFound++;
}
- else if( pCmp->nEnd < aTmp.nEnd ) // erweitern ?
+ else if( pCmp->nEnd < aTmp.nEnd ) // erweitern ?
pCmp->nEnd = aTmp.nEnd;
bContinue = TRUE;
@@ -440,7 +440,7 @@ int SwAttrCheckArr::SetAttrFwd( const SwTxtAttr& rAttr )
// ---------
// JP 22.08.96: nur Ende manipulieren reicht nicht. Bug 30547
- // pCmp->nStt = aTmp.nEnd;
+ // pCmp->nStt = aTmp.nEnd;
if( aTmp.nStt <= pCmp->nStt )
pCmp->nStt = aTmp.nEnd;
else
@@ -520,7 +520,7 @@ int SwAttrCheckArr::SetAttrBwd( const SwTxtAttr& rAttr )
for( pArrPtr = pFndArr, n = 0; n < nArrLen; ++n, ++pArrPtr )
if( pArrPtr->nWhich && pArrPtr->nStt >= aTmp.nEnd )
{
- pArrPtr->nWhich = 0; // geloescht
+ pArrPtr->nWhich = 0; // geloescht
nFound--;
}
@@ -536,7 +536,7 @@ int SwAttrCheckArr::SetAttrBwd( const SwTxtAttr& rAttr )
if( pArrPtr->nStt >= aTmp.nEnd )
{
- pArrPtr->nWhich = 0; // geloescht
+ pArrPtr->nWhich = 0; // geloescht
if( !--nStackCnt )
break;
}
@@ -544,7 +544,7 @@ int SwAttrCheckArr::SetAttrBwd( const SwTxtAttr& rAttr )
{
if( ( pCmp = &pFndArr[ n ])->nWhich )
{
- if( pCmp->nStt > pArrPtr->nStt ) // erweitern
+ if( pCmp->nStt > pArrPtr->nStt ) // erweitern
pCmp->nStt = pArrPtr->nStt;
}
else
@@ -568,10 +568,10 @@ int SwAttrCheckArr::SetAttrBwd( const SwTxtAttr& rAttr )
// suche das Attribut und erweiter es gegebenenfalls
if( !( pCmp = &pFndArr[ nWhch - nArrStart ])->nWhich )
{
- *pCmp = aTmp; // nicht gefunden, eintragen
+ *pCmp = aTmp; // nicht gefunden, eintragen
nFound++;
}
- else if( pCmp->nStt > aTmp.nStt ) // erweitern ?
+ else if( pCmp->nStt > aTmp.nStt ) // erweitern ?
pCmp->nStt = aTmp.nStt;
bContinue = TRUE;
@@ -596,7 +596,7 @@ int SwAttrCheckArr::SetAttrBwd( const SwTxtAttr& rAttr )
// ---------
// JP 22.08.96: nur Ende manipulieren reicht nicht. Bug 30547
-// pCmp->nEnd = aTmp.nStt;
+// pCmp->nEnd = aTmp.nStt;
if( aTmp.nEnd <= pCmp->nEnd )
pCmp->nEnd = aTmp.nStt;
else
@@ -665,7 +665,7 @@ int SwAttrCheckArr::CheckStack()
if( bForward ? pArrPtr->nEnd <= nSttPos : pArrPtr->nStt >= nEndPos )
{
- pArrPtr->nWhich = 0; // geloescht
+ pArrPtr->nWhich = 0; // geloescht
if( !--nStackCnt )
return nFound == aCmpSet.Count();
}
@@ -866,9 +866,9 @@ int lcl_Search( const SwCntntNode& rCNd, const SfxItemSet& rCmpSet, BOOL bNoColl
{
nWhich = pItem->Which();
//JP 27.02.95: wenn nach defaults gesucht wird, dann muss man bis zum Pool
-// runter
-// if( SFX_ITEM_SET != rNdSet.GetItemState( nWhich, !bNoColls, &pNdItem )
-// || *pNdItem != *pItem )
+// runter
+// if( SFX_ITEM_SET != rNdSet.GetItemState( nWhich, !bNoColls, &pNdItem )
+// || *pNdItem != *pItem )
if( !CmpAttr( rNdSet.Get( nWhich, !bNoColls ), *pItem ))
return FALSE;
}
@@ -877,7 +877,7 @@ int lcl_Search( const SwCntntNode& rCNd, const SfxItemSet& rCmpSet, BOOL bNoColl
break;
pItem = aIter.NextItem();
}
- return TRUE; // wurde gefunden
+ return TRUE; // wurde gefunden
}
@@ -939,7 +939,7 @@ BOOL SwPaM::Find( const SfxPoolItem& rAttr, BOOL bValue, SwMoveFn fnMove,
{
const SwFmt* pTmpFmt = pNode->GetFmtColl();
if( aFmtArr.Count() && aFmtArr.Seek_Entry( pTmpFmt ))
- continue; // die Collection wurde schon mal befragt
+ continue; // die Collection wurde schon mal befragt
aFmtArr.Insert( pTmpFmt );
}
@@ -947,7 +947,7 @@ BOOL SwPaM::Find( const SfxPoolItem& rAttr, BOOL bValue, SwMoveFn fnMove,
TRUE, &pItem ) && ( !bValue || *pItem == rAttr ) )
{
// FORWARD: Point an das Ende, GetMark zum Anfanf vom Node
- // BACKWARD: Point zum Anfang, GetMark an das Ende vom Node
+ // BACKWARD: Point zum Anfang, GetMark an das Ende vom Node
// und immer nach der Logik: inkl. Start, exkl. End !!!
*GetPoint() = *pPam->GetPoint();
SetMark();
@@ -983,7 +983,7 @@ BOOL SwPaM::Find( const SfxItemSet& rSet, BOOL bNoColls, SwMoveFn fnMove,
SwAttrCheckArr aCmpArr( rSet, bSrchForward, bNoColls );
SfxItemSet aOtherSet( GetDoc()->GetAttrPool(),
RES_PARATR_BEGIN, RES_GRFATR_END-1 );
- aOtherSet.Put( rSet, FALSE ); // alle Invalid-Items erhalten!
+ aOtherSet.Put( rSet, FALSE ); // alle Invalid-Items erhalten!
FnSearchAttr fnSearch = bSrchForward
? (&::lcl_SearchForward)
@@ -991,7 +991,7 @@ BOOL SwPaM::Find( const SfxItemSet& rSet, BOOL bNoColls, SwMoveFn fnMove,
// Wenn am Anfang/Ende, aus dem Node moven
// Wenn am Anfang/Ende, aus dem Node moven
- if( bMoveFirst &&
+ if( bMoveFirst &&
( bSrchForward
? pPam->GetPoint()->nContent.GetIndex() == pPam->GetCntntNode()->Len()
: !pPam->GetPoint()->nContent.GetIndex() ) )
@@ -1025,7 +1025,7 @@ BOOL SwPaM::Find( const SfxItemSet& rSet, BOOL bNoColls, SwMoveFn fnMove,
bFound = TRUE;
break;
}
- continue; // TextAttribute
+ continue; // TextAttribute
}
if( !aOtherSet.Count() )
@@ -1037,14 +1037,14 @@ BOOL SwPaM::Find( const SfxItemSet& rSet, BOOL bNoColls, SwMoveFn fnMove,
{
const SwFmt* pTmpFmt = pNode->GetFmtColl();
if( aFmtArr.Count() && aFmtArr.Seek_Entry( pTmpFmt ))
- continue; // die Collection wurde schon mal befragt
+ continue; // die Collection wurde schon mal befragt
aFmtArr.Insert( pTmpFmt );
}
if( lcl_Search( *pNode, aOtherSet, bNoColls ))
{
// FORWARD: Point an das Ende, GetMark zum Anfanf vom Node
- // BACKWARD: Point zum Anfang, GetMark an das Ende vom Node
+ // BACKWARD: Point zum Anfang, GetMark an das Ende vom Node
// und immer nach der Logik: inkl. Start, exkl. End !!!
*GetPoint() = *pPam->GetPoint();
SetMark();
@@ -1090,7 +1090,7 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
BOOL bInReadOnly )
{
// String ersetzen ?? (nur wenn Text angegeben oder nicht attributiert
- // gesucht wird)
+ // gesucht wird)
BOOL bReplaceTxt = pSearchOpt && ( pSearchOpt->replaceString.getLength() ||
!pSet->Count() );
BOOL bReplaceAttr = pReplSet && pReplSet->Count();
@@ -1106,17 +1106,17 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
while( TRUE )
{
- if( pSet->Count() ) // gibts ueberhaupt Attributierung?
+ if( pSet->Count() ) // gibts ueberhaupt Attributierung?
{
// zuerst die Attributierung
if( !aSrchPam.Find( *pSet, bValue, fnMove, &aRegion, bInReadOnly, bMoveFirst ) )
//JP 17.11.95: was ist mit Attributen in leeren Absaetzen !!
-// || *pCrsr->GetMark() == *pCrsr->GetPoint() ) // kein Bereich ??
+// || *pCrsr->GetMark() == *pCrsr->GetPoint() ) // kein Bereich ??
return FIND_NOT_FOUND;
bMoveFirst = TRUE;
if( !pSearchOpt )
- break; // ok, nur Attribute, also gefunden
+ break; // ok, nur Attribute, also gefunden
pTextRegion = &aSrchPam;
}
@@ -1143,18 +1143,18 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
// Bug 24665: suche im richtigen Bereich weiter (pTextRegion!)
if( aSrchPam.Find( *pSearchOpt, bSearchInNotes, *pSTxt, fnMove, pTextRegion, bInReadOnly ) &&
*aSrchPam.GetMark() != *aSrchPam.GetPoint() ) // gefunden ?
- break; // also raus
+ break; // also raus
else if( !pSet->Count() )
- return FIND_NOT_FOUND; // nur Text und nicht gefunden
+ return FIND_NOT_FOUND; // nur Text und nicht gefunden
/* // --> FME 2007-4-12 #i74765 # Why should we move the position?
Moving the position results in bugs when there are two adjacent
portions which both have the requested attributes set. I suspect this
should be only be an optimization. Therefore I boldly remove it now!
-
+
// JP: und wieder neu aufsetzen, aber eine Position weiter
//JP 04.11.97: Bug 44897 - aber den Mark wieder aufheben, damit
- // weiterbewegt werden kann!
+ // weiterbewegt werden kann!
{
BOOL bCheckRegion = TRUE;
SwPosition* pPos = aSrchPam.GetPoint();
@@ -1175,7 +1175,7 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
bCheckRegion = FALSE;
}
if( !bCheckRegion || *aRegion.GetPoint() <= *pPos )
- return FIND_NOT_FOUND; // nicht gefunden
+ return FIND_NOT_FOUND; // nicht gefunden
}*/
*aRegion.GetMark() = *aSrchPam.GetPoint();
}
@@ -1230,7 +1230,7 @@ int SwFindParaAttr::Find( SwPaM* pCrsr, SwMoveFn fnMove, const SwPaM* pRegion,
pCrsr->GetDoc()->Insert( *pCrsr, *pReplSet, 0 );
#else
//JP 13.07.95: alle gesuchten Attribute werden, wenn nicht im
- // ReplaceSet angegeben, auf Default zurueck gesetzt
+ // ReplaceSet angegeben, auf Default zurueck gesetzt
if( !pSet->Count() )
{
diff --git a/sw/source/core/crsr/findcoll.cxx b/sw/source/core/crsr/findcoll.cxx
index f3b5cba3e2b3..8bc2246d8712 100644
--- a/sw/source/core/crsr/findcoll.cxx
+++ b/sw/source/core/crsr/findcoll.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/crsr/findfmt.cxx b/sw/source/core/crsr/findfmt.cxx
index e9a4fe7485b5..bfca6bda94b4 100644
--- a/sw/source/core/crsr/findfmt.cxx
+++ b/sw/source/core/crsr/findfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +67,14 @@ BOOL SwPaM::Find( const SwFmt& rFmt, SwMoveFn fnMove,
// jedenfall um einen SwCntntNode !!
// FORWARD: SPoint an das Ende, GetMark zum Anfanf vom Node
- // BACKWARD: SPoint zum Anfang, GetMark an das Ende vom Node
+ // BACKWARD: SPoint zum Anfang, GetMark an das Ende vom Node
// und immer nach der Logik: inkl. Start, exkl. End !!!
*GetPoint() = *pPam->GetPoint();
SetMark();
pNode->MakeEndIndex( &GetPoint()->nContent );
GetMark()->nContent = 0;
- if( !bSrchForward ) // rueckwaerts Suche?
- Exchange(); // SPoint und GetMark tauschen
+ if( !bSrchForward ) // rueckwaerts Suche?
+ Exchange(); // SPoint und GetMark tauschen
break;
}
}
diff --git a/sw/source/core/crsr/findtxt.cxx b/sw/source/core/crsr/findtxt.cxx
index 022714fe62d0..e62b15fddf1a 100644
--- a/sw/source/core/crsr/findtxt.cxx
+++ b/sw/source/core/crsr/findtxt.cxx
@@ -135,13 +135,13 @@ String& lcl_CleanStr( const SwTxtNode& rNd, xub_StrLen nStart,
case RES_TXTATR_METAFIELD:
{
// JP 06.05.98: mit Bug 50100 werden sie als Trenner erwuenscht und nicht
- // mehr zum Wort dazu gehoerend.
+ // mehr zum Wort dazu gehoerend.
// MA 23.06.98: mit Bug 51215 sollen sie konsequenterweise auch am
- // Satzanfang und -ende ignoriert werden wenn sie Leer sind.
- // Dazu werden sie schlicht entfernt. Fuer den Anfang entfernen
- // wir sie einfach.
- // Fuer das Ende merken wir uns die Ersetzungen und entferenen
- // hinterher alle am Stringende (koenten ja 'normale' 0x7f drinstehen
+ // Satzanfang und -ende ignoriert werden wenn sie Leer sind.
+ // Dazu werden sie schlicht entfernt. Fuer den Anfang entfernen
+ // wir sie einfach.
+ // Fuer das Ende merken wir uns die Ersetzungen und entferenen
+ // hinterher alle am Stringende (koenten ja 'normale' 0x7f drinstehen
BOOL bEmpty = RES_TXTATR_FIELD != pHt->Which() ||
!(static_cast<SwTxtFld const*>(pHt)
->GetFld().GetFld()->ExpandField(
@@ -585,12 +585,12 @@ int SwFindParaText::Find( SwPaM* pCrsr, SwMoveFn fnMove,
BOOL bFnd = (BOOL)pCrsr->Find( rSearchOpt, bSearchInNotes, aSTxt, fnMove, pRegion, bInReadOnly );
- /* #i80135# if we found something in a note, Mark and Point is the same
+ /* #i80135# if we found something in a note, Mark and Point is the same
if( bFnd && *pCrsr->GetMark() == *pCrsr->GetPoint() )
return FIND_NOT_FOUND;
*/
- if( bFnd && bReplace ) // String ersetzen ??
+ if( bFnd && bReplace ) // String ersetzen ??
{
// Replace-Methode vom SwDoc benutzen
const bool bRegExp(SearchAlgorithms_REGEXP == rSearchOpt.algorithmType);
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index 03d18929ace3..a765a6b65174 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -838,7 +838,9 @@ BOOL SwPaM::HasReadonlySel( bool bFormView ) const
else
{
// Form protection case
- bRet = ( pA != pB );
+ bool bAtStartA = pA != NULL && pA->GetMarkStart() == *GetPoint();
+ bool bAtStartB = pB != NULL && pB->GetMarkStart() == *GetMark();
+ bRet = ( pA != pB ) || bAtStartA || bAtStartB;
bool bProtectForm = pDoc->get( IDocumentSettingAccess::PROTECT_FORM );
if ( bProtectForm )
bRet |= ( pA == NULL || pB == NULL );
diff --git a/sw/source/core/crsr/paminit.cxx b/sw/source/core/crsr/paminit.cxx
index f423bdc335c0..7a235af5eced 100644
--- a/sw/source/core/crsr/paminit.cxx
+++ b/sw/source/core/crsr/paminit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,46 +34,46 @@
static SwMoveFnCollection aFwrd = {
- /* fnNd */ &GoNext,
- /* fnNds */ &GoNextNds,
- /* fnDoc */ &GoEndDoc,
- /* fnSections */ &GoEndSection,
- /* fnCmpOp */ &SwPosition::operator<,
- /* fnGetHint */ &GetFrwrdTxtHint,
- /* fnSearch */ &utl::TextSearch::SearchFrwrd,
- /* fnSection */ &SwNodes::GoStartOfSection
+ /* fnNd */ &GoNext,
+ /* fnNds */ &GoNextNds,
+ /* fnDoc */ &GoEndDoc,
+ /* fnSections */ &GoEndSection,
+ /* fnCmpOp */ &SwPosition::operator<,
+ /* fnGetHint */ &GetFrwrdTxtHint,
+ /* fnSearch */ &utl::TextSearch::SearchFrwrd,
+ /* fnSection */ &SwNodes::GoStartOfSection
};
static SwMoveFnCollection aBwrd = {
- /* fnNd */ &GoPrevious,
- /* fnNds */ &GoPreviousNds,
- /* fnDoc */ &GoStartDoc,
- /* fnSections */ &GoStartSection,
- /* fnCmpOp */ &SwPosition::operator>,
- /* fnGetHint */ &GetBkwrdTxtHint,
- /* fnSearch */ &utl::TextSearch::SearchBkwrd,
- /* fnSection */ &SwNodes::GoEndOfSection
+ /* fnNd */ &GoPrevious,
+ /* fnNds */ &GoPreviousNds,
+ /* fnDoc */ &GoStartDoc,
+ /* fnSections */ &GoStartSection,
+ /* fnCmpOp */ &SwPosition::operator>,
+ /* fnGetHint */ &GetBkwrdTxtHint,
+ /* fnSearch */ &utl::TextSearch::SearchBkwrd,
+ /* fnSection */ &SwNodes::GoEndOfSection
};
-SwGoInDoc fnGoDoc = &GoInDoc;
-SwGoInDoc fnGoSection = &GoInSection;
-SwGoInDoc fnGoNode = &GoInNode;
-SwGoInDoc fnGoCntnt = &GoInCntnt;
+SwGoInDoc fnGoDoc = &GoInDoc;
+SwGoInDoc fnGoSection = &GoInSection;
+SwGoInDoc fnGoNode = &GoInNode;
+SwGoInDoc fnGoCntnt = &GoInCntnt;
SwGoInDoc fnGoCntntCells = &GoInCntntCells;
SwGoInDoc fnGoCntntSkipHidden = &GoInCntntSkipHidden;
SwGoInDoc fnGoCntntCellsSkipHidden = &GoInCntntCellsSkipHidden;
-SwWhichPara fnParaPrev = &GoPrevPara;
-SwWhichPara fnParaCurr = &GoCurrPara;
-SwWhichPara fnParaNext = &GoNextPara;
-SwPosPara fnParaStart = &aFwrd;
-SwPosPara fnParaEnd = &aBwrd;
+SwWhichPara fnParaPrev = &GoPrevPara;
+SwWhichPara fnParaCurr = &GoCurrPara;
+SwWhichPara fnParaNext = &GoNextPara;
+SwPosPara fnParaStart = &aFwrd;
+SwPosPara fnParaEnd = &aBwrd;
-SwWhichSection fnSectionPrev = &GoPrevSection;
-SwWhichSection fnSectionCurr = &GoCurrSection;
-SwWhichSection fnSectionNext = &GoNextSection;
-SwPosSection fnSectionStart = &aFwrd;
-SwPosSection fnSectionEnd = &aBwrd;
+SwWhichSection fnSectionPrev = &GoPrevSection;
+SwWhichSection fnSectionCurr = &GoCurrSection;
+SwWhichSection fnSectionNext = &GoNextSection;
+SwPosSection fnSectionStart = &aFwrd;
+SwPosSection fnSectionEnd = &aBwrd;
// Travelling in Tabellen
BOOL GotoPrevTable( SwPaM&, SwPosTable, BOOL bInReadOnly );
@@ -99,8 +99,8 @@ SwWhichRegion fnRegionNext = &GotoNextRegion;
SwPosRegion fnRegionStart = &aFwrd;
SwPosRegion fnRegionEnd = &aBwrd;
-SwMoveFn fnMoveBackward = &aBwrd;
-SwMoveFn fnMoveForward = &aFwrd;
+SwMoveFn fnMoveBackward = &aBwrd;
+SwMoveFn fnMoveForward = &aFwrd;
SwWhichPara GetfnParaCurr()
{
diff --git a/sw/source/core/crsr/swcrsr.cxx b/sw/source/core/crsr/swcrsr.cxx
index da97862bd1a5..7071e2d4b8db 100644
--- a/sw/source/core/crsr/swcrsr.cxx
+++ b/sw/source/core/crsr/swcrsr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <breakit.hxx>
#include <crsskip.hxx>
#include <vcl/msgbox.hxx>
-#include <mdiexp.hxx> // ...Percent()
-#include <statstr.hrc> // ResId fuer Statusleiste
+#include <mdiexp.hxx> // ...Percent()
+#include <statstr.hrc> // ResId fuer Statusleiste
#include <redline.hxx> // SwRedline
@@ -109,7 +109,7 @@ struct _PercentHdl
::StartProgress( STR_STATSTR_SEARCH, nStt, nEnd, pDSh );
}
- ~_PercentHdl() { ::EndProgress( pDSh ); }
+ ~_PercentHdl() { ::EndProgress( pDSh ); }
void NextPos( ULONG nPos ) const
{ ::SetProgressState( bBack ? nActPos - nPos : nPos, pDSh ); }
@@ -133,7 +133,7 @@ SwCursor::SwCursor( const SwPosition &rPos, SwPaM* pRing, bool bColumnSel )
// @@@ semantic: no copy ctor.
SwCursor::SwCursor( SwCursor& rCpy )
- : SwPaM( rCpy ), pSavePos( 0 ), mnRowSpanOffset( rCpy.mnRowSpanOffset ),
+ : SwPaM( rCpy ), pSavePos( 0 ), mnRowSpanOffset( rCpy.mnRowSpanOffset ),
nCursorBidiLevel( rCpy.nCursorBidiLevel ), mbColumnSelection( rCpy.mbColumnSelection )
{
}
@@ -358,7 +358,7 @@ BOOL SwCursor::IsSelOvr( int eFlags )
SwNodeIndex& rPtIdx = GetPoint()->nNode;
int bGoNxt = pSavePos->nNode < rPtIdx.GetIndex();
while( 0 != ( pFrm = ( bGoNxt ? pFrm->GetNextCntntFrm()
- : pFrm->GetPrevCntntFrm() )) &&
+ : pFrm->GetPrevCntntFrm() )) &&
0 == pFrm->Frm().Height() )
;
@@ -368,7 +368,7 @@ BOOL SwCursor::IsSelOvr( int eFlags )
{
bGoNxt = !bGoNxt;
pFrm = ((SwCntntNode*)pNd)->GetFrm();
- while ( pFrm && 0 == pFrm->Frm().Height() )
+ while ( pFrm && 0 == pFrm->Frm().Height() )
{
pFrm = bGoNxt ? pFrm->GetNextCntntFrm()
: pFrm->GetPrevCntntFrm();
@@ -397,7 +397,7 @@ BOOL SwCursor::IsSelOvr( int eFlags )
{
DeleteMark();
RestoreSavePos();
- return TRUE; // ohne Frames geht gar nichts!
+ return TRUE; // ohne Frames geht gar nichts!
}
}
@@ -413,12 +413,12 @@ BOOL SwCursor::IsSelOvr( int eFlags )
return FALSE;
//JP 19.08.98: teste mal auf ungueltige Selektion - sprich ueber
- // GrundSections:
+ // GrundSections:
if( !::CheckNodesRange( GetMark()->nNode, GetPoint()->nNode, TRUE ))
{
DeleteMark();
RestoreSavePos();
- return TRUE; // ohne Frames geht gar nichts!
+ return TRUE; // ohne Frames geht gar nichts!
}
const SwTableNode* pPtNd = pNd->FindTableNode();
@@ -428,7 +428,7 @@ BOOL SwCursor::IsSelOvr( int eFlags )
{
DeleteMark();
RestoreSavePos();
- return TRUE; // ohne Frames geht gar nichts!
+ return TRUE; // ohne Frames geht gar nichts!
}
const SwTableNode* pMrkNd = pNd->FindTableNode();
@@ -439,14 +439,14 @@ BOOL SwCursor::IsSelOvr( int eFlags )
// in unterschiedlichen Tabellen oder nur Mark in der Tabelle
if( ( pPtNd && pMrkNd ) || pMrkNd )
- { // dann lasse das nicht zu, alte Pos zurueck
+ { // dann lasse das nicht zu, alte Pos zurueck
RestoreSavePos();
// Crsr bleibt an der alten Position
return TRUE;
}
// ACHTUNG: dieses kann nicht im TableMode geschehen !!
- if( pPtNd ) // nur Point in Tabelle, dann gehe hinter/vor diese
+ if( pPtNd ) // nur Point in Tabelle, dann gehe hinter/vor diese
{
if( nsSwCursorSelOverFlags::SELOVER_CHANGEPOS & eFlags )
{
@@ -459,7 +459,7 @@ BOOL SwCursor::IsSelOvr( int eFlags )
ULONG nSEIdx = pPtNd->EndOfSectionIndex();
ULONG nSttEndTbl = nSEIdx + 1; // dflt. Sel. nach unten
- if( bSelTop ) // Sel. nach oben
+ if( bSelTop ) // Sel. nach oben
nSttEndTbl = rNds[ nSEIdx ]->StartOfSectionIndex() - 1;
GetPoint()->nNode = nSttEndTbl;
@@ -506,9 +506,9 @@ BOOL SwCursor::IsSelOvr( int eFlags )
// dann verbleibe auf der alten Position
RestoreSavePos();
- return TRUE; // Crsr bleibt an der alten Position
+ return TRUE; // Crsr bleibt an der alten Position
}
- return FALSE; // was bleibt noch ??
+ return FALSE; // was bleibt noch ??
}
#if defined( UNX )
@@ -560,7 +560,7 @@ BOOL SwCursor::IsInProtectTable( BOOL bMove, BOOL bChgCrsr )
if( bChgCrsr )
// restore the last save position
RestoreSavePos();
- return TRUE; // Crsr bleibt an der alten Position
+ return TRUE; // Crsr bleibt an der alten Position
}
// wir stehen in einer geschuetzten TabellenZelle
@@ -591,7 +591,7 @@ GoNextCell:
} while( bProt );
SetNextCrsr:
- if( !bProt ) // eine freie Zelle gefunden
+ if( !bProt ) // eine freie Zelle gefunden
{
GetPoint()->nNode = IDX;
#if defined( UNX )
@@ -623,7 +623,7 @@ SetNextCrsr:
else if( pNd->IsTableNode() && IDX++ )
goto GoNextCell;
- bProt = FALSE; // Index steht jetzt auf einem ContentNode
+ bProt = FALSE; // Index steht jetzt auf einem ContentNode
goto SetNextCrsr;
}
@@ -652,7 +652,7 @@ GoPrevCell:
} while( bProt );
SetPrevCrsr:
- if( !bProt ) // eine freie Zelle gefunden
+ if( !bProt ) // eine freie Zelle gefunden
{
GetPoint()->nNode = IDX;
#if defined( UNX )
@@ -683,7 +683,7 @@ SetPrevCrsr:
else if( pNd->StartOfSectionNode()->IsTableNode() && IDX-- )
goto GoPrevCell;
- bProt = FALSE; // Index steht jetzt auf einem ContentNode
+ bProt = FALSE; // Index steht jetzt auf einem ContentNode
goto SetPrevCrsr;
}
}
@@ -717,7 +717,7 @@ BOOL SwCursor::IsAtValidPos( BOOL bPoint ) const
return TRUE;
}
-void SwCursor::SaveTblBoxCntnt( const SwPosition* ) {}
+void SwCursor::SaveTblBoxCntnt( const SwPosition* ) {}
// setze den SRange fuer das Suchen im Dokument
SwMoveFnCollection* SwCursor::MakeFindRange( SwDocPositions nStart,
@@ -787,7 +787,7 @@ ULONG lcl_FindSelection( SwFindParas& rParas, SwCursor* pCurCrsr,
if( !( FIND_NO_RING & nFndRet ))
{
// Bug 24084: Ring richtig herum aufbauen -> gleiche Mimik
- // wie beim CreateCrsr !!!!
+ // wie beim CreateCrsr !!!!
SwCursor* pNew = pCurCrsr->Create( pFndRing );
if( !pFndRing )
@@ -833,8 +833,8 @@ ULONG lcl_FindSelection( SwFindParas& rParas, SwCursor* pCurCrsr,
// bewege pSttPos hinter den gefundenen Bereich
*pSttPos = *pCurCrsr->End();
- if( *pSttPos == *pEndPos ) // im Bereich, aber am Ende
- break; // fertig
+ if( *pSttPos == *pEndPos ) // im Bereich, aber am Ende
+ break; // fertig
if( !nCrsrCnt && pPHdl )
{
@@ -853,7 +853,7 @@ ULONG lcl_FindSelection( SwFindParas& rParas, SwCursor* pCurCrsr,
} while( pTmpCrsr != pSaveCrsr );
- if( nFound && !pFndRing ) // falls kein Ring aufgebaut werden soll
+ if( nFound && !pFndRing ) // falls kein Ring aufgebaut werden soll
pFndRing = pCurCrsr->Create();
delete pPHdl;
@@ -881,7 +881,7 @@ int lcl_MakeSelFwrd( const SwNode& rSttNd, const SwNode& rEndNd,
}
else if( rSttNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() ||
rPam.GetPoint()->nNode.GetIndex() >= rEndNd.GetIndex() )
- return FALSE; // steht nicht in dieser Section
+ return FALSE; // steht nicht in dieser Section
rPam.SetMark();
rPam.GetPoint()->nNode = rEndNd;
@@ -913,7 +913,7 @@ int lcl_MakeSelBkwrd( const SwNode& rSttNd, const SwNode& rEndNd,
}
else if( rEndNd.GetIndex() > rPam.GetPoint()->nNode.GetIndex() ||
rPam.GetPoint()->nNode.GetIndex() >= rSttNd.GetIndex() )
- return FALSE; // steht nicht in dieser Section
+ return FALSE; // steht nicht in dieser Section
rPam.SetMark();
rPam.GetPoint()->nNode = rEndNd;
@@ -972,7 +972,7 @@ ULONG SwCursor::FindAll( SwFindParas& rParas,
{
// Cursor als Kopie vom akt. und in den Ring aufnehmen
// Verkettung zeigt immer auf den zuerst erzeugten, also vorwaerts
- SwCursor* pSav = Create( this ); // sicher den aktuellen Crsr
+ SwCursor* pSav = Create( this ); // sicher den aktuellen Crsr
// wenn schon ausserhalb vom Bodytext, suche von der Position,
// ansonsten beginne mit der 1. GrundSection
@@ -1030,7 +1030,7 @@ ULONG SwCursor::FindAll( SwFindParas& rParas,
}
else if( FND_IN_SELALL & eFndRngs )
{
- SwCursor* pSav = Create( this ); // sicher den aktuellen Crsr
+ SwCursor* pSav = Create( this ); // sicher den aktuellen Crsr
const SwNode* pSttNd = ( FND_IN_BODYONLY & eFndRngs )
? rNds.GetEndOfContent().StartOfSectionNode()
@@ -1120,7 +1120,7 @@ void SwCursor::FillFindPos( SwDocPositions ePos, SwPosition& rPos ) const
bIsStart = FALSE;
break;
-// case DOCPOS_CURR:
+// case DOCPOS_CURR:
default:
rPos = *GetPoint();
}
@@ -1499,7 +1499,7 @@ BOOL SwCursor::GoSentence( SentenceMoveType eMoveType )
nPtPos, pBreakIt->GetLocale(
pTxtNd->GetLang( nPtPos ) ));
if (nPtPos == 0)
- return FALSE; // the previous sentence is not in this paragraph
+ return FALSE; // the previous sentence is not in this paragraph
if (nPtPos > 0)
nPtPos = (xub_StrLen)pBreakIt->GetBreakIter()->beginOfSentence(
sNodeText,
@@ -1539,10 +1539,10 @@ BOOL SwCursor::ExpandToSentenceBorders()
xub_StrLen nEndPos = End()->nContent.GetIndex();
nStartPos = (xub_StrLen)pBreakIt->GetBreakIter()->beginOfSentence(
- sStartText, nStartPos,
+ sStartText, nStartPos,
pBreakIt->GetLocale( pStartNd->GetLang( nStartPos ) ) );
nEndPos = (xub_StrLen)pBreakIt->GetBreakIter()->endOfSentence(
- sEndText, nEndPos,
+ sEndText, nEndPos,
pBreakIt->GetLocale( pEndNd->GetLang( nEndPos ) ) );
// it is allowed to place the PaM just behind the last
@@ -2102,7 +2102,7 @@ BOOL SwCursor::MoveSection( SwWhichSection fnWhichSect,
BOOL MoveRegion( SwWhichRegion, SwPosRegion );
*/
-void SwCursor::RestoreSavePos() // Point auf die SavePos setzen
+void SwCursor::RestoreSavePos() // Point auf die SavePos setzen
{
if( pSavePos )
{
@@ -2156,7 +2156,7 @@ BOOL lcl_SeekEntry( const SwSelBoxes& rTmp, const SwStartNode* pSrch, USHORT& rF
SwCursor* SwTableCursor::MakeBoxSels( SwCursor* pAktCrsr )
{
- if( bChg ) // ???
+ if( bChg ) // ???
{
if( bParked )
{
@@ -2224,7 +2224,7 @@ JP 20.07.98: der alte Code geht mit dem UNO-TableCrsr nicht
if( pAktCrsr->GetNext() == pAktCrsr )
{
pAktCrsr->DeleteMark();
- break; // es gibt nichts mehr zu loeschen!
+ break; // es gibt nichts mehr zu loeschen!
}
pAktCrsr = (SwCursor*)pDel->GetPrev();
}
diff --git a/sw/source/core/crsr/trvlcol.cxx b/sw/source/core/crsr/trvlcol.cxx
index 6dafd069c86c..02e71efbde65 100644
--- a/sw/source/core/crsr/trvlcol.cxx
+++ b/sw/source/core/crsr/trvlcol.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL SwCrsrShell::MoveColumn( SwWhichColumn fnWhichCol, SwPosColumn fnPosCol )
SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
SwCrsrSaveState aSaveState( *pCurCrsr );
- pCnt->Calc(); // ???
+ pCnt->Calc(); // ???
Point aPt( pCnt->Frm().Pos() + pCnt->Prt().Pos() );
if( fnPosCol == GetColumnEnd )
diff --git a/sw/source/core/crsr/trvlfnfl.cxx b/sw/source/core/crsr/trvlfnfl.cxx
index 550717942c1f..eda5fd4710c0 100644
--- a/sw/source/core/crsr/trvlfnfl.cxx
+++ b/sw/source/core/crsr/trvlfnfl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL SwCursor::GotoNextFtnAnchor()
{
pTxtFtn = rFtnArr[ nPos ];
if( !CmpLE( *pTxtFtn, nNdPos, nCntPos ) )
- break; // gefunden
+ break; // gefunden
pTxtFtn = 0;
}
}
@@ -226,9 +226,9 @@ BOOL SwCursor::GotoNextFtnAnchor()
if( CmpLE( *pTxtFtn, nNdPos, nCntPos ) )
{
pTxtFtn = rFtnArr[ ++nPos ];
- break; // gefunden
+ break; // gefunden
}
-// pTxtFtn = 0;
+// pTxtFtn = 0;
}
}
}
@@ -284,7 +284,7 @@ BOOL SwCursor::GotoPrevFtnAnchor()
{
pTxtFtn = rFtnArr[ --nPos ];
if( CmpL( *pTxtFtn, nNdPos, nCntPos ))
- break; // gefunden
+ break; // gefunden
pTxtFtn = 0;
}
}
@@ -328,7 +328,7 @@ BOOL SwCrsrShell::GotoFlyAnchor()
pFrm = pFrm->GetUpper();
} while( pFrm && !pFrm->IsFlyFrm() );
- if( !pFrm ) // ist kein FlyFrame
+ if( !pFrm ) // ist kein FlyFrame
return FALSE;
SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
diff --git a/sw/source/core/crsr/trvlreg.cxx b/sw/source/core/crsr/trvlreg.cxx
index a95194d53e34..19612cc70e89 100644
--- a/sw/source/core/crsr/trvlreg.cxx
+++ b/sw/source/core/crsr/trvlreg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL GotoPrevRegion( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
0 == ( pNd = aIdx.GetNode().StartOfSectionNode()->GetSectionNode()) )
aIdx--;
- if( pNd ) // gibt einen weiteren SectionNode ?
+ if( pNd ) // gibt einen weiteren SectionNode ?
{
if( pNd->GetSection().IsHiddenFlag() ||
( !bInReadOnly &&
@@ -111,7 +111,7 @@ BOOL GotoNextRegion( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
0 == ( pNd = aIdx.GetNode().GetSectionNode()) )
aIdx++;
- if( pNd ) // gibt einen weiteren SectionNode ?
+ if( pNd ) // gibt einen weiteren SectionNode ?
{
if( pNd->GetSection().IsHiddenFlag() ||
( !bInReadOnly &&
@@ -199,7 +199,7 @@ BOOL GotoCurrRegionAndSkip( SwPaM& rCurCrsr, SwPosRegion fnPosRegion,
do {
SwCntntNode* pCNd;
- if( bMoveBackward ) // ans Ende vom Bereich
+ if( bMoveBackward ) // ans Ende vom Bereich
{
SwNodeIndex aIdx( *pNd->EndOfSectionNode() );
pCNd = pNd->GetNodes().GoPrevSection( &aIdx, TRUE, !bInReadOnly );
@@ -245,7 +245,7 @@ BOOL SwCursor::MoveRegion( SwWhichRegion fnWhichRegion, SwPosRegion fnPosRegion
BOOL SwCrsrShell::MoveRegion( SwWhichRegion fnWhichRegion, SwPosRegion fnPosRegion )
{
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
BOOL bRet = !pTblCrsr && pCurCrsr->MoveRegion( fnWhichRegion, fnPosRegion );
if( bRet )
UpdateCrsr();
@@ -280,7 +280,7 @@ BOOL SwCursor::GotoRegion( const String& rName )
BOOL SwCrsrShell::GotoRegion( const String& rName )
{
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
BOOL bRet = !pTblCrsr && pCurCrsr->GotoRegion( rName );
if( bRet )
UpdateCrsr( SwCrsrShell::SCROLLWIN | SwCrsrShell::CHKRANGE |
diff --git a/sw/source/core/crsr/trvltbl.cxx b/sw/source/core/crsr/trvltbl.cxx
index 85452f10ae9f..f466c34e1ec1 100644
--- a/sw/source/core/crsr/trvltbl.cxx
+++ b/sw/source/core/crsr/trvltbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@
#include <crsrsh.hxx>
#include <doc.hxx>
#include <cntfrm.hxx>
-#include <editsh.hxx> //EndAllAction gibts nur an der EditShell
+#include <editsh.hxx> //EndAllAction gibts nur an der EditShell
#include <pam.hxx>
#include <swtable.hxx>
#include <docary.hxx>
@@ -60,7 +60,7 @@ BOOL SwCrsrShell::GoNextCell( BOOL bAppendLine )
if( IsTableMode() || 0 != ( pTblNd = IsCrsrInTbl() ))
{
SwCursor* pCrsr = pTblCrsr ? pTblCrsr : pCurCrsr;
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
bRet = TRUE;
// Check if we have to move the cursor to a covered cell before
@@ -88,7 +88,7 @@ BOOL SwCrsrShell::GoNextCell( BOOL bAppendLine )
if( !aCellStt.GetNode().IsStartNode() )
{
- if( pCrsr->HasMark() || !bAppendLine )
+ if( pCrsr->HasMark() || !bAppendLine )
bRet = FALSE;
else
{
@@ -111,7 +111,7 @@ BOOL SwCrsrShell::GoNextCell( BOOL bAppendLine )
}
}
if( bRet && 0 != ( bRet = pCrsr->GoNextCell() ))
- UpdateCrsr(); // und den akt. Updaten
+ UpdateCrsr(); // und den akt. Updaten
}
return bRet;
}
@@ -124,10 +124,10 @@ BOOL SwCrsrShell::GoPrevCell()
if( IsTableMode() || 0 != ( pTblNd = IsCrsrInTbl() ))
{
SwCursor* pCrsr = pTblCrsr ? pTblCrsr : pCurCrsr;
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
bRet = pCrsr->GoPrevCell();
if( bRet )
- UpdateCrsr(); // und den akt. Updaten
+ UpdateCrsr(); // und den akt. Updaten
}
return bRet;
}
@@ -258,7 +258,7 @@ BOOL SwCrsrShell::_SelTblRowOrCol( bool bRow, bool bRowSimple )
if ( !bRow )
pTblCrsr->GetPtPos() = pMasterTabFrm->IsVertical() ? pMasterTabFrm->Frm().TopRight() : pMasterTabFrm->Frm().TopLeft();
- UpdateCrsr(); // und den akt. Updaten
+ UpdateCrsr(); // und den akt. Updaten
return TRUE;
}
@@ -520,9 +520,9 @@ BOOL GotoPrevTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
0 == ( pTblNd = aIdx.GetNode().StartOfSectionNode()->GetTableNode()) )
aIdx--;
- if( pTblNd ) // gibt einen weiteren TableNode ?
+ if( pTblNd ) // gibt einen weiteren TableNode ?
{
- if( fnPosTbl == fnMoveForward ) // an Anfang ?
+ if( fnPosTbl == fnMoveForward ) // an Anfang ?
{
aIdx = *aIdx.GetNode().StartOfSectionNode();
if( !lcl_FindNextCell( aIdx, bInReadOnly ))
@@ -573,9 +573,9 @@ BOOL GotoNextTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
while( aIdx.GetIndex() < nLastNd &&
0 == ( pTblNd = aIdx.GetNode().GetTableNode()) )
aIdx++;
- if( pTblNd ) // gibt einen weiteren TableNode ?
+ if( pTblNd ) // gibt einen weiteren TableNode ?
{
- if( fnPosTbl == fnMoveForward ) // an Anfang ?
+ if( fnPosTbl == fnMoveForward ) // an Anfang ?
{
if( !lcl_FindNextCell( aIdx, bInReadOnly ))
{
@@ -620,7 +620,7 @@ BOOL GotoCurrTable( SwPaM& rCurCrsr, SwPosTable fnPosTbl,
return FALSE;
SwTxtNode* pTxtNode = 0;
- if( fnPosTbl == fnMoveBackward ) // ans Ende der Tabelle
+ if( fnPosTbl == fnMoveBackward ) // ans Ende der Tabelle
{
SwNodeIndex aIdx( *pTblNd->EndOfSectionNode() );
if( !lcl_FindPrevCell( aIdx, bInReadOnly ))
@@ -652,7 +652,7 @@ BOOL SwCursor::MoveTable( SwWhichTable fnWhichTbl, SwPosTable fnPosTbl )
BOOL bRet = FALSE;
SwTableCursor* pTblCrsr = dynamic_cast<SwTableCursor*>(this);
- if( pTblCrsr || !HasMark() ) // nur wenn kein Mark oder ein TblCrsr
+ if( pTblCrsr || !HasMark() ) // nur wenn kein Mark oder ein TblCrsr
{
SwCrsrSaveState aSaveState( *this );
bRet = (*fnWhichTbl)( *this, fnPosTbl, IsReadOnlyAvailable() ) &&
@@ -664,14 +664,14 @@ BOOL SwCursor::MoveTable( SwWhichTable fnWhichTbl, SwPosTable fnPosTbl )
BOOL SwCrsrShell::MoveTable( SwWhichTable fnWhichTbl, SwPosTable fnPosTbl )
{
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen, evt. Link callen
SwShellCrsr* pCrsr = pTblCrsr ? pTblCrsr : pCurCrsr;
BOOL bCheckPos, bRet;
ULONG nPtNd = 0;
xub_StrLen nPtCnt = 0;
- if( !pTblCrsr && pCurCrsr->HasMark() ) // wenn Mark und kein TblCrsr,
+ if( !pTblCrsr && pCurCrsr->HasMark() ) // wenn Mark und kein TblCrsr,
{
// dann auf jedenfall in den Tabellen-Modus schalten
pTblCrsr = new SwShellTableCrsr( *this, *pCurCrsr->GetPoint() );
@@ -693,7 +693,7 @@ BOOL SwCrsrShell::MoveTable( SwWhichTable fnWhichTbl, SwPosTable fnPosTbl )
if( bRet )
{
//JP 28.10.97: Bug 45028 - die "oberste" Position setzen fuer
- // wiederholte Kopfzeilen
+ // wiederholte Kopfzeilen
pCrsr->GetPtPos() = Point();
UpdateCrsr(SwCrsrShell::SCROLLWIN|SwCrsrShell::CHKRANGE|SwCrsrShell::READONLY);
@@ -720,7 +720,7 @@ BOOL SwCrsrShell::IsTblComplexForChart()
{
BOOL bRet = FALSE;
- StartAction(); // IsTblComplexForChart() may trigger table formatting
+ StartAction(); // IsTblComplexForChart() may trigger table formatting
// we better do that inside an action
const SwTableNode* pTNd = pCurCrsr->GetPoint()->nNode.GetNode().FindTableNode();
@@ -787,7 +787,7 @@ String SwCrsrShell::GetBoxNms() const
BOOL SwCrsrShell::GotoTable( const String& rName )
{
- SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
+ SwCallLink aLk( *this ); // Crsr-Moves ueberwachen,
BOOL bRet = !pTblCrsr && pCurCrsr->GotoTable( rName );
if( bRet )
{
@@ -882,7 +882,7 @@ void SwCrsrShell::SaveTblBoxCntnt( const SwPosition* pPos )
if( pSttNd && pBoxIdx )
{
if( pSttNd == &pBoxIdx->GetNode() )
- pSttNd = 0; // die haben wir schon
+ pSttNd = 0; // die haben wir schon
else
bCheckBox = TRUE;
}
diff --git a/sw/source/core/crsr/unocrsr.cxx b/sw/source/core/crsr/unocrsr.cxx
index f38221e689f3..32ca7779167c 100644
--- a/sw/source/core/crsr/unocrsr.cxx
+++ b/sw/source/core/crsr/unocrsr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwUnoCrsr::~SwUnoCrsr()
while( GetNext() != this )
{
Ring* pNxt = GetNext();
- pNxt->MoveTo( 0 ); // ausketten
- delete pNxt; // und loeschen
+ pNxt->MoveTo( 0 ); // ausketten
+ delete pNxt; // und loeschen
}
}
@@ -224,7 +224,7 @@ SwUnoTableCrsr::SwUnoTableCrsr(const SwPosition& rPos)
SwUnoTableCrsr::~SwUnoTableCrsr()
{
while( aTblSel.GetNext() != &aTblSel )
- delete aTblSel.GetNext(); // und loeschen
+ delete aTblSel.GetNext(); // und loeschen
}
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 4cafe1110970..4c9066f4fd04 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <extinput.hxx>
#include <ndtxt.hxx>
#include <scriptinfo.hxx>
-#include <mdiexp.hxx> // GetSearchDialog
-#include <comcore.hrc> // ResId fuer Abfrage wenn zu Search & Replaces
+#include <mdiexp.hxx> // GetSearchDialog
+#include <comcore.hrc> // ResId fuer Abfrage wenn zu Search & Replaces
#include <svx/sdr/overlay/overlaymanager.hxx>
#include <svx/sdrpaintwindow.hxx>
@@ -109,10 +109,10 @@ void SwRedlineRects::Paint( const Rectangle& rRect )
UINT8 nVal = 0xc8 - ( (nMode / 4) * 16 );
switch( nMode % 4 )
{
- case 0: aCol = RGB_COLORDATA( nVal, nVal, 0xFF ); break;
- case 1: aCol = RGB_COLORDATA( 0xFF, 0xc8, nVal ); break;
- case 2: aCol = RGB_COLORDATA( nVal, 0xFF, nVal ); break;
- case 3: aCol = RGB_COLORDATA( 0xFF, nVal, nVal ); break;
+ case 0: aCol = RGB_COLORDATA( nVal, nVal, 0xFF ); break;
+ case 1: aCol = RGB_COLORDATA( 0xFF, 0xc8, nVal ); break;
+ case 2: aCol = RGB_COLORDATA( nVal, 0xFF, nVal ); break;
+ case 3: aCol = RGB_COLORDATA( 0xFF, nVal, nVal ); break;
}
aCol = aCol.GetColor() ^ COL_WHITE;
@@ -186,7 +186,7 @@ void ShowRedlines( const SwCrsrShell* pSh, int nAction, const SwRect* pRect = 0
switch( nAction )
{
case 1: (*ppRedRect)->Show(); break;
- case 2: (*ppRedRect)->Hide(); break;
+ case 2: (*ppRedRect)->Hide(); break;
case 3: (*ppRedRect)->Invalidate( *pRect ); break;
}
@@ -197,8 +197,8 @@ void ShowRedlines( const SwCrsrShell* pSh, int nAction, const SwRect* pRect = 0
}
}
-#define SHOWREDLINES1( nAct ) ShowRedlines( GetShell(),nAct );
-#define SHOWREDLINES2( nAct, pRect ) ShowRedlines( GetShell(),nAct, pRect );
+#define SHOWREDLINES1( nAct ) ShowRedlines( GetShell(),nAct );
+#define SHOWREDLINES2( nAct, pRect ) ShowRedlines( GetShell(),nAct, pRect );
#else
@@ -238,7 +238,7 @@ SwVisCrsr::~SwVisCrsr()
{
#ifdef SW_CRSR_TIMER
if( bTimerOn )
- Stop(); // Timer stoppen
+ Stop(); // Timer stoppen
#endif
if( bIsVisible && aTxtCrsr.IsVisible() )
@@ -289,7 +289,7 @@ void SwVisCrsr::Hide()
Stop(); // Timer Stoppen
#endif
- if( aTxtCrsr.IsVisible() ) // sollten die Flags nicht gueltig sein?
+ if( aTxtCrsr.IsVisible() ) // sollten die Flags nicht gueltig sein?
aTxtCrsr.Hide();
}
}
@@ -319,7 +319,7 @@ BOOL SwVisCrsr::ChgTimerFlag( BOOL bFlag )
bOld = bTimerOn;
if( !bFlag && bIsVisible && IsActive() )
{
- Stop(); // Timer Stoppen
+ Stop(); // Timer Stoppen
_SetPosAndShow();
}
bTimerOn = bFlag;
@@ -421,7 +421,7 @@ void SwVisCrsr::_SetPosAndShow()
//////////////////////////////////////////////////////////////////////////////
SwSelPaintRects::SwSelPaintRects( const SwCrsrShell& rCSh )
-: SwRects( 0 ),
+: SwRects( 0 ),
pCShell( &rCSh ),
mpCursorOverlay(0)
{
@@ -526,7 +526,7 @@ void SwSelPaintRects::Show()
// create correct selection
mpCursorOverlay = new sdr::overlay::OverlaySelection(
sdr::overlay::OVERLAY_TRANSPARENT,
- aHighlight,
+ aHighlight,
aNewRanges,
true);
@@ -645,7 +645,7 @@ void SwShellCrsr::FillRects()
GetPoint()->nNode.GetNode().GetCntntNode()->GetFrm() &&
(GetMark()->nNode == GetPoint()->nNode ||
(GetMark()->nNode.GetNode().IsCntntNode() &&
- GetMark()->nNode.GetNode().GetCntntNode()->GetFrm() ) ))
+ GetMark()->nNode.GetNode().GetCntntNode()->GetFrm() ) ))
GetDoc()->GetRootFrm()->CalcFrmRects( *this, GetShell()->IsTableMode() );
}
@@ -759,7 +759,7 @@ BOOL SwShellCrsr::UpDown( BOOL bUp, USHORT nCnt )
#if OSL_DEBUG_LEVEL > 1
// JP 05.03.98: zum Testen des UNO-Crsr Verhaltens hier die Implementierung
-// am sichtbaren Cursor
+// am sichtbaren Cursor
BOOL SwShellCrsr::IsSelOvr( int eFlags )
{
@@ -801,7 +801,7 @@ SwShellTableCrsr::SwShellTableCrsr( const SwCrsrShell& rCrsrSh,
SwShellTableCrsr::~SwShellTableCrsr() {}
-void SwShellTableCrsr::SetMark() { SwShellCrsr::SetMark(); }
+void SwShellTableCrsr::SetMark() { SwShellCrsr::SetMark(); }
SwCursor* SwShellTableCrsr::Create( SwPaM* pRing ) const
{
@@ -898,7 +898,7 @@ BOOL SwShellTableCrsr::IsInside( const Point& rPt ) const
#if OSL_DEBUG_LEVEL > 1
// JP 05.03.98: zum Testen des UNO-Crsr Verhaltens hier die Implementierung
-// am sichtbaren Cursor
+// am sichtbaren Cursor
BOOL SwShellTableCrsr::IsSelOvr( int eFlags )
{
return SwShellCrsr::IsSelOvr( eFlags );
diff --git a/sw/source/core/doc/SwStyleNameMapper.cxx b/sw/source/core/doc/SwStyleNameMapper.cxx
index 79bddf6e5a61..d9698e5b817c 100644
--- a/sw/source/core/doc/SwStyleNameMapper.cxx
+++ b/sw/source/core/doc/SwStyleNameMapper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <tools/debug.hxx>
extern ResMgr* pSwResMgr;
// Initialise UI names to 0
-SvStringsDtor *SwStyleNameMapper::pTextUINameArray = 0,
+SvStringsDtor *SwStyleNameMapper::pTextUINameArray = 0,
*SwStyleNameMapper::pListsUINameArray = 0,
*SwStyleNameMapper::pExtraUINameArray = 0,
*SwStyleNameMapper::pRegisterUINameArray = 0,
@@ -64,7 +64,7 @@ SvStringsDtor *SwStyleNameMapper::pTextUINameArray = 0,
*SwStyleNameMapper::pPageDescProgNameArray = 0,
*SwStyleNameMapper::pNumRuleProgNameArray = 0;
-NameToIdHash *SwStyleNameMapper::pParaUIMap = 0,
+NameToIdHash *SwStyleNameMapper::pParaUIMap = 0,
*SwStyleNameMapper::pCharUIMap = 0,
*SwStyleNameMapper::pPageUIMap = 0,
*SwStyleNameMapper::pFrameUIMap = 0,
@@ -1009,77 +1009,77 @@ SvStringsDtor* SwStyleNameMapper::NewProgNameArray( SvStringsDtor*& pProgNameArr
const SvStringsDtor& SwStyleNameMapper::GetTextProgNameArray()
{
return pTextProgNameArray ? *pTextProgNameArray :
- *NewProgNameArray( pTextProgNameArray, TextProgNameTable,
- sizeof ( TextProgNameTable ) / sizeof ( SwTableEntry ) );
+ *NewProgNameArray( pTextProgNameArray, TextProgNameTable,
+ sizeof ( TextProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetListsProgNameArray()
{
- return pListsProgNameArray ? *pListsProgNameArray :
- *NewProgNameArray( pListsProgNameArray, ListsProgNameTable,
+ return pListsProgNameArray ? *pListsProgNameArray :
+ *NewProgNameArray( pListsProgNameArray, ListsProgNameTable,
sizeof ( ListsProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetExtraProgNameArray()
{
- return pExtraProgNameArray ? *pExtraProgNameArray :
- *NewProgNameArray( pExtraProgNameArray, ExtraProgNameTable,
+ return pExtraProgNameArray ? *pExtraProgNameArray :
+ *NewProgNameArray( pExtraProgNameArray, ExtraProgNameTable,
sizeof ( ExtraProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetRegisterProgNameArray()
{
- return pRegisterProgNameArray ? *pRegisterProgNameArray :
- *NewProgNameArray( pRegisterProgNameArray, RegisterProgNameTable,
+ return pRegisterProgNameArray ? *pRegisterProgNameArray :
+ *NewProgNameArray( pRegisterProgNameArray, RegisterProgNameTable,
sizeof ( RegisterProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetDocProgNameArray()
{
- return pDocProgNameArray ? *pDocProgNameArray :
- *NewProgNameArray( pDocProgNameArray, DocProgNameTable,
+ return pDocProgNameArray ? *pDocProgNameArray :
+ *NewProgNameArray( pDocProgNameArray, DocProgNameTable,
sizeof ( DocProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetHTMLProgNameArray()
{
- return pHTMLProgNameArray ? *pHTMLProgNameArray :
- *NewProgNameArray( pHTMLProgNameArray, HTMLProgNameTable,
+ return pHTMLProgNameArray ? *pHTMLProgNameArray :
+ *NewProgNameArray( pHTMLProgNameArray, HTMLProgNameTable,
sizeof ( HTMLProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetFrmFmtProgNameArray()
{
- return pFrmFmtProgNameArray ? *pFrmFmtProgNameArray :
- *NewProgNameArray( pFrmFmtProgNameArray, FrmFmtProgNameTable,
+ return pFrmFmtProgNameArray ? *pFrmFmtProgNameArray :
+ *NewProgNameArray( pFrmFmtProgNameArray, FrmFmtProgNameTable,
sizeof ( FrmFmtProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetChrFmtProgNameArray()
{
- return pChrFmtProgNameArray ? *pChrFmtProgNameArray :
- *NewProgNameArray( pChrFmtProgNameArray, ChrFmtProgNameTable,
+ return pChrFmtProgNameArray ? *pChrFmtProgNameArray :
+ *NewProgNameArray( pChrFmtProgNameArray, ChrFmtProgNameTable,
sizeof ( ChrFmtProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetHTMLChrFmtProgNameArray()
{
- return pHTMLChrFmtProgNameArray ? *pHTMLChrFmtProgNameArray :
- *NewProgNameArray( pHTMLChrFmtProgNameArray, HTMLChrFmtProgNameTable,
+ return pHTMLChrFmtProgNameArray ? *pHTMLChrFmtProgNameArray :
+ *NewProgNameArray( pHTMLChrFmtProgNameArray, HTMLChrFmtProgNameTable,
sizeof ( HTMLChrFmtProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetPageDescProgNameArray()
{
- return pPageDescProgNameArray ? *pPageDescProgNameArray :
- *NewProgNameArray( pPageDescProgNameArray, PageDescProgNameTable,
+ return pPageDescProgNameArray ? *pPageDescProgNameArray :
+ *NewProgNameArray( pPageDescProgNameArray, PageDescProgNameTable,
sizeof ( PageDescProgNameTable ) / sizeof ( SwTableEntry ) );
}
const SvStringsDtor& SwStyleNameMapper::GetNumRuleProgNameArray()
{
- return pNumRuleProgNameArray ? *pNumRuleProgNameArray :
- *NewProgNameArray( pNumRuleProgNameArray, NumRuleProgNameTable,
+ return pNumRuleProgNameArray ? *pNumRuleProgNameArray :
+ *NewProgNameArray( pNumRuleProgNameArray, NumRuleProgNameTable,
sizeof ( NumRuleProgNameTable ) / sizeof ( SwTableEntry ) );
}
diff --git a/sw/source/core/doc/acmplwrd.cxx b/sw/source/core/doc/acmplwrd.cxx
index 13346087e1cd..12c56ca65076 100644
--- a/sw/source/core/doc/acmplwrd.cxx
+++ b/sw/source/core/doc/acmplwrd.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/doc/dbgoutsw.cxx b/sw/source/core/doc/dbgoutsw.cxx
index 8d1b4d1d5aa4..4d34e555e143 100644
--- a/sw/source/core/doc/dbgoutsw.cxx
+++ b/sw/source/core/doc/dbgoutsw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -678,11 +678,11 @@ String lcl_dbg_out(const SwNode & rNode)
else if (rNode.IsStartNode())
{
aTmpStr += String("<start end=\"", RTL_TEXTENCODING_ASCII_US);
-
+
const SwStartNode * pStartNode = dynamic_cast<const SwStartNode *> (&rNode);
- if (pStartNode != NULL)
+ if (pStartNode != NULL)
aTmpStr += String::CreateFromInt32(pStartNode->EndOfSectionNode()->GetIndex());
-
+
aTmpStr += String("\"/>", RTL_TEXTENCODING_ASCII_US);
}
else if (rNode.IsEndNode())
@@ -747,7 +747,7 @@ void lcl_dbg_nodes_inner(String & aStr, SwNodes & rNodes, ULONG & nIndex)
ULONG nStartIndex = nIndex;
bool bDone = false;
-
+
String aTag;
if (pNode->IsTableNode())
aTag += String("table", RTL_TEXTENCODING_ASCII_US);
@@ -755,13 +755,13 @@ void lcl_dbg_nodes_inner(String & aStr, SwNodes & rNodes, ULONG & nIndex)
aTag += String("section", RTL_TEXTENCODING_ASCII_US);
else
aTag += String("nodes", RTL_TEXTENCODING_ASCII_US);
-
+
aStr += String("<", RTL_TEXTENCODING_ASCII_US);
aStr += aTag;
aStr += String(">", RTL_TEXTENCODING_ASCII_US);
while (! bDone)
- {
+ {
if (pNode->IsStartNode() && nIndex != nStartIndex)
lcl_dbg_nodes_inner(aStr, rNodes, nIndex);
else
@@ -771,13 +771,13 @@ void lcl_dbg_nodes_inner(String & aStr, SwNodes & rNodes, ULONG & nIndex)
nIndex++;
}
-
+
if (pNode == pEndNode || nIndex >= nCount)
bDone = true;
else
- pNode = rNodes[nIndex];
+ pNode = rNodes[nIndex];
}
-
+
aStr += String("</", RTL_TEXTENCODING_ASCII_US);
aStr += aTag;
aStr += String(">\n", RTL_TEXTENCODING_ASCII_US);
@@ -786,15 +786,15 @@ void lcl_dbg_nodes_inner(String & aStr, SwNodes & rNodes, ULONG & nIndex)
String lcl_dbg_out(SwNodes & rNodes)
{
String aStr("<nodes-array>", RTL_TEXTENCODING_ASCII_US);
-
+
ULONG nIndex = 0;
ULONG nCount = rNodes.Count();
-
+
while (nIndex < nCount)
{
lcl_dbg_nodes_inner(aStr, rNodes, nIndex);
}
-
+
aStr += String("</nodes-array>\n", RTL_TEXTENCODING_ASCII_US);
return aStr;
@@ -1087,7 +1087,7 @@ SW_DLLPUBLIC const char * dbg_out(const SwFormTokens & rTokens)
String lcl_dbg_out(const SwNodeRange & rRange)
{
String aStr("[", RTL_TEXTENCODING_ASCII_US);
-
+
aStr += lcl_dbg_out(SwPosition(rRange.aStart));
aStr += String(", ", RTL_TEXTENCODING_ASCII_US);
aStr += lcl_dbg_out(SwPosition(rRange.aEnd));
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 63347cbede7a..7221f6afa385 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,21 +80,21 @@
#include <swtable.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <undobj.hxx>
-#include <pagedesc.hxx> //DTor
+#include <pagedesc.hxx> //DTor
#include <breakit.hxx>
#include <ndole.hxx>
#include <ndgrf.hxx>
-#include <rolbck.hxx> // Undo-Attr
-#include <doctxm.hxx> // fuer die Verzeichnisse
+#include <rolbck.hxx> // Undo-Attr
+#include <doctxm.hxx> // fuer die Verzeichnisse
#include <grfatr.hxx>
-#include <poolfmt.hxx> // PoolVorlagen-Id's
-#include <mvsave.hxx> // fuer Server-Funktionalitaet
+#include <poolfmt.hxx> // PoolVorlagen-Id's
+#include <mvsave.hxx> // fuer Server-Funktionalitaet
#include <SwGrammarMarkUp.hxx>
#include <scriptinfo.hxx>
-#include <acorrect.hxx> // Autokorrektur
-#include <mdiexp.hxx> // Statusanzeige
+#include <acorrect.hxx> // Autokorrektur
+#include <mdiexp.hxx> // Statusanzeige
#include <docstat.hxx>
#include <docary.hxx>
#include <redline.hxx>
@@ -103,7 +103,7 @@
#include <printdata.hxx>
#include <swprtopt.hxx>
#include <cmdid.h> // fuer den dflt - Printer in SetJob
-#include <statstr.hrc> // StatLine-String
+#include <statstr.hrc> // StatLine-String
#include <comcore.hrc>
#include <SwUndoTOXChange.hxx>
#include <SwUndoFmt.hxx>
@@ -678,9 +678,9 @@ bool SwDoc::SplitNode( const SwPosition &rPos, bool bChkTableStart )
return false;
{
- // BUG 26675: DataChanged vorm loeschen verschicken, dann bekommt
- // man noch mit, welche Objecte sich im Bereich befinden.
- // Danach koennen sie vor/hinter der Position befinden.
+ // BUG 26675: DataChanged vorm loeschen verschicken, dann bekommt
+ // man noch mit, welche Objecte sich im Bereich befinden.
+ // Danach koennen sie vor/hinter der Position befinden.
SwDataChanged aTmp( this, rPos, 0 );
}
@@ -697,9 +697,9 @@ bool SwDoc::SplitNode( const SwPosition &rPos, bool bChkTableStart )
}
//JP 28.01.97: Sonderfall fuer SplitNode am Tabellenanfang:
- // steht die am Doc/Fly/Footer/..-Anfang oder direkt
- // hinter einer Tabelle, dann fuege davor
- // einen Absatz ein
+ // steht die am Doc/Fly/Footer/..-Anfang oder direkt
+ // hinter einer Tabelle, dann fuege davor
+ // einen Absatz ein
if( bChkTableStart && !rPos.nContent.GetIndex() && pNode->IsTxtNode() )
{
ULONG nPrevPos = rPos.nNode.GetIndex() - 1;
@@ -847,7 +847,7 @@ bool SwDoc::InsertString( const SwPaM &rRg, const String &rStr,
const SwPosition& rPos = *rRg.GetPoint();
- if( pACEWord ) // Aufnahme in die Autokorrektur
+ if( pACEWord ) // Aufnahme in die Autokorrektur
{
if( 1 == rStr.Len() && pACEWord->IsDeleted() )
{
@@ -876,7 +876,7 @@ bool SwDoc::InsertString( const SwPaM &rRg, const String &rStr,
}
}
else
- { // ist Undo und Gruppierung eingeschaltet, ist alles anders !
+ { // ist Undo und Gruppierung eingeschaltet, ist alles anders !
SwUndoInsert * pUndo = NULL; // #111827#
// don't group the start if hints at the start should be expanded
@@ -1039,8 +1039,8 @@ SwFlyFrmFmt* SwDoc::InsertOLE(const SwPaM &rRg, const String& rObjName,
}
/*************************************************************************
-|* SwDoc::GetFldType()
-|* Beschreibung: liefert den am Doc eingerichteten Feldtypen zurueck
+|* SwDoc::GetFldType()
+|* Beschreibung: liefert den am Doc eingerichteten Feldtypen zurueck
*************************************************************************/
SwFieldType *SwDoc::GetSysFldType( const USHORT eWhich ) const
{
@@ -1051,7 +1051,7 @@ SwFieldType *SwDoc::GetSysFldType( const USHORT eWhich ) const
}
/*************************************************************************
- * void SetDocStat( const SwDocStat& rStat );
+ * void SetDocStat( const SwDocStat& rStat );
*************************************************************************/
void SwDoc::SetDocStat( const SwDocStat& rStat )
{
@@ -1069,16 +1069,16 @@ struct _PostItFld : public _SetGetExpFld
: _SetGetExpFld( rNdIdx, pFld, pIdx ) {}
USHORT GetPageNo( const StringRangeEnumerator &rRangeEnum,
- const std::set< sal_Int32 > &rPossiblePages,
+ const std::set< sal_Int32 > &rPossiblePages,
USHORT& rVirtPgNo, USHORT& rLineNo );
-
+
SwPostItField* GetPostIt() const
- {
+ {
return (SwPostItField*) GetFld()->GetFld().GetFld();
}
};
-USHORT _PostItFld::GetPageNo(
+USHORT _PostItFld::GetPageNo(
const StringRangeEnumerator &rRangeEnum,
const std::set< sal_Int32 > &rPossiblePages,
/* out */ USHORT& rVirtPgNo, /* out */ USHORT& rLineNo )
@@ -1110,8 +1110,8 @@ USHORT _PostItFld::GetPageNo(
return 0;
}
-bool lcl_GetPostIts(
- IDocumentFieldsAccess* pIDFA,
+bool lcl_GetPostIts(
+ IDocumentFieldsAccess* pIDFA,
_SetGetExpFlds * pSrtLst )
{
bool bHasPostIts = false;
@@ -1147,9 +1147,9 @@ bool lcl_GetPostIts(
return bHasPostIts;
}
-static void lcl_FormatPostIt(
- IDocumentContentOperations* pIDCO,
- SwPaM& aPam,
+static void lcl_FormatPostIt(
+ IDocumentContentOperations* pIDCO,
+ SwPaM& aPam,
SwPostItField* pField,
bool bNewPage, bool bIsFirstPostIt,
USHORT nPageNo, USHORT nLineNo )
@@ -1169,7 +1169,7 @@ static void lcl_FormatPostIt(
pIDCO->SplitNode( *aPam.GetPoint(), false );
pIDCO->SplitNode( *aPam.GetPoint(), false );
}
-
+
String aStr( ViewShell::GetShellRes()->aPostItPage );
aStr.AppendAscii(sTmp);
@@ -1186,7 +1186,7 @@ static void lcl_FormatPostIt(
aStr.AppendAscii(sTmp);
aStr += pField->GetPar1();
aStr += ' ';
- SvtSysLocale aSysLocale;
+ SvtSysLocale aSysLocale;
aStr += /*(LocaleDataWrapper&)*/aSysLocale.GetLocaleData().getDate( pField->GetDate() );
pIDCO->InsertString( aPam, aStr );
@@ -1216,7 +1216,7 @@ static sal_Int32 lcl_GetPaperBin( const SwPageFrm *pStartFrm )
}
void SwDoc::CalculatePagesForPrinting(
- /* out */ SwRenderData &rData,
+ /* out */ SwRenderData &rData,
const SwPrintUIOptions &rOptions,
bool bIsPDFExport,
sal_Int32 nDocPageCount )
@@ -1234,9 +1234,9 @@ void SwDoc::CalculatePagesForPrinting(
bool bPrintRightPages = bIsPDFExport ? true : rOptions.IsPrintRightPages();
// #i103700# printing selections should not allow for automatic inserting empty pages
bool bPrintEmptyPages = bPrintSelection ? false : rOptions.IsPrintEmptyPages( bIsPDFExport );
-
+
Range aPages( 1, nDocPageCount );
-
+
MultiSelection aMulti( aPages );
aMulti.SetTotalRange( Range( 0, RANGE_MAX ) );
aMulti.Select( aPages );
@@ -1329,7 +1329,7 @@ void SwDoc::CalculatePagesForPrinting(
}
}
-
+
//
// now that we have identified the valid pages for printing according
// to the print settings we need to get the PageRange to use and
@@ -1342,7 +1342,7 @@ void SwDoc::CalculatePagesForPrinting(
// PL, OD #i116085# - adjusting fix for i113919
if ( !bIsPDFExport )
{
- // PageContent :
+ // PageContent :
// 0 -> print all pages (default if aPageRange is empty)
// 1 -> print range according to PageRange
// 2 -> print selection
@@ -1353,9 +1353,9 @@ void SwDoc::CalculatePagesForPrinting(
// note that printing selections is actually implemented by copying
// the selection to a new temporary document and printing all of that one.
// Thus for Writer "PrintContent" must never be 2.
- // See SwXTextDocument::GetRenderDoc for evaluating if a selection is to be
+ // See SwXTextDocument::GetRenderDoc for evaluating if a selection is to be
// printed and for creating the temporary document.
- }
+ }
// please note
}
@@ -1370,15 +1370,15 @@ void SwDoc::CalculatePagesForPrinting(
// get vector of pages to print according to PageRange and valid pages set from above
// (result may be an empty vector, for example if the range string is not correct)
- StringRangeEnumerator::getRangesFromString(
+ StringRangeEnumerator::getRangesFromString(
aPageRange, rData.GetPagesToPrint(),
1, nDocPageCount, 0, &rData.GetValidPagesSet() );
}
-void SwDoc::UpdatePagesForPrintingWithPostItData(
- /* out */ SwRenderData &rData,
+void SwDoc::UpdatePagesForPrintingWithPostItData(
+ /* out */ SwRenderData &rData,
const SwPrintUIOptions &rOptions,
- bool /*bIsPDFExport*/,
+ bool /*bIsPDFExport*/,
sal_Int32 nDocPageCount )
{
@@ -1399,14 +1399,14 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
const StringRangeEnumerator aRangeEnum( rData.GetPageRange(), 1, nDocPageCount, 0 );
- // For mode POSTITS_ENDPAGE:
+ // For mode POSTITS_ENDPAGE:
// maps a physical page number to the page number in post-it document that holds
// the first post-it for that physical page . Needed to relate the correct start frames
// from the post-it doc to the physical page of the document
std::map< sal_Int32, sal_Int32 > aPostItLastStartPageNum;
// add all post-its on valid pages within the the page range to the
- // temporary post-it document.
+ // temporary post-it document.
// Since the array of post-it fileds is sorted by page and line number we will
// already get them in the correct order
USHORT nVirtPg = 0, nLineNo = 0, nLastPageNum = 0, nPhyPageNum = 0;
@@ -1415,7 +1415,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
{
_PostItFld& rPostIt = (_PostItFld&)*(*rData.m_pPostItFields)[ i ];
nLastPageNum = nPhyPageNum;
- nPhyPageNum = rPostIt.GetPageNo(
+ nPhyPageNum = rPostIt.GetPageNo(
aRangeEnum, rData.GetValidPagesSet(), nVirtPg, nLineNo );
if (nPhyPageNum)
{
@@ -1424,46 +1424,46 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
// post-it page needs to start on a new page
const bool bNewPage = nPostItMode == POSTITS_ENDPAGE &&
!bIsFirstPostIt && nPhyPageNum != nLastPageNum;
-
+
lcl_FormatPostIt( rData.m_pPostItShell->GetDoc(), aPam,
rPostIt.GetPostIt(), bNewPage, bIsFirstPostIt, nVirtPg, nLineNo );
bIsFirstPostIt = false;
-
+
if (nPostItMode == POSTITS_ENDPAGE)
{
// get the correct number of current pages for the post-it document
rData.m_pPostItShell->CalcLayout();
const sal_Int32 nPages = rData.m_pPostItDoc->GetPageCount();
aPostItLastStartPageNum[ nPhyPageNum ] = nPages;
- }
+ }
}
}
-
+
// format post-it doc to get correct number of pages
rData.m_pPostItShell->CalcLayout();
const sal_Int32 nPostItDocPageCount = rData.m_pPostItDoc->GetPageCount();
if (nPostItMode == POSTITS_ONLY || nPostItMode == POSTITS_ENDDOC)
{
- // now add those post-it pages to the vector of pages to print
+ // now add those post-it pages to the vector of pages to print
// or replace them if only post-its should be printed
-
+
rData.GetPostItStartFrames().clear();
if (nPostItMode == POSTITS_ENDDOC)
{
// set all values up to number of pages to print currently known to NULL,
- // meaning none of the pages currently in the vector is from the
+ // meaning none of the pages currently in the vector is from the
// post-it document, they are the documents pages.
rData.GetPostItStartFrames().resize( rData.GetPagesToPrint().size() );
- }
+ }
else if (nPostItMode == POSTITS_ONLY)
{
// no document page to be printed
rData.GetPagesToPrint().clear();
}
-
+
// now we just need to add the post-it pages to be printed to the end
- // of the vector of pages to print and keep the GetValidStartFrames
+ // of the vector of pages to print and keep the GetValidStartFrames
// data conform with it
sal_Int32 nPageNum = 0;
const SwPageFrm * pPageFrm = (SwPageFrm*)rData.m_pPostItShell->GetLayout()->Lower();
@@ -1477,7 +1477,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
pPageFrm = (SwPageFrm*)pPageFrm->GetNext();
}
DBG_ASSERT( nPageNum == nPostItDocPageCount, "unexpected number of pages" );
- }
+ }
else if (nPostItMode == POSTITS_ENDPAGE)
{
// the next step is to find all the start frames from the post-it
@@ -1495,10 +1495,10 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
aAllPostItStartFrames.push_back( pPageFrm );
pPageFrm = (SwPageFrm*)pPageFrm->GetNext();
}
- DBG_ASSERT( sal_Int32(aAllPostItStartFrames.size()) == nPostItDocPageCount,
+ DBG_ASSERT( sal_Int32(aAllPostItStartFrames.size()) == nPostItDocPageCount,
"unexpected number of frames; does not match number of pages" );
-
- // get a map that holds all post-it frames to be printed for a
+
+ // get a map that holds all post-it frames to be printed for a
// given physical page from the document
sal_Int32 nLastStartPageNum = 0;
std::map< sal_Int32, sal_Int32 >::const_iterator aIt;
@@ -1513,7 +1513,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
for (sal_Int32 i = 0; i < nFrames; ++i)
{
const sal_Int32 nIdx = nFirstStartPageNum - 1 + i; // -1 because lowest page num is 1
- DBG_ASSERT( 0 <= nIdx && nIdx < sal_Int32(aAllPostItStartFrames.size()),
+ DBG_ASSERT( 0 <= nIdx && nIdx < sal_Int32(aAllPostItStartFrames.size()),
"index out of range" );
aStartFrames.push_back( aAllPostItStartFrames[ nIdx ] );
}
@@ -1521,12 +1521,12 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
nLastStartPageNum = aIt->second;
}
-
- // ok, now that aPhysPageToPostItFrames can give the start frames for all
+
+ // ok, now that aPhysPageToPostItFrames can give the start frames for all
// post-it pages to be printed we need to merge those at the correct
// position into the GetPagesToPrint vector and build and maintain the
// GetValidStartFrames vector as well.
- // Since inserting a larger number of entries in the middle of a vector
+ // Since inserting a larger number of entries in the middle of a vector
// isn't that efficient we will create new vectors by copying the required data
std::vector< sal_Int32 > aTmpPagesToPrint;
std::vector< const SwPageFrm * > aTmpPostItStartFrames;
@@ -1537,7 +1537,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
const sal_Int32 nPhysPage = rData.GetPagesToPrint()[i];
aTmpPagesToPrint.push_back( nPhysPage );
aTmpPostItStartFrames.push_back( NULL );
-
+
// add the post-it document pages to print, i.e those
// post-it pages that have the data for the above physical page
const std::vector< const SwPageFrm * > &rPostItFrames = aPhysPageToPostItFrames[ nPhysPage ];
@@ -1546,7 +1546,7 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
{
aTmpPagesToPrint.push_back( 0 );
aTmpPostItStartFrames.push_back( rPostItFrames[k] );
- }
+ }
}
// finally we need to assign those vectors to the resulting ones.
@@ -1554,12 +1554,12 @@ void SwDoc::UpdatePagesForPrintingWithPostItData(
// we won't need the temporary vectors anymore
rData.GetPagesToPrint().swap( aTmpPagesToPrint );
rData.GetPostItStartFrames().swap( aTmpPostItStartFrames );
- }
- }
+ }
+ }
}
-void SwDoc::CalculatePagePairsForProspectPrinting(
- /* out */ SwRenderData &rData,
+void SwDoc::CalculatePagePairsForProspectPrinting(
+ /* out */ SwRenderData &rData,
const SwPrintUIOptions &rOptions,
sal_Int32 nDocPageCount )
{
@@ -1567,13 +1567,13 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
std::set< sal_Int32 > &rValidPagesSet = rData.GetValidPagesSet();
std::map< sal_Int32, const SwPageFrm * > &rValidStartFrms = rData.GetValidStartFrames();
std::vector< std::pair< sal_Int32, sal_Int32 > > &rPagePairs = rData.GetPagePairsForProspectPrinting();
-
+
rPagePairs.clear();
rValidPagesSet.clear();
rValidStartFrms.clear();
rtl::OUString aPageRange = rOptions.getStringValue( "PageRange", rtl::OUString() );
- // PageContent :
+ // PageContent :
// 0 -> print all pages (default if aPageRange is empty)
// 1 -> print range according to PageRange
// 2 -> print selection
@@ -1598,7 +1598,7 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
if ( !pStPage ) // dann wars das
return;
- // currently for prospect printing all pages are valid to be printed
+ // currently for prospect printing all pages are valid to be printed
// thus we add them all to the respective map and set for later use
sal_Int32 nPageNum = 0;
const SwPageFrm *pPageFrm = (SwPageFrm*)pLayout->Lower();
@@ -1622,11 +1622,11 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
bool bPrintProspectRTL = rOptions.getIntValue( "PrintProspectRTL", 0 ) ? true : false;
// get pages for prospect printing according to the 'PageRange'
- // (duplicates and any order allowed!)
+ // (duplicates and any order allowed!)
std::vector< sal_Int32 > aPagesToPrint;
- StringRangeEnumerator::getRangesFromString(
+ StringRangeEnumerator::getRangesFromString(
aPageRange, aPagesToPrint, 1, nDocPageCount, 0 );
-
+
// now fill the vector for calculating the page pairs with the start frames
// from the above obtained vector
std::vector< const SwPageFrm * > aVec;
@@ -1638,7 +1638,7 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
}
// just one page is special ...
- if ( 1 == aVec.size() )
+ if ( 1 == aVec.size() )
aVec.insert( aVec.begin() + 1, 0 ); // insert a second empty page
else
{
@@ -1700,7 +1700,7 @@ void SwDoc::CalculatePagePairsForProspectPrinting(
}
DBG_ASSERT( size_t(nCntPage) == rPagePairs.size(), "size mismatch for number of page pairs" );
- // luckily prospect printing does not make use of post-its so far,
+ // luckily prospect printing does not make use of post-its so far,
// thus we are done here.
}
@@ -1718,14 +1718,14 @@ const Size SwDoc::GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const
(GetRootFrm()->Lower());
while ( --nPageNum && pPage->GetNext() )
- {
+ {
pPage = static_cast<const SwPageFrm*>( pPage->GetNext() );
}
// switch to next page for an empty page, if empty pages are not skipped
// in order to get a sensible page size for an empty page - e.g. for printing.
if ( !bSkipEmptyPages && pPage->IsEmptyPage() && pPage->GetNext() )
- {
+ {
pPage = static_cast<const SwPageFrm*>( pPage->GetNext() );
}
@@ -1735,7 +1735,7 @@ const Size SwDoc::GetPageSize( sal_uInt16 nPageNum, bool bSkipEmptyPages ) const
}
/*************************************************************************
- * void UpdateDocStat( const SwDocStat& rStat );
+ * void UpdateDocStat( const SwDocStat& rStat );
*************************************************************************/
void SwDoc::UpdateDocStat( SwDocStat& rStat )
{
@@ -1752,10 +1752,10 @@ void SwDoc::UpdateDocStat( SwDocStat& rStat )
case ND_TEXTNODE:
((SwTxtNode*)pNd)->CountWords( rStat, 0, ((SwTxtNode*)pNd)->GetTxt().Len() );
break;
- case ND_TABLENODE: ++rStat.nTbl; break;
- case ND_GRFNODE: ++rStat.nGrf; break;
- case ND_OLENODE: ++rStat.nOLE; break;
- case ND_SECTIONNODE: break;
+ case ND_TABLENODE: ++rStat.nTbl; break;
+ case ND_GRFNODE: ++rStat.nGrf; break;
+ case ND_OLENODE: ++rStat.nOLE; break;
+ case ND_SECTIONNODE: break;
}
}
@@ -1777,7 +1777,7 @@ void SwDoc::UpdateDocStat( SwDocStat& rStat )
}
}
- rStat.nPage = GetRootFrm() ? GetRootFrm()->GetPageNum() : 0;
+ rStat.nPage = GetRootFrm() ? GetRootFrm()->GetPageNum() : 0;
rStat.bModified = FALSE;
SetDocStat( rStat );
@@ -1878,7 +1878,7 @@ const SwFmtRefMark* SwDoc::GetRefMark( USHORT nIndex ) const
// returne die Namen aller im Doc gesetzten Referenzen
//JP 24.06.96: Ist der ArrayPointer 0 dann returne nur, ob im Doc. eine
-// RefMark gesetzt ist
+// RefMark gesetzt ist
// OS 25.06.96: ab jetzt wird immer die Anzahl der Referenzen returnt
USHORT SwDoc::GetRefMarks( SvStringsDtor* pNames ) const
{
@@ -1959,8 +1959,8 @@ void SwDoc::SetModified()
SwLayouter::ClearMoveBwdLayoutInfo( *this );
// <--
// dem Link wird der Status returnt, wie die Flags waren und werden
- // Bit 0: -> alter Zustand
- // Bit 1: -> neuer Zustand
+ // Bit 0: -> alter Zustand
+ // Bit 1: -> neuer Zustand
long nCall = mbModified ? 3 : 2;
mbModified = TRUE;
pDocStat->bModified = TRUE;
@@ -1978,8 +1978,8 @@ void SwDoc::SetModified()
void SwDoc::ResetModified()
{
// dem Link wird der Status returnt, wie die Flags waren und werden
- // Bit 0: -> alter Zustand
- // Bit 1: -> neuer Zustand
+ // Bit 0: -> alter Zustand
+ // Bit 1: -> neuer Zustand
long nCall = mbModified ? 1 : 0;
mbModified = FALSE;
// If there is already a document statistic, we assume that
@@ -2052,14 +2052,14 @@ BOOL lcl_SpellAndGrammarAgain( const SwNodePtr& rpNd, void* pArgs )
BOOL lcl_CheckSmartTagsAgain( const SwNodePtr& rpNd, void* )
{
SwTxtNode *pTxtNode = (SwTxtNode*)rpNd->GetTxtNode();
-// BOOL bOnlyWrong = *(BOOL*)pArgs;
+// BOOL bOnlyWrong = *(BOOL*)pArgs;
if( pTxtNode )
{
pTxtNode->SetSmartTagDirty( true );
if( pTxtNode->GetSmartTags() )
{
// if ( bOnlyWrong ) // only some smart tag types have been enabled or disabled
-// pTxtNode->GetSmartTags()->SetInvalid( 0, STRING_LEN );
+// pTxtNode->GetSmartTags()->SetInvalid( 0, STRING_LEN );
// else // smart tags all have been enabled or disabled
pTxtNode->SetSmartTags( NULL );
}
@@ -2068,7 +2068,7 @@ BOOL lcl_CheckSmartTagsAgain( const SwNodePtr& rpNd, void* )
}
/*************************************************************************
- * SwDoc::SpellItAgainSam( BOOL bInvalid, BOOL bOnlyWrong )
+ * SwDoc::SpellItAgainSam( BOOL bInvalid, BOOL bOnlyWrong )
*
* stoesst das Spelling im Idle-Handler wieder an.
* Wird bInvalid als TRUE uebergeben, so werden zusaetzlich die WrongListen
@@ -2185,7 +2185,7 @@ void SwDoc::Summary( SwDoc* pExtDoc, BYTE nLevel, BYTE nPara, BOOL bImpress )
{
SwNode *pNode;
BOOL bDelete = FALSE;
- if( (pNode = &aIndx.GetNode())->IsTxtNode() )
+ if( (pNode = &aIndx.GetNode())->IsTxtNode() )
{
SwTxtNode *pNd = (SwTxtNode*)pNode;
if( pNd->HasSwAttrSet() )
@@ -2453,7 +2453,7 @@ BOOL SwDoc::ConvertFieldsToText()
SwPaM aPam2(*pTxtFld->GetpTxtNode(), *pTxtFld->GetStart());
aPam2.SetMark();
aPam2.Move();
- DeleteAndJoin(aPam2);//remove the field
+ DeleteAndJoin(aPam2);//remove the field
}
}
++aBegin;
@@ -2535,7 +2535,7 @@ bool SwDoc::EmbedAllLinks()
rLnkMgr.Remove( xLink );
if( nCount != rLnks.Count() + 1 )
- n = 0; // wieder von vorne anfangen, es wurden
+ n = 0; // wieder von vorne anfangen, es wurden
// mehrere Links entfernt
bRet = TRUE;
}
diff --git a/sw/source/core/doc/docbasic.cxx b/sw/source/core/doc/docbasic.cxx
index 8f7f374da5b8..fd18605015a6 100644
--- a/sw/source/core/doc/docbasic.cxx
+++ b/sw/source/core/doc/docbasic.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL SwDoc::ExecMacro( const SvxMacro& rMacro, String* pRet, SbxArray* pArgs )
USHORT SwDoc::CallEvent( USHORT nEvent, const SwCallMouseEvent& rCallEvent,
BOOL bCheckPtr, SbxArray* pArgs, const Link* )
{
- if( !pDocShell ) // ohne DocShell geht das nicht!
+ if( !pDocShell ) // ohne DocShell geht das nicht!
return 0;
USHORT nRet = 0;
@@ -169,7 +169,7 @@ USHORT SwDoc::CallEvent( USHORT nEvent, const SwCallMouseEvent& rCallEvent,
if( 0 != (pItem = GetAttrPool().GetItem( RES_TXTATR_INETFMT, n ) )
&& rCallEvent.PTR.pINetAttr == pItem )
{
- bCheckPtr = FALSE; // als Flag missbrauchen
+ bCheckPtr = FALSE; // als Flag missbrauchen
break;
}
}
@@ -185,7 +185,7 @@ USHORT SwDoc::CallEvent( USHORT nEvent, const SwCallMouseEvent& rCallEvent,
{
USHORT nPos = GetSpzFrmFmts()->GetPos( pFmt );
if( USHRT_MAX != nPos )
- bCheckPtr = FALSE; // als Flag missbrauchen
+ bCheckPtr = FALSE; // als Flag missbrauchen
}
if( !bCheckPtr )
pTbl = &pFmt->GetMacro().GetMacroTable();
@@ -206,7 +206,7 @@ USHORT SwDoc::CallEvent( USHORT nEvent, const SwCallMouseEvent& rCallEvent,
for( nPos = pIMap->GetIMapObjectCount(); nPos; )
if( pIMapObj == pIMap->GetIMapObject( --nPos ))
{
- bCheckPtr = FALSE; // als Flag missbrauchen
+ bCheckPtr = FALSE; // als Flag missbrauchen
break;
}
}
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 6b2148f0508d..9717586e0694 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -428,19 +428,19 @@ namespace sw { namespace mark
const rtl::OUString& rName,
const rtl::OUString& rType )
{
- sw::mark::IMark* pMark = makeMark( rPaM, rName,
+ sw::mark::IMark* pMark = makeMark( rPaM, rName,
IDocumentMarkAccess::TEXT_FIELDMARK );
sw::mark::IFieldmark* pFieldMark = dynamic_cast<sw::mark::IFieldmark*>( pMark );
pFieldMark->SetFieldname( rType );
return pFieldMark;
}
-
- ::sw::mark::IFieldmark* MarkManager::makeNoTextFieldBookmark( const SwPaM& rPaM,
- const rtl::OUString& rName,
+
+ ::sw::mark::IFieldmark* MarkManager::makeNoTextFieldBookmark( const SwPaM& rPaM,
+ const rtl::OUString& rName,
const rtl::OUString& rType)
{
- sw::mark::IMark* pMark = makeMark( rPaM, rName,
+ sw::mark::IMark* pMark = makeMark( rPaM, rName,
IDocumentMarkAccess::CHECKBOX_FIELDMARK );
sw::mark::IFieldmark* pFieldMark = dynamic_cast<sw::mark::IFieldmark*>( pMark );
pFieldMark->SetFieldname( rType );
@@ -869,20 +869,20 @@ namespace sw { namespace mark
namespace
{
// Aufbau vom Array: 2 longs,
- // 1. Long enthaelt Type und Position im DocArray,
- // 2. die ContentPosition
+ // 1. Long enthaelt Type und Position im DocArray,
+ // 2. die ContentPosition
//
- // CntntType --
- // 0x8000 = Bookmark Pos1
- // 0x8001 = Bookmark Pos2
- // 0x2000 = Absatzgebundener Rahmen
- // 0x2001 = Auto-Absatzgebundener Rahmen, der umgehaengt werden soll
- // 0x1000 = Redline Mark
- // 0x1001 = Redline Point
- // 0x0800 = Crsr aus der CrsrShell Mark
- // 0x0801 = Crsr aus der CrsrShell Point
- // 0x0400 = UnoCrsr Mark
- // 0x0401 = UnoCrsr Point
+ // CntntType --
+ // 0x8000 = Bookmark Pos1
+ // 0x8001 = Bookmark Pos2
+ // 0x2000 = Absatzgebundener Rahmen
+ // 0x2001 = Auto-Absatzgebundener Rahmen, der umgehaengt werden soll
+ // 0x1000 = Redline Mark
+ // 0x1001 = Redline Point
+ // 0x0800 = Crsr aus der CrsrShell Mark
+ // 0x0801 = Crsr aus der CrsrShell Point
+ // 0x0400 = UnoCrsr Mark
+ // 0x0401 = UnoCrsr Point
//
class _SwSaveTypeCountContent
@@ -911,21 +911,21 @@ namespace
rArr.Insert( nContent, rArr.Count() );
}
- void SetType( USHORT n ) { TYPECOUNT.TC.nType = n; }
- USHORT GetType() const { return TYPECOUNT.TC.nType; }
- void IncType() { ++TYPECOUNT.TC.nType; }
- void DecType() { --TYPECOUNT.TC.nType; }
+ void SetType( USHORT n ) { TYPECOUNT.TC.nType = n; }
+ USHORT GetType() const { return TYPECOUNT.TC.nType; }
+ void IncType() { ++TYPECOUNT.TC.nType; }
+ void DecType() { --TYPECOUNT.TC.nType; }
- void SetCount( USHORT n ) { TYPECOUNT.TC.nCount = n; }
- USHORT GetCount() const { return TYPECOUNT.TC.nCount; }
- USHORT IncCount() { return ++TYPECOUNT.TC.nCount; }
- USHORT DecCount() { return --TYPECOUNT.TC.nCount; }
+ void SetCount( USHORT n ) { TYPECOUNT.TC.nCount = n; }
+ USHORT GetCount() const { return TYPECOUNT.TC.nCount; }
+ USHORT IncCount() { return ++TYPECOUNT.TC.nCount; }
+ USHORT DecCount() { return --TYPECOUNT.TC.nCount; }
void SetTypeAndCount( USHORT nT, USHORT nC )
{ TYPECOUNT.TC.nCount = nC; TYPECOUNT.TC.nType = nT; }
- void SetContent( xub_StrLen n ) { nContent = n; }
- xub_StrLen GetContent() const { return nContent; }
+ void SetContent( xub_StrLen n ) { nContent = n; }
+ xub_StrLen GetContent() const { return nContent; }
};
// #i59534: If a paragraph will be splitted we have to restore some redline positions
diff --git a/sw/source/core/doc/docchart.cxx b/sw/source/core/doc/docchart.cxx
index 3a8f5b86c6d9..5ded86eb0ef4 100644
--- a/sw/source/core/doc/docchart.cxx
+++ b/sw/source/core/doc/docchart.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -172,7 +172,7 @@ void SwDoc::UpdateCharts( const String &rName ) const
void SwDoc::SetTableName( SwFrmFmt& rTblFmt, const String &rNewName )
{
-// BOOL bStop = 1;
+// BOOL bStop = 1;
const String aOldName( rTblFmt.GetName() );
diff --git a/sw/source/core/doc/doccomp.cxx b/sw/source/core/doc/doccomp.cxx
index 11030e68ea8a..f05f36a76dc7 100644
--- a/sw/source/core/doc/doccomp.cxx
+++ b/sw/source/core/doc/doccomp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +115,8 @@ public:
: 0;
}
- ULONG GetLineCount() const { return aLines.Count(); }
- ULONG GetLineOffset() const { return nSttLineNum; }
+ ULONG GetLineCount() const { return aLines.Count(); }
+ ULONG GetLineOffset() const { return nSttLineNum; }
const CompareLine* GetLine( ULONG nLine ) const
{ return aLines.GetObject( nLine ); }
void InsertLine( CompareLine* pLine )
@@ -330,7 +330,7 @@ static const ULONG primes[] =
8388593,
16777213,
33554393,
- 67108859, /* Preposterously large . . . */
+ 67108859, /* Preposterously large . . . */
134217689,
268435399,
536870909,
@@ -675,16 +675,16 @@ void Compare::CompareSequence::Compare( ULONG nStt1, ULONG nEnd1,
ULONG Compare::CompareSequence::CheckDiag( ULONG nStt1, ULONG nEnd1,
ULONG nStt2, ULONG nEnd2, ULONG* pCost )
{
- const long dmin = nStt1 - nEnd2; /* Minimum valid diagonal. */
- const long dmax = nEnd1 - nStt2; /* Maximum valid diagonal. */
- const long fmid = nStt1 - nStt2; /* Center diagonal of top-down search. */
- const long bmid = nEnd1 - nEnd2; /* Center diagonal of bottom-up search. */
+ const long dmin = nStt1 - nEnd2; /* Minimum valid diagonal. */
+ const long dmax = nEnd1 - nStt2; /* Maximum valid diagonal. */
+ const long fmid = nStt1 - nStt2; /* Center diagonal of top-down search. */
+ const long bmid = nEnd1 - nEnd2; /* Center diagonal of bottom-up search. */
- long fmin = fmid, fmax = fmid; /* Limits of top-down search. */
- long bmin = bmid, bmax = bmid; /* Limits of bottom-up search. */
+ long fmin = fmid, fmax = fmid; /* Limits of top-down search. */
+ long bmin = bmid, bmax = bmid; /* Limits of bottom-up search. */
- long c; /* Cost. */
- long odd = (fmid - bmid) & 1; /* True if southeast corner is on an odd
+ long c; /* Cost. */
+ long odd = (fmid - bmid) & 1; /* True if southeast corner is on an odd
diagonal with respect to the northwest. */
pFDiag[fmid] = nStt1;
@@ -692,7 +692,7 @@ ULONG Compare::CompareSequence::CheckDiag( ULONG nStt1, ULONG nEnd1,
for (c = 1;; ++c)
{
- long d; /* Active diagonal. */
+ long d; /* Active diagonal. */
long big_snake = 0;
/* Extend the top-down search by an edit step in each diagonal. */
@@ -1030,11 +1030,11 @@ BOOL SwCompareLine::CompareNode( const SwNode& rDstNd, const SwNode& rSrcNd )
// the same type of TOX?
const SwTOXBase* pSrcTOX = rSrcSect.GetTOXBase();
const SwTOXBase* pDstTOX = rDstSect.GetTOXBase();
- bRet = pSrcTOX && pDstTOX
+ bRet = pSrcTOX && pDstTOX
&& pSrcTOX->GetType() == pDstTOX->GetType()
&& pSrcTOX->GetTitle() == pDstTOX->GetTitle()
&& pSrcTOX->GetTypeName() == pDstTOX->GetTypeName()
-// && pSrcTOX->GetTOXName() == pDstTOX->GetTOXName()
+// && pSrcTOX->GetTOXName() == pDstTOX->GetTOXName()
;
}
break;
@@ -1103,7 +1103,7 @@ String SwCompareLine::GetText() const
if( pTOX )
sRet.Append( pTOX->GetTitle() )
.Append( pTOX->GetTypeName() )
-// .Append( pTOX->GetTOXName() )
+// .Append( pTOX->GetTOXName() )
.Append( String::CreateFromInt32( pTOX->GetType() ));
}
break;
@@ -1416,7 +1416,7 @@ void SwCompareData::SetRedlinesToDoc( BOOL bUseDocInfo )
SwPaM* pTmp = pDelRing;
// Bug #83296#: get the Author / TimeStamp from the "other"
- // document info
+ // document info
USHORT nAuthor = rDoc.GetRedlineAuthor();
DateTime aTimeStamp;
SwDocShell *pDocShell(rDoc.GetDocShell());
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx
index b68d512d1aa0..67f83f0f42f0 100644
--- a/sw/source/core/doc/doccorr.cxx
+++ b/sw/source/core/doc/doccorr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -122,9 +122,9 @@ namespace
const SwPosition& rEnd,
const SwPosition& rNewPos)
{
- for(int nb = 0; nb < 2; ++nb)
- if(rStart <= (pPam)->GetBound(BOOL(nb)) &&
- (pPam)->GetBound(BOOL(nb)) <= rEnd )
+ for(int nb = 0; nb < 2; ++nb)
+ if(rStart <= (pPam)->GetBound(BOOL(nb)) &&
+ (pPam)->GetBound(BOOL(nb)) <= rEnd )
(pPam)->GetBound(BOOL(nb)) = rNewPos;
};
@@ -139,7 +139,7 @@ namespace
(pPam)->GetBound(BOOL(nb)).nNode = rNewPos.nNode;
(pPam)->GetBound(BOOL(nb)).nContent.Assign(
const_cast<SwIndexReg*>(rNewPos.nContent.GetIdxReg()),
- nCntIdx + (pPam)->GetBound(BOOL(nb)).nContent.GetIndex());
+ nCntIdx + (pPam)->GetBound(BOOL(nb)).nContent.GetIndex());
}
}
}
diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx
index 6959e2880877..1b6c2e3c3aca 100644
--- a/sw/source/core/doc/docdde.cxx
+++ b/sw/source/core/doc/docdde.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +38,15 @@
#define _SVSTDARR_STRINGS
#include <svl/svstdarr.hxx>
-#include <sfx2/linkmgr.hxx> // LinkManager
+#include <sfx2/linkmgr.hxx> // LinkManager
#include <unotools/charclass.hxx>
#include <fmtcntnt.hxx>
#include <doc.hxx>
-#include <swserv.hxx> // fuer Server-Funktionalitaet
+#include <swserv.hxx> // fuer Server-Funktionalitaet
#include <IMark.hxx>
#include <bookmrk.hxx>
-#include <section.hxx> // fuer SwSectionFmt
-#include <swtable.hxx> // fuer SwTable
+#include <section.hxx> // fuer SwSectionFmt
+#include <swtable.hxx> // fuer SwTable
#include <node.hxx>
#include <ndtxt.hxx>
#include <pam.hxx>
@@ -115,20 +115,20 @@ BOOL lcl_FindSection( const SwSectionFmtPtr& rpSectFmt, void* pArgs, bool bCaseS
pItem->pSectNd = pIdx->GetNode().GetSectionNode();
return FALSE;
}
-//nein!! // sollte der Namen schon passen, der Rest aber nicht, dann haben wir
+//nein!! // sollte der Namen schon passen, der Rest aber nicht, dann haben wir
// sie nicht. Die Namen sind immer eindeutig.
}
}
- return TRUE; // dann weiter
+ return TRUE; // dann weiter
}
BOOL lcl_FindSectionCaseSensitive( const SwSectionFmtPtr& rpSectFmt, void* pArgs )
{
return lcl_FindSection( rpSectFmt, pArgs, true );
-}
+}
BOOL lcl_FindSectionCaseInsensitive( const SwSectionFmtPtr& rpSectFmt, void* pArgs )
{
return lcl_FindSection( rpSectFmt, pArgs, false );
-}
+}
@@ -150,10 +150,10 @@ BOOL lcl_FindTable( const SwFrmFmtPtr& rpTableFmt, void* pArgs )
pFBox->GetSttNd()->FindTableNode();
return FALSE;
}
-//nein! // sollte der Namen schon passen, der Rest aber nicht, dann haben wir
+//nein! // sollte der Namen schon passen, der Rest aber nicht, dann haben wir
// sie nicht. Die Namen sind immer eindeutig.
}
- return TRUE; // dann weiter
+ return TRUE; // dann weiter
}
@@ -166,7 +166,7 @@ bool SwDoc::GetData( const String& rItem, const String& rMimeType,
while( true )
{
::sw::mark::DdeBookmark* const pBkmk = lcl_FindDdeBookmark(*pMarkManager, rItem, bCaseSensitive);
- if(pBkmk)
+ if(pBkmk)
return SwServerObject(*pBkmk).GetData(rValue, rMimeType);
// haben wir ueberhaupt das Item vorraetig?
@@ -179,7 +179,7 @@ bool SwDoc::GetData( const String& rItem, const String& rMimeType,
// gefunden, als erfrage die Daten
return SwServerObject( *aPara.pSectNd ).GetData( rValue, rMimeType );
}
- if( !bCaseSensitive )
+ if( !bCaseSensitive )
break;
bCaseSensitive = false;
}
@@ -205,7 +205,7 @@ bool SwDoc::SetData( const String& rItem, const String& rMimeType,
while( true )
{
::sw::mark::DdeBookmark* const pBkmk = lcl_FindDdeBookmark(*pMarkManager, rItem, bCaseSensitive);
- if(pBkmk)
+ if(pBkmk)
return SwServerObject(*pBkmk).SetData(rMimeType, rValue);
// haben wir ueberhaupt das Item vorraetig?
@@ -217,7 +217,7 @@ bool SwDoc::SetData( const String& rItem, const String& rMimeType,
// gefunden, als erfrage die Daten
return SwServerObject( *aPara.pSectNd ).SetData( rMimeType, rValue );
}
- if( !bCaseSensitive )
+ if( !bCaseSensitive )
break;
bCaseSensitive = false;
}
@@ -248,12 +248,12 @@ bool SwDoc::SetData( const String& rItem, const String& rMimeType,
if(pBkmk && pBkmk->IsExpanded()
&& (0 == (pObj = pBkmk->GetRefObject())))
{
- // mark found, but no link yet -> create hotlink
+ // mark found, but no link yet -> create hotlink
pObj = new SwServerObject(*pBkmk);
pBkmk->SetRefObject(pObj);
GetLinkManager().InsertServer(pObj);
- }
- if(pObj)
+ }
+ if(pObj)
return pObj;
_FindItem aPara(bCaseSensitive ? rItem : GetAppCharClass().lower(rItem));
@@ -262,25 +262,25 @@ bool SwDoc::SetData( const String& rItem, const String& rMimeType,
if(aPara.pSectNd
&& (0 == (pObj = aPara.pSectNd->GetSection().GetObject())))
{
- // section found, but no link yet -> create hotlink
+ // section found, but no link yet -> create hotlink
pObj = new SwServerObject( *aPara.pSectNd );
aPara.pSectNd->GetSection().SetRefObject( pObj );
GetLinkManager().InsertServer(pObj);
}
- if(pObj)
+ if(pObj)
return pObj;
- if( !bCaseSensitive )
+ if( !bCaseSensitive )
break;
bCaseSensitive = false;
}
_FindItem aPara( GetAppCharClass().lower(rItem) );
- // tables
+ // tables
((SwFrmFmts*)pTblFrmFmtTbl)->ForEach(0, pTblFrmFmtTbl->Count(), lcl_FindTable, &aPara);
if(aPara.pTblNd
&& (0 == (pObj = aPara.pTblNd->GetTable().GetObject())))
{
- // table found, but no link yet -> create hotlink
+ // table found, but no link yet -> create hotlink
pObj = new SwServerObject(*aPara.pTblNd);
aPara.pTblNd->GetTable().SetRefObject(pObj);
GetLinkManager().InsertServer(pObj);
@@ -341,7 +341,7 @@ BOOL SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
}
else if( sCmp.EqualsAscii( pMarkToRegion ) )
{
- sItem = sName; // wird unten behandelt !
+ sItem = sName; // wird unten behandelt !
bWeiter = TRUE;
}
else if( sCmp.EqualsAscii( pMarkToOutline ) )
@@ -365,7 +365,7 @@ BOOL SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
//GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
GetAttrOutlineLevel()-1;//<-end,zhaojianwei
++nTmpPos )
- ; // es gibt keinen Block
+ ; // es gibt keinen Block
if( nTmpPos < rOutlNds.Count() )
rpRange->aEnd = *rOutlNds[ nTmpPos ];
@@ -393,7 +393,7 @@ BOOL SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
return static_cast<bool>(rpPam);
}
- //
+ //
_FindItem aPara( bCaseSensitive ? sItem : rCC.lower( sItem ) );
if( pSectionFmtTbl->Count() )
@@ -408,7 +408,7 @@ BOOL SwDoc::SelectServerObj( const String& rStr, SwPaM*& rpPam,
}
}
- if( !bCaseSensitive )
+ if( !bCaseSensitive )
break;
bCaseSensitive = false;
}
diff --git a/sw/source/core/doc/docdesc.cxx b/sw/source/core/doc/docdesc.cxx
index 00a9fd604f5a..a5a4078f1a82 100644
--- a/sw/source/core/doc/docdesc.cxx
+++ b/sw/source/core/doc/docdesc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,8 +50,8 @@
#include <mdiexp.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <pagefrm.hxx> //Fuer DelPageDesc
-#include <rootfrm.hxx> //Fuer DelPageDesc
+#include <pagefrm.hxx> //Fuer DelPageDesc
+#include <rootfrm.hxx> //Fuer DelPageDesc
#include <ndtxt.hxx>
#include <frmtool.hxx>
#include <pagedesc.hxx>
@@ -136,10 +136,10 @@ static void lcl_DefaultPageFmt( sal_uInt16 nPoolFmtId,
/*************************************************************************
|*
-|* SwDoc::ChgPageDesc()
+|* SwDoc::ChgPageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 01. Mar. 95
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 01. Mar. 95
|*
|*************************************************************************/
@@ -220,7 +220,7 @@ void SwDoc::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
{
pDesc->SetNumType( rChged.GetNumType() );
// JP 30.03.99: Bug 64121 - den Seitennummernfeldern bescheid sagen,
- // das sich das Num-Format geaendert hat
+ // das sich das Num-Format geaendert hat
GetSysFldType( RES_PAGENUMBERFLD )->UpdateFlds();
GetSysFldType( RES_REFPAGEGETFLD )->UpdateFlds();
@@ -260,7 +260,7 @@ void SwDoc::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
pDesc->GetLeft().SetFmtAttr( pDesc->GetMaster().GetHeader() );
}
else if ( rHead.IsActive() )
- { //Left bekommt einen eigenen Header verpasst wenn das Format nicht
+ { //Left bekommt einen eigenen Header verpasst wenn das Format nicht
//bereits einen hat.
//Wenn er bereits einen hat und dieser auf die gleiche Section
//wie der Rechte zeigt, so muss er einen eigenen bekommen. Der
@@ -322,7 +322,7 @@ void SwDoc::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
//Left teilt sich den Header mit dem Master.
pDesc->GetLeft().SetFmtAttr( pDesc->GetMaster().GetFooter() );
else if ( rFoot.IsActive() )
- { //Left bekommt einen eigenen Footer verpasst wenn das Format nicht
+ { //Left bekommt einen eigenen Footer verpasst wenn das Format nicht
//bereits einen hat.
//Wenn er bereits einen hat und dieser auf die gleiche Section
//wie der Rechte zeigt, so muss er einen eigenen bekommen. Der
@@ -382,14 +382,14 @@ void SwDoc::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
bUseOn = TRUE;
}
if ( pDesc->GetFollow() != rChged.GetFollow() )
- { if ( rChged.GetFollow() == &rChged )
- { if ( pDesc->GetFollow() != pDesc )
- { pDesc->SetFollow( pDesc );
+ { if ( rChged.GetFollow() == &rChged )
+ { if ( pDesc->GetFollow() != pDesc )
+ { pDesc->SetFollow( pDesc );
bFollow = TRUE;
}
}
else
- { pDesc->SetFollow( rChged.pFollow );
+ { pDesc->SetFollow( rChged.pFollow );
bFollow = TRUE;
}
}
@@ -435,12 +435,12 @@ void SwDoc::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
/*************************************************************************
|*
-|* SwDoc::DelPageDesc()
+|* SwDoc::DelPageDesc()
|*
-|* Beschreibung Alle Descriptoren, deren Follow auf den zu loeschenden
-|* zeigen muessen angepasst werden.
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung JP 04.09.95
+|* Beschreibung Alle Descriptoren, deren Follow auf den zu loeschenden
+|* zeigen muessen angepasst werden.
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung JP 04.09.95
|*
|*************************************************************************/
@@ -489,7 +489,7 @@ void SwDoc::PreDelPageDesc(SwPageDesc * pDel)
aPageDescs[0]->Add( pLast );
}
}
- else //Es kann noch eine Undo-Kopie existieren
+ else //Es kann noch eine Undo-Kopie existieren
aPageDescs[0]->Add( pLast );
}
@@ -583,10 +583,10 @@ void SwDoc::DelPageDesc( USHORT i, BOOL bBroadcast )
/*************************************************************************
|*
-|* SwDoc::MakePageDesc()
+|* SwDoc::MakePageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 20. Aug. 93
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 20. Aug. 93
|*
|*************************************************************************/
@@ -651,9 +651,9 @@ SwPageDesc* SwDoc::FindPageDescByName( const String& rName, USHORT* pPos ) const
/******************************************************************************
* Methode : void SwDoc::PrtDataChanged()
- * Beschreibung:
- * Erstellt : OK 27.10.94 10:20
- * Aenderung : MA 26. Mar. 98
+ * Beschreibung:
+ * Erstellt : OK 27.10.94 10:20
+ * Aenderung : MA 26. Mar. 98
******************************************************************************/
void SwDoc::PrtDataChanged()
@@ -739,7 +739,7 @@ void SwDoc::PrtOLENotify( BOOL bAll )
ViewShell *pSh = GetRootFrm()->GetCurrShell();
if ( !pSh->ISA(SwFEShell) )
do
- { pSh = (ViewShell*)pSh->GetNext();
+ { pSh = (ViewShell*)pSh->GetNext();
} while ( !pSh->ISA(SwFEShell) &&
pSh != GetRootFrm()->GetCurrShell() );
diff --git a/sw/source/core/doc/docdraw.cxx b/sw/source/core/doc/docdraw.cxx
index 59e70d1fc36f..64a5913035c2 100644
--- a/sw/source/core/doc/docdraw.cxx
+++ b/sw/source/core/doc/docdraw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <swhints.hxx>
#include <doc.hxx>
#include <docsh.hxx>
-#include <rootfrm.hxx> //Damit der RootDtor gerufen wird.
+#include <rootfrm.hxx> //Damit der RootDtor gerufen wird.
#include <poolfmt.hxx>
#include <viewsh.hxx> // fuer MakeDrawView
#include <drawdoc.hxx>
#include <undobj.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <dcontact.hxx>
#include <dview.hxx>
#include <mvsave.hxx>
@@ -85,7 +85,7 @@ SV_IMPL_VARARR_SORT( _ZSortFlys, _ZSortFly )
/*************************************************************************
|*
-|* SwDoc::GroupSelection / SwDoc::UnGroupSelection
+|* SwDoc::GroupSelection / SwDoc::UnGroupSelection
|*
|*************************************************************************/
// local method to determine positioning and
@@ -424,10 +424,10 @@ void SwDoc::UnGroupSelection( SdrView& rDrawView )
/*************************************************************************
|*
-|* SwDoc::DeleteSelection()
+|* SwDoc::DeleteSelection()
|*
-|* Ersterstellung MA 14. Nov. 95
-|* Letzte Aenderung MA 14. Nov. 95
+|* Ersterstellung MA 14. Nov. 95
+|* Letzte Aenderung MA 14. Nov. 95
|*
|*************************************************************************/
@@ -479,7 +479,7 @@ BOOL SwDoc::DeleteSelection( SwDrawView& rDrawView )
if( !pObj->GetUpGroup() )
{
SwUndoDrawDelete* pUndo = !DoesUndo() ? 0
- : new SwUndoDrawDelete( (USHORT)rMrkList.GetMarkCount() );
+ : new SwUndoDrawDelete( (USHORT)rMrkList.GetMarkCount() );
//ContactObjekte vernichten, Formate sicherstellen.
for( i = 0; i < rMrkList.GetMarkCount(); ++i )
@@ -525,10 +525,10 @@ BOOL SwDoc::DeleteSelection( SwDrawView& rDrawView )
/*************************************************************************
|*
-|* SwDoc::DeleteSelection()
+|* SwDoc::DeleteSelection()
|*
-|* Ersterstellung JP 11.01.96
-|* Letzte Aenderung JP 11.01.96
+|* Ersterstellung JP 11.01.96
+|* Letzte Aenderung JP 11.01.96
|*
|*************************************************************************/
@@ -588,7 +588,7 @@ void SwDoc::InitDrawModel()
//dem Drawing nur mitgegeben. Im ReleaseDrawModel werden die Pools wieder
//zerstoert.
// 17.2.99: for Bug 73110 - for loading the drawing items. This must
- // be loaded without RefCounts!
+ // be loaded without RefCounts!
SfxItemPool *pSdrPool = new SdrItemPool( &GetAttrPool() );
// #75371# change DefaultItems for the SdrEdgeObj distance items
// to TWIPS.
@@ -624,10 +624,10 @@ void SwDoc::InitDrawModel()
String sLayerNm;
sLayerNm.AssignAscii(RTL_CONSTASCII_STRINGPARAM("Hell" ));
- nHell = pDrawModel->GetLayerAdmin().NewLayer( sLayerNm )->GetID();
+ nHell = pDrawModel->GetLayerAdmin().NewLayer( sLayerNm )->GetID();
sLayerNm.AssignAscii(RTL_CONSTASCII_STRINGPARAM("Heaven" ));
- nHeaven = pDrawModel->GetLayerAdmin().NewLayer( sLayerNm )->GetID();
+ nHeaven = pDrawModel->GetLayerAdmin().NewLayer( sLayerNm )->GetID();
sLayerNm.AssignAscii(RTL_CONSTASCII_STRINGPARAM("Controls" ));
nControls = pDrawModel->GetLayerAdmin().NewLayer( sLayerNm )->GetID();
@@ -660,7 +660,7 @@ void SwDoc::InitDrawModel()
SetCalcFieldValueHdl(&pDrawModel->GetHitTestOutliner());
//JP 16.07.98: Bug 50193 - Linkmanager am Model setzen, damit
- // dort ggfs. verlinkte Grafiken eingefuegt werden koennen
+ // dort ggfs. verlinkte Grafiken eingefuegt werden koennen
//JP 28.01.99: der WinWord Import benoetigt ihn auch
pDrawModel->SetLinkManager( &GetLinkManager() );
pDrawModel->SetAddExtLeading( get(IDocumentSettingAccess::ADD_EXT_LEADING) );
@@ -823,10 +823,10 @@ void SwDoc::ReleaseDrawModel()
OSL_ENSURE( pSdrPool, "missing Pool" );
SfxItemPool *pEEgPool = pSdrPool->GetSecondaryPool();
OSL_ENSURE( !pEEgPool->GetSecondaryPool(), "i don't accept additional pools");
- pSdrPool->Delete(); //Erst die Items vernichten lassen,
+ pSdrPool->Delete(); //Erst die Items vernichten lassen,
//dann erst die Verkettung loesen
- GetAttrPool().SetSecondaryPool( 0 ); //Der ist ein muss!
- pSdrPool->SetSecondaryPool( 0 ); //Der ist sicherer
+ GetAttrPool().SetSecondaryPool( 0 ); //Der ist ein muss!
+ pSdrPool->SetSecondaryPool( 0 ); //Der ist sicherer
SfxItemPool::Free(pSdrPool);
SfxItemPool::Free(pEEgPool);
}
diff --git a/sw/source/core/doc/docedt.cxx b/sw/source/core/doc/docedt.cxx
index 5b2b3b7bcf69..26d376901553 100644
--- a/sw/source/core/doc/docedt.cxx
+++ b/sw/source/core/doc/docedt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-#include <string.h> // fuer strchr()
+#include <string.h> // fuer strchr()
#include <hintids.hxx>
#include <vcl/sound.hxx>
@@ -44,25 +44,25 @@
#include <fmtcntnt.hxx>
#include <fmtpdsc.hxx>
#include <txtftn.hxx>
-#include <acorrect.hxx> // Autokorrektur
-#include <IMark.hxx> // fuer SwBookmark
-#include <cntfrm.hxx> // fuers Spell
+#include <acorrect.hxx> // Autokorrektur
+#include <IMark.hxx> // fuer SwBookmark
+#include <cntfrm.hxx> // fuers Spell
#include <crsrsh.hxx>
#include <doc.hxx>
#include <docsh.hxx>
#include <docary.hxx>
-#include <doctxm.hxx> // beim Move: Verzeichnisse korrigieren
+#include <doctxm.hxx> // beim Move: Verzeichnisse korrigieren
#include <ftnidx.hxx>
#include <ftninfo.hxx>
-#include <mdiexp.hxx> // Statusanzeige
-#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
+#include <mdiexp.hxx> // Statusanzeige
+#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
#include <ndtxt.hxx>
#include <pam.hxx>
#include <redline.hxx>
-#include <rootfrm.hxx> // fuers UpdateFtn
-#include <splargs.hxx> // fuer Spell
+#include <rootfrm.hxx> // fuers UpdateFtn
+#include <splargs.hxx> // fuer Spell
#include <swtable.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <txtfrm.hxx>
#include <undobj.hxx>
#include <breakit.hxx>
@@ -284,7 +284,7 @@ void _SaveFlyInRange( const SwPaM& rPam, const SwNodeIndex& rInsPos,
SwFmtAnchor aAnchor( *pAnchor );
aAnchor.SetAnchor( &aPos );
pFmt->SetFmtAttr( aAnchor );
-// ((SwFmtAnchor*)pAnchor)->SetAnchor( &aPos );
+// ((SwFmtAnchor*)pAnchor)->SetAnchor( &aPos );
}
}
else if( ( rSttNdIdx.GetIndex() + nSttOff <= pAPos->nNode.GetIndex()
@@ -392,7 +392,7 @@ bool lcl_SaveFtn( const SwNodeIndex& rSttNd, const SwNodeIndex& rEndNd,
nFtnSttIdx >= pEndCnt->GetIndex() ))
: ( &rEndNd.GetNode() == pFtnNd ))
{
- ++nPos; // weiter suchen
+ ++nPos; // weiter suchen
}
else
{
@@ -593,7 +593,7 @@ void lcl_SaveRedlines( const SwNodeRange& rRg, _SaveRedlines& rArr )
pTmpPos->nNode.GetNode().GetCntntNode(), 0 );
_SaveRedline* pSave = new _SaveRedline( pNewRedl, rRg.aStart );
-// rArr.Insert( pSave, rArr.Count() );
+// rArr.Insert( pSave, rArr.Count() );
rArr.C40_INSERT( _SaveRedline, pSave, rArr.Count() );
pTmpPos = pTmp->End();
@@ -617,7 +617,7 @@ void lcl_SaveRedlines( const SwNodeRange& rRg, _SaveRedlines& rArr )
{
// gesamt verschieben
_SaveRedline* pSave = new _SaveRedline( pTmp, rRg.aStart );
-// rArr.Insert( pSave, rArr.Count() );
+// rArr.Insert( pSave, rArr.Count() );
rArr.C40_INSERT( _SaveRedline, pSave, rArr.Count() );
}
else
@@ -630,7 +630,7 @@ void lcl_SaveRedlines( const SwNodeRange& rRg, _SaveRedlines& rArr )
pTmpPos->nNode.GetNode().GetCntntNode(), 0 );
_SaveRedline* pSave = new _SaveRedline( pNewRedl, rRg.aStart );
-// rArr.Insert( pSave, rArr.Count() );
+// rArr.Insert( pSave, rArr.Count() );
rArr.C40_INSERT( _SaveRedline, pSave, rArr.Count() );
pTmpPos = pTmp->Start();
@@ -744,12 +744,12 @@ void SwDoc::SetModified(SwPaM &rPaM)
}
/*************************************************************************
- * SwDoc::Overwrite()
+ * SwDoc::Overwrite()
************************************************************************/
bool SwDoc::Overwrite( const SwPaM &rRg, const String &rStr )
{
SwPosition& rPt = *(SwPosition*)rRg.GetPoint();
- if( pACEWord ) // Aufnahme in die Autokorrektur
+ if( pACEWord ) // Aufnahme in die Autokorrektur
{
if( 1 == rStr.Len() )
pACEWord->CheckChar( rPt, rStr.GetChar( 0 ) );
@@ -850,7 +850,7 @@ bool SwDoc::MoveAndJoin( SwPaM& rPaM, SwPosition& rPos, SwMoveFlags eMvFlags )
SwNodeIndex aIdx( rPaM.Start()->nNode );
sal_Bool bJoinTxt = aIdx.GetNode().IsTxtNode();
sal_Bool bOneNode = rPaM.GetPoint()->nNode == rPaM.GetMark()->nNode;
- aIdx--; // vor den Move Bereich !!
+ aIdx--; // vor den Move Bereich !!
bool bRet = MoveRange( rPaM, rPos, eMvFlags );
if( bRet && !bOneNode )
@@ -1009,7 +1009,7 @@ bool SwDoc::MoveRange( SwPaM& rPaM, SwPosition& rPos, SwMoveFlags eMvFlags )
"PaM wurde nicht verschoben, am Anfang/Ende keine ContentNodes?" );
*aSavePam.GetMark() = rPos;
- rPaM.SetMark(); // um den neuen Bereich eine Sel. aufspannen
+ rPaM.SetMark(); // um den neuen Bereich eine Sel. aufspannen
pTNd = aSavePam.GetNode()->GetTxtNode();
if( DoesUndo() )
{
@@ -1046,7 +1046,7 @@ bool SwDoc::MoveRange( SwPaM& rPaM, SwPosition& rPos, SwMoveFlags eMvFlags )
}
bJoin = sal_False;
}
-// else if( !bCorrSavePam && !pSavePam->Move( fnMoveForward, fnGoCntnt ))
+// else if( !bCorrSavePam && !pSavePam->Move( fnMoveForward, fnGoCntnt ))
else if ( !aSavePam.Move( fnMoveForward, fnGoCntnt ) )
{
aSavePam.GetPoint()->nNode++;
@@ -1191,7 +1191,7 @@ bool SwDoc::MoveNodeRange( SwNodeRange& rRange, SwNodeIndex& rPos,
BOOL bNoDelFrms = 0 != (DOC_NO_DELFRMS & eMvFlags);
if( GetNodes()._MoveNodes( rRange, GetNodes(), rPos, !bNoDelFrms ) )
{
- aIdx++; // wieder auf alte Position
+ aIdx++; // wieder auf alte Position
if( pSaveInsPos )
(*pSaveInsPos)++;
}
@@ -1502,7 +1502,7 @@ bool lcl_DoWithBreaks(SwDoc & rDoc, SwPaM & rPam,
// N.B.: deletion must be split into several parts if the text node
// contains a text attribute with end and with dummy character
// and the selection does not contain the text attribute completely,
- // but overlaps its start (left), where the dummy character is.
+ // but overlaps its start (left), where the dummy character is.
SwPosition const & rSelectionEnd( *rPam.End() );
@@ -1661,9 +1661,9 @@ bool SwDoc::DeleteRangeImplImpl(SwPaM & rPam)
}
{
- // Bug 26675: DataChanged vorm loeschen verschicken, dann bekommt
- // man noch mit, welche Objecte sich im Bereich befinden.
- // Danach koennen sie vor/hinter der Position befinden.
+ // Bug 26675: DataChanged vorm loeschen verschicken, dann bekommt
+ // man noch mit, welche Objecte sich im Bereich befinden.
+ // Danach koennen sie vor/hinter der Position befinden.
SwDataChanged aTmp( rPam, 0 );
}
@@ -1701,7 +1701,7 @@ bool SwDoc::DeleteRangeImplImpl(SwPaM & rPam)
SwNodeIndex aSttIdx( pStt->nNode );
SwCntntNode * pCNd = aSttIdx.GetNode().GetCntntNode();
- do { // middle checked loop!
+ do { // middle checked loop!
if( pCNd )
{
SwTxtNode * pStartTxtNode( pCNd->GetTxtNode() );
@@ -1725,7 +1725,7 @@ bool SwDoc::DeleteRangeImplImpl(SwPaM & rPam)
}
}
- if( bOneNd ) // das wars schon
+ if( bOneNd ) // das wars schon
break;
aSttIdx++;
@@ -2079,7 +2079,7 @@ SwHyphArgs::SwHyphArgs( const SwPaM *pPam, const Point &rCrsrPos,
inline void SwHyphArgs::SetRange( const SwNode *pNew )
{
nStart = pStart == pNew ? nPamStart : 0;
- nLen = pEnd == pNew ? nPamLen : STRING_NOTFOUND;
+ nLen = pEnd == pNew ? nPamLen : STRING_NOTFOUND;
}
void SwHyphArgs::SetPam( SwPaM *pPam ) const
@@ -2151,7 +2151,7 @@ uno::Reference< XHyphenatedWord > SwDoc::Hyphenate(
GetNodes().ForEach( pPam->GetPoint()->nNode, aTmpIdx,
lcl_HyphenateNode, &aHyphArg );
aHyphArg.SetPam( pPam );
- return aHyphArg.GetHyphWord(); // will be set by lcl_HyphenateNode
+ return aHyphArg.GetHyphWord(); // will be set by lcl_HyphenateNode
}
sal_Bool lcl_GetTokenToParaBreak( String& rStr, String& rRet, sal_Bool bRegExpRplc )
@@ -2222,7 +2222,7 @@ bool SwDoc::ReplaceRange( SwPaM& rPam, const String& rStr,
// N.B.: deletion must be split into several parts if the text node
// contains a text attribute with end and with dummy character
// and the selection does not contain the text attribute completely,
- // but overlaps its start (left), where the dummy character is.
+ // but overlaps its start (left), where the dummy character is.
bool bRet( true );
// iterate from end to start, to avoid invalidating the offsets!
@@ -2323,7 +2323,7 @@ bool SwDoc::ReplaceRangeImpl( SwPaM& rPam, const String& rStr,
{
// Attribute des 1. Zeichens ueber den ReplaceText setzen
SfxItemSet aSet( GetAttrPool(),
- RES_CHRATR_BEGIN, RES_TXTATR_WITHEND_END - 1,
+ RES_CHRATR_BEGIN, RES_TXTATR_WITHEND_END - 1,
RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1,
0 );
pTxtNd->GetAttr( aSet, nStt+1, nStt+1 );
@@ -2530,10 +2530,10 @@ bool SwDoc::DelFullPara( SwPaM& rPam )
{
SwFrmFmt* pTableFmt = pTblNd->GetTable().GetFrmFmt();
//JP 24.08.98: will man wirklich den PageDesc/Break vom
-// nachfolgen Absatz ueberbuegeln?
-// const SwAttrSet& rAttrSet = pTableFmt->GetAttrSet();
-// if( SFX_ITEM_SET != rAttrSet.GetItemState( RES_PAGEDESC ) &&
-// SFX_ITEM_SET != rAttrSet.GetItemState( RES_BREAK ))
+// nachfolgen Absatz ueberbuegeln?
+// const SwAttrSet& rAttrSet = pTableFmt->GetAttrSet();
+// if( SFX_ITEM_SET != rAttrSet.GetItemState( RES_PAGEDESC ) &&
+// SFX_ITEM_SET != rAttrSet.GetItemState( RES_BREAK ))
{
const SfxPoolItem *pItem;
const SfxItemSet* pSet = ((SwCntntNode*)pNd)->GetpSwAttrSet();
@@ -2638,7 +2638,7 @@ bool SwDoc::DelFullPara( SwPaM& rPam )
return sal_True;
}
-void SwDoc::TransliterateText(
+void SwDoc::TransliterateText(
const SwPaM& rPaM,
utl::TransliterationWrapper& rTrans )
{
@@ -2650,13 +2650,13 @@ void SwDoc::TransliterateText(
const SwPosition* pStt = rPaM.Start(),
* pEnd = rPaM.End();
- ULONG nSttNd = pStt->nNode.GetIndex(),
+ ULONG nSttNd = pStt->nNode.GetIndex(),
nEndNd = pEnd->nNode.GetIndex();
xub_StrLen nSttCnt = pStt->nContent.GetIndex(),
nEndCnt = pEnd->nContent.GetIndex();
SwTxtNode* pTNd = pStt->nNode.GetNode().GetTxtNode();
- if( pStt == pEnd && pTNd ) // no selection?
+ if( pStt == pEnd && pTNd ) // no selection?
{
// set current word as 'area of effect'
@@ -2713,7 +2713,7 @@ void SwDoc::TransliterateText(
SetModified();
}
-#define MAX_REDLINE_COUNT 250
+#define MAX_REDLINE_COUNT 250
void SwDoc::checkRedlining(RedlineMode_t& _rReadlineMode)
{
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 6aecde72872f..cfef5a9f7cab 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -85,9 +85,9 @@ SV_IMPL_OP_PTRARR_SORT( _SetGetExpFlds, _SetGetExpFldPtr )
Beschreibung: Feldtypen einfuegen
--------------------------------------------------------------------*/
/*
- * Implementierung der Feldfunktionen am Doc
- * Return immer einen gueltigen Pointer auf den Typ. Wenn er also neu
- * zugefuegt oder schon vorhanden ist.
+ * Implementierung der Feldfunktionen am Doc
+ * Return immer einen gueltigen Pointer auf den Typ. Wenn er also neu
+ * zugefuegt oder schon vorhanden ist.
*/
SwFieldType* SwDoc::InsertFldType(const SwFieldType &rFldTyp)
{
@@ -100,7 +100,7 @@ SwFieldType* SwDoc::InsertFldType(const SwFieldType &rFldTyp)
{
case RES_SETEXPFLD:
//JP 29.01.96: SequenceFelder beginnen aber bei INIT_FLDTYPES - 3!!
- // Sonst gibt es doppelte Nummernkreise!!
+ // Sonst gibt es doppelte Nummernkreise!!
//MIB 14.03.95: Ab sofort verlaesst sich auch der SW3-Reader
//beim Aufbau der String-Pools und beim Einlesen von SetExp-Feldern
//hierauf
@@ -169,7 +169,7 @@ void SwDoc::InsDeletedFldType( SwFieldType& rFldTyp )
// Array entfernt. Nun muss man nach diesem wieder suchen.
// - Ist der nicht vorhanden, dann kann er eingefuegt werden.
// - Wird genau der gleiche Typ gefunden, dann muss der geloeschte
- // einen anderen Namen erhalten.
+ // einen anderen Namen erhalten.
USHORT nSize = pFldTypes->Count(), nFldWhich = rFldTyp.Which();
USHORT i = INIT_FLDTYPES;
@@ -196,10 +196,10 @@ void SwDoc::InsDeletedFldType( SwFieldType& rFldTyp )
rSCmp.isEqual( sSrch, pFnd->GetName() ) )
break;
- if( i >= nSize ) // nicht gefunden
+ if( i >= nSize ) // nicht gefunden
{
((String&)rFldNm) = sSrch;
- break; // raus aus der While-Schleife
+ break; // raus aus der While-Schleife
}
++nNum;
} while( TRUE );
@@ -227,7 +227,7 @@ void SwDoc::InsDeletedFldType( SwFieldType& rFldTyp )
--------------------------------------------------------------------*/
void SwDoc::RemoveFldType(USHORT nFld)
{
- OSL_ENSURE( INIT_FLDTYPES <= nFld, "keine InitFields loeschen" );
+ OSL_ENSURE( INIT_FLDTYPES <= nFld, "keine InitFields loeschen" );
/*
* Abheangige Felder vorhanden -> ErrRaise
*/
@@ -290,7 +290,7 @@ SwFieldType* SwDoc::GetFldType( USHORT nResId, const String& rName,
{
case RES_SETEXPFLD:
//JP 29.01.96: SequenceFelder beginnen aber bei INIT_FLDTYPES - 3!!
- // Sonst gibt es doppelte Nummernkreise!!
+ // Sonst gibt es doppelte Nummernkreise!!
//MIB 14.03.95: Ab sofort verlaesst sich auch der SW3-Reader
//beim Aufbau der String-Pools und beim Einlesen von SetExp-Feldern
//hierauf
@@ -311,7 +311,7 @@ SwFieldType* SwDoc::GetFldType( USHORT nResId, const String& rName,
SwFieldType* pFldType = (*pFldTypes)[i];
String aFldName( pFldType->GetName() );
- if (bDbFieldMatching && nResId == RES_DBFLD) // #i51815#
+ if (bDbFieldMatching && nResId == RES_DBFLD) // #i51815#
aFldName.SearchAndReplaceAll(DB_DELIM, '.');
if( nResId == pFldType->Which() &&
@@ -325,11 +325,11 @@ SwFieldType* SwDoc::GetFldType( USHORT nResId, const String& rName,
}
/*************************************************************************
-|* SwDoc::UpdateFlds()
-|* Beschreibung Felder updaten
+|* SwDoc::UpdateFlds()
+|* Beschreibung Felder updaten
*************************************************************************/
/*
- * Alle sollen neu evaluiert werden.
+ * Alle sollen neu evaluiert werden.
*/
void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, bool bCloseDB )
{
@@ -346,7 +346,7 @@ void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, bool bCloseDB )
case RES_TABLEFLD:
case RES_DBFLD:
case RES_JUMPEDITFLD:
- case RES_REFPAGESETFLD: // werden nie expandiert!
+ case RES_REFPAGESETFLD: // werden nie expandiert!
break;
case RES_DDEFLD:
@@ -373,7 +373,7 @@ void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, bool bCloseDB )
}
if( !IsExpFldsLocked() )
- UpdateExpFlds( 0, FALSE ); // Expression-Felder Updaten
+ UpdateExpFlds( 0, FALSE ); // Expression-Felder Updaten
// Tabellen
UpdateTblFlds(pNewHt);
@@ -389,7 +389,7 @@ void SwDoc::UpdateFlds( SfxPoolItem *pNewHt, bool bCloseDB )
}
/******************************************************************************
- * void SwDoc::UpdateUsrFlds()
+ * void SwDoc::UpdateUsrFlds()
******************************************************************************/
void SwDoc::UpdateUsrFlds()
{
@@ -458,7 +458,7 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
case TBL_CALC:
// setze das Value-Flag zurueck
// JP 17.06.96: interne Darstellung auf alle Formeln
- // (Referenzen auf andere Tabellen!!!)
+ // (Referenzen auf andere Tabellen!!!)
if( nsSwExtendedSubType::SUB_CMD & pFld->GetSubType() )
pFld->PtrToBoxNm( pUpdtFld->pTbl );
else
@@ -473,7 +473,7 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
case TBL_BOXPTR:
// zur internen Darstellung
// JP 17.06.96: interne Darstellung auf alle Formeln
- // (Referenzen auf andere Tabellen!!!)
+ // (Referenzen auf andere Tabellen!!!)
pFld->BoxNmToPtr( pUpdtFld->pTbl );
break;
case TBL_RELBOXNAME:
@@ -520,9 +520,9 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
SwClientIter aIter( *pFldType );
// dann rechne mal schoen
// JP 27.03.97: Beim Berechnen am Ende anfangen - weil neue
- // Felder immer am Anfang der Modifykette eingefuegt
- // werden. Beim Import haben wir damit eine bessere/
- // schnellere Berechnung bei "Kettenformeln"
+ // Felder immer am Anfang der Modifykette eingefuegt
+ // werden. Beim Import haben wir damit eine bessere/
+ // schnellere Berechnung bei "Kettenformeln"
if( 0 != ( pLast = aIter.GoEnd() ))
do {
SwFmtFld* pFmtFld = (SwFmtFld*)pLast;
@@ -557,7 +557,7 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
if( pTblNd->GetIndex() < GetNodes().GetEndOfExtras().GetIndex() )
{
// steht im Sonderbereich, wird teuer !!
- Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
+ Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
pFrm = rTxtNd.GetFrm( &aPt );
if( pFrm )
{
@@ -623,7 +623,7 @@ void SwDoc::UpdateTblFlds( SfxPoolItem* pHt )
if( pTblNd->GetIndex() < GetNodes().GetEndOfExtras().GetIndex() )
{
// steht im Sonderbereich, wird teuer !!
- Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
+ Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
SwNodeIndex aCNdIdx( *pTblNd, +2 );
SwCntntNode* pCNd = aCNdIdx.GetNode().GetCntntNode();
if( !pCNd )
@@ -1318,7 +1318,7 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
{
//!SECTION
-// if( pGFld->IsInBodyTxt() )
+// if( pGFld->IsInBodyTxt() )
SwSbxValue aValue = aCalc.Calculate(
pSect->GetCondition() );
if(!aValue.IsVoidValue())
@@ -1384,9 +1384,9 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
// Wert fuer den Calculator setzen
//JP 10.02.96: GetValue macht hier doch keinen Sinn
-// ((SwDBField*)pFld)->GetValue();
+// ((SwDBField*)pFld)->GetValue();
-//!OK aCalc.VarChange(aName, ((SwDBField*)pFld)->GetValue(aCalc));
+//!OK aCalc.VarChange(aName, ((SwDBField*)pFld)->GetValue(aCalc));
// Eintrag in den HashTable eintragen
// Eintrag vorhanden ?
@@ -1409,7 +1409,7 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
case RES_GETEXPFLD:
case RES_SETEXPFLD:
{
- if( nsSwGetSetExpType::GSE_STRING & pFld->GetSubType() ) // String Ersetzung
+ if( nsSwGetSetExpType::GSE_STRING & pFld->GetSubType() ) // String Ersetzung
{
if( RES_GETEXPFLD == nWhich )
{
@@ -1430,8 +1430,8 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
LookString( pHashStrTbl, nStrFmtCnt,
pSFld->GetFormula(), aNew );
- if( !aNew.Len() ) // nichts gefunden, dann ist die
- aNew = pSFld->GetFormula(); // Formel der neue Wert
+ if( !aNew.Len() ) // nichts gefunden, dann ist die
+ aNew = pSFld->GetFormula(); // Formel der neue Wert
// nur ein spezielles FeldUpdaten ?
if( !pUpdtFld || pUpdtFld == pTxtFld )
@@ -1457,7 +1457,7 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
aCalc.VarChange( aNew, aValue );
}
}
- else // Formel neu berechnen
+ else // Formel neu berechnen
{
if( RES_GETEXPFLD == nWhich )
{
@@ -1516,15 +1516,15 @@ void SwDoc::UpdateExpFlds( SwTxtFld* pUpdtFld, bool bUpdRefFlds )
}
} // switch
- pFmtFld->Modify( 0, 0 ); // Formatierung anstossen
+ pFmtFld->Modify( 0, 0 ); // Formatierung anstossen
- if( pUpdtFld == pTxtFld ) // sollte nur dieses geupdatet werden
+ if( pUpdtFld == pTxtFld ) // sollte nur dieses geupdatet werden
{
- if( RES_GETEXPFLD == nWhich || // nur GetFeld oder
- RES_HIDDENTXTFLD == nWhich || // HiddenTxt?
- RES_HIDDENPARAFLD == nWhich) // HiddenParaFld?
- break; // beenden
- pUpdtFld = 0; // ab jetzt alle Updaten
+ if( RES_GETEXPFLD == nWhich || // nur GetFeld oder
+ RES_HIDDENTXTFLD == nWhich || // HiddenTxt?
+ RES_HIDDENPARAFLD == nWhich) // HiddenParaFld?
+ break; // beenden
+ pUpdtFld = 0; // ab jetzt alle Updaten
}
}
@@ -1573,7 +1573,7 @@ void SwDoc::UpdateDBNumFlds( SwDBNameInfField& rDBFld, SwCalc& rCalc )
}
}
-void SwDoc::_InitFieldTypes() // wird vom CTOR gerufen!!
+void SwDoc::_InitFieldTypes() // wird vom CTOR gerufen!!
{
// Feldtypen
USHORT nFldType = 0;
@@ -1609,7 +1609,7 @@ void SwDoc::_InitFieldTypes() // wird vom CTOR gerufen!!
// Types muessen am Ende stehen !!
// Im InsertFldType wird davon ausgegangen !!!!
// MIB 14.04.95: Im Sw3StringPool::Setup (sw3imp.cxx) und
- // lcl_sw3io_InSetExpField (sw3field.cxx) jetzt auch
+ // lcl_sw3io_InSetExpField (sw3field.cxx) jetzt auch
pFldTypes->Insert( new SwSetExpFieldType(this,
SW_RESSTR(STR_POOLCOLL_LABEL_ABB), nsSwGetSetExpType::GSE_SEQ), nFldType++);
pFldTypes->Insert( new SwSetExpFieldType(this,
@@ -1782,7 +1782,7 @@ void SwDoc::GetAllDBNames( SvStringsDtor& rAllDBNames )
{
SwDSParam* pParam = rArr[i];
String* pStr = new String( pParam->sDataSource );
- (*pStr) += DB_DELIM;
+ (*pStr) += DB_DELIM;
(*pStr) += (String)pParam->sCommand;
rAllDBNames.Insert( pStr, rAllDBNames.Count() );
}
@@ -1793,7 +1793,7 @@ SvStringsDtor& SwDoc::FindUsedDBs( const SvStringsDtor& rAllDBNames,
SvStringsDtor& rUsedDBNames )
{
const CharClass& rCC = GetAppCharClass();
- String sFormel( rFormel);
+ String sFormel( rFormel);
#ifndef UNX
rCC.toUpper( sFormel );
#endif
@@ -1904,7 +1904,7 @@ void SwDoc::ChangeDBFields( const SvStringsDtor& rOldNames,
SwDBFieldType* pTyp = (SwDBFieldType*)InsertFldType(
SwDBFieldType(this, pOldTyp->GetColumnName(), aNewDBData));
- pTyp->Add(pFmtFld); // Feld auf neuen Typ umhaengen
+ pTyp->Add(pFmtFld); // Feld auf neuen Typ umhaengen
pFld->ChgTyp(pTyp);
((SwDBField*)pFld)->ClearInitialized();
@@ -1961,8 +1961,8 @@ void SwDoc::ReplaceUsedDBs( const SvStringsDtor& rUsedDBNames,
const String& rNewName, String& rFormel )
{
const CharClass& rCC = GetAppCharClass();
- String sFormel(rFormel);
- String sNewName( rNewName );
+ String sFormel(rFormel);
+ String sNewName( rNewName );
sNewName.SearchAndReplace( DB_DELIM, '.');
//the command type is not part of the condition
sNewName = sNewName.GetToken(0, DB_DELIM);
@@ -1971,7 +1971,7 @@ void SwDoc::ReplaceUsedDBs( const SvStringsDtor& rUsedDBNames,
for( USHORT i = 0; i < rUsedDBNames.Count(); ++i )
{
- String sDBName( *rUsedDBNames.GetObject( i ) );
+ String sDBName( *rUsedDBNames.GetObject( i ) );
sDBName.SearchAndReplace( DB_DELIM, '.');
//cut off command type
@@ -2030,11 +2030,11 @@ void SwDoc::SetFixFields( bool bOnlyTimeDate, const DateTime* pNewDateTime )
}
USHORT aTypes[5] = {
- /*0*/ RES_DOCINFOFLD,
- /*1*/ RES_AUTHORFLD,
- /*2*/ RES_EXTUSERFLD,
- /*3*/ RES_FILENAMEFLD,
- /*4*/ RES_DATETIMEFLD }; // MUSS am Ende stehen!!
+ /*0*/ RES_DOCINFOFLD,
+ /*1*/ RES_AUTHORFLD,
+ /*2*/ RES_EXTUSERFLD,
+ /*3*/ RES_FILENAMEFLD,
+ /*4*/ RES_DATETIMEFLD }; // MUSS am Ende stehen!!
USHORT nStt = bOnlyTimeDate ? 4 : 0;
@@ -2140,8 +2140,8 @@ bool SwDoc::SetFieldsDirty( bool b, const SwNode* pChk, ULONG nLen )
const SwTxtNode* pTNd = rNds[ nStt++ ]->GetTxtNode();
if( pTNd )
{
- if( //pTNd->GetFmtColl() && //#outline level,zhaojianwei
- // MAXLEVEL > pTNd->GetTxtColl()->GetOutlineLevel() )
+ if( //pTNd->GetFmtColl() && //#outline level,zhaojianwei
+ // MAXLEVEL > pTNd->GetTxtColl()->GetOutlineLevel() )
pTNd->GetAttrOutlineLevel() != 0 )//<-end,zhaojianwei
// Kapitelfelder aktualisieren
b = TRUE;
@@ -2197,7 +2197,7 @@ void SwDocUpdtFld::InsDelFldInFldLst( BOOL bIns, const SwTxtFld& rFld )
case RES_DBNEXTSETFLD:
case RES_DBSETNUMBERFLD:
case RES_GETEXPFLD:
- break; // diese muessen ein-/ausgetragen werden!
+ break; // diese muessen ein-/ausgetragen werden!
default:
return;
@@ -2206,12 +2206,12 @@ void SwDocUpdtFld::InsDelFldInFldLst( BOOL bIns, const SwTxtFld& rFld )
SetFieldsDirty( TRUE );
if( !pFldSortLst )
{
- if( !bIns ) // keine Liste vorhanden und loeschen
- return; // dann nichts tun
+ if( !bIns ) // keine Liste vorhanden und loeschen
+ return; // dann nichts tun
pFldSortLst = new _SetGetExpFlds( 64, 16 );
}
- if( bIns ) // neu einfuegen:
+ if( bIns ) // neu einfuegen:
GetBodyNode( rFld, nWhich );
else
{
@@ -2517,7 +2517,7 @@ void SwDocUpdtFld::GetBodyNode( const SwSectionNode& rSectNd )
if( rSectNd.GetIndex() < rDoc.GetNodes().GetEndOfExtras().GetIndex() )
{
- do { // middle check loop
+ do { // middle check loop
// dann muessen wir uns mal den Anker besorgen!
// einen Index fuers bestimmen vom TextNode anlegen
diff --git a/sw/source/core/doc/docfly.cxx b/sw/source/core/doc/docfly.cxx
index ff79efddc707..1c9010c9de33 100644
--- a/sw/source/core/doc/docfly.cxx
+++ b/sw/source/core/doc/docfly.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -156,11 +156,11 @@ SwFrmFmt* SwDoc::GetFlyNum( USHORT nIdx, FlyCntType eType )
}
/***********************************************************************
-#* Class : SwDoc
-#* Methode : SetFlyFrmAnchor
-#* Beschreibung: Das Ankerattribut des FlyFrms aendert sich.
-#* Datum : MA 01. Feb. 94
-#* Update : JP 09.03.98
+#* Class : SwDoc
+#* Methode : SetFlyFrmAnchor
+#* Beschreibung: Das Ankerattribut des FlyFrms aendert sich.
+#* Datum : MA 01. Feb. 94
+#* Update : JP 09.03.98
#***********************************************************************/
Point lcl_FindAnchorLayPos( SwDoc& rDoc, const SwFmtAnchor& rAnch,
const SwFrmFmt* pFlyFmt )
@@ -519,10 +519,10 @@ void SwDoc::SetFlyFrmDescription( SwFlyFrmFmt& rFlyFrmFmt,
// <--
/***************************************************************************
- * Methode : BOOL SwDoc::SetFrmFmtToFly( SwFlyFrm&, SwFrmFmt& )
- * Beschreibung:
- * Erstellt : OK 14.04.94 15:40
- * Aenderung : JP 23.04.98
+ * Methode : BOOL SwDoc::SetFrmFmtToFly( SwFlyFrm&, SwFrmFmt& )
+ * Beschreibung:
+ * Erstellt : OK 14.04.94 15:40
+ * Aenderung : JP 23.04.98
***************************************************************************/
BOOL SwDoc::SetFrmFmtToFly( SwFrmFmt& rFmt, SwFrmFmt& rNewFmt,
SfxItemSet* pSet, BOOL bKeepOrient )
@@ -574,7 +574,7 @@ BOOL SwDoc::SetFrmFmtToFly( SwFrmFmt& rFmt, SwFrmFmt& rNewFmt,
else
{
//JP 23.04.98: muss den FlyFmt-Range haben, denn im SetFlyFrmAnchor
- // werden Attribute in diesen gesetzt!
+ // werden Attribute in diesen gesetzt!
SfxItemSet aFlySet( *rNewFmt.GetAttrSet().GetPool(),
rNewFmt.GetAttrSet().GetRanges() );
aFlySet.Put( *pItem );
@@ -587,7 +587,7 @@ BOOL SwDoc::SetFrmFmtToFly( SwFrmFmt& rFmt, SwFrmFmt& rNewFmt,
//automatische Ausrichtung eingestellt ist, anderfalls den alten Wert
//wieder hineinstopfen.
//JP 09.06.98: beim Update der RahmenVorlage sollte der Fly NICHT
- // seine Orientierng verlieren (diese wird nicht geupdatet!)
+ // seine Orientierng verlieren (diese wird nicht geupdatet!)
//OS: #96584# text::HoriOrientation::NONE and text::VertOrientation::NONE are allowed now
if (!bKeepOrient)
{
@@ -630,10 +630,10 @@ void SwDoc::GetGrfNms( const SwFlyFrmFmt& rFmt, String* pGrfName,
/*************************************************************************
|*
-|* SwDoc::ChgAnchor()
+|* SwDoc::ChgAnchor()
|*
-|* Ersterstellung MA 10. Jan. 95
-|* Letzte Aenderung JP 08.07.98
+|* Ersterstellung MA 10. Jan. 95
+|* Letzte Aenderung JP 08.07.98
|*
*************************************************************************/
sal_Bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
@@ -780,7 +780,7 @@ sal_Bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
}
((SwTxtFrm*)pOldAnchorFrm)->Prepare();
}
- else // Ankerwechsel
+ else // Ankerwechsel
{
// OD 18.06.2003 #108784# - allow drawing objects in header/footer
pNewAnchorFrm = ::FindAnchor( pOldAnchorFrm, aPt, false );
@@ -792,7 +792,7 @@ sal_Bool SwDoc::ChgAnchor( const SdrMarkList& _rMrkList,
bUnmark = ( 0 != i );
Point aPoint( aPt );
- aPoint.X() -= 1; // nicht im DrawObj landen!!
+ aPoint.X() -= 1; // nicht im DrawObj landen!!
aNewAnch.SetType( FLY_AS_CHAR );
SwPosition aPos( *((SwCntntFrm*)pNewAnchorFrm)->GetNode() );
if ( pNewAnchorFrm->Frm().IsInside( aPoint ) )
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 89a300f49113..f3329d1e66a9 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +57,14 @@
#include <doc.hxx>
#include <rootfrm.hxx>
#include <pagefrm.hxx>
-#include <hints.hxx> // fuer SwHyphenBug (in SetDefault)
+#include <hints.hxx> // fuer SwHyphenBug (in SetDefault)
#include <ndtxt.hxx>
#include <pam.hxx>
#include <undobj.hxx>
#include <ndgrf.hxx>
-#include <pagedesc.hxx> // Fuer Sonderbehandlung in InsFrmFmt
-#include <rolbck.hxx> // Undo-Attr
-#include <mvsave.hxx> // servieren: Veraenderungen erkennen
+#include <pagedesc.hxx> // Fuer Sonderbehandlung in InsFrmFmt
+#include <rolbck.hxx> // Undo-Attr
+#include <mvsave.hxx> // servieren: Veraenderungen erkennen
#include <txatbase.hxx>
#include <swtable.hxx>
#include <swtblfmt.hxx>
@@ -125,7 +125,7 @@ struct ParaRstFmt
bool bResetAll;
bool bInclRefToxMark;
- bool bKeepOutlineLevelAttr; //#outline level,add by zhaojianwei
+ bool bKeepOutlineLevelAttr; //#outline level,add by zhaojianwei
ParaRstFmt( const SwPosition* pStt, const SwPosition* pEnd,
SwHistory* pHst, USHORT nWhch = 0, const SfxItemSet* pSet = 0 )
@@ -141,7 +141,7 @@ struct ParaRstFmt
// <--
bResetAll( true ),
bInclRefToxMark( false ),
- bKeepOutlineLevelAttr( false ) //#outline level,add by zhaojianwei
+ bKeepOutlineLevelAttr( false ) //#outline level,add by zhaojianwei
{}
ParaRstFmt( SwHistory* pHst )
@@ -157,7 +157,7 @@ struct ParaRstFmt
// <--
bResetAll( true ),
bInclRefToxMark( false ),
- bKeepOutlineLevelAttr( false ) //#outline level,add by zhaojianwei
+ bKeepOutlineLevelAttr( false ) //#outline level,add by zhaojianwei
{}
};
@@ -246,13 +246,13 @@ BOOL lcl_RstAttr( const SwNodePtr& rpNd, void* pArgs )
// <--
const SfxPoolItem* pItem;
- // USHORT __READONLY_DATA aSavIds[ 3 ] = { RES_PAGEDESC, RES_BREAK, //#outline level,removed by zhaojianwei
+ // USHORT __READONLY_DATA aSavIds[ 3 ] = { RES_PAGEDESC, RES_BREAK, //#outline level,removed by zhaojianwei
// RES_PARATR_NUMRULE };
//for( USHORT n = 0; n < 3; ++n )
- USHORT __READONLY_DATA aSavIds[ 4 ] = { RES_PAGEDESC, RES_BREAK, //->add by zhaojianwei
+ USHORT __READONLY_DATA aSavIds[ 4 ] = { RES_PAGEDESC, RES_BREAK, //->add by zhaojianwei
RES_PARATR_NUMRULE,
RES_PARATR_OUTLINELEVEL };
- for( USHORT n = 0; n < 4; ++n ) //<-end,zhaojianwei
+ for( USHORT n = 0; n < 4; ++n ) //<-end,zhaojianwei
{
if( SFX_ITEM_SET == pSet->GetItemState( aSavIds[ n ], FALSE, &pItem ))
{
@@ -270,11 +270,11 @@ BOOL lcl_RstAttr( const SwNodePtr& rpNd, void* pArgs )
bSave = 0 != ((SwNumRuleItem*)pItem)->GetValue().Len();
}
break;
- case RES_PARATR_OUTLINELEVEL: //#outline level,add by zhaojianwei
+ case RES_PARATR_OUTLINELEVEL: //#outline level,add by zhaojianwei
{
bSave = pPara && pPara->bKeepOutlineLevelAttr;
}
- break; //<-end,zhaojianwei
+ break; //<-end,zhaojianwei
}
if( bSave )
{
@@ -397,7 +397,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
USHORT nMkPos, nPtPos = rSt.GetIndex();
// JP 22.08.96: Sonderfall: steht der Crsr in einem URL-Attribut
- // dann wird dessen Bereich genommen
+ // dann wird dessen Bereich genommen
SwTxtAttr const*const pURLAttr(
pTxtNd->GetTxtAttrAt(rSt.GetIndex(), RES_TXTATR_INETFMT));
if (pURLAttr && pURLAttr->GetINetFmt().GetValue().Len())
@@ -488,7 +488,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
BOOL bAdd = TRUE;
SwNodeIndex aTmpStt( pStt->nNode );
SwNodeIndex aTmpEnd( pEnd->nNode );
- if( pStt->nContent.GetIndex() ) // nur ein Teil
+ if( pStt->nContent.GetIndex() ) // nur ein Teil
{
// dann spaeter aufsetzen und alle CharFmtAttr -> TxtFmtAttr
SwTxtNode* pTNd = aTmpStt.GetNode().GetTxtNode();
@@ -885,7 +885,7 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
}
- if( !rRg.HasMark() ) // kein Bereich
+ if( !rRg.HasMark() ) // kein Bereich
{
if( !pNode )
{
@@ -901,7 +901,7 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
const String& rStr = pTxtNd->GetTxt();
// JP 22.08.96: Sonderfall: steht der Crsr in einem URL-Attribut
- // dann wird dessen Bereich genommen
+ // dann wird dessen Bereich genommen
SwTxtAttr const*const pURLAttr(
pTxtNd->GetTxtAttrAt(rSt.GetIndex(), RES_TXTATR_INETFMT));
if (pURLAttr && pURLAttr->GetINetFmt().GetValue().Len())
@@ -1224,9 +1224,9 @@ int lcl_SetNewDefTabStops( SwTwips nOldWidth, SwTwips nNewWidth,
{
// dann aender bei allen TabStop die default's auf den neuen Wert
// !!! Achtung: hier wird immer auf dem PoolAttribut gearbeitet,
- // damit nicht in allen Sets die gleiche Berechnung
- // auf dem gleichen TabStop (gepoolt!) vorgenommen
- // wird. Als Modify wird ein FmtChg verschickt.
+ // damit nicht in allen Sets die gleiche Berechnung
+ // auf dem gleichen TabStop (gepoolt!) vorgenommen
+ // wird. Als Modify wird ein FmtChg verschickt.
USHORT nOldCnt = rChgTabStop.Count();
if( !nOldCnt || nOldWidth == nNewWidth )
@@ -1241,7 +1241,7 @@ int lcl_SetNewDefTabStops( SwTwips nOldWidth, SwTwips nNewWidth,
if( SVX_TAB_ADJUST_DEFAULT != pTabs->GetAdjustment() )
break;
++n;
- if( n < nOldCnt ) // die DefTabStops loeschen
+ if( n < nOldCnt ) // die DefTabStops loeschen
rChgTabStop.Remove( n, nOldCnt - n );
return TRUE;
}
@@ -1341,9 +1341,9 @@ void SwDoc::SetDefault( const SfxItemSet& rSet )
// TabStop-Aenderungen behandeln wir erstmal anders:
// dann aender bei allen TabStop die dafault's auf den neuen Wert
// !!! Achtung: hier wird immer auf dem PoolAttribut gearbeitet,
- // damit nicht in allen Sets die gleiche Berechnung
- // auf dem gleichen TabStop (gepoolt!) vorgenommen
- // wird. Als Modify wird ein FmtChg verschickt.
+ // damit nicht in allen Sets die gleiche Berechnung
+ // auf dem gleichen TabStop (gepoolt!) vorgenommen
+ // wird. Als Modify wird ein FmtChg verschickt.
SwTwips nNewWidth = (*(SvxTabStopItem*)pTmpItem)[ 0 ].GetTabPos(),
nOldWidth = ((SvxTabStopItem&)aOld.Get(RES_PARATR_TABSTOP))[ 0 ].GetTabPos();
@@ -1369,7 +1369,7 @@ void SwDoc::SetDefault( const SfxItemSet& rSet )
{
SwAttrSetChg aChgOld( aOld, aOld );
SwAttrSetChg aChgNew( aNew, aNew );
- aCallMod.Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ aCallMod.Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
// und die default-Formate wieder beim Object austragen
@@ -1688,7 +1688,7 @@ void SwDoc::DelTxtFmtColl(USHORT nFmtColl, BOOL bBroadcast)
// Wer hat die zu loeschende als Next
SwTxtFmtColl *pDel = (*pTxtFmtCollTbl)[nFmtColl];
if( pDfltTxtFmtColl == pDel )
- return; // default nie loeschen !!
+ return; // default nie loeschen !!
if (bBroadcast)
BroadcastStyleOperation(pDel->GetName(), SFX_STYLE_FAMILY_PARA,
@@ -1865,7 +1865,7 @@ SwFmt* SwDoc::CopyFmt( const SwFmt& rFmt,
SwFmt* pNewFmt = (this->*fnCopyFmt)( rFmt.GetName(), pParent, FALSE, TRUE );
// <--
pNewFmt->SetAuto( rFmt.IsAuto() );
- pNewFmt->CopyAttrs( rFmt, TRUE ); // kopiere Attribute
+ pNewFmt->CopyAttrs( rFmt, TRUE ); // kopiere Attribute
pNewFmt->SetPoolFmtId( rFmt.GetPoolFmtId() );
pNewFmt->SetPoolHelpId( rFmt.GetPoolHelpId() );
@@ -1929,8 +1929,8 @@ SwTxtFmtColl* SwDoc::CopyTxtColl( const SwTxtFmtColl& rColl )
pNewColl->CopyAttrs( rColl, TRUE );
// setze noch den Outline-Level
- //if( NO_NUMBERING != rColl.GetOutlineLevel() ) //#outline level,zhaojianwei
- // pNewColl->SetOutlineLevel( rColl.GetOutlineLevel() );
+ //if( NO_NUMBERING != rColl.GetOutlineLevel() ) //#outline level,zhaojianwei
+ // pNewColl->SetOutlineLevel( rColl.GetOutlineLevel() );
if(rColl.IsAssignedToListLevelOfOutlineStyle())
pNewColl->AssignToListLevelOfOutlineStyle(rColl.GetAssignedOutlineStyleLevel());//<-end,zhaojianwei
//<-end
@@ -2041,8 +2041,8 @@ void SwDoc::CopyFmtArr( const SvPtrarr& rSourceArr,
pDest = FindFmtByName( rDestArr, pSrc->GetName() );
pDest->SetAuto( FALSE );
-// pDest->ResetAllAttr();
-// pDest->CopyAttrs( *pSrc, TRUE ); // kopiere Attribute
+// pDest->ResetAllAttr();
+// pDest->CopyAttrs( *pSrc, TRUE ); // kopiere Attribute
//JP 19.02.96: ist so wohl optimaler - loest ggfs. kein Modify aus!
pDest->DelDiffs( *pSrc );
// --> OD 2009-03-23 #i94285#
@@ -2093,8 +2093,8 @@ void SwDoc::CopyFmtArr( const SvPtrarr& rSourceArr,
rDestArr, pSrcColl->GetNextTxtFmtColl().GetName() ) );
// setze noch den Outline-Level
- //if( NO_NUMBERING != pSrcColl->GetOutlineLevel() ) //#outline level,zhaojianwei
- // pDstColl->SetOutlineLevel( pSrcColl->GetOutlineLevel() );
+ //if( NO_NUMBERING != pSrcColl->GetOutlineLevel() ) //#outline level,zhaojianwei
+ // pDstColl->SetOutlineLevel( pSrcColl->GetOutlineLevel() );
if(pSrcColl->IsAssignedToListLevelOfOutlineStyle())
pDstColl->AssignToListLevelOfOutlineStyle(pSrcColl->GetAssignedOutlineStyleLevel());//<-end,zhaojianwei
//<-end
@@ -2443,7 +2443,7 @@ void SwDoc::_CreateNumberFormatter()
LanguageType eLang = LANGUAGE_SYSTEM; //System::GetLanguage();
-/* ((const SvxLanguageItem&)GetAttrPool().
+/* ((const SvxLanguageItem&)GetAttrPool().
GetDefaultItem( RES_CHRATR_LANGUAGE )).GetLanguage();
*/
Reference< XMultiServiceFactory > xMSF = ::comphelper::getProcessServiceFactory();
@@ -2655,7 +2655,7 @@ namespace docfunc
if ( pTxtFmtColl->IsDefault() ||
// pTxtFmtColl->GetOutlineLevel() == NO_NUMBERING ) //#outline level,zhaojianwei
- ! pTxtFmtColl->IsAssignedToListLevelOfOutlineStyle() ) //<-end,zhaojianwei
+ ! pTxtFmtColl->IsAssignedToListLevelOfOutlineStyle() ) //<-end,zhaojianwei
{
continue;
}
diff --git a/sw/source/core/doc/docftn.cxx b/sw/source/core/doc/docftn.cxx
index a8cf79c40b7a..9080e14d194c 100644
--- a/sw/source/core/doc/docftn.cxx
+++ b/sw/source/core/doc/docftn.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -224,7 +224,7 @@ SwFtnInfo& SwFtnInfo::operator=(const SwFtnInfo& rInfo)
BOOL SwFtnInfo::operator==( const SwFtnInfo& rInfo ) const
{
- return ePos == rInfo.ePos &&
+ return ePos == rInfo.ePos &&
eNum == rInfo.eNum &&
SwEndNoteInfo::operator==(rInfo) &&
aQuoVadis == rInfo.aQuoVadis &&
@@ -414,7 +414,7 @@ bool SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
ULONG nIdx;
BOOL bChg = FALSE;
BOOL bTypeChgd = FALSE;
- USHORT n = nPos; // sichern
+ USHORT n = nPos; // sichern
while( nPos < rFtnArr.Count() &&
(( nIdx = _SwTxtFtn_GetIndex((pTxtFtn = rFtnArr[ nPos++ ] )))
< nEndNd || ( nIdx == nEndNd &&
@@ -446,7 +446,7 @@ bool SwDoc::SetCurFtn( const SwPaM& rPam, const String& rNumStr,
}
}
- nPos = n; // nach vorne gibt es auch noch welche !
+ nPos = n; // nach vorne gibt es auch noch welche !
while( nPos &&
(( nIdx = _SwTxtFtn_GetIndex((pTxtFtn = rFtnArr[ --nPos ] )))
> nSttNd || ( nIdx == nSttNd &&
diff --git a/sw/source/core/doc/docglbl.cxx b/sw/source/core/doc/docglbl.cxx
index 9b52c3f28369..9591edf74c0d 100644
--- a/sw/source/core/doc/docglbl.cxx
+++ b/sw/source/core/doc/docglbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <docsh.hxx>
#include <globdoc.hxx>
#include <shellio.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <section.hxx>
#include <doctxm.hxx>
#include <poolfmt.hxx>
@@ -171,7 +171,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
break;
default:
-// case SPLITDOC_TO_GLOBALDOC:
+// case SPLITDOC_TO_GLOBALDOC:
pFilter = SwIoSystem::GetFilterOfFormat(
String::CreateFromAscii( FILTER_XML ));
eDocType = SPLITDOC_TO_GLOBALDOC;
@@ -231,17 +231,17 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
pNd = pOutlNds->GetObject( nOutl );
SwTxtFmtColl* pTColl = pNd->GetTxtNode()->GetTxtColl();
- //if( ( pTColl == pSplitColl || //#outline level,zhaojianwei
- // ( NO_NUMBERING != pSplitColl->GetOutlineLevel() &&
- // pTColl->GetOutlineLevel() <
- // pSplitColl->GetOutlineLevel() )) &&
- // !pNd->FindTableNode() )
+ //if( ( pTColl == pSplitColl || //#outline level,zhaojianwei
+ // ( NO_NUMBERING != pSplitColl->GetOutlineLevel() &&
+ // pTColl->GetOutlineLevel() <
+ // pSplitColl->GetOutlineLevel() )) &&
+ // !pNd->FindTableNode() )
if( ( pTColl == pSplitColl ||
( pSplitColl->GetAttrOutlineLevel() > 0 &&
- pTColl->GetAttrOutlineLevel() > 0 &&
+ pTColl->GetAttrOutlineLevel() > 0 &&
pTColl->GetAttrOutlineLevel() <
pSplitColl->GetAttrOutlineLevel() )) &&
- !pNd->FindTableNode() ) //<-end,zhaojianwei
+ !pNd->FindTableNode() ) //<-end,zhaojianwei
{
pEndNd = pNd;
@@ -275,8 +275,8 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
xDocProps->setTemplateDate(uDT);
xDocProps->setTemplateURL(rPath);
//JP 14.06.99: Set the text of the "split para" as title
- // from the new doc. Is the current doc has
- // a title, insert it at begin.
+ // from the new doc. Is the current doc has
+ // a title, insert it at begin.
String sTitle( xDocProps->getTitle() );
if( sTitle.Len() )
sTitle.AppendAscii( RTL_CONSTASCII_STRINGPARAM( ": " ));
@@ -407,7 +407,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
aSectData.SetLinkFileName(sFileName);
aSectData.SetProtectFlag(true);
- aEndIdx--; // im InsertSection ist Ende inclusive
+ aEndIdx--; // im InsertSection ist Ende inclusive
while( aEndIdx.GetNode().IsStartNode() )
aEndIdx--;
@@ -476,7 +476,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
}
} while( pSttNd );
-// if( pOutlNds != (SwOutlineNodes*)&GetNodes().GetOutLineNds();
+// if( pOutlNds != (SwOutlineNodes*)&GetNodes().GetOutLineNds();
if( pOutlNds != &GetNodes().GetOutLineNds() )
delete pOutlNds;
@@ -494,14 +494,14 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath,
}
break;
-// case SPLITDOC_TO_GLOBALDOC:
+// case SPLITDOC_TO_GLOBALDOC:
default:
// dann das Globaldoc speichern
set(IDocumentSettingAccess::GLOBAL_DOCUMENT, true);
set(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS, false);
}
- // Medium istn't locked after reopen the document. Bug 91462
+ // Medium istn't locked after reopen the document. Bug 91462
SfxRequest aReq( SID_SAVEASDOC, SFX_CALLMODE_SYNCHRON, GetAttrPool() );
aReq.AppendItem( SfxStringItem( SID_FILE_NAME, rPath ) );
aReq.AppendItem( SfxBoolItem( SID_SAVETO, sal_True ) );
@@ -532,7 +532,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath, int nOutlineLevel )
break;
default:
-// case SPLITDOC_TO_GLOBALDOC:
+// case SPLITDOC_TO_GLOBALDOC:
pFilter = SwIoSystem::GetFilterOfFormat(
String::CreateFromAscii( FILTER_XML ));
eDocType = SPLITDOC_TO_GLOBALDOC;
@@ -591,7 +591,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath, int nOutlineLevel )
pNd = pOutlNds->GetObject( nOutl );
const int nLevel = pNd->GetTxtNode()->GetAttrOutlineLevel();
-
+
if( ( 0 < nLevel && nLevel <= nOutlineLevel ) &&
!pNd->FindTableNode() )
{
@@ -626,8 +626,8 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath, int nOutlineLevel )
xDocProps->setTemplateDate(uDT);
xDocProps->setTemplateURL(rPath);
//JP 14.06.99: Set the text of the "split para" as title
- // from the new doc. Is the current doc has
- // a title, insert it at begin.
+ // from the new doc. Is the current doc has
+ // a title, insert it at begin.
String sTitle( xDocProps->getTitle() );
if( sTitle.Len() )
sTitle.AppendAscii( RTL_CONSTASCII_STRINGPARAM( ": " ));
@@ -758,7 +758,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath, int nOutlineLevel )
aSectData.SetLinkFileName(sFileName);
aSectData.SetProtectFlag(true);
- aEndIdx--; // im InsertSection ist Ende inclusive
+ aEndIdx--; // im InsertSection ist Ende inclusive
while( aEndIdx.GetNode().IsStartNode() )
aEndIdx--;
@@ -838,7 +838,7 @@ BOOL SwDoc::SplitDoc( USHORT eDocType, const String& rPath, int nOutlineLevel )
}
break;
-// case SPLITDOC_TO_GLOBALDOC:
+// case SPLITDOC_TO_GLOBALDOC:
default:
set(IDocumentSettingAccess::GLOBAL_DOCUMENT, true);
set(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS, false);
diff --git a/sw/source/core/doc/docglos.cxx b/sw/source/core/doc/docglos.cxx
index 057d6881fb99..aa14673dbdce 100644
--- a/sw/source/core/doc/docglos.cxx
+++ b/sw/source/core/doc/docglos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL SwDoc::InsertGlossary( SwTextBlocks& rBlock, const String& rEntry,
if( (USHORT) -1 != nIdx )
{
// Bug #70238# ask the TextOnly-Flag before BeginGetDoc, because
- // the method closed the Storage!
+ // the method closed the Storage!
BOOL bSav_IsInsGlossary = mbInsOnlyTxtGlssry;
mbInsOnlyTxtGlssry = rBlock.IsOnlyTextBlock( nIdx );
diff --git a/sw/source/core/doc/doclay.cxx b/sw/source/core/doc/doclay.cxx
index a19dd58af6f9..d1f28a01be04 100644
--- a/sw/source/core/doc/doclay.cxx
+++ b/sw/source/core/doc/doclay.cxx
@@ -87,8 +87,8 @@
#include <swundo.hxx>
#include <flypos.hxx>
#include <undobj.hxx>
-#include <expfld.hxx> // InsertLabel
-#include <poolfmt.hxx> // PoolVorlagen-Id's
+#include <expfld.hxx> // InsertLabel
+#include <poolfmt.hxx> // PoolVorlagen-Id's
#include <docary.hxx>
#include <swtable.hxx>
#include <tblsel.hxx>
@@ -99,7 +99,7 @@
#include <ftninfo.hxx>
#include <pagedesc.hxx>
#include <PostItMgr.hxx>
-#include <comcore.hrc> // STR-ResId's
+#include <comcore.hrc> // STR-ResId's
#include <unoframe.hxx>
@@ -110,7 +110,7 @@
using namespace ::com::sun::star;
using ::rtl::OUString;
-#define DEF_FLY_WIDTH 2268 //Defaultbreite fuer FlyFrms (2268 == 4cm)
+#define DEF_FLY_WIDTH 2268 //Defaultbreite fuer FlyFrms (2268 == 4cm)
static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which)
@@ -125,13 +125,13 @@ static bool lcl_IsItemSet(const SwCntntNode & rNode, USHORT which)
/*************************************************************************
|*
-|* SwDoc::MakeLayoutFmt()
+|* SwDoc::MakeLayoutFmt()
|*
-|* Beschreibung Erzeugt ein neues Format das in seinen Einstellungen
-|* Defaultmaessig zu dem Request passt. Das Format wird in das
-|* entsprechende Formate-Array gestellt.
-|* Wenn bereits ein passendes Format existiert, so wird dies
-|* zurueckgeliefert.
+|* Beschreibung Erzeugt ein neues Format das in seinen Einstellungen
+|* Defaultmaessig zu dem Request passt. Das Format wird in das
+|* entsprechende Formate-Array gestellt.
+|* Wenn bereits ein passendes Format existiert, so wird dies
+|* zurueckgeliefert.
|*************************************************************************/
SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, const SfxItemSet* pSet )
{
@@ -175,10 +175,10 @@ SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, const SfxItemSet* pSet )
) ) );
pFmt->SetFmtAttr( SwFmtCntnt( pSttNd ));
- if( pSet ) // noch ein paar Attribute setzen ?
+ if( pSet ) // noch ein paar Attribute setzen ?
pFmt->SetFmtAttr( *pSet );
- // JP: warum zuruecksetzen ??? Doc. ist doch veraendert ???
+ // JP: warum zuruecksetzen ??? Doc. ist doch veraendert ???
// bei den Fly auf jedenfall verkehrt !!
if ( !bMod )
ResetModified();
@@ -188,7 +188,7 @@ SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, const SfxItemSet* pSet )
case RND_DRAW_OBJECT:
{
pFmt = MakeDrawFrmFmt( aEmptyStr, GetDfltFrmFmt() );
- if( pSet ) // noch ein paar Attribute setzen ?
+ if( pSet ) // noch ein paar Attribute setzen ?
pFmt->SetFmtAttr( *pSet );
if( DoesUndo() )
@@ -219,12 +219,12 @@ SwFrmFmt *SwDoc::MakeLayoutFmt( RndStdIds eRequest, const SfxItemSet* pSet )
/*************************************************************************
|*
-|* SwDoc::DelLayoutFmt()
+|* SwDoc::DelLayoutFmt()
|*
-|* Beschreibung Loescht das angegebene Format, der Inhalt wird mit
-|* geloescht.
-|* Ersterstellung MA 23. Sep. 92
-|* Letzte Aenderung MA 05. Feb. 93
+|* Beschreibung Loescht das angegebene Format, der Inhalt wird mit
+|* geloescht.
+|* Ersterstellung MA 23. Sep. 92
+|* Letzte Aenderung MA 05. Feb. 93
|*
|*************************************************************************/
void SwDoc::DelLayoutFmt( SwFrmFmt *pFmt )
@@ -258,7 +258,7 @@ void SwDoc::DelLayoutFmt( SwFrmFmt *pFmt )
if( pDoc )
{
SfxObjectShell* p = pDoc->GetPersist();
- if( p ) // muss da sein
+ if( p ) // muss da sein
{
SvInfoObjectRef aRef( p->Find( pOLENd->GetOLEObj().GetName() ) );
if( aRef.Is() )
@@ -372,18 +372,18 @@ void SwDoc::DelLayoutFmt( SwFrmFmt *pFmt )
/*************************************************************************
|*
-|* SwDoc::CopyLayoutFmt()
+|* SwDoc::CopyLayoutFmt()
|*
-|* Beschreibung Kopiert das angegebene Format pSrc in pDest und
-|* returnt pDest. Wenn es noch kein pDest gibt, wird
-|* eins angelegt.
-|* JP: steht das Source Format in einem anderen
-|* Dokument, so kopiere auch dann noch richtig !!
-|* Vom chaos::Anchor-Attribut wird die Position immer
-|* auf 0 gesetzt !!!
+|* Beschreibung Kopiert das angegebene Format pSrc in pDest und
+|* returnt pDest. Wenn es noch kein pDest gibt, wird
+|* eins angelegt.
+|* JP: steht das Source Format in einem anderen
+|* Dokument, so kopiere auch dann noch richtig !!
+|* Vom chaos::Anchor-Attribut wird die Position immer
+|* auf 0 gesetzt !!!
|*
-|* Ersterstellung BP 18.12.92
-|* Letzte Aenderung MA 17. Jul. 96
+|* Ersterstellung BP 18.12.92
+|* Letzte Aenderung MA 17. Jul. 96
|*
|*************************************************************************/
SwFrmFmt *SwDoc::CopyLayoutFmt( const SwFrmFmt& rSource,
@@ -475,12 +475,12 @@ SwFrmFmt *SwDoc::CopyLayoutFmt( const SwFrmFmt& rSource,
String sOld( pDest->GetName() );
pDest->SetName( aEmptyStr );
- if( FindFlyByName( sOld, nNdTyp ) ) // einen gefunden
+ if( FindFlyByName( sOld, nNdTyp ) ) // einen gefunden
switch( nNdTyp )
{
- case ND_GRFNODE: sOld = GetUniqueGrfName(); break;
- case ND_OLENODE: sOld = GetUniqueOLEName(); break;
- default: sOld = GetUniqueFrameName(); break;
+ case ND_GRFNODE: sOld = GetUniqueGrfName(); break;
+ case ND_OLENODE: sOld = GetUniqueOLEName(); break;
+ default: sOld = GetUniqueFrameName(); break;
}
pDest->SetName( sOld );
@@ -611,9 +611,9 @@ SwFlyFrmFmt* SwDoc::_MakeFlySection( const SwPosition& rAnchPos,
if( !mbInReading )
switch( rNode.GetNodeType() )
{
- case ND_GRFNODE: sName = GetUniqueGrfName(); break;
- case ND_OLENODE: sName = GetUniqueOLEName(); break;
- default: sName = GetUniqueFrameName(); break;
+ case ND_GRFNODE: sName = GetUniqueGrfName(); break;
+ case ND_OLENODE: sName = GetUniqueOLEName(); break;
+ default: sName = GetUniqueFrameName(); break;
}
SwFlyFrmFmt* pFmt = MakeFlyFrmFmt( sName, pFrmFmt );
@@ -720,7 +720,7 @@ SwFlyFrmFmt* SwDoc::_MakeFlySection( const SwPosition& rAnchPos,
// Frames anlegen
if( GetRootFrm() )
- pFmt->MakeFrms(); // ???
+ pFmt->MakeFrms(); // ???
if( DoesUndo() )
{
@@ -807,14 +807,14 @@ SwFlyFrmFmt* SwDoc::MakeFlyAndMove( const SwPaM& rPam, const SfxItemSet& rSet,
if( pFmt )
{
- do { // middle check loop
+ do { // middle check loop
const SwFmtCntnt &rCntnt = pFmt->GetCntnt();
OSL_ENSURE( rCntnt.GetCntntIdx(), "Kein Inhalt vorbereitet." );
SwNodeIndex aIndex( *(rCntnt.GetCntntIdx()), 1 );
SwCntntNode *pNode = aIndex.GetNode().GetCntntNode();
// ACHTUNG: nicht einen Index auf dem Stack erzeugen, sonst
- // kann der CntntnNode am Ende nicht geloscht werden !!
+ // kann der CntntnNode am Ende nicht geloscht werden !!
SwPosition aPos( aIndex );
aPos.nContent.Assign( pNode, 0 );
@@ -860,11 +860,11 @@ SwFlyFrmFmt* SwDoc::MakeFlyAndMove( const SwPaM& rPam, const SfxItemSet& rSet,
aIndex = rCntnt.GetCntntIdx()->GetNode().EndOfSectionIndex() - 1;
OSL_ENSURE( aIndex.GetNode().GetTxtNode(),
"hier sollte ein TextNode stehen" );
- aPos.nContent.Assign( 0, 0 ); // Index abmelden !!
+ aPos.nContent.Assign( 0, 0 ); // Index abmelden !!
GetNodes().Delete( aIndex, 1 );
//JP erstmal ein Hack, solange keine Flys/Headers/Footers Undofaehig sind
-if( DoesUndo() ) // werden erstmal alle Undo - Objecte geloescht.
+if( DoesUndo() ) // werden erstmal alle Undo - Objecte geloescht.
DelAllUndoObj();
}
@@ -1020,10 +1020,10 @@ SwDrawFrmFmt* SwDoc::Insert( const SwPaM &rRg,
/*************************************************************************
|*
-|* SwDoc::GetAllFlyFmts
+|* SwDoc::GetAllFlyFmts
|*
-|* Ersterstellung MA 14. Jul. 93
-|* Letzte Aenderung MD 23. Feb. 95
+|* Ersterstellung MA 14. Jul. 93
+|* Letzte Aenderung MD 23. Feb. 95
|*
|*************************************************************************/
/*sal_Bool TstFlyRange( const SwPaM* pPam, sal_uInt32 nFlyPos )
@@ -1101,7 +1101,7 @@ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts,
{
if( pCmpRange &&
!TstFlyRange( pCmpRange, pAPos, rAnchor.GetAnchorId() ))
- continue; // kein gueltiger FlyFrame
+ continue; // kein gueltiger FlyFrame
pFPos = new SwPosFlyFrm( pAPos->nNode, pFly, rPosFlyFmts.Count() );
rPosFlyFmts.Insert( pFPos );
}
@@ -1167,10 +1167,10 @@ void SwDoc::GetAllFlyFmts( SwPosFlyFrms& rPosFlyFmts,
/*************************************************************************
|*
-|* SwDoc::InsertLabel()
+|* SwDoc::InsertLabel()
|*
-|* Ersterstellung MA 11. Feb. 94
-|* Letzte Aenderung MA 12. Nov. 97
+|* Ersterstellung MA 11. Feb. 94
+|* Letzte Aenderung MA 12. Nov. 97
|*
|*************************************************************************/
@@ -1326,10 +1326,10 @@ SwFlyFrmFmt* SwDoc::InsertLabel( const SwLabelType eType, const String &rTxt, co
if( bCpyBrd )
{
// JP 07.07.99: Bug 67029 - if at Grafik no BoxItem but
- // in the new Format is any, then set the
- // default item in the new Set. Because
- // the Size of the Grafik have never been
- // changed!
+ // in the new Format is any, then set the
+ // default item in the new Set. Because
+ // the Size of the Grafik have never been
+ // changed!
const SfxPoolItem *pItem;
if( SFX_ITEM_SET == pOldFmt->GetAttrSet().
GetItemState( RES_BOX, sal_True, &pItem ))
@@ -1531,10 +1531,10 @@ SwFlyFrmFmt* SwDoc::InsertLabel( const SwLabelType eType, const String &rTxt, co
/*************************************************************************
|*
-|* SwDoc::InsertDrawLabel()
+|* SwDoc::InsertDrawLabel()
|*
-|* Ersterstellung MIB 7. Dez. 98
-|* Letzte Aenderung MIB 7. Dez. 98
+|* Ersterstellung MIB 7. Dez. 98
+|* Letzte Aenderung MIB 7. Dez. 98
|*
|*************************************************************************/
SwFlyFrmFmt* SwDoc::InsertDrawLabel( const String &rTxt,
@@ -1664,7 +1664,7 @@ SwFlyFrmFmt* SwDoc::InsertDrawLabel( const String &rTxt,
GetFrmFmtFromPool( RES_POOLFRM_FRAME ) );
// JP 28.10.99: Bug 69487 - set border and shadow to default if the
- // template contains any.
+ // template contains any.
if( SFX_ITEM_SET == pNewFmt->GetAttrSet().GetItemState( RES_BOX, sal_True ))
pNewSet->Put( *GetDfltAttr( RES_BOX ) );
@@ -1803,7 +1803,7 @@ SwFlyFrmFmt* SwDoc::InsertDrawLabel( const String &rTxt,
/*************************************************************************
|*
-|* IDocumentTimerAccess-methods
+|* IDocumentTimerAccess-methods
|*
|*************************************************************************/
void SwDoc::StartIdling()
@@ -1834,10 +1834,10 @@ void SwDoc::UnblockIdling()
/*************************************************************************
|*
-|* SwDoc::DoIdleJobs()
+|* SwDoc::DoIdleJobs()
|*
-|* Ersterstellung OK 30.03.94
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung OK 30.03.94
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
IMPL_LINK( SwDoc, DoIdleJobs, Timer *, pTimer )
@@ -1897,10 +1897,10 @@ IMPL_LINK( SwDoc, DoIdleJobs, Timer *, pTimer )
const sal_Bool bOldLockView = pStartSh->IsViewLocked();
pStartSh->LockView( sal_True );
- GetSysFldType( RES_CHAPTERFLD )->Modify( 0, 0 ); // KapitelFld
- UpdateExpFlds( 0, sal_False ); // Expression-Felder Updaten
- UpdateTblFlds(NULL); // Tabellen
- UpdateRefFlds(NULL); // Referenzen
+ GetSysFldType( RES_CHAPTERFLD )->Modify( 0, 0 ); // KapitelFld
+ UpdateExpFlds( 0, sal_False ); // Expression-Felder Updaten
+ UpdateTblFlds(NULL); // Tabellen
+ UpdateRefFlds(NULL); // Referenzen
GetRootFrm()->EndAllAction();
@@ -2031,8 +2031,8 @@ void SwDoc::SetFlyName( SwFlyFrmFmt& rFmt, const String& rName )
if( pIdx && pIdx->GetNode().GetNodes().IsDocNodes() )
switch( GetNodes()[ pIdx->GetIndex() + 1 ]->GetNodeType() )
{
- case ND_GRFNODE: nTyp = STR_GRAPHIC_DEFNAME; break;
- case ND_OLENODE: nTyp = STR_OBJECT_DEFNAME; break;
+ case ND_GRFNODE: nTyp = STR_GRAPHIC_DEFNAME; break;
+ case ND_OLENODE: nTyp = STR_OBJECT_DEFNAME; break;
}
sName = lcl_GetUniqueFlyName( this, nTyp );
}
@@ -2055,7 +2055,7 @@ void SwDoc::SetAllUniqueFlyNames()
n = 255;
SwSpzFrmFmts aArr( (sal_Int8)n, 10 );
SwFrmFmtPtr pFlyFmt;
- sal_Bool bLoadedFlag = sal_True; // noch etwas fuers Layout
+ sal_Bool bLoadedFlag = sal_True; // noch etwas fuers Layout
for( n = GetSpzFrmFmts()->Count(); n; )
{
@@ -2153,7 +2153,7 @@ void SwDoc::SetAllUniqueFlyNames()
sal_Bool SwDoc::IsInHeaderFooter( const SwNodeIndex& rIdx ) const
{
// gibt es ein Layout, dann ueber das laufen!!
- // (Das kann dann auch Fly in Fly in Kopfzeile !)
+ // (Das kann dann auch Fly in Fly in Kopfzeile !)
// MIB 9.2.98: Wird auch vom sw3io benutzt, um festzustellen, ob sich
// ein Redline-Objekt in einer Kopf- oder Fusszeile befindet. Da
// Redlines auch an Start- und Endnodes haengen, muss der Index nicht
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index eb878a1372a5..7e78a4b9b75b 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -28,7 +28,7 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
-#define ROLBCK_HISTORY_ONLY // Der Kampf gegen die CLOOK's
+#define ROLBCK_HISTORY_ONLY // Der Kampf gegen die CLOOK's
#include <doc.hxx>
#include <dcontact.hxx>
#include <com/sun/star/document/PrinterIndependentLayout.hpp>
@@ -78,8 +78,8 @@
#include <poolfmt.hxx> // fuer die Pool-Vorlage
#include <dbmgr.hxx>
#include <docsh.hxx>
-#include <acorrect.hxx> // fuer die autom. Aufnahme von Ausnahmen
-#include <visiturl.hxx> // fuer die URL-Change Benachrichtigung
+#include <acorrect.hxx> // fuer die autom. Aufnahme von Ausnahmen
+#include <visiturl.hxx> // fuer die URL-Change Benachrichtigung
#include <docary.hxx>
#include <lineinfo.hxx>
#include <drawdoc.hxx>
@@ -175,7 +175,7 @@ void StartGrammarChecking( SwDoc &rDoc )
bVisible = true;
pFrame = SfxViewFrame::GetNext( *pFrame, pDocShell, sal_False );
}
-
+
//!! only documents with visible views need to be checked
//!! (E.g. don't check temporary documents created for printing, see printing of notes and selections.
//!! Those get created on the fly and get hard deleted a bit later as well, and no one should have
@@ -233,7 +233,7 @@ SwDoc::SwDoc() :
pGrfFmtCollTbl( new SwGrfFmtColls() ),
pTOXTypes( new SwTOXTypes() ),
pDefTOXBases( new SwDefTOXBase_Impl() ),
- pLayout( 0 ), // Rootframe des spezifischen Layouts.
+ pLayout( 0 ), // Rootframe des spezifischen Layouts.
pDrawModel( 0 ),
pUndos( new SwUndos( 0, 20 ) ),
pUpdtFlds( new SwDocUpdtFld() ),
@@ -498,7 +498,7 @@ SwDoc::~SwDoc()
SwFmtCharFmt aCharFmt(NULL);
SetDefault(aCharFmt);
- StopIdling(); // stop idle timer
+ StopIdling(); // stop idle timer
delete pUnoCallBack, pUnoCallBack = 0;
delete pURLStateChgd;
@@ -517,7 +517,7 @@ SwDoc::~SwDoc()
delete pPgPViewPrtData;
- mbUndo = FALSE; // immer das Undo abschalten !!
+ mbUndo = FALSE; // immer das Undo abschalten !!
// damit die Fussnotenattribute die Fussnotennodes in Frieden lassen.
mbDtor = TRUE;
@@ -549,7 +549,7 @@ SwDoc::~SwDoc()
pFtnIdxs->Remove( USHORT(0), pFtnIdxs->Count() );
- pUndos->DeleteAndDestroy( 0, pUndos->Count() ); //Es koennen in den Attributen noch
+ pUndos->DeleteAndDestroy( 0, pUndos->Count() ); //Es koennen in den Attributen noch
//noch indizes angemeldet sein.
// in den BookMarks sind Indizies auf den Content. Diese muessen vorm
@@ -567,7 +567,7 @@ SwDoc::~SwDoc()
}
//JP: alt - loeschen ohne Flag ist teuer; Modify wird verschickt!
-// aTOXTypes.DeleteAndDestroy( 0, aTOXTypes.Count() );
+// aTOXTypes.DeleteAndDestroy( 0, aTOXTypes.Count() );
{
for( USHORT n = pTOXTypes->Count(); n; )
{
@@ -609,8 +609,8 @@ SwDoc::~SwDoc()
"Default-Text-Collection muss immer am Anfang stehen" );
// JP 27.01.98: opt.: ausgehend davon, das Standard als 2. im Array
- // steht, sollte das als letztes geloescht werden, damit
- // die ganze Umhaengerei der Formate vermieden wird!
+ // steht, sollte das als letztes geloescht werden, damit
+ // die ganze Umhaengerei der Formate vermieden wird!
if( 2 < pTxtFmtCollTbl->Count() )
pTxtFmtCollTbl->DeleteAndDestroy( 2, pTxtFmtCollTbl->Count()-2 );
pTxtFmtCollTbl->DeleteAndDestroy( 1, pTxtFmtCollTbl->Count()-1 );
@@ -621,7 +621,7 @@ SwDoc::~SwDoc()
pGrfFmtCollTbl->DeleteAndDestroy( 1, pGrfFmtCollTbl->Count()-1 );
// ergibt sich automatisch - kein _DEL Array!
-// pGrfFmtCollTbl->Remove( 0, n );
+// pGrfFmtCollTbl->Remove( 0, n );
delete pGrfFmtCollTbl;
/*
@@ -647,7 +647,7 @@ SwDoc::~SwDoc()
//Ausserdem koennen vorher noch DrawContacts existieren.
ReleaseDrawModel();
//JP 28.01.99: DrawModel vorm LinkManager zerstoeren, da am DrawModel
- // dieser immer gesetzt ist.
+ // dieser immer gesetzt ist.
DELETEZ( pLinkMgr );
//Tables vor dem loeschen der Defaults leeren, sonst GPF wegen Def-Abhaengigen.
@@ -730,7 +730,7 @@ SfxPrinter& SwDoc::CreatePrinter_() const
// Das ItemSet wird vom Sfx geloescht!
SfxItemSet *pSet = new SfxItemSet( ((SwDoc*)this)->GetAttrPool(),
FN_PARAM_ADDPRINTER, FN_PARAM_ADDPRINTER,
- SID_HTML_MODE, SID_HTML_MODE,
+ SID_HTML_MODE, SID_HTML_MODE,
SID_PRINTER_NOTFOUND_WARN, SID_PRINTER_NOTFOUND_WARN,
SID_PRINTER_CHANGESTODOC, SID_PRINTER_CHANGESTODOC,
0 );
@@ -778,7 +778,7 @@ void SwDoc::ClearDoc()
{
BOOL bOldUndo = mbUndo;
DelAllUndoObj();
- mbUndo = FALSE; // immer das Undo abschalten !!
+ mbUndo = FALSE; // immer das Undo abschalten !!
// Undo-Benachrichtigung vom Draw abschalten
if( pDrawModel )
@@ -856,8 +856,8 @@ void SwDoc::ClearDoc()
if( pFtnColl ) pFtnColl->Remove( pEndNoteInfo );
// JP 27.01.98: opt.: ausgehend davon, das Standard als 2. im Array
- // steht, sollte das als letztes geloescht werden, damit
- // die ganze Umhaengerei der Formate vermieden wird!
+ // steht, sollte das als letztes geloescht werden, damit
+ // die ganze Umhaengerei der Formate vermieden wird!
if( 2 < pTxtFmtCollTbl->Count() )
pTxtFmtCollTbl->DeleteAndDestroy( 2, pTxtFmtCollTbl->Count()-2 );
pTxtFmtCollTbl->DeleteAndDestroy( 1, pTxtFmtCollTbl->Count()-1 );
@@ -907,7 +907,7 @@ void SwDoc::SetPreViewPrtData( const SwPagePreViewPrtData* pNew )
SetModified();
}
-SwModify* SwDoc::GetUnoCallBack() const
+SwModify* SwDoc::GetUnoCallBack() const
{
return pUnoCallBack;
}
@@ -1130,7 +1130,7 @@ SfxObjectShell* SwDoc::CreateCopy(bool bCallInitNew ) const
SfxObjectShellRef xRetShell = new SwDocShell( pRet, SFX_CREATE_MODE_STANDARD );
if( bCallInitNew )
xRetShell->DoInitNew();
- //copy content
+ //copy content
pRet->Paste( *this );
pRet->SetRefForDocShell( 0 );
return xRetShell;
diff --git a/sw/source/core/doc/docnum.cxx b/sw/source/core/doc/docnum.cxx
index 5fad9f575c2c..cc9b780f3dfb 100644
--- a/sw/source/core/doc/docnum.cxx
+++ b/sw/source/core/doc/docnum.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <doc.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <doctxm.hxx> // pTOXBaseRing
+#include <doctxm.hxx> // pTOXBaseRing
#include <poolfmt.hxx>
#include <undobj.hxx>
#include <swundo.hxx>
@@ -192,7 +192,7 @@ BOOL SwDoc::OutlineUpDown( const SwPaM& rPam, short nOffset )
{
//BYTE nLevel = (*pTxtFmtCollTbl)[ n ]->GetOutlineLevel();//#outline level,zhaojianwei
//if( nLevel < MAXLEVEL )
- // aCollArr[ nLevel ] = (*pTxtFmtCollTbl)[ n ];
+ // aCollArr[ nLevel ] = (*pTxtFmtCollTbl)[ n ];
if((*pTxtFmtCollTbl)[ n ]->IsAssignedToListLevelOfOutlineStyle())
{
const int nLevel = (*pTxtFmtCollTbl)[ n ]->GetAssignedOutlineStyleLevel();
@@ -372,7 +372,7 @@ BOOL SwDoc::OutlineUpDown( const SwPaM& rPam, short nOffset )
if( pColl->IsAssignedToListLevelOfOutlineStyle() )
{
- // OSL_ENSURE(pColl->GetOutlineLevel() < MAXLEVEL, //#outline level,removed by zhaojianwei
+ // OSL_ENSURE(pColl->GetOutlineLevel() < MAXLEVEL, //#outline level,removed by zhaojianwei
// "non outline node in outline nodes?");
//int nLevel = pColl->GetOutlineLevel();
const int nLevel = pColl->GetAssignedOutlineStyleLevel();//#outline level,add by zhaojianwei
@@ -390,7 +390,7 @@ BOOL SwDoc::OutlineUpDown( const SwPaM& rPam, short nOffset )
}
}
- else if( pTxtNd->GetAttrOutlineLevel() > 0) //#outline level,add by zhaojianwei
+ else if( pTxtNd->GetAttrOutlineLevel() > 0) //#outline level,add by zhaojianwei
{
int nLevel = pTxtNd->GetAttrOutlineLevel() + nOffset;
if( 0 <= nLevel && nLevel <= MAXLEVEL)
@@ -425,10 +425,10 @@ BOOL SwDoc::MoveOutlinePara( const SwPaM& rPam, short nOffset )
USHORT nAktPos = 0;
SwNodeIndex aSttRg( rStt.nNode ), aEndRg( rEnd.nNode );
- //BYTE nOutLineLevel = NO_NUMBERING; //#outline level,zhaojianwei
- int nOutLineLevel = MAXLEVEL; //<-end,zhaojianwei
+ //BYTE nOutLineLevel = NO_NUMBERING; //#outline level,zhaojianwei
+ int nOutLineLevel = MAXLEVEL; //<-end,zhaojianwei
SwNode* pSrch = &aSttRg.GetNode();
- //if( pSrch->IsTxtNode() ) //#outline level,zhaojianwei
+ //if( pSrch->IsTxtNode() ) //#outline level,zhaojianwei
// nOutLineLevel = static_cast<BYTE>(((SwTxtNode*)pSrch)->GetOutlineLevel());
if( pSrch->IsTxtNode())
nOutLineLevel = static_cast<BYTE>(((SwTxtNode*)pSrch)->GetAttrOutlineLevel()-1);//<-end,zhaojianwei
@@ -590,15 +590,15 @@ USHORT lcl_FindOutlineName( const SwNodes& rNds, const String& rName,
USHORT lcl_FindOutlineNum( const SwNodes& rNds, String& rName )
{
// Gueltig Nummern sind (immer nur Offsets!!!):
- // ([Nummer]+\.)+ (als regulaerer Ausdruck!)
- // (Nummer gefolgt von Punkt, zum 5 Wiederholungen)
- // also: "1.1.", "1.", "1.1.1."
+ // ([Nummer]+\.)+ (als regulaerer Ausdruck!)
+ // (Nummer gefolgt von Punkt, zum 5 Wiederholungen)
+ // also: "1.1.", "1.", "1.1.1."
xub_StrLen nPos = 0;
String sNum = rName.GetToken( 0, '.', nPos );
if( STRING_NOTFOUND == nPos )
- return USHRT_MAX; // ungueltige Nummer!!!
+ return USHRT_MAX; // ungueltige Nummer!!!
- USHORT nLevelVal[ MAXLEVEL ]; // Nummern aller Levels
+ USHORT nLevelVal[ MAXLEVEL ]; // Nummern aller Levels
memset( nLevelVal, 0, MAXLEVEL * sizeof( nLevelVal[0] ));
BYTE nLevel = 0;
String sName( rName );
@@ -613,9 +613,9 @@ USHORT lcl_FindOutlineNum( const SwNodes& rNds, String& rName )
nVal *= 10; nVal += c - '0';
}
else if( nLevel )
- break; // "fast" gueltige Nummer
+ break; // "fast" gueltige Nummer
else
- return USHRT_MAX; // ungueltige Nummer!!!
+ return USHRT_MAX; // ungueltige Nummer!!!
if( MAXLEVEL > nLevel )
nLevelVal[ nLevel++ ] = nVal;
@@ -627,7 +627,7 @@ USHORT lcl_FindOutlineNum( const SwNodes& rNds, String& rName )
if(!ByteString(sNum, gsl_getSystemTextEncoding()).IsNumericAscii())
nPos = STRING_NOTFOUND;
}
- rName = sName; // das ist der nachfolgende Text.
+ rName = sName; // das ist der nachfolgende Text.
// alle Levels gelesen, dann suche mal im Document nach dieser
// Gliederung:
@@ -642,7 +642,7 @@ USHORT lcl_FindOutlineNum( const SwNodes& rNds, String& rName )
for( ; nPos < rOutlNds.Count(); ++nPos )
{
pNd = rOutlNds[ nPos ]->GetTxtNode();
- //BYTE nLvl = pNd->GetTxtColl()->GetOutlineLevel(); //#outline level,zhaojianwei
+ //BYTE nLvl = pNd->GetTxtColl()->GetOutlineLevel(); //#outline level,zhaojianwei
const int nLvl = pNd->GetAttrOutlineLevel()-1; //<-end,zhaojianwei
if( nLvl == nLevel - 1)
{
@@ -725,7 +725,7 @@ BOOL SwDoc::GotoOutline( SwPosition& rPos, const String& rName ) const
if( !sExpandedText.Equals( sName ) )
{
USHORT nTmp = ::lcl_FindOutlineName( GetNodes(), sName, TRUE );
- if( USHRT_MAX != nTmp ) // ueber den Namen gefunden
+ if( USHRT_MAX != nTmp ) // ueber den Namen gefunden
{
nFndPos = nTmp;
pNd = rOutlNds[ nFndPos ]->GetTxtNode();
@@ -943,7 +943,7 @@ void SwDoc::SetNumRule( const SwPaM& rPam,
if (DoesUndo())
{
ClearRedo();
- StartUndo( UNDO_INSNUM, NULL ); // Klammerung fuer die Attribute!
+ StartUndo( UNDO_INSNUM, NULL ); // Klammerung fuer die Attribute!
AppendUndo( pUndo = new SwUndoInsNum( rPam, rRule ) );
}
@@ -1535,7 +1535,7 @@ BOOL SwDoc::NoNum( const SwPaM& rPam )
SetModified();
}
else
- bRet = FALSE; // keine Nummerierung , ?? oder immer TRUE ??
+ bRet = FALSE; // keine Nummerierung , ?? oder immer TRUE ??
}
return bRet;
}
@@ -1592,7 +1592,7 @@ void SwDoc::DelNumRules( const SwPaM& rPam )
if( RES_CONDTXTFMTCOLL == pTNd->GetFmtColl()->Which() )
pTNd->ChkCondColl();
//else if( !pOutlNd && NO_NUMBERING != //#outline level,zhaojianwei
- // ((SwTxtFmtColl*)pTNd->GetFmtColl())->GetOutlineLevel() )
+ // ((SwTxtFmtColl*)pTNd->GetFmtColl())->GetOutlineLevel() )
else if( !pOutlNd &&
((SwTxtFmtColl*)pTNd->GetFmtColl())->IsAssignedToListLevelOfOutlineStyle() )//<-end,zhaojianwei
pOutlNd = pTNd;
@@ -1646,7 +1646,7 @@ BOOL lcl_IsValidPrevNextNumNode( const SwNodeIndex& rIdx )
bRet = SwTableBoxStartNode == ((SwStartNode&)rNd).GetStartNodeType();
break;
- case ND_SECTIONNODE: // der ist erlaubt, also weiter
+ case ND_SECTIONNODE: // der ist erlaubt, also weiter
bRet = TRUE;
break;
}
@@ -1683,7 +1683,7 @@ BOOL lcl_GotoNextPrevNum( SwPosition& rPos, BOOL bNext,
nTmpNum = static_cast<BYTE>(pNd->GetActualListLevel());
if( !( ! pNd->IsCountedInList() &&
(nTmpNum >= nSrchNum )) )
- break; // gefunden
+ break; // gefunden
}
else
bError = TRUE;
@@ -1737,7 +1737,7 @@ BOOL lcl_GotoNextPrevNum( SwPosition& rPos, BOOL bNext,
aIdx--;
}
- if( !bRet && !bOverUpper && pLast ) // nicht ueber hoehere Nummmern, aber bis Ende
+ if( !bRet && !bOverUpper && pLast ) // nicht ueber hoehere Nummmern, aber bis Ende
{
if( bNext )
{
@@ -2073,23 +2073,23 @@ BOOL SwDoc::MoveParagraph( const SwPaM& rPam, long nOffset, BOOL bIsOutlMv )
switch( ComparePosition( *pRStt, *pREnd, aStPos, aEndPos ))
{
case POS_COLLIDE_START:
- case POS_BEHIND: // Pos1 liegt hinter Pos2
+ case POS_BEHIND: // Pos1 liegt hinter Pos2
nRedlPos = GetRedlineTbl().Count();
break;
case POS_COLLIDE_END:
- case POS_BEFORE: // Pos1 liegt vor Pos2
+ case POS_BEFORE: // Pos1 liegt vor Pos2
break;
- case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
+ case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
// ist erlaubt, aber checke dann alle nachfolgenden
// auf Ueberlappungen
bCheckDel = FALSE;
break;
- case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
- case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
- case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
- case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
+ case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
+ case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
+ case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
+ case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
return FALSE;
}
}
@@ -2656,8 +2656,8 @@ sal_Int32 SwDoc::getOutlineNodesCount() const
int SwDoc::getOutlineLevel( const sal_Int32 nIdx ) const
{
return GetNodes().GetOutLineNds()[ static_cast<USHORT>(nIdx) ]->
- // GetTxtNode()->GetOutlineLevel(); //#outline level,zhaojianwei
- GetTxtNode()->GetAttrOutlineLevel()-1; //<-end,zhaojianwei
+ // GetTxtNode()->GetOutlineLevel(); //#outline level,zhaojianwei
+ GetTxtNode()->GetAttrOutlineLevel()-1; //<-end,zhaojianwei
}
String SwDoc::getOutlineText( const sal_Int32 nIdx,
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 7854d2b9a973..128878dfc324 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -282,24 +282,24 @@ bool CheckPosition( const SwPosition* pStt, const SwPosition* pEnd )
Text heisst, nicht von Redline "verseuchter" Text.
Verhalten von Insert-Redline:
- - im Text - Redline Object einfuegen
- - im InsertRedline (eigenes) - ignorieren, bestehendes wird
+ - im Text - Redline Object einfuegen
+ - im InsertRedline (eigenes) - ignorieren, bestehendes wird
aufgespannt
- - im InsertRedline (andere) - Insert Redline aufsplitten
+ - im InsertRedline (andere) - Insert Redline aufsplitten
Redline Object einfuegen
- - in DeleteRedline - Delete Redline aufsplitten oder
+ - in DeleteRedline - Delete Redline aufsplitten oder
am Ende/Anfang verschieben
Verhalten von Delete-Redline:
- - im Text - Redline Object einfuegen
- - im DeleteRedline (eigenes/andere) - ignorieren
- - im InsertRedline (eigenes) - ignorieren, Zeichen aber loeschen
- - im InsertRedline (andere) - Insert Redline aufsplitten
+ - im Text - Redline Object einfuegen
+ - im DeleteRedline (eigenes/andere) - ignorieren
+ - im InsertRedline (eigenes) - ignorieren, Zeichen aber loeschen
+ - im InsertRedline (andere) - Insert Redline aufsplitten
Redline Object einfuegen
- - Ueberlappung von Text und - Text in eigenen Insert loeschen,
- eigenem Insert im andereren Text aufspannen (bis
+ - Ueberlappung von Text und - Text in eigenen Insert loeschen,
+ eigenem Insert im andereren Text aufspannen (bis
zum Insert!
- - Ueberlappung von Text und - Redline Object einfuegen, der
+ - Ueberlappung von Text und - Redline Object einfuegen, der
anderem Insert andere Insert wird vom Delete
ueberlappt
*/
@@ -634,7 +634,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
if( *pStt == *pRStt && pRedl->GetContentIdx() == NULL )
pRedlineTbl->DeleteAndDestroy( n );
AppendRedline( pNew, bCallDelete );
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
}
@@ -666,7 +666,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
pNew->SetStart( *pREnd );
pNewRedl->SetEnd( *pRStt, pEnd );
AppendRedline( pNew, bCallDelete );
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
else
@@ -683,7 +683,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
case POS_OVERLAP_BEFORE:
case POS_OVERLAP_BEHIND:
if( pRedl->IsOwnRedline( *pNewRedl ) &&
-// 1 == pRedl->GetStackCount() &&
+// 1 == pRedl->GetStackCount() &&
pRedl->CanCombine( *pNewRedl ))
{
// dann kann das zusammengefasst werden, sprich
@@ -704,7 +704,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
case POS_COLLIDE_START:
case POS_COLLIDE_END:
if( pRedl->IsOwnRedline( *pNewRedl ) &&
-// 1 == pRedl->GetStackCount() &&
+// 1 == pRedl->GetStackCount() &&
pRedl->CanCombine( *pNewRedl ) )
{
if( IsHideChanges( eRedlineMode ))
@@ -848,7 +848,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
pRedlineTbl->Remove( nFnd );
else
pNewRedl = 0;
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
}
bDec = true;
}
@@ -877,7 +877,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
pRedlineTbl->Remove( nFnd );
else
pNewRedl = 0;
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
}
@@ -1079,7 +1079,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
( pRedl->GetContentIdx() == NULL ) )
pRedlineTbl->DeleteAndDestroy( n );
AppendRedline( pNew, bCallDelete );
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
}
@@ -1126,7 +1126,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
pNew->SetStart( *pREnd );
pNewRedl->SetEnd( *pRStt, pEnd );
AppendRedline( pNew, bCallDelete );
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
}
@@ -1176,7 +1176,7 @@ bool SwDoc::AppendRedline( SwRedline* pNewRedl, bool bCallDelete )
pNew->SetStart( *pEnd );
pRedl->SetEnd( *pStt, pREnd );
AppendRedline( pNew, bCallDelete );
- n = 0; // neu Aufsetzen
+ n = 0; // neu Aufsetzen
bDec = true;
}
break;
@@ -2023,7 +2023,7 @@ int lcl_AcceptRejectRedl( Fn_AcceptReject fn_AcceptReject,
* pEnd = pStt == rPam.GetPoint() ? rPam.GetMark()
: rPam.GetPoint();
const SwRedline* pFnd = lcl_FindCurrRedline( *pStt, n, TRUE );
- if( pFnd && // neu ein Teil davon?
+ if( pFnd && // neu ein Teil davon?
( *pFnd->Start() != *pStt || *pFnd->End() > *pEnd ))
{
// dann nur die TeilSelektion aufheben
@@ -2080,7 +2080,7 @@ void lcl_AdjustRedlineRange( SwPaM& rPam )
}
if( pEnd->nNode.GetNode().IsCntntNode() &&
!pDoc->GetNodes()[ pEnd->nNode.GetIndex() + 1 ]->IsCntntNode() &&
- pEnd->nContent.GetIndex() == pEnd->nNode.GetNode().GetCntntNode()->Len() )
+ pEnd->nContent.GetIndex() == pEnd->nNode.GetNode().GetCntntNode()->Len() )
{
const SwRedline* pRedl = pDoc->GetRedline( *pEnd, 0 );
if( pRedl )
@@ -3170,18 +3170,18 @@ void SwRedline::Show( USHORT nLoop )
switch( GetType() )
{
- case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
+ case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
bIsVisible = TRUE;
MoveFromSection();
break;
- case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
+ case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
bIsVisible = TRUE;
MoveFromSection();
break;
- case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
- case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
+ case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
+ case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
InvalidateRange();
break;
default:
@@ -3202,24 +3202,24 @@ void SwRedline::Hide( USHORT nLoop )
switch( GetType() )
{
- case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
+ case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
bIsVisible = TRUE;
if( 1 <= nLoop )
MoveFromSection();
break;
- case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
+ case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
bIsVisible = FALSE;
switch( nLoop )
{
- case 0: MoveToSection(); break;
- case 1: CopyToSection(); break;
- case 2: DelCopyOfSection(); break;
+ case 0: MoveToSection(); break;
+ case 1: CopyToSection(); break;
+ case 2: DelCopyOfSection(); break;
}
break;
- case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
- case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
+ case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
+ case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
if( 1 <= nLoop )
InvalidateRange();
break;
@@ -3246,24 +3246,24 @@ void SwRedline::ShowOriginal( USHORT nLoop )
switch( pCur->eType )
{
- case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
+ case nsRedlineType_t::REDLINE_INSERT: // Inhalt wurde eingefuegt
bIsVisible = FALSE;
switch( nLoop )
{
- case 0: MoveToSection(); break;
- case 1: CopyToSection(); break;
- case 2: DelCopyOfSection(); break;
+ case 0: MoveToSection(); break;
+ case 1: CopyToSection(); break;
+ case 2: DelCopyOfSection(); break;
}
break;
- case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
+ case nsRedlineType_t::REDLINE_DELETE: // Inhalt wurde geloescht
bIsVisible = TRUE;
if( 1 <= nLoop )
MoveFromSection();
break;
- case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
- case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
+ case nsRedlineType_t::REDLINE_FORMAT: // Attributierung wurde angewendet
+ case nsRedlineType_t::REDLINE_TABLE: // TabellenStruktur wurde veraendert
if( 1 <= nLoop )
InvalidateRange();
break;
@@ -3275,7 +3275,7 @@ void SwRedline::ShowOriginal( USHORT nLoop )
}
-void SwRedline::InvalidateRange() // das Layout anstossen
+void SwRedline::InvalidateRange() // das Layout anstossen
{
ULONG nSttNd = GetMark()->nNode.GetIndex(),
nEndNd = GetPoint()->nNode.GetIndex();
@@ -3313,14 +3313,14 @@ void SwRedline::CalcStartEnd( ULONG nNdIdx, USHORT& nStart, USHORT& nEnd ) const
{
if( pREnd->nNode > nNdIdx )
{
- nStart = 0; // Absatz ist komplett enthalten
+ nStart = 0; // Absatz ist komplett enthalten
nEnd = STRING_LEN;
}
else
{
OSL_ENSURE( pREnd->nNode == nNdIdx,
"SwRedlineItr::Seek: GetRedlinePos Error" );
- nStart = 0; // Absatz wird vorne ueberlappt
+ nStart = 0; // Absatz wird vorne ueberlappt
nEnd = pREnd->nContent.GetIndex();
}
}
@@ -3330,7 +3330,7 @@ void SwRedline::CalcStartEnd( ULONG nNdIdx, USHORT& nStart, USHORT& nEnd ) const
if( pREnd->nNode == nNdIdx )
nEnd = pREnd->nContent.GetIndex(); // Innerhalb des Absatzes
else
- nEnd = STRING_LEN; // Absatz wird hinten ueberlappt
+ nEnd = STRING_LEN; // Absatz wird hinten ueberlappt
}
else
{
@@ -3454,7 +3454,7 @@ void SwRedline::CopyToSection()
pDoc->CopyRange( *this, aPos, false );
// JP 08.10.98: die Vorlage vom EndNode ggfs. mit uebernehmen
- // - ist im Doc::Copy nicht erwuenscht
+ // - ist im Doc::Copy nicht erwuenscht
if( pCEndNd && pCEndNd != pCSttNd )
{
SwCntntNode* pDestNd = aPos.nNode.GetNode().GetCntntNode();
@@ -3726,14 +3726,14 @@ void SwRedline::SetContentIdx( const SwNodeIndex* pIdx )
BOOL SwRedline::CanCombine( const SwRedline& rRedl ) const
{
- return IsVisible() && rRedl.IsVisible() &&
+ return IsVisible() && rRedl.IsVisible() &&
pRedlineData->CanCombine( *rRedl.pRedlineData );
}
void SwRedline::PushData( const SwRedline& rRedl, BOOL bOwnAsNext )
{
-// SwRedlineData* pNew = new SwRedlineData( rRedl.GetType(),
-// rRedl.GetAuthor() );
+// SwRedlineData* pNew = new SwRedlineData( rRedl.GetType(),
+// rRedl.GetAuthor() );
SwRedlineData* pNew = new SwRedlineData( *rRedl.pRedlineData, FALSE );
if( bOwnAsNext )
{
diff --git a/sw/source/core/doc/docruby.cxx b/sw/source/core/doc/docruby.cxx
index e09e74c3db03..866942b26365 100644
--- a/sw/source/core/doc/docruby.cxx
+++ b/sw/source/core/doc/docruby.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "precompiled_sw.hxx"
-#include <string.h> // fuer strchr()
+#include <string.h> // fuer strchr()
#include <hintids.hxx>
#include <com/sun/star/i18n/UnicodeType.hdl>
@@ -38,12 +38,12 @@
#include <unotools/charclass.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
+#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
#include <ndtxt.hxx>
#include <txatbase.hxx>
#include <rubylist.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <undobj.hxx>
#include <breakit.hxx>
#include <crsskip.hxx>
@@ -289,7 +289,7 @@ BOOL SwDoc::_SelectNextRubyChars( SwPaM& rPam, SwRubyListEntry& rEntry, USHORT )
case UnicodeType::SPACE_SEPARATOR:
case UnicodeType::CONTROL:
-/*??*/ case UnicodeType::PRIVATE_USE:
+/*??*/ case UnicodeType::PRIVATE_USE:
case UnicodeType::START_PUNCTUATION:
case UnicodeType::END_PUNCTUATION:
bIgnoreChar = TRUE;
@@ -299,27 +299,27 @@ BOOL SwDoc::_SelectNextRubyChars( SwPaM& rPam, SwRubyListEntry& rEntry, USHORT )
case UnicodeType::OTHER_LETTER:
bChkNxtWrd = TRUE;
// no break!
-// case UnicodeType::UNASSIGNED:
-// case UnicodeType::MODIFIER_LETTER:
-// case UnicodeType::NON_SPACING_MARK:
-// case UnicodeType::ENCLOSING_MARK:
-// case UnicodeType::COMBINING_SPACING_MARK:
-// case UnicodeType::LETTER_NUMBER:
-// case UnicodeType::OTHER_NUMBER:
-// case UnicodeType::LINE_SEPARATOR:
-// case UnicodeType::PARAGRAPH_SEPARATOR:
-// case UnicodeType::FORMAT:
-// case UnicodeType::SURROGATE:
-// case UnicodeType::DASH_PUNCTUATION:
-// case UnicodeType::CONNECTOR_PUNCTUATION:
+// case UnicodeType::UNASSIGNED:
+// case UnicodeType::MODIFIER_LETTER:
+// case UnicodeType::NON_SPACING_MARK:
+// case UnicodeType::ENCLOSING_MARK:
+// case UnicodeType::COMBINING_SPACING_MARK:
+// case UnicodeType::LETTER_NUMBER:
+// case UnicodeType::OTHER_NUMBER:
+// case UnicodeType::LINE_SEPARATOR:
+// case UnicodeType::PARAGRAPH_SEPARATOR:
+// case UnicodeType::FORMAT:
+// case UnicodeType::SURROGATE:
+// case UnicodeType::DASH_PUNCTUATION:
+// case UnicodeType::CONNECTOR_PUNCTUATION:
///*?? */case UnicodeType::OTHER_PUNCTUATION:
//--> char '!' is to ignore!
-// case UnicodeType::MATH_SYMBOL:
-// case UnicodeType::CURRENCY_SYMBOL:
-// case UnicodeType::MODIFIER_SYMBOL:
-// case UnicodeType::OTHER_SYMBOL:
-// case UnicodeType::INITIAL_PUNCTUATION:
-// case UnicodeType::FINAL_PUNCTUATION:
+// case UnicodeType::MATH_SYMBOL:
+// case UnicodeType::CURRENCY_SYMBOL:
+// case UnicodeType::MODIFIER_SYMBOL:
+// case UnicodeType::OTHER_SYMBOL:
+// case UnicodeType::INITIAL_PUNCTUATION:
+// case UnicodeType::FINAL_PUNCTUATION:
default:
bIsAlphaNum = FALSE;
break;
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index f39063e27702..9cbfc57e0f26 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +61,13 @@
using namespace ::com::sun::star::lang;
-SwSortOptions* SwSortElement::pOptions = 0;
-SwDoc* SwSortElement::pDoc = 0;
-const FlatFndBox* SwSortElement::pBox = 0;
-CollatorWrapper* SwSortElement::pSortCollator = 0;
-Locale* SwSortElement::pLocale = 0;
-String* SwSortElement::pLastAlgorithm = 0;
-LocaleDataWrapper* SwSortElement::pLclData = 0;
+SwSortOptions* SwSortElement::pOptions = 0;
+SwDoc* SwSortElement::pDoc = 0;
+const FlatFndBox* SwSortElement::pBox = 0;
+CollatorWrapper* SwSortElement::pSortCollator = 0;
+Locale* SwSortElement::pLocale = 0;
+String* SwSortElement::pLastAlgorithm = 0;
+LocaleDataWrapper* SwSortElement::pLclData = 0;
SV_IMPL_OP_PTRARR_SORT( SwSortElements, SwSortElementPtr );
@@ -94,8 +94,8 @@ void SwSortElement::Init( SwDoc* pD, const SwSortOptions& rOpt,
pSortCollator = new CollatorWrapper(
::comphelper::getProcessServiceFactory() );
-// pSortCollator->loadCollatorAlgorithm( sAlgorithm, aLocale,
-// rOpt.bIgnoreCase ? SW_COLLATOR_IGNORES : 0 );
+// pSortCollator->loadCollatorAlgorithm( sAlgorithm, aLocale,
+// rOpt.bIgnoreCase ? SW_COLLATOR_IGNORES : 0 );
}
void SwSortElement::Finit()
@@ -258,14 +258,14 @@ String SwSortBoxElement::GetKey(USHORT nKey) const
USHORT nCol = pOptions->aKeys[nKey]->nColumnId-1;
if( SRT_ROWS == pOptions->eDirection )
- pFndBox = pBox->GetBox(nCol, nRow); // Zeilen sortieren
+ pFndBox = pBox->GetBox(nCol, nRow); // Zeilen sortieren
else
- pFndBox = pBox->GetBox(nRow, nCol); // Spalten sortieren
+ pFndBox = pBox->GetBox(nRow, nCol); // Spalten sortieren
// Den Text rausfieseln
String aRetStr;
if( pFndBox )
- { // StartNode holen und ueberlesen
+ { // StartNode holen und ueberlesen
const SwTableBox* pMyBox = pFndBox->GetBox();
OSL_ENSURE(pMyBox, "Keine atomare Box");
@@ -287,9 +287,9 @@ double SwSortBoxElement::GetValue( USHORT nKey ) const
USHORT nCol = pOptions->aKeys[nKey]->nColumnId-1;
if( SRT_ROWS == pOptions->eDirection )
- pFndBox = pBox->GetBox(nCol, nRow); // Zeilen sortieren
+ pFndBox = pBox->GetBox(nCol, nRow); // Zeilen sortieren
else
- pFndBox = pBox->GetBox(nRow, nCol); // Spalten sortieren
+ pFndBox = pBox->GetBox(nRow, nCol); // Spalten sortieren
double nVal;
if( pFndBox )
@@ -416,9 +416,9 @@ BOOL SwDoc::SortText(const SwPaM& rPaM, const SwSortOptions& rOpt)
for ( USHORT n = 0; n < aSortArr.Count(); ++n )
{
SwSortTxtElement* pBox = (SwSortTxtElement*)aSortArr[n];
- aStart = nBeg + n;
- aRg.aStart = pBox->aPos.GetIndex();
- aRg.aEnd = aRg.aStart.GetIndex() + 1;
+ aStart = nBeg + n;
+ aRg.aStart = pBox->aPos.GetIndex();
+ aRg.aEnd = aRg.aStart.GetIndex() + 1;
// Nodes verschieben
MoveNodeRange( aRg, aStart,
@@ -559,7 +559,7 @@ BOOL SwDoc::SortTbl(const SwSelBoxes& rBoxes, const SwSortOptions& rOpt)
if(bUndo)
{
ClearRedo();
- pUndoSort = new SwUndoSort( rBoxes[0]->GetSttIdx(),
+ pUndoSort = new SwUndoSort( rBoxes[0]->GetSttIdx(),
rBoxes[rBoxes.Count()-1]->GetSttIdx(),
*pTblNd, rOpt, aFlatBox.HasItemSets() );
AppendUndo(pUndoSort);
@@ -623,7 +623,7 @@ void MoveRow(SwDoc* pDoc, const FlatFndBox& rBox, USHORT nS, USHORT nT,
SwMovedBoxes& rMovedList, SwUndoSort* pUD)
{
for( USHORT i=0; i < rBox.GetCols(); ++i )
- { // Alte Zellen-Pos bestimmen und merken
+ { // Alte Zellen-Pos bestimmen und merken
const _FndBox* pSource = rBox.GetBox(i, nS);
// neue Zellen-Pos
@@ -669,7 +669,7 @@ void MoveCol(SwDoc* pDoc, const FlatFndBox& rBox, USHORT nS, USHORT nT,
SwMovedBoxes& rMovedList, SwUndoSort* pUD)
{
for(USHORT i=0; i < rBox.GetRows(); ++i)
- { // Alte Zellen-Pos bestimmen und merken
+ { // Alte Zellen-Pos bestimmen und merken
const _FndBox* pSource = rBox.GetBox(nS, i);
// neue Zellen-Pos
@@ -737,7 +737,7 @@ void MoveCell(SwDoc* pDoc, const SwTableBox* pSource, const SwTableBox* pTar,
// Ist das Ziel leer(1 leerer Node vorhanden)
// -> diesen loeschen und move
// Ziel
- SwNodeIndex aTar( *pTar->GetSttNd() );
+ SwNodeIndex aTar( *pTar->GetSttNd() );
pNd = pDoc->GetNodes().GoNext( &aTar ); // naechsten ContentNode
ULONG nCount = pNd->EndOfSectionIndex() - pNd->StartOfSectionIndex();
@@ -749,7 +749,7 @@ void MoveCell(SwDoc* pDoc, const SwTableBox* pSource, const SwTableBox* pTar,
}
if(!bDelFirst)
- { // Es besteht schon Inhalt -> alter I n h a l t Section Down
+ { // Es besteht schon Inhalt -> alter I n h a l t Section Down
SwNodeRange aRgTar( aTar.GetNode(), 0, *pNd->EndOfSectionNode() );
pDoc->GetNodes().SectionDown( &aRgTar );
}
@@ -801,7 +801,7 @@ FlatFndBox::~FlatFndBox()
}
/*--------------------------------------------------------------------
- Beschreibung: Alle Lines einer Box muessen gleichviel Boxen haben
+ Beschreibung: Alle Lines einer Box muessen gleichviel Boxen haben
--------------------------------------------------------------------*/
BOOL FlatFndBox::CheckLineSymmetry(const _FndBox& rBox)
{
@@ -810,7 +810,7 @@ BOOL FlatFndBox::CheckLineSymmetry(const _FndBox& rBox)
// UeberLines iterieren
for(USHORT i=0; i < rLines.Count(); ++i)
- { // Die Boxen einer Line
+ { // Die Boxen einer Line
_FndLine* pLn = rLines[i];
const _FndBoxes& rBoxes = pLn->GetBoxes();
@@ -826,7 +826,7 @@ BOOL FlatFndBox::CheckLineSymmetry(const _FndBox& rBox)
}
/*--------------------------------------------------------------------
- Beschreibung: Box auf Symmetrie pruefen
+ Beschreibung: Box auf Symmetrie pruefen
Alle Boxen einer Line muessen gleichviele Lines haben
--------------------------------------------------------------------*/
BOOL FlatFndBox::CheckBoxSymmetry(const _FndLine& rLn)
@@ -836,7 +836,7 @@ BOOL FlatFndBox::CheckBoxSymmetry(const _FndLine& rLn)
// Ueber Boxes iterieren
for(USHORT i=0; i < rBoxes.Count(); ++i)
- { // Die Boxen einer Line
+ { // Die Boxen einer Line
_FndBox* pBox = rBoxes[i];
const _FndLines& rLines = pBox->GetLines();
@@ -868,7 +868,7 @@ USHORT FlatFndBox::GetColCount(const _FndBox& rBox)
USHORT nCount = 0;
const _FndBoxes& rBoxes = rLines[i]->GetBoxes();
for( USHORT j=0; j < rBoxes.Count(); ++j )
- // Rekursiv wirder ueber die Lines Iterieren
+ // Rekursiv wirder ueber die Lines Iterieren
nCount += rBoxes[j]->GetLines().Count()
? GetColCount(*rBoxes[j]) : 1;
@@ -889,12 +889,12 @@ USHORT FlatFndBox::GetRowCount(const _FndBox& rBox)
USHORT nLines = 0;
for(USHORT i=0; i < rLines.Count(); ++i)
- { // Die Boxen einer Line
+ { // Die Boxen einer Line
const _FndBoxes& rBoxes = rLines[i]->GetBoxes();
USHORT nLn = 1;
for(USHORT j=0; j < rBoxes.Count(); ++j)
if( rBoxes[j]->GetLines().Count() )
- // Rekursiv ueber die Lines Iterieren
+ // Rekursiv ueber die Lines Iterieren
nLn = Max(GetRowCount(*rBoxes[j]), nLn);
nLines = nLines + nLn;
@@ -920,7 +920,7 @@ void FlatFndBox::FillFlat(const _FndBox& rBox, BOOL bLastBox)
for( USHORT j = 0; j < rBoxes.Count(); ++j )
{
// Die Box pruefen ob es eine atomare Box ist
- const _FndBox* pBox = rBoxes[ j ];
+ const _FndBox* pBox = rBoxes[ j ];
if( !pBox->GetLines().Count() )
{
diff --git a/sw/source/core/doc/docstat.cxx b/sw/source/core/doc/docstat.cxx
index 5225ffd6ad10..e2bef7fd4992 100644
--- a/sw/source/core/doc/docstat.cxx
+++ b/sw/source/core/doc/docstat.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
/************************************************************************
- * SwDocStat::SwDocStat()
+ * SwDocStat::SwDocStat()
************************************************************************/
SwDocStat::SwDocStat() :
@@ -51,19 +51,19 @@ SwDocStat::SwDocStat() :
{}
/************************************************************************
- * void SwDocStat::Reset()
+ * void SwDocStat::Reset()
************************************************************************/
void SwDocStat::Reset()
{
- nTbl = 0;
- nGrf = 0;
- nOLE = 0;
+ nTbl = 0;
+ nGrf = 0;
+ nOLE = 0;
nPage = 1;
nPara = 1;
nAllPara= 1;
- nWord = 0;
- nChar = 0;
+ nWord = 0;
+ nChar = 0;
nCharExcludingSpaces = 0;
bModified = TRUE;
}
diff --git a/sw/source/core/doc/doctxm.cxx b/sw/source/core/doc/doctxm.cxx
index 3d7ed1be1d7a..dfc587d3cb12 100644
--- a/sw/source/core/doc/doctxm.cxx
+++ b/sw/source/core/doc/doctxm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +79,17 @@
using namespace ::com::sun::star;
-const sal_Unicode cNumRepl = '@';
-const sal_Unicode cEndPageNum = '~';
+const sal_Unicode cNumRepl = '@';
+const sal_Unicode cEndPageNum = '~';
const sal_Char __FAR_DATA sPageDeli[] = ", ";
SV_IMPL_PTRARR(SwTOXSortTabBases, SwTOXSortTabBasePtr)
-TYPEINIT2( SwTOXBaseSection, SwTOXBase, SwSection ); // fuers RTTI
+TYPEINIT2( SwTOXBaseSection, SwTOXBase, SwSection ); // fuers RTTI
struct LinkStruct
{
- SwFmtINetFmt aINetFmt;
+ SwFmtINetFmt aINetFmt;
xub_StrLen nStartTextPos, nEndTextPos;
LinkStruct( const String& rURL, xub_StrLen nStart, xub_StrLen nEnd )
@@ -161,7 +161,7 @@ USHORT SwDoc::GetCurTOXMark( const SwPosition& rPos,
// pruefe Ende mit ab
if( 0 == ( pEndIdx = pHt->GetEnd() ) ||
*pEndIdx <= nAktPos )
- continue; // weiter suchen
+ continue; // weiter suchen
}
else if( nSttIdx > nAktPos )
// ist Start vom Hint groesser als rPos, dann abbrechen. Denn
@@ -252,12 +252,12 @@ const SwTOXMark& SwDoc::GotoTOXMark( const SwTOXMark& rCurTOXMark,
CompareNodeCntnt aMax( 0, 0 );
CompareNodeCntnt aMin( ULONG_MAX, STRING_NOTFOUND );
- const SwTOXMark* pNew = 0;
- const SwTOXMark* pMax = &rCurTOXMark;
- const SwTOXMark* pMin = &rCurTOXMark;
+ const SwTOXMark* pNew = 0;
+ const SwTOXMark* pMax = &rCurTOXMark;
+ const SwTOXMark* pMin = &rCurTOXMark;
const SwModify* pType = rCurTOXMark.GetRegisteredIn();
- SwClientIter aIter( *(SwModify*)pType );
+ SwClientIter aIter( *(SwModify*)pType );
const SwTOXMark* pTOXMark;
const SwCntntFrm* pCFrm;
@@ -431,7 +431,7 @@ const SwTOXBaseSection* SwDoc::InsertTableOf( ULONG nSttNd, ULONG nEndNd,
if(pSet)
pFmt->SetFmtAttr(*pSet);
-// --aEnd; // im InsertSection ist Ende inclusive
+// --aEnd; // im InsertSection ist Ende inclusive
SwSectionNode *const pNewSectionNode =
GetNodes().InsertTextSection(aStt, *pFmt, aSectionData, &rTOX, &aEnd);
@@ -484,13 +484,13 @@ const SwTOXBase* SwDoc::GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate )
SwTOXBase** prBase = 0;
switch(eTyp)
{
- case TOX_CONTENT: prBase = &pDefTOXBases->pContBase; break;
+ case TOX_CONTENT: prBase = &pDefTOXBases->pContBase; break;
case TOX_INDEX: prBase = &pDefTOXBases->pIdxBase; break;
case TOX_USER: prBase = &pDefTOXBases->pUserBase; break;
case TOX_TABLES: prBase = &pDefTOXBases->pTblBase; break;
case TOX_OBJECTS: prBase = &pDefTOXBases->pObjBase; break;
case TOX_ILLUSTRATIONS: prBase = &pDefTOXBases->pIllBase; break;
- case TOX_AUTHORITIES: prBase = &pDefTOXBases->pAuthBase; break;
+ case TOX_AUTHORITIES: prBase = &pDefTOXBases->pAuthBase; break;
}
if(!(*prBase) && bCreate)
{
@@ -501,18 +501,18 @@ const SwTOXBase* SwDoc::GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate )
return (*prBase);
}
-void SwDoc::SetDefaultTOXBase(const SwTOXBase& rBase)
+void SwDoc::SetDefaultTOXBase(const SwTOXBase& rBase)
{
SwTOXBase** prBase = 0;
switch(rBase.GetType())
{
- case TOX_CONTENT: prBase = &pDefTOXBases->pContBase; break;
+ case TOX_CONTENT: prBase = &pDefTOXBases->pContBase; break;
case TOX_INDEX: prBase = &pDefTOXBases->pIdxBase; break;
case TOX_USER: prBase = &pDefTOXBases->pUserBase; break;
case TOX_TABLES: prBase = &pDefTOXBases->pTblBase; break;
case TOX_OBJECTS: prBase = &pDefTOXBases->pObjBase; break;
case TOX_ILLUSTRATIONS: prBase = &pDefTOXBases->pIllBase; break;
- case TOX_AUTHORITIES: prBase = &pDefTOXBases->pAuthBase; break;
+ case TOX_AUTHORITIES: prBase = &pDefTOXBases->pAuthBase; break;
}
if(*prBase)
delete (*prBase);
@@ -612,7 +612,7 @@ BOOL SwDoc::DeleteTOX( const SwTOXBase& rTOXBase, BOOL bDelNodes )
}
/*--------------------------------------------------------------------
- Beschreibung: Verzeichnistypen verwalten
+ Beschreibung: Verzeichnistypen verwalten
--------------------------------------------------------------------*/
USHORT SwDoc::GetTOXTypeCount(TOXTypes eTyp) const
{
@@ -726,7 +726,7 @@ const SwTxtNode* lcl_FindChapterNode( const SwNode& rNd, BYTE nLvl = 0 )
{
SwPosition aPos( *pNd );
pNd = GetBodyTxtNode( *pNd->GetDoc(), aPos, *pFrm );
- OSL_ENSURE( pNd, "wo steht der Absatz" );
+ OSL_ENSURE( pNd, "wo steht der Absatz" );
}
}
return pNd ? pNd->FindOutlineNodeOfLevel( nLvl ) : 0;
@@ -1001,7 +1001,7 @@ sNm.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_Head" ));
aSortArr[ nCnt ]->pTOXNd = pTOXNd;
// Generierung: Form auswerten und Platzhalter
- // fuer die Seitennummer eintragen
+ // fuer die Seitennummer eintragen
//if it is a TOX_INDEX and the SwForm IsCommaSeparated()
// then a range of entries must be generated into one paragraph
USHORT nRange = 1;
@@ -1069,7 +1069,7 @@ void SwTOXBaseSection::InsertAlphaDelimitter( const SwTOXInternational& rIntl )
{
SwDoc* pDoc = (SwDoc*)GetFmt()->GetDoc();
String sDeli, sLastDeli;
- USHORT i = 0;
+ USHORT i = 0;
while( i < aSortArr.Count() )
{
::SetProgressState( 0, pDoc->GetDocShell() );
@@ -1120,17 +1120,17 @@ SwTxtFmtColl* SwTOXBaseSection::GetTxtFmtColl( USHORT nLevel )
const TOXTypes eMyType = SwTOXBase::GetType();
switch( eMyType )
{
- case TOX_INDEX: nPoolFmt = RES_POOLCOLL_TOX_IDXH; break;
+ case TOX_INDEX: nPoolFmt = RES_POOLCOLL_TOX_IDXH; break;
case TOX_USER:
if( nLevel < 6 )
nPoolFmt = RES_POOLCOLL_TOX_USERH;
else
nPoolFmt = RES_POOLCOLL_TOX_USER6 - 6;
break;
- case TOX_ILLUSTRATIONS: nPoolFmt = RES_POOLCOLL_TOX_ILLUSH; break;
- case TOX_OBJECTS: nPoolFmt = RES_POOLCOLL_TOX_OBJECTH; break;
- case TOX_TABLES: nPoolFmt = RES_POOLCOLL_TOX_TABLESH; break;
- case TOX_AUTHORITIES: nPoolFmt = RES_POOLCOLL_TOX_AUTHORITIESH; break;
+ case TOX_ILLUSTRATIONS: nPoolFmt = RES_POOLCOLL_TOX_ILLUSH; break;
+ case TOX_OBJECTS: nPoolFmt = RES_POOLCOLL_TOX_OBJECTH; break;
+ case TOX_TABLES: nPoolFmt = RES_POOLCOLL_TOX_TABLESH; break;
+ case TOX_AUTHORITIES: nPoolFmt = RES_POOLCOLL_TOX_AUTHORITIESH; break;
case TOX_CONTENT:
// im Content Bereich gibt es einen Sprung!
@@ -1222,7 +1222,7 @@ void SwTOXBaseSection::UpdateMarks( const SwTOXInternational& rIntl,
}
else if( TOX_USER == eTOXTyp ||
pMark->GetLevel() <= GetLevel())
- { // Inhaltsberzeichnismarkierung
+ { // Inhaltsberzeichnismarkierung
// also used for user marks
pBase = new SwTOXContent( *pTOXSrc, pTxtMark, rIntl );
InsertSorted(pBase);
@@ -1233,7 +1233,7 @@ void SwTOXBaseSection::UpdateMarks( const SwTOXInternational& rIntl,
}
/*--------------------------------------------------------------------
- Beschreibung: Verzeichnisinhalt aus Gliederungsebene generieren
+ Beschreibung: Verzeichnisinhalt aus Gliederungsebene generieren
--------------------------------------------------------------------*/
void SwTOXBaseSection::UpdateOutline( const SwTxtNode* pOwnChapterNode )
{
@@ -1246,8 +1246,8 @@ void SwTOXBaseSection::UpdateOutline( const SwTxtNode* pOwnChapterNode )
::SetProgressState( 0, pDoc->GetDocShell() );
SwTxtNode* pTxtNd = rOutlNds[ n ]->GetTxtNode();
if( pTxtNd && pTxtNd->Len() && pTxtNd->GetDepends() &&
- //USHORT(pTxtNd->GetTxtColl()->GetOutlineLevel()+1) <= GetLevel() && //#outline level,zhaojianwei
- USHORT( pTxtNd->GetAttrOutlineLevel()) <= GetLevel() && //<-end,zhaojianwei
+ //USHORT(pTxtNd->GetTxtColl()->GetOutlineLevel()+1) <= GetLevel() && //#outline level,zhaojianwei
+ USHORT( pTxtNd->GetAttrOutlineLevel()) <= GetLevel() && //<-end,zhaojianwei
pTxtNd->GetFrm() &&
!pTxtNd->HasHiddenParaField() &&
!pTxtNd->HasHiddenCharAttribute( true ) &&
@@ -1361,7 +1361,7 @@ void SwTOXBaseSection::UpdateAuthorities( const SwTOXInternational& rIntl )
const SwTxtNode& rTxtNode = pTxtFld->GetTxtNode();
::SetProgressState( 0, pDoc->GetDocShell() );
-// const SwTxtNode* pChapterCompareNode = 0;
+// const SwTxtNode* pChapterCompareNode = 0;
if( rTxtNode.GetTxt().Len() && rTxtNode.GetFrm() &&
rTxtNode.GetNodes().IsDocNodes() /*&&
@@ -1473,7 +1473,7 @@ void SwTOXBaseSection::UpdateCntnt( SwTOXElement eMyType,
long nMyOLEOptions = GetOLEOptions();
SwOLEObj& rOLEObj = pOLENode->GetOLEObj();
- if( rOLEObj.IsOleRef() ) //Noch nicht geladen
+ if( rOLEObj.IsOleRef() ) //Noch nicht geladen
{
SvGlobalName aTmpName = SvGlobalName( rOLEObj.GetOleRef()->getClassID() );
long nObj = ::lcl_IsSOObject( aTmpName );
@@ -1511,7 +1511,7 @@ void SwTOXBaseSection::UpdateCntnt( SwTOXElement eMyType,
{
//USHORT nTmp = pOutlNd->GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
//if( nTmp < NO_NUMBERING )
- // nSetLevel = nTmp + 1;
+ // nSetLevel = nTmp + 1;
if( pOutlNd->GetTxtColl()->IsAssignedToListLevelOfOutlineStyle())
nSetLevel = pOutlNd->GetTxtColl()->GetAttrOutlineLevel() ;//<-end,zhaojianwei
}
@@ -1533,7 +1533,7 @@ void SwTOXBaseSection::UpdateCntnt( SwTOXElement eMyType,
}
/*--------------------------------------------------------------------
- Beschreibung: Tabelleneintraege zusammensuchen
+ Beschreibung: Tabelleneintraege zusammensuchen
--------------------------------------------------------------------*/
void SwTOXBaseSection::UpdateTable( const SwTxtNode* pOwnChapterNode )
{
@@ -1569,7 +1569,7 @@ void SwTOXBaseSection::UpdateTable( const SwTxtNode* pOwnChapterNode )
{
//USHORT nTmp = pOutlNd->GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
//if( nTmp < NO_NUMBERING )
- // pNew->SetLevel( nTmp + 1 );
+ // pNew->SetLevel( nTmp + 1 );
if( pOutlNd->GetTxtColl()->IsAssignedToListLevelOfOutlineStyle())
{
const int nTmp = pOutlNd->GetTxtColl()->GetAttrOutlineLevel();
@@ -1586,7 +1586,7 @@ void SwTOXBaseSection::UpdateTable( const SwTxtNode* pOwnChapterNode )
}
/*--------------------------------------------------------------------
- Beschreibung: String generieren anhand der Form
+ Beschreibung: String generieren anhand der Form
SonderZeichen 0-31 und 255 entfernen
--------------------------------------------------------------------*/
String lcl_GetNumString( const SwTOXSortTabBase& rBase, sal_Bool bUsePrefix, BYTE nLevel )
@@ -1594,7 +1594,7 @@ String lcl_GetNumString( const SwTOXSortTabBase& rBase, sal_Bool bUsePrefix, BYT
String sRet;
if( !rBase.pTxtMark && rBase.aTOXSources.Count() > 0 )
- { // nur wenn es keine Marke ist
+ { // nur wenn es keine Marke ist
const SwTxtNode* pNd = rBase.aTOXSources[0].pNd->GetTxtNode();
if( pNd )
{
@@ -1615,7 +1615,7 @@ void SwTOXBaseSection::GenerateText( USHORT nArrayIdx,
const sal_uInt32 _nTOXSectNdIdx,
const SwPageDesc* _pDefaultPageDesc )
{
- LinkStructArr aLinkArr;
+ LinkStructArr aLinkArr;
SwDoc* pDoc = (SwDoc*)GetFmt()->GetDoc();
::SetProgressState( 0, pDoc->GetDocShell() );
@@ -1769,9 +1769,9 @@ void SwTOXBaseSection::GenerateText( USHORT nArrayIdx,
aInsStr += cEndPageNum;
rTxt.Append( aInsStr );
}
-// // Tab entfernen, wenn keine Seitennummer
-// else if( rTxt.Len() && '\t' == rTxt.GetChar( rTxt.Len() - 1 ))
-// rTxt.Erase( rTxt.Len()-1, 1 );
+// // Tab entfernen, wenn keine Seitennummer
+// else if( rTxt.Len() && '\t' == rTxt.GetChar( rTxt.Len() - 1 ))
+// rTxt.Erase( rTxt.Len()-1, 1 );
}
break;
@@ -1878,7 +1878,7 @@ void SwTOXBaseSection::GenerateText( USHORT nArrayIdx,
if( aToken.sCharStyleName.Len() )
{
SwCharFmt* pCharFmt;
- if( USHRT_MAX != aToken.nPoolId )
+ if( USHRT_MAX != aToken.nPoolId )
pCharFmt = pDoc->GetCharFmtFromPool( aToken.nPoolId );
else
pCharFmt = pDoc->FindCharFmtByName( aToken.sCharStyleName);
@@ -1916,8 +1916,8 @@ void SwTOXBaseSection::UpdatePageNum()
return ;
// die aktuellen Seitennummern ins Verzeichnis eintragen
- SwPageFrm* pAktPage = 0;
- USHORT nPage = 0;
+ SwPageFrm* pAktPage = 0;
+ USHORT nPage = 0;
SwDoc* pDoc = (SwDoc*)GetFmt()->GetDoc();
SwTOXInternational aIntl( GetLanguage(),
@@ -1928,8 +1928,8 @@ void SwTOXBaseSection::UpdatePageNum()
for( USHORT nCnt = 0; nCnt < aSortArr.Count(); ++nCnt )
{
// Schleife ueber alle SourceNodes
- SvUShorts aNums; //Die Seitennummern
- SvPtrarr aDescs; //Die PageDescriptoren passend zu den Seitennummern.
+ SvUShorts aNums; //Die Seitennummern
+ SvPtrarr aDescs; //Die PageDescriptoren passend zu den Seitennummern.
SvUShorts* pMainNums = 0; // contains page numbers of main entries
// process run in lines
@@ -1976,11 +1976,11 @@ void SwTOXBaseSection::UpdatePageNum()
pFrm = pNext;
}
- SwPageFrm* pTmpPage = pFrm->FindPageFrm();
+ SwPageFrm* pTmpPage = pFrm->FindPageFrm();
if( pTmpPage != pAktPage )
{
- nPage = pTmpPage->GetVirtPageNum();
- pAktPage = pTmpPage;
+ nPage = pTmpPage->GetVirtPageNum();
+ pAktPage = pTmpPage;
}
// sortiert einfuegen
@@ -2075,7 +2075,7 @@ void SwTOXBaseSection::_UpdatePageNum( SwTxtNode* pNd,
{
SwTxtAttr* pAttr = pHints->GetStart(nHintIdx);
xub_StrLen nTmpEnd = pAttr->GetEnd() ? *pAttr->GetEnd() : 0;
- if( nStartPos >= *pAttr->GetStart() &&
+ if( nStartPos >= *pAttr->GetStart() &&
(nStartPos + 2) <= nTmpEnd &&
pAttr->Which() == RES_TXTATR_CHARFMT)
{
@@ -2089,7 +2089,7 @@ void SwTOXBaseSection::_UpdatePageNum( SwTxtNode* pNd,
{
SvxNumberType aType( ((SwPageDesc*)rDescs[i])->GetNumType() );
if( TOX_INDEX == SwTOXBase::GetType() )
- { // Zusammenfassen f. ff.
+ { // Zusammenfassen f. ff.
// Alle folgenden aufaddieren
// break up if main entry starts or ends and
// insert a char style index
@@ -2119,19 +2119,19 @@ void SwTOXBaseSection::_UpdatePageNum( SwTxtNode* pNd,
}
// neuen String anlegen
- nBeg = rNums[i];
+ nBeg = rNums[i];
aNumStr.AppendAscii( sPageDeli );
//the change of the character style must apply after sPageDeli is appended
if(pCharStyleIdx && bMainEntryChanges)
pCharStyleIdx->Insert(aNumStr.Len(),
pCharStyleIdx->Count());
aNumStr += aType.GetNumStr( nBeg );
- nCount = 0;
+ nCount = 0;
}
nOld = rNums[i];
}
else
- { // Alle Nummern eintragen
+ { // Alle Nummern eintragen
aNumStr += aType.GetNumStr( USHORT(rNums[i]) );
if(i != (rNums.Count()-1))
aNumStr.AppendAscii( sPageDeli );
@@ -2252,7 +2252,7 @@ void SwTOXBaseSection::InsertSorted(SwTOXSortTabBase* pNew)
short i;
for( i = (short)aRange.Min(); i < (short)aRange.Max(); ++i)
- { // nur auf gleicher Ebene pruefen
+ { // nur auf gleicher Ebene pruefen
//
SwTOXSortTabBase* pOld = aSortArr[i];
if(*pOld == *pNew)
@@ -2266,7 +2266,7 @@ void SwTOXBaseSection::InsertSorted(SwTOXSortTabBase* pNew)
continue;
if(!(pNew->GetOptions() & nsSwTOIOptions::TOI_SAME_ENTRY))
- { // Eigener Eintrag
+ { // Eigener Eintrag
aSortArr.Insert(pNew, i );
return;
}
@@ -2332,7 +2332,7 @@ Range SwTOXBaseSection::GetKeyRange(const String& rStr, const String& rStrReadin
break;
}
if(i == nMax)
- { // Falls nicht vorhanden erzeugen und einfuegen
+ { // Falls nicht vorhanden erzeugen und einfuegen
//
SwTOXCustom* pKey = new SwTOXCustom( sToCompare, sToCompareReading, nLevel, rIntl,
rNew.GetLocale() );
@@ -2350,7 +2350,7 @@ Range SwTOXBaseSection::GetKeyRange(const String& rStr, const String& rStrReadin
for(i = nStart; i < aSortArr.Count(); ++i)
{
if(aSortArr[i]->GetLevel() <= nLevel)
- { nEnd = i;
+ { nEnd = i;
break;
}
}
diff --git a/sw/source/core/doc/docxforms.cxx b/sw/source/core/doc/docxforms.cxx
index bf34f2a64699..322d28643115 100644
--- a/sw/source/core/doc/docxforms.cxx
+++ b/sw/source/core/doc/docxforms.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +99,14 @@ void SwDoc::initXForms( bool bCreateDefaultModel )
if( bCreateDefaultModel && xXForms.is() )
{
OUString sName(RTL_CONSTASCII_USTRINGPARAM("Model 1"));
- Reference<XModel> xModel(
+ Reference<XModel> xModel(
lcl_createInstance( "com.sun.star.xforms.Model" ),
UNO_QUERY );
DBG_ASSERT( xModel.is(), "no model?" );
if( xModel.is() )
{
xModel->setID( sName );
- Reference<XFormsUIHelper1>( xModel, UNO_QUERY )->newInstance(
+ Reference<XFormsUIHelper1>( xModel, UNO_QUERY )->newInstance(
OUString(RTL_CONSTASCII_USTRINGPARAM("Instance 1")),
OUString(), sal_True );
xModel->initialize();
diff --git a/sw/source/core/doc/extinput.cxx b/sw/source/core/doc/extinput.cxx
index fdfe5ca10310..01dcfd295680 100644
--- a/sw/source/core/doc/extinput.cxx
+++ b/sw/source/core/doc/extinput.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index 624aca83618b..b1d130082cbf 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <editeng/ulspitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/fhgtitem.hxx>
-#include <doc.hxx> // fuer GetAttrPool
+#include <doc.hxx> // fuer GetAttrPool
#include <errhdl.hxx>
#include <fmtcol.hxx>
// --> OD 2006-11-22 #i71574#
@@ -250,27 +250,27 @@ void SwTxtFmtColl::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
(const SfxPoolItem**)&pOldLRSpace ))
{
int bChg = FALSE;
- if( pOldLRSpace != pNewLRSpace ) // verhinder Rekursion (SetAttr!!)
+ if( pOldLRSpace != pNewLRSpace ) // verhinder Rekursion (SetAttr!!)
{
SvxLRSpaceItem aNew( *pOldLRSpace );
// wir hatten eine relative Angabe -> neu berechnen
if( 100 != aNew.GetPropLeft() )
{
- long nTmp = aNew.GetLeft(); // alten zum Vergleichen
+ long nTmp = aNew.GetLeft(); // alten zum Vergleichen
aNew.SetLeft( pNewLRSpace->GetLeft(), aNew.GetPropLeft() );
bChg |= nTmp != aNew.GetLeft();
}
// wir hatten eine relative Angabe -> neu berechnen
if( 100 != aNew.GetPropRight() )
{
- long nTmp = aNew.GetRight(); // alten zum Vergleichen
+ long nTmp = aNew.GetRight(); // alten zum Vergleichen
aNew.SetRight( pNewLRSpace->GetRight(), aNew.GetPropRight() );
bChg |= nTmp != aNew.GetRight();
}
// wir hatten eine relative Angabe -> neu berechnen
if( 100 != aNew.GetPropTxtFirstLineOfst() )
{
- short nTmp = aNew.GetTxtFirstLineOfst(); // alten zum Vergleichen
+ short nTmp = aNew.GetTxtFirstLineOfst(); // alten zum Vergleichen
aNew.SetTxtFirstLineOfst( pNewLRSpace->GetTxtFirstLineOfst(),
aNew.GetPropTxtFirstLineOfst() );
bChg |= nTmp != aNew.GetTxtFirstLineOfst();
@@ -289,21 +289,21 @@ void SwTxtFmtColl::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
if( pNewULSpace && SFX_ITEM_SET == GetItemState(
RES_UL_SPACE, FALSE, (const SfxPoolItem**)&pOldULSpace ) &&
- pOldULSpace != pNewULSpace ) // verhinder Rekursion (SetAttr!!)
+ pOldULSpace != pNewULSpace ) // verhinder Rekursion (SetAttr!!)
{
SvxULSpaceItem aNew( *pOldULSpace );
int bChg = FALSE;
// wir hatten eine relative Angabe -> neu berechnen
if( 100 != aNew.GetPropUpper() )
{
- USHORT nTmp = aNew.GetUpper(); // alten zum Vergleichen
+ USHORT nTmp = aNew.GetUpper(); // alten zum Vergleichen
aNew.SetUpper( pNewULSpace->GetUpper(), aNew.GetPropUpper() );
bChg |= nTmp != aNew.GetUpper();
}
// wir hatten eine relative Angabe -> neu berechnen
if( 100 != aNew.GetPropLower() )
{
- USHORT nTmp = aNew.GetLower(); // alten zum Vergleichen
+ USHORT nTmp = aNew.GetLower(); // alten zum Vergleichen
aNew.SetLower( pNewULSpace->GetLower(), aNew.GetPropLower() );
bChg |= nTmp != aNew.GetLower();
}
@@ -339,7 +339,7 @@ void SwTxtFmtColl::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
else
{
// wir hatten eine relative Angabe -> neu berechnen
- UINT32 nTmp = pOldFSize->GetHeight(); // alten zum Vergleichen
+ UINT32 nTmp = pOldFSize->GetHeight(); // alten zum Vergleichen
SvxFontHeightItem aNew(240 , 100, pFSize->Which());
aNew.SetHeight( pFSize->GetHeight(), pOldFSize->GetProp(),
pOldFSize->GetPropUnit() );
diff --git a/sw/source/core/doc/ftnidx.cxx b/sw/source/core/doc/ftnidx.cxx
index afd96de4ba90..c63b4fce8c62 100644
--- a/sw/source/core/doc/ftnidx.cxx
+++ b/sw/source/core/doc/ftnidx.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -110,16 +110,16 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
for( n = 0; n < rOutlNds.Count(); ++n )
if( rOutlNds[ n ]->GetIndex() > rStt.GetIndex() )
- break; // gefunden
- //else if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() ) //#outline level,zhaojianwei
+ break; // gefunden
+ //else if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() ) //#outline level,zhaojianwei
else if ( rOutlNds[ n ]->GetTxtNode()->GetAttrOutlineLevel() == 1 ) //<-end,zhaojianwei
- pCapStt = rOutlNds[ n ]; // Start eines neuen Kapitels
+ pCapStt = rOutlNds[ n ]; // Start eines neuen Kapitels
// dann suche jetzt noch das Ende vom Bereich
for( ; n < rOutlNds.Count(); ++n )
//if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() )//#outline level,zhaojianwei
if ( rOutlNds[ n ]->GetTxtNode()->GetAttrOutlineLevel() == 1 )//<-end,zhaojianwei
{
- nCapEnd = rOutlNds[ n ]->GetIndex(); // Ende des gefundenen Kapitels
+ nCapEnd = rOutlNds[ n ]->GetIndex(); // Ende des gefundenen Kapitels
break;
}
}
@@ -134,7 +134,7 @@ void SwFtnIdxs::UpdateFtn( const SwNodeIndex& rStt )
++nPos;
}
- if( nPos == Count() ) // nichts gefunden
+ if( nPos == Count() ) // nichts gefunden
return;
if( !rOutlNds.Count() )
@@ -227,14 +227,14 @@ void SwFtnIdxs::UpdateAllFtn()
if( FTNNUM_CHAPTER == rFtnInfo.eNum )
{
const SwOutlineNodes& rOutlNds = pDoc->GetNodes().GetOutLineNds();
- USHORT nNo = 1, // Nummer fuer die Fussnoten
- nFtnIdx = 0; // Index in das FtnIdx-Array
+ USHORT nNo = 1, // Nummer fuer die Fussnoten
+ nFtnIdx = 0; // Index in das FtnIdx-Array
for( USHORT n = 0; n < rOutlNds.Count(); ++n )
{
//if( !rOutlNds[ n ]->GetTxtNode()->GetTxtColl()->GetOutlineLevel() )//#outline level,zhaojianwei
if ( rOutlNds[ n ]->GetTxtNode()->GetAttrOutlineLevel() == 1 )//<-end,zhaojianwei
{
- ULONG nCapStt = rOutlNds[ n ]->GetIndex(); // Start eines neuen Kapitels
+ ULONG nCapStt = rOutlNds[ n ]->GetIndex(); // Start eines neuen Kapitels
for( ; nFtnIdx < Count(); ++nFtnIdx )
{
pTxtFtn = (*this)[ nFtnIdx ];
@@ -249,7 +249,7 @@ void SwFtnIdxs::UpdateAllFtn()
&rFtn.GetNumStr() );
}
if( nFtnIdx >= Count() )
- break; // ok alles geupdatet
+ break; // ok alles geupdatet
nNo = 1;
}
}
@@ -338,7 +338,7 @@ const SwSectionNode* SwUpdFtnEndNtAtEnd::FindSectNdWithEndAttr(
const SwTxtFtn& rTxtFtn )
{
USHORT nWh = static_cast<USHORT>( rTxtFtn.GetFtn().IsEndNote() ?
- RES_END_AT_TXTEND : RES_FTN_AT_TXTEND );
+ RES_END_AT_TXTEND : RES_FTN_AT_TXTEND );
USHORT nVal;
const SwSectionNode* pNd = rTxtFtn.GetTxtNode().FindSectionNode();
while( pNd && FTNEND_ATTXTEND_OWNNUMSEQ != ( nVal =
diff --git a/sw/source/core/doc/gctable.cxx b/sw/source/core/doc/gctable.cxx
index 6e49dc8108d5..401affef93e4 100644
--- a/sw/source/core/doc/gctable.cxx
+++ b/sw/source/core/doc/gctable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -366,7 +366,7 @@ BOOL lcl_MergeGCBox( const SwTableBox*& rpTblBox, void* pPara )
// loesche alte die Box mit der Line
pInsLine->GetTabBoxes().DeleteAndDestroy( nInsPos );
- return FALSE; // neu aufsetzen
+ return FALSE; // neu aufsetzen
}
}
return TRUE;
@@ -401,7 +401,7 @@ BOOL lcl_MergeGCLine( const SwTableLine*& rpLine, void* pPara )
SwTableBox* pUpper = pLn->GetUpper();
- rLns.Remove( nInsPos, 1 ); // die Line dem aus Array loeschen
+ rLns.Remove( nInsPos, 1 ); // die Line dem aus Array loeschen
rLns.Insert( &pBox->GetTabLines(), nInsPos );
// JP 31.03.99: Bug 60000 - die Attribute der zu loeschenden
@@ -417,7 +417,7 @@ BOOL lcl_MergeGCLine( const SwTableLine*& rpLine, void* pPara )
pGCPara->pShareFmts->SetAttr( *rBoxLns[ nLns ], *pItem );
}
- pBox->GetTabLines().Remove( 0, nLen ); // Lines aus Array loeschen
+ pBox->GetTabLines().Remove( 0, nLen ); // Lines aus Array loeschen
delete pLn;
@@ -425,7 +425,7 @@ BOOL lcl_MergeGCLine( const SwTableLine*& rpLine, void* pPara )
while( nLen-- )
rLns[ nInsPos++ ]->SetUpper( pUpper );
- pLn = pLine; // und neu setzen
+ pLn = pLine; // und neu setzen
nLen = pLn->GetTabBoxes().Count();
}
diff --git a/sw/source/core/doc/htmltbl.cxx b/sw/source/core/doc/htmltbl.cxx
index 4eeff2a0ec0e..7afb7a1fa175 100644
--- a/sw/source/core/doc/htmltbl.cxx
+++ b/sw/source/core/doc/htmltbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +66,13 @@ using namespace ::com::sun::star;
class SwHTMLTableLayoutConstraints
{
- USHORT nRow; // Start-Zeile
- USHORT nCol; // Start-Spalte
- USHORT nColSpan; // COLSPAN der Zelle
+ USHORT nRow; // Start-Zeile
+ USHORT nCol; // Start-Spalte
+ USHORT nColSpan; // COLSPAN der Zelle
- SwHTMLTableLayoutConstraints *pNext; // die naechste Bedingung
+ SwHTMLTableLayoutConstraints *pNext; // die naechste Bedingung
- ULONG nMinNoAlign, nMaxNoAlign; // Zwischenergebnisse AL-Pass 1
+ ULONG nMinNoAlign, nMaxNoAlign; // Zwischenergebnisse AL-Pass 1
public:
@@ -150,7 +150,7 @@ SwHTMLTableLayoutColumn::SwHTMLTableLayoutColumn( USHORT nWidth,
/* */
SwHTMLTableLayoutConstraints::SwHTMLTableLayoutConstraints(
- ULONG nMin, ULONG nMax, USHORT nRw, USHORT nColumn, USHORT nColSp ):
+ ULONG nMin, ULONG nMax, USHORT nRw, USHORT nColumn, USHORT nColSp ):
nRow( nRw ), nCol( nColumn ), nColSpan( nColSp ),
pNext( 0 ),
nMinNoAlign( nMin ), nMaxNoAlign( nMax )
@@ -512,7 +512,7 @@ void SwHTMLTableLayout::AutoLayoutPass1()
pColumn->ClearPass1Info( !HasColTags() );
USHORT nMinColSpan = USHRT_MAX; // Spaltenzahl, auf die sich dir
// berechnete Breite bezieht
- USHORT nColSkip = USHRT_MAX; // Wie viele Spalten muessen
+ USHORT nColSkip = USHRT_MAX; // Wie viele Spalten muessen
// uebersprungen werden
for( USHORT j=0; j<nRows; j++ )
@@ -782,19 +782,19 @@ void SwHTMLTableLayout::AutoLayoutPass1()
// Werte anhand folgender Tabelle (Netscape 4.0 pv 3) uebernehmen:
//
- // WIDTH: kein COLS COLS
+ // WIDTH: kein COLS COLS
//
- // keine min = min min = absmin
- // max = max max = max
+ // keine min = min min = absmin
+ // max = max max = max
//
- // >= min min = min min = width
- // max = width max = width
+ // >= min min = min min = width
+ // max = width max = width
//
- // >= absmin min = wdith(*) min = width
- // max = width max = width
+ // >= absmin min = wdith(*) min = width
+ // max = width max = width
//
- // < absmin min = absmin min = absmin
- // max = absmin max = absmin
+ // < absmin min = absmin min = absmin
+ // max = absmin max = absmin
//
// (*) Netscape benutzt hier die Mindestbreite ohne einen
// Umbruch vor der letzten Grafik. Haben wir (noch?) nicht,
@@ -962,9 +962,9 @@ void SwHTMLTableLayout::AutoLayoutPass1()
// erhalten und dient als Ausgangsbasis fuer die andern Breiten.
// Es werden auch hier nur die Maximalbreiten beeinflusst!
- ULONG nAbsMin = 0; // absolte Min-Breite alter Spalten mit
+ ULONG nAbsMin = 0; // absolte Min-Breite alter Spalten mit
// relativer Breite
- ULONG nRel = 0; // Summe der relativen Breiten aller Spalten
+ ULONG nRel = 0; // Summe der relativen Breiten aller Spalten
for( i=0; i<nCols; i++ )
{
SwHTMLTableLayoutColumn *pColumn = GetColumn( i );
@@ -1010,9 +1010,9 @@ void SwHTMLTableLayout::AutoLayoutPass1()
}
else
{
- USHORT nRel = 0; // Summe der relativen Breiten aller Spalten
- USHORT nRelCols = 0; // Anzahl Spalten mit relativer Angabe
- ULONG nRelMax = 0; // Anteil am Maximum dieser Spalten
+ USHORT nRel = 0; // Summe der relativen Breiten aller Spalten
+ USHORT nRelCols = 0; // Anzahl Spalten mit relativer Angabe
+ ULONG nRelMax = 0; // Anteil am Maximum dieser Spalten
for( i=0; i<nCols; i++ )
{
OSL_ENSURE( nRel<=100, "relative Breite aller Spalten>100%" );
@@ -1588,7 +1588,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( USHORT nAbsAvail, USHORT nRelAvail,
if( nRelLeftFill && !pLeftFillerBox &&
( nWidthSet>0 || nAbsLeftFill<MINLAY+nInhLeftBorderWidth ||
(HasColTags() && nAbsLeftFill < nAbsLeftSpace+nParentInhAbsLeftSpace+20) ) )
-// (nAbsLeftFill<MINLAY || nAbsLeftFill<=nAbsLeftSpace) )
+// (nAbsLeftFill<MINLAY || nAbsLeftFill<=nAbsLeftSpace) )
{
SwHTMLTableLayoutColumn *pColumn = GetColumn( 0 );
pColumn->SetAbsColWidth( pColumn->GetAbsColWidth()+nAbsLeftFill );
@@ -1599,7 +1599,7 @@ void SwHTMLTableLayout::AutoLayoutPass2( USHORT nAbsAvail, USHORT nRelAvail,
if( nRelRightFill && !pRightFillerBox &&
( nWidthSet>0 || nAbsRightFill<MINLAY+nInhRightBorderWidth ||
(HasColTags() && nAbsRightFill < nAbsRightSpace+nParentInhAbsRightSpace+20) ) )
-// (nAbsRightFill<MINLAY || nAbsRightFill<=nAbsRightSpace) )
+// (nAbsRightFill<MINLAY || nAbsRightFill<=nAbsRightSpace) )
{
SwHTMLTableLayoutColumn *pColumn = GetColumn( nCols-1 );
pColumn->SetAbsColWidth( pColumn->GetAbsColWidth()+nAbsRightFill );
@@ -1621,7 +1621,7 @@ static BOOL lcl_ResizeBox( const SwTableBox*& rpBox, void* pPara )
USHORT nWidth = 0;
((SwTableBox *)rpBox)->GetTabLines().ForEach( &lcl_ResizeLine, &nWidth );
rpBox->GetFrmFmt()->SetFmtAttr( SwFmtFrmSize( ATT_VAR_SIZE, nWidth, 0 ));
- *pWidth = *pWidth + nWidth;
+ *pWidth = *pWidth + nWidth;
}
else
{
@@ -1743,7 +1743,7 @@ void SwHTMLTableLayout::SetWidths( BOOL bCallPass2, USHORT nAbsAvail,
if( bUseRelWidth )
{
// Bei %-Angaben wird die Breite auf das Minimum gesetzt.
- aFlyFrmSize.SetWidth( nMin > USHRT_MAX ? USHRT_MAX
+ aFlyFrmSize.SetWidth( nMin > USHRT_MAX ? USHRT_MAX
: nMin );
aFlyFrmSize.SetWidthPercent( (BYTE)nWidthOption );
}
@@ -1797,7 +1797,7 @@ void SwHTMLTableLayout::_Resize( USHORT nAbsAvail, BOOL bRecalc )
SetWidths( TRUE, nAbsAvail );
if ( pRoot && pRoot->IsCallbackActionEnabled() )
- pRoot->EndAllAction( TRUE ); //True per VirDev (Browsen ruhiger)
+ pRoot->EndAllAction( TRUE ); //True per VirDev (Browsen ruhiger)
}
IMPL_STATIC_LINK( SwHTMLTableLayout, DelayedResize_Impl, void*, EMPTYARG )
diff --git a/sw/source/core/doc/lineinfo.cxx b/sw/source/core/doc/lineinfo.cxx
index 3d6b872522ee..92d8bb88cf08 100644
--- a/sw/source/core/doc/lineinfo.cxx
+++ b/sw/source/core/doc/lineinfo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/doc/list.cxx b/sw/source/core/doc/list.cxx
index 259d6f06e646..8c34485600b5 100644
--- a/sw/source/core/doc/list.cxx
+++ b/sw/source/core/doc/list.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/doc/notxtfrm.cxx b/sw/source/core/doc/notxtfrm.cxx
index 349cfbda11b9..994cb535b2b0 100644
--- a/sw/source/core/doc/notxtfrm.cxx
+++ b/sw/source/core/doc/notxtfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +152,11 @@ void lcl_PaintReplacement( const SwRect &rRect, const String &rText,
/*************************************************************************
|*
-|* SwGrfFrm::SwGrfFrm(ViewShell * const,SwGrfNode *)
+|* SwGrfFrm::SwGrfFrm(ViewShell * const,SwGrfNode *)
|*
-|* Beschreibung
-|* Ersterstellung JP 05.03.91
-|* Letzte Aenderung MA 03. Mar. 93
+|* Beschreibung
+|* Ersterstellung JP 05.03.91
+|* Letzte Aenderung MA 03. Mar. 93
|*
*************************************************************************/
@@ -182,11 +182,11 @@ void SwNoTxtFrm::InitCtor()
/*************************************************************************
|*
-|* SwNoTxtNode::MakeFrm()
+|* SwNoTxtNode::MakeFrm()
|*
-|* Beschreibung
-|* Ersterstellung JP 05.03.91
-|* Letzte Aenderung MA 03. Mar. 93
+|* Beschreibung
+|* Ersterstellung JP 05.03.91
+|* Letzte Aenderung MA 03. Mar. 93
|*
*************************************************************************/
@@ -198,11 +198,11 @@ SwCntntFrm *SwNoTxtNode::MakeFrm()
/*************************************************************************
|*
-|* SwNoTxtFrm::~SwNoTxtFrm()
+|* SwNoTxtFrm::~SwNoTxtFrm()
|*
-|* Beschreibung
-|* Ersterstellung JP 05.03.91
-|* Letzte Aenderung MA 30. Apr. 96
+|* Beschreibung
+|* Ersterstellung JP 05.03.91
+|* Letzte Aenderung MA 30. Apr. 96
|*
*************************************************************************/
@@ -213,11 +213,11 @@ SwNoTxtFrm::~SwNoTxtFrm()
/*************************************************************************
|*
-|* void SwNoTxtFrm::Modify( SwHint * pOld, SwHint * pNew )
+|* void SwNoTxtFrm::Modify( SwHint * pOld, SwHint * pNew )
|*
-|* Beschreibung
-|* Ersterstellung JP 05.03.91
-|* Letzte Aenderung JP 05.03.91
+|* Beschreibung
+|* Ersterstellung JP 05.03.91
+|* Letzte Aenderung JP 05.03.91
|*
*************************************************************************/
@@ -257,11 +257,11 @@ void lcl_ClearArea( const SwFrm &rFrm,
/*************************************************************************
|*
-|* void SwNoTxtFrm::Paint()
+|* void SwNoTxtFrm::Paint()
|*
-|* Beschreibung
-|* Ersterstellung JP 05.03.91
-|* Letzte Aenderung MA 10. Jan. 97
+|* Beschreibung
+|* Ersterstellung JP 05.03.91
+|* Letzte Aenderung MA 10. Jan. 97
|*
*************************************************************************/
@@ -390,13 +390,13 @@ void lcl_CalcRect( Point& rPt, Size& rDim, USHORT nMirror )
/*************************************************************************
|*
-|* void SwNoTxtFrm::GetGrfArea()
+|* void SwNoTxtFrm::GetGrfArea()
|*
-|* Beschreibung Errechne die Position und die Groesse der Bitmap
-|* innerhalb des uebergebenem Rechtecks.
+|* Beschreibung Errechne die Position und die Groesse der Bitmap
+|* innerhalb des uebergebenem Rechtecks.
|*
-|* Ersterstellung JP 03.09.91
-|* Letzte Aenderung MA 11. Oct. 94
+|* Ersterstellung JP 03.09.91
+|* Letzte Aenderung MA 11. Oct. 94
|*
*************************************************************************/
@@ -405,7 +405,7 @@ void SwNoTxtFrm::GetGrfArea( SwRect &rRect, SwRect* pOrigRect,
{
// JP 23.01.2001: currently only used for scaling, cropping and mirroring
// the contour of graphics!
- // all other is handled by the GraphicObject
+ // all other is handled by the GraphicObject
//In rRect wird das sichbare Rechteck der Grafik gesteckt.
//In pOrigRect werden Pos+Size der Gesamtgrafik gesteck.
@@ -484,12 +484,12 @@ void SwNoTxtFrm::GetGrfArea( SwRect &rRect, SwRect* pOrigRect,
//Erst das 'sichtbare' Rect einstellen.
if ( nLeftCrop > 0 )
{
- aVisPt.X() += nLeftCrop;
+ aVisPt.X() += nLeftCrop;
aVisSz.Width() -= nLeftCrop;
}
if ( nTopCrop > 0 )
{
- aVisPt.Y() += nTopCrop;
+ aVisPt.Y() += nTopCrop;
aVisSz.Height() -= nTopCrop;
}
if ( nRightCrop > 0 )
@@ -506,7 +506,7 @@ void SwNoTxtFrm::GetGrfArea( SwRect &rRect, SwRect* pOrigRect,
Size aTmpSz( aGrfSz );
aGrfPt.X() += nLeftCrop;
aTmpSz.Width() -= nLeftCrop + nRightCrop;
- aGrfPt.Y() += nTopCrop;
+ aGrfPt.Y() += nTopCrop;
aTmpSz.Height()-= nTopCrop + nBottomCrop;
if( RES_MIRROR_GRAPH_DONT != nMirror )
@@ -519,12 +519,12 @@ void SwNoTxtFrm::GetGrfArea( SwRect &rRect, SwRect* pOrigRect,
/*************************************************************************
|*
-|* Size SwNoTxtFrm::GetSize()
+|* Size SwNoTxtFrm::GetSize()
|*
-|* Beschreibung Gebe die Groesse des umgebenen FLys und
-|* damit die der Grafik zurueck.
-|* Ersterstellung JP 04.03.91
-|* Letzte Aenderung JP 31.08.94
+|* Beschreibung Gebe die Groesse des umgebenen FLys und
+|* damit die der Grafik zurueck.
+|* Ersterstellung JP 04.03.91
+|* Letzte Aenderung JP 31.08.94
|*
*************************************************************************/
@@ -540,10 +540,10 @@ const Size& SwNoTxtFrm::GetSize() const
/*************************************************************************
|*
-|* SwNoTxtFrm::MakeAll()
+|* SwNoTxtFrm::MakeAll()
|*
-|* Ersterstellung MA 29. Nov. 96
-|* Letzte Aenderung MA 29. Nov. 96
+|* Ersterstellung MA 29. Nov. 96
+|* Letzte Aenderung MA 29. Nov. 96
|*
*************************************************************************/
@@ -564,7 +564,7 @@ void SwNoTxtFrm::MakeAll()
MakePrtArea( rAttrs );
if ( !bValidSize )
- { bValidSize = TRUE;
+ { bValidSize = TRUE;
Format();
}
}
@@ -572,11 +572,11 @@ void SwNoTxtFrm::MakeAll()
/*************************************************************************
|*
-|* SwNoTxtFrm::Format()
+|* SwNoTxtFrm::Format()
|*
-|* Beschreibung Errechne die Groesse der Bitmap, wenn noetig
-|* Ersterstellung JP 11.03.91
-|* Letzte Aenderung MA 13. Mar. 96
+|* Beschreibung Errechne die Groesse der Bitmap, wenn noetig
+|* Ersterstellung JP 11.03.91
+|* Letzte Aenderung MA 13. Mar. 96
|*
*************************************************************************/
@@ -597,11 +597,11 @@ void SwNoTxtFrm::Format( const SwBorderAttrs * )
/*************************************************************************
|*
-|* SwNoTxtFrm::GetCharRect()
+|* SwNoTxtFrm::GetCharRect()
|*
-|* Beschreibung
-|* Ersterstellung SS 29-Apr-1991
-|* Letzte Aenderung MA 10. Oct. 94
+|* Beschreibung
+|* Ersterstellung SS 29-Apr-1991
+|* Letzte Aenderung MA 10. Oct. 94
|*
|*************************************************************************/
@@ -731,7 +731,7 @@ void SwNoTxtFrm::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
CLEARCACHE( (SwGrfNode*) GetNode() )
break;
}
- if( RES_GRFATR_END == n ) // not found
+ if( RES_GRFATR_END == n ) // not found
return ;
}
break;
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index a3e49d23b04e..166a53c8088d 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -350,7 +350,7 @@ void SwNumFmt::SetCharFmtName(const String& rSet)
SvxNumberFormat::SetCharFmtName(rSet);
}
-const String& SwNumFmt::GetCharFmtName() const
+const String& SwNumFmt::GetCharFmtName() const
{
if((SwCharFmt*)pRegisteredIn)
return ((SwCharFmt*)pRegisteredIn)->GetName();
@@ -358,7 +358,7 @@ const String& SwNumFmt::GetCharFmtName() const
return aEmptyStr;
}
-void SwNumFmt::SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize,
+void SwNumFmt::SetGraphicBrush( const SvxBrushItem* pBrushItem, const Size* pSize,
const sal_Int16* pOrient)
{
if(pOrient)
@@ -472,7 +472,7 @@ SwNumRule::SwNumRule( const String& rNm,
nSerial = nInstances++;
#endif
- if( !nRefCount++ ) // zum erstmal, also initialisiern
+ if( !nRefCount++ ) // zum erstmal, also initialisiern
{
SwNumFmt* pFmt;
BYTE n;
@@ -591,7 +591,7 @@ SwNumRule::~SwNumRule()
pNumRuleMap->erase(GetName());
}
- if( !--nRefCount ) // der letzte macht die Tuer zu
+ if( !--nRefCount ) // der letzte macht die Tuer zu
{
// Nummerierung:
SwNumFmt** ppFmts = (SwNumFmt**)SwNumRule::aBaseFmts;
@@ -776,13 +776,13 @@ String SwNumRule::MakeNumString( const SwNumberTree::tNumberVector & rNumVector,
aStr += rNFmt.GetNumStr( rNumVector[ i ] );
}
else
- aStr += '0'; // alle 0-Level sind eine 0
+ aStr += '0'; // alle 0-Level sind eine 0
if( i != nLevel && aStr.Len() )
aStr += aDotStr;
}
//JP 14.12.99: the type dont have any number, so dont append
- // the Post-/Prefix String
+ // the Post-/Prefix String
if( bInclStrings && !bOnlyArabic &&
SVX_NUM_CHAR_SPECIAL != rMyNFmt.GetNumberingType() &&
SVX_NUM_BITMAP != rMyNFmt.GetNumberingType() )
@@ -929,7 +929,7 @@ void SwNumRule::SetInvalidRule(BOOL bFlag)
SwList* pList = pTxtNode->GetDoc()->getListByName( pTxtNode->GetListId() );
OSL_ENSURE( pList, "<SwNumRule::SetInvalidRule(..)> - list at which the text node is registered at does not exist. This is a serious issue --> please inform OD.");
if ( pList )
- {
+ {
aLists.insert( pList );
}
// <--
diff --git a/sw/source/core/doc/poolfmt.cxx b/sw/source/core/doc/poolfmt.cxx
index daef15f54ea9..738a1a95c976 100644
--- a/sw/source/core/doc/poolfmt.cxx
+++ b/sw/source/core/doc/poolfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,34 +75,34 @@
using namespace ::com::sun::star;
-const USHORT PT_3 = 3 * 20; // 3 pt
-const USHORT PT_6 = 6 * 20; // 6 pt
-const USHORT PT_7 = 7 * 20; // 6 pt
-const USHORT PT_8 = 8 * 20; // 8 pt
-const USHORT PT_9 = 9 * 20; // 9 pt
-const USHORT PT_10 = 10 * 20; // 10 pt
-const USHORT PT_11 = 11 * 20; // 11 pt
-const USHORT PT_12 = 12 * 20; // 12 pt
-const USHORT PT_14 = 14 * 20; // 14 pt
-const USHORT PT_16 = 16 * 20; // 16 pt
-const USHORT PT_18 = 18 * 20; // 18 pt
-const USHORT PT_22 = 22 * 20; // 22 pt
-const USHORT PT_24 = 24 * 20; // 22 pt
+const USHORT PT_3 = 3 * 20; // 3 pt
+const USHORT PT_6 = 6 * 20; // 6 pt
+const USHORT PT_7 = 7 * 20; // 6 pt
+const USHORT PT_8 = 8 * 20; // 8 pt
+const USHORT PT_9 = 9 * 20; // 9 pt
+const USHORT PT_10 = 10 * 20; // 10 pt
+const USHORT PT_11 = 11 * 20; // 11 pt
+const USHORT PT_12 = 12 * 20; // 12 pt
+const USHORT PT_14 = 14 * 20; // 14 pt
+const USHORT PT_16 = 16 * 20; // 16 pt
+const USHORT PT_18 = 18 * 20; // 18 pt
+const USHORT PT_22 = 22 * 20; // 22 pt
+const USHORT PT_24 = 24 * 20; // 22 pt
//const USHORT HTML_PARSPACE = ((CM_05 * 7) / 10);
-#define HTML_PARSPACE GetMetricVal( CM_05 )
+#define HTML_PARSPACE GetMetricVal( CM_05 )
static const sal_Char __FAR_DATA sKomma[] = ", ";
static const USHORT aHeadlineSizes[ 2 * MAXLEVEL ] = {
-// PT_16, PT_14, PT_14, PT_12, PT_12, // normal
+// PT_16, PT_14, PT_14, PT_12, PT_12, // normal
//JP 10.12.96: jetzt soll alles prozentual sein:
115, 100, 100, 85, 85,
- 75, 75, 75, 75, 75, // normal
-// PT_22, PT_16, PT_12, PT_11, PT_9 // HTML-Mode
+ 75, 75, 75, 75, 75, // normal
+// PT_22, PT_16, PT_12, PT_11, PT_9 // HTML-Mode
PT_24, PT_18, PT_14, PT_12, PT_10,
- PT_7, PT_7, PT_7, PT_7, PT_7 // HTML-Mode
+ PT_7, PT_7, PT_7, PT_7, PT_7 // HTML-Mode
};
long lcl_GetRightMargin( SwDoc& rDoc )
@@ -225,7 +225,7 @@ void lcl_SetHeadline( SwDoc* pDoc, SwTxtFmtColl* pColl,
{
if( !( nOutLvlBits & ( 1 << nLevel )) )
{
- //pColl->SetOutlineLevel( nLevel ); //#outline level zhaojianwei
+ //pColl->SetOutlineLevel( nLevel ); //#outline level zhaojianwei
pColl->AssignToListLevelOfOutlineStyle(nLevel);//<-end,zhaojianwei
if( !bHTMLMode )
{
@@ -337,9 +337,9 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
{
return pNewColl;
}
- //if( pNewColl->GetOutlineLevel() < MAXLEVEL ) //#outline level,zhaojianwei
+ //if( pNewColl->GetOutlineLevel() < MAXLEVEL ) //#outline level,zhaojianwei
//nOutLvlBits |= ( 1 << pNewColl->GetOutlineLevel() );
- if( pNewColl->IsAssignedToListLevelOfOutlineStyle())
+ if( pNewColl->IsAssignedToListLevelOfOutlineStyle())
nOutLvlBits |= ( 1 << pNewColl->GetAssignedOutlineStyleLevel() );//<-end,zhaojianwei
}
@@ -407,21 +407,21 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_TEXT: // Textkoerper
+ case RES_POOLCOLL_TEXT: // Textkoerper
{
SvxULSpaceItem aUL( 0, PT_6, RES_UL_SPACE );
if( get(IDocumentSettingAccess::HTML_MODE) ) aUL.SetLower( HTML_PARSPACE );
aSet.Put( aUL );
}
break;
- case RES_POOLCOLL_TEXT_IDENT: // Textkoerper Einzug
+ case RES_POOLCOLL_TEXT_IDENT: // Textkoerper Einzug
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
aLR.SetTxtFirstLineOfst( GetMetricVal( CM_05 ));
aSet.Put( aLR );
}
break;
- case RES_POOLCOLL_TEXT_NEGIDENT: // Textkoerper neg. Einzug
+ case RES_POOLCOLL_TEXT_NEGIDENT: // Textkoerper neg. Einzug
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
aLR.SetTxtFirstLineOfst( -(short)GetMetricVal( CM_05 ));
@@ -432,7 +432,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
aSet.Put( aTStops );
}
break;
- case RES_POOLCOLL_TEXT_MOVE: // Textkoerper Einrueckung
+ case RES_POOLCOLL_TEXT_MOVE: // Textkoerper Einrueckung
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
aLR.SetTxtLeft( GetMetricVal( CM_05 ));
@@ -440,7 +440,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_CONFRONTATION: // Textkoerper Gegenueberstellung
+ case RES_POOLCOLL_CONFRONTATION: // Textkoerper Gegenueberstellung
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
aLR.SetTxtFirstLineOfst( - short( GetMetricVal( CM_1 ) * 4 +
@@ -452,7 +452,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
aSet.Put( aTStops );
}
break;
- case RES_POOLCOLL_MARGINAL: // Textkoerper maginalie
+ case RES_POOLCOLL_MARGINAL: // Textkoerper maginalie
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
aLR.SetTxtLeft( GetMetricVal( CM_1 ) * 4 );
@@ -460,14 +460,14 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_HEADLINE_BASE: // Basis Ueberschrift
+ case RES_POOLCOLL_HEADLINE_BASE: // Basis Ueberschrift
{
static const USHORT aFntInit[] = {
- DEFAULTFONT_LATIN_HEADING, RES_CHRATR_FONT,
+ DEFAULTFONT_LATIN_HEADING, RES_CHRATR_FONT,
RES_CHRATR_LANGUAGE, LANGUAGE_ENGLISH_US,
- DEFAULTFONT_CJK_HEADING, RES_CHRATR_CJK_FONT,
+ DEFAULTFONT_CJK_HEADING, RES_CHRATR_CJK_FONT,
RES_CHRATR_CJK_LANGUAGE, LANGUAGE_ENGLISH_US,
- DEFAULTFONT_CTL_HEADING, RES_CHRATR_CTL_FONT,
+ DEFAULTFONT_CTL_HEADING, RES_CHRATR_CTL_FONT,
RES_CHRATR_CTL_LANGUAGE, LANGUAGE_ARABIC_SAUDI_ARABIA,
0
};
@@ -499,47 +499,47 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_NUMBUL_BASE: // Basis Numerierung/Aufzaehlung
+ case RES_POOLCOLL_NUMBUL_BASE: // Basis Numerierung/Aufzaehlung
break;
- case RES_POOLCOLL_GREETING: // Grussformel
- case RES_POOLCOLL_REGISTER_BASE: // Basis Verzeichnisse
- case RES_POOLCOLL_SIGNATURE: // Unterschrift
- case RES_POOLCOLL_TABLE: // Tabelle-Inhalt
+ case RES_POOLCOLL_GREETING: // Grussformel
+ case RES_POOLCOLL_REGISTER_BASE: // Basis Verzeichnisse
+ case RES_POOLCOLL_SIGNATURE: // Unterschrift
+ case RES_POOLCOLL_TABLE: // Tabelle-Inhalt
{
SwFmtLineNumber aLN; aLN.SetCountLines( FALSE );
aSet.Put( aLN );
}
break;
- case RES_POOLCOLL_HEADLINE1: // Ueberschrift 1
+ case RES_POOLCOLL_HEADLINE1: // Ueberschrift 1
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 0, FALSE );
break;
- case RES_POOLCOLL_HEADLINE2: // Ueberschrift 2
+ case RES_POOLCOLL_HEADLINE2: // Ueberschrift 2
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 1, TRUE );
break;
- case RES_POOLCOLL_HEADLINE3: // Ueberschrift 3
+ case RES_POOLCOLL_HEADLINE3: // Ueberschrift 3
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 2, FALSE );
break;
- case RES_POOLCOLL_HEADLINE4: // Ueberschrift 4
+ case RES_POOLCOLL_HEADLINE4: // Ueberschrift 4
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 3, TRUE );
break;
- case RES_POOLCOLL_HEADLINE5: // Ueberschrift 5
+ case RES_POOLCOLL_HEADLINE5: // Ueberschrift 5
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 4, FALSE );
break;
- case RES_POOLCOLL_HEADLINE6: // Ueberschrift 6
+ case RES_POOLCOLL_HEADLINE6: // Ueberschrift 6
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 5, FALSE );
break;
- case RES_POOLCOLL_HEADLINE7: // Ueberschrift 7
+ case RES_POOLCOLL_HEADLINE7: // Ueberschrift 7
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 6, FALSE );
break;
- case RES_POOLCOLL_HEADLINE8: // Ueberschrift 8
+ case RES_POOLCOLL_HEADLINE8: // Ueberschrift 8
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 7, FALSE );
break;
- case RES_POOLCOLL_HEADLINE9: // Ueberschrift 9
+ case RES_POOLCOLL_HEADLINE9: // Ueberschrift 9
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 8, FALSE );
break;
- case RES_POOLCOLL_HEADLINE10: // Ueberschrift 10
+ case RES_POOLCOLL_HEADLINE10: // Ueberschrift 10
lcl_SetHeadline( this, pNewColl, aSet, nOutLvlBits, 9, FALSE );
break;
@@ -576,7 +576,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_FOOTNOTE: // Fussnote
+ case RES_POOLCOLL_FOOTNOTE: // Fussnote
case RES_POOLCOLL_ENDNOTE:
{
SvxLRSpaceItem aLR( RES_LR_SPACE );
@@ -589,7 +589,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_LABEL: // Beschriftung-Basis
+ case RES_POOLCOLL_LABEL: // Beschriftung-Basis
{
SvxULSpaceItem aUL( RES_UL_SPACE ); aUL.SetUpper( PT_6 ); aUL.SetLower( PT_6 );
aSet.Put( aUL );
@@ -600,14 +600,14 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_FRAME: // Rahmen Inhalt
- case RES_POOLCOLL_LABEL_ABB: // Beschriftung-Abbildung
- case RES_POOLCOLL_LABEL_TABLE: // Beschriftung-Tabelle
- case RES_POOLCOLL_LABEL_FRAME: // Beschriftung-Rahmen
- case RES_POOLCOLL_LABEL_DRAWING: // Beschriftung-Zeichnung
+ case RES_POOLCOLL_FRAME: // Rahmen Inhalt
+ case RES_POOLCOLL_LABEL_ABB: // Beschriftung-Abbildung
+ case RES_POOLCOLL_LABEL_TABLE: // Beschriftung-Tabelle
+ case RES_POOLCOLL_LABEL_FRAME: // Beschriftung-Rahmen
+ case RES_POOLCOLL_LABEL_DRAWING: // Beschriftung-Zeichnung
break;
- case RES_POOLCOLL_JAKETADRESS: // UmschlagAdresse
+ case RES_POOLCOLL_JAKETADRESS: // UmschlagAdresse
{
SvxULSpaceItem aUL( RES_UL_SPACE ); aUL.SetLower( PT_3 );
aSet.Put( aUL );
@@ -616,7 +616,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_SENDADRESS: // AbsenderAdresse
+ case RES_POOLCOLL_SENDADRESS: // AbsenderAdresse
{
if( get(IDocumentSettingAccess::HTML_MODE) )
SetAllScriptItem( aSet, SvxPostureItem(ITALIC_NORMAL, RES_CHRATR_POSTURE) );
@@ -631,101 +631,101 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
break;
// Benutzer-Verzeichnisse:
- case RES_POOLCOLL_TOX_USERH: // Header
+ case RES_POOLCOLL_TOX_USERH: // Header
lcl_SetRegister( this, aSet, 0, TRUE, FALSE );
{
SwFmtLineNumber aLN; aLN.SetCountLines( FALSE );
aSet.Put( aLN );
}
break;
- case RES_POOLCOLL_TOX_USER1: // 1. Ebene
+ case RES_POOLCOLL_TOX_USER1: // 1. Ebene
lcl_SetRegister( this, aSet, 0, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER2: // 2. Ebene
+ case RES_POOLCOLL_TOX_USER2: // 2. Ebene
lcl_SetRegister( this, aSet, 1, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER3: // 3. Ebene
+ case RES_POOLCOLL_TOX_USER3: // 3. Ebene
lcl_SetRegister( this, aSet, 2, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER4: // 4. Ebene
+ case RES_POOLCOLL_TOX_USER4: // 4. Ebene
lcl_SetRegister( this, aSet, 3, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER5: // 5. Ebene
+ case RES_POOLCOLL_TOX_USER5: // 5. Ebene
lcl_SetRegister( this, aSet, 4, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER6: // 6. Ebene
+ case RES_POOLCOLL_TOX_USER6: // 6. Ebene
lcl_SetRegister( this, aSet, 5, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER7: // 7. Ebene
+ case RES_POOLCOLL_TOX_USER7: // 7. Ebene
lcl_SetRegister( this, aSet, 6, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER8: // 8. Ebene
+ case RES_POOLCOLL_TOX_USER8: // 8. Ebene
lcl_SetRegister( this, aSet, 7, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER9: // 9. Ebene
+ case RES_POOLCOLL_TOX_USER9: // 9. Ebene
lcl_SetRegister( this, aSet, 8, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_USER10: // 10. Ebene
+ case RES_POOLCOLL_TOX_USER10: // 10. Ebene
lcl_SetRegister( this, aSet, 9, FALSE, TRUE );
break;
// Index-Verzeichnisse
- case RES_POOLCOLL_TOX_IDXH: // Header
+ case RES_POOLCOLL_TOX_IDXH: // Header
lcl_SetRegister( this, aSet, 0, TRUE, FALSE );
{
SwFmtLineNumber aLN; aLN.SetCountLines( FALSE );
aSet.Put( aLN );
}
break;
- case RES_POOLCOLL_TOX_IDX1: // 1. Ebene
+ case RES_POOLCOLL_TOX_IDX1: // 1. Ebene
lcl_SetRegister( this, aSet, 0, FALSE, FALSE );
break;
- case RES_POOLCOLL_TOX_IDX2: // 2. Ebene
+ case RES_POOLCOLL_TOX_IDX2: // 2. Ebene
lcl_SetRegister( this, aSet, 1, FALSE, FALSE );
break;
- case RES_POOLCOLL_TOX_IDX3: // 3. Ebene
+ case RES_POOLCOLL_TOX_IDX3: // 3. Ebene
lcl_SetRegister( this, aSet, 2, FALSE, FALSE );
break;
- case RES_POOLCOLL_TOX_IDXBREAK: // Trenner
+ case RES_POOLCOLL_TOX_IDXBREAK: // Trenner
lcl_SetRegister( this, aSet, 0, FALSE, FALSE );
break;
// Inhalts-Verzeichnisse
- case RES_POOLCOLL_TOX_CNTNTH: // Header
+ case RES_POOLCOLL_TOX_CNTNTH: // Header
lcl_SetRegister( this, aSet, 0, TRUE, FALSE );
{
SwFmtLineNumber aLN; aLN.SetCountLines( FALSE );
aSet.Put( aLN );
}
break;
- case RES_POOLCOLL_TOX_CNTNT1: // 1. Ebene
+ case RES_POOLCOLL_TOX_CNTNT1: // 1. Ebene
lcl_SetRegister( this, aSet, 0, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT2: // 2. Ebene
+ case RES_POOLCOLL_TOX_CNTNT2: // 2. Ebene
lcl_SetRegister( this, aSet, 1, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT3: // 3. Ebene
+ case RES_POOLCOLL_TOX_CNTNT3: // 3. Ebene
lcl_SetRegister( this, aSet, 2, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT4: // 4. Ebene
+ case RES_POOLCOLL_TOX_CNTNT4: // 4. Ebene
lcl_SetRegister( this, aSet, 3, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT5: // 5. Ebene
+ case RES_POOLCOLL_TOX_CNTNT5: // 5. Ebene
lcl_SetRegister( this, aSet, 4, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT6: // 6. Ebene
+ case RES_POOLCOLL_TOX_CNTNT6: // 6. Ebene
lcl_SetRegister( this, aSet, 5, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT7: // 7. Ebene
+ case RES_POOLCOLL_TOX_CNTNT7: // 7. Ebene
lcl_SetRegister( this, aSet, 6, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT8: // 8. Ebene
+ case RES_POOLCOLL_TOX_CNTNT8: // 8. Ebene
lcl_SetRegister( this, aSet, 7, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT9: // 9. Ebene
+ case RES_POOLCOLL_TOX_CNTNT9: // 9. Ebene
lcl_SetRegister( this, aSet, 8, FALSE, TRUE );
break;
- case RES_POOLCOLL_TOX_CNTNT10: // 10. Ebene
+ case RES_POOLCOLL_TOX_CNTNT10: // 10. Ebene
lcl_SetRegister( this, aSet, 9, FALSE, TRUE );
break;
@@ -940,7 +940,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
0, SwNumRule::GetBullIndent( 4 ), 0, PT_6 );
break;
- case RES_POOLCOLL_DOC_TITEL: // Doc. Titel
+ case RES_POOLCOLL_DOC_TITEL: // Doc. Titel
{
SetAllScriptItem( aSet, SvxWeightItem( WEIGHT_BOLD, RES_CHRATR_WEIGHT ) );
SetAllScriptItem( aSet, SvxFontHeightItem( PT_18, 100, RES_CHRATR_FONTSIZE ) );
@@ -952,7 +952,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
}
break;
- case RES_POOLCOLL_DOC_SUBTITEL: // Doc. UnterTitel
+ case RES_POOLCOLL_DOC_SUBTITEL: // Doc. UnterTitel
{
SetAllScriptItem( aSet, SvxPostureItem( ITALIC_NORMAL, RES_CHRATR_POSTURE ));
SetAllScriptItem( aSet, SvxFontHeightItem( PT_14, 100, RES_CHRATR_FONTSIZE ));
@@ -1050,7 +1050,7 @@ SwTxtFmtColl* SwDoc::GetTxtCollFromPool( USHORT nId, bool bRegardLanguage )
{
pNewColl->SetFmtAttr( aSet );
// JP 31.08.95: erzeugen einer PoolVorlage ist keine Modifikation
- // (Bug: 18545)
+ // (Bug: 18545)
// SetModified();
}
}
@@ -1114,7 +1114,7 @@ SwFmt* SwDoc::GetFmtFromPool( USHORT nId )
pWhichRange = aCharFmtSetRange;
// Fehlerfall: unbekanntes Format, aber CharFormat
- // -> returne das erste
+ // -> returne das erste
if( RES_POOLCHR_BEGIN > nId || nId >= RES_POOLCHR_END )
{
OSL_ENSURE( !this, "ungueltige Id" );
@@ -1132,7 +1132,7 @@ SwFmt* SwDoc::GetFmtFromPool( USHORT nId )
pWhichRange = aFrmFmtSetRange;
// Fehlerfall: unbekanntes Format, aber FrameFormat
- // -> returne das erste
+ // -> returne das erste
if( RES_POOLFRM_BEGIN > nId || nId >= RES_POOLFRM_END )
{
OSL_ENSURE( !this, "ungueltige Id" );
@@ -1184,30 +1184,30 @@ SwFmt* SwDoc::GetFmtFromPool( USHORT nId )
if( !bIsModified )
ResetModified();
pNewFmt->SetPoolFmtId( nId );
- pNewFmt->SetAuto( FALSE ); // kein Auto-Format
+ pNewFmt->SetAuto( FALSE ); // kein Auto-Format
}
switch( nId )
{
- case RES_POOLCHR_FOOTNOTE: // Fussnote
- case RES_POOLCHR_PAGENO: // Seiten/Feld
- case RES_POOLCHR_LABEL: // Beschriftung
- case RES_POOLCHR_DROPCAPS: // Initialien
- case RES_POOLCHR_NUM_LEVEL: // Aufzaehlungszeichen
- case RES_POOLCHR_TOXJUMP: // Verzeichnissprung
- case RES_POOLCHR_ENDNOTE: // Endnote
- case RES_POOLCHR_LINENUM: // Zeilennummerierung
+ case RES_POOLCHR_FOOTNOTE: // Fussnote
+ case RES_POOLCHR_PAGENO: // Seiten/Feld
+ case RES_POOLCHR_LABEL: // Beschriftung
+ case RES_POOLCHR_DROPCAPS: // Initialien
+ case RES_POOLCHR_NUM_LEVEL: // Aufzaehlungszeichen
+ case RES_POOLCHR_TOXJUMP: // Verzeichnissprung
+ case RES_POOLCHR_ENDNOTE: // Endnote
+ case RES_POOLCHR_LINENUM: // Zeilennummerierung
break;
- case RES_POOLCHR_ENDNOTE_ANCHOR: // Endnotenanker
- case RES_POOLCHR_FOOTNOTE_ANCHOR: // Fussnotenanker
+ case RES_POOLCHR_ENDNOTE_ANCHOR: // Endnotenanker
+ case RES_POOLCHR_FOOTNOTE_ANCHOR: // Fussnotenanker
{
aSet.Put( SvxEscapementItem( DFLT_ESC_AUTO_SUPER, 58, RES_CHRATR_ESCAPEMENT ) );
}
break;
- case RES_POOLCHR_BUL_LEVEL: // Aufzaehlungszeichen
+ case RES_POOLCHR_BUL_LEVEL: // Aufzaehlungszeichen
{
const Font& rBulletFont = numfunc::GetDefBulletFont();
SetAllScriptItem( aSet, SvxFontItem( rBulletFont.GetFamily(),
@@ -1287,8 +1287,8 @@ SwFmt* SwDoc::GetFmtFromPool( USHORT nId )
aSet.Put( SvxCharRotateItem( 900, sal_False, RES_CHRATR_ROTATE ) );
break;
//nichts besonderes
-// case RES_POOLCHR_HTML_DEFINSTANCE:
-// break;
+// case RES_POOLCHR_HTML_DEFINSTANCE:
+// break;
case RES_POOLFRM_FRAME:
@@ -1378,7 +1378,7 @@ SwFmt* SwDoc::GetFmtFromPool( USHORT nId )
{
pNewFmt->SetFmtAttr( aSet );
// JP 31.08.95: erzeugen einer PoolVorlage ist keine Modifikation
- // (Bug: 18545)
+ // (Bug: 18545)
// SetModified();
}
}
@@ -1509,7 +1509,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
switch( nId )
{
- case RES_POOLPAGE_STANDARD: // Standard-Seite
+ case RES_POOLPAGE_STANDARD: // Standard-Seite
{
aSet.Put( aLR );
aSet.Put( aUL );
@@ -1518,8 +1518,8 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
}
break;
- case RES_POOLPAGE_FIRST: // Erste Seite
- case RES_POOLPAGE_REGISTER: // Verzeichnis
+ case RES_POOLPAGE_FIRST: // Erste Seite
+ case RES_POOLPAGE_REGISTER: // Verzeichnis
{
lcl_GetStdPgSize( this, aSet );
aSet.Put( aLR );
@@ -1533,7 +1533,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
}
break;
- case RES_POOLPAGE_LEFT: // Linke Seite
+ case RES_POOLPAGE_LEFT: // Linke Seite
{
lcl_GetStdPgSize( this, aSet );
aSet.Put( aLR );
@@ -1543,7 +1543,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
pNewPgDsc->SetUseOn( nsUseOnPage::PD_LEFT );
}
break;
- case RES_POOLPAGE_RIGHT: // Rechte Seite
+ case RES_POOLPAGE_RIGHT: // Rechte Seite
{
lcl_GetStdPgSize( this, aSet );
aSet.Put( aLR );
@@ -1554,7 +1554,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
}
break;
- case RES_POOLPAGE_JAKET: // Umschlag
+ case RES_POOLPAGE_JAKET: // Umschlag
{
aLR.SetLeft( 0 ); aLR.SetRight( 0 );
aUL.SetUpper( 0 ); aUL.SetLower( 0 );
@@ -1572,7 +1572,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
}
break;
- case RES_POOLPAGE_HTML: // HTML
+ case RES_POOLPAGE_HTML: // HTML
{
lcl_GetStdPgSize( this, aSet );
aLR.SetRight( GetMetricVal( CM_1 ));
@@ -1599,7 +1599,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
aInf.SetBottomDist( 0 );
pNewPgDsc->SetFtnInfo( aInf );
}
- break;
+ break;
case RES_POOLPAGE_LANDSCAPE:
{
SwPageDesc* pStdPgDsc = this->GetPageDescFromPool( RES_POOLPAGE_STANDARD );
@@ -1627,7 +1627,7 @@ SwPageDesc* SwDoc::GetPageDescFromPool( sal_uInt16 nId, bool bRegardLanguage )
pNewPgDsc->GetLeft().SetFmtAttr( aSet );
pNewPgDsc->GetMaster().SetFmtAttr( aSet );
// JP 31.08.95: erzeugen einer PoolVorlage ist keine Modifikation
- // (Bug: 18545)
+ // (Bug: 18545)
// SetModified();
}
}
@@ -1702,7 +1702,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,5 1,0 1,5 2,0 2,5 3,0 3,5 4,0 4,5 5,0
+// cm: 0,5 1,0 1,5 2,0 2,5 3,0 3,5 4,0 4,5 5,0
283, 567, 850, 1134, 1417, 1701, 1984, 2268, 2551, 2835
};
#ifdef USE_MEASUREMENT
@@ -1751,9 +1751,9 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
{
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
- 283, 283, 567, 709, // 0.50, 0.50, 1.00, 1.25
- 850, 1021, 1304, 1474, // 1.50, 1.80, 2.30, 2.60
- 1588, 1758 // 2.80, 3.10
+ 283, 283, 567, 709, // 0.50, 0.50, 1.00, 1.25
+ 850, 1021, 1304, 1474, // 1.50, 1.80, 2.30, 2.60
+ 1588, 1758 // 2.80, 3.10
};
#ifdef USE_MEASUREMENT
@@ -1859,7 +1859,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,5 1,0 1,5 2,0 2,5 3,0 3,5 4,0 4,5 5,0
+// cm: 0,5 1,0 1,5 2,0 2,5 3,0 3,5 4,0 4,5 5,0
283, 567, 850, 1134, 1417, 1701, 1984, 2268, 2551, 2835
};
#ifdef USE_MEASUREMENT
@@ -1909,9 +1909,9 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
// [ First, LSpace ]
static const USHORT aAbsSpace0to2[] =
{
- 227, 227, // 0.40, 0.40,
- 369, 624, // 0.65, 1.10,
- 255, 879 // 0.45, 1.55
+ 227, 227, // 0.40, 0.40,
+ 369, 624, // 0.65, 1.10,
+ 255, 879 // 0.45, 1.55
};
#ifdef USE_MEASUREMENT
@@ -2053,7 +2053,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
+// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
};
#ifdef USE_MEASUREMENT
@@ -2114,7 +2114,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,3 0,6 0,9 1,2 1,5 1,8 2,1 2,4 2,7 3,0
+// cm: 0,3 0,6 0,9 1,2 1,5 1,8 2,1 2,4 2,7 3,0
170, 340, 510, 680, 850, 1020, 1191, 1361, 1531, 1701
};
#ifdef USE_MEASUREMENT
@@ -2219,7 +2219,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
+// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
};
#ifdef USE_MEASUREMENT
@@ -2250,9 +2250,9 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
{
switch( n )
{
- case 0: aFmt.SetBulletChar( 0x27a2 ); break;
- case 1: aFmt.SetBulletChar( 0xE006 ); break;
- default: aFmt.SetBulletChar( 0xE004 ); break;
+ case 0: aFmt.SetBulletChar( 0x27a2 ); break;
+ case 1: aFmt.SetBulletChar( 0xE006 ); break;
+ default: aFmt.SetBulletChar( 0xE004 ); break;
}
// --> OD 2008-02-11 #newlistlevelattrs#
if ( eNumberFormatPositionAndSpaceMode == SvxNumberFormat::LABEL_WIDTH_AND_POSITION )
@@ -2286,7 +2286,7 @@ SwNumRule* SwDoc::GetNumRuleFromPool( USHORT nId )
static const USHORT aAbsSpace[ MAXLEVEL ] =
{
-// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
+// cm: 0,4 0,8 1,2 1,6 2,0 2,4 2,8 3,2 3,6 4,0
227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
};
#ifdef USE_MEASUREMENT
@@ -2353,7 +2353,7 @@ bool SwDoc::IsPoolPageDescUsed( USHORT nId ) const
}
// nicht gefunden oder keine Abhaengigen ?
- if( !bFnd || !pNewPgDsc->GetDepends() ) // ??????
+ if( !bFnd || !pNewPgDsc->GetDepends() ) // ??????
return FALSE;
// dann teste mal, ob es abhaengige ContentNodes im Nodes Array gibt
@@ -2428,7 +2428,7 @@ USHORT SwDoc::SetDocPattern( const String& rPatternName )
return n;
if( nNewPos < aPatternNms.Count() )
- aPatternNms.Remove( nNewPos ); // Platz wieder frei machen
+ aPatternNms.Remove( nNewPos ); // Platz wieder frei machen
String* pNewNm = new String( rPatternName );
aPatternNms.Insert( pNewNm, nNewPos );
@@ -2439,17 +2439,17 @@ USHORT SwDoc::SetDocPattern( const String& rPatternName )
USHORT GetPoolParent( USHORT nId )
{
USHORT nRet = USHRT_MAX;
- if( POOLGRP_NOCOLLID & nId ) // 1 == Formate / 0 == Collections
+ if( POOLGRP_NOCOLLID & nId ) // 1 == Formate / 0 == Collections
{
switch( ( COLL_GET_RANGE_BITS | POOLGRP_NOCOLLID ) & nId )
{
case POOLGRP_CHARFMT:
case POOLGRP_FRAMEFMT:
- nRet = 0; // vom default abgeleitet
+ nRet = 0; // vom default abgeleitet
break;
case POOLGRP_PAGEDESC:
case POOLGRP_NUMRULE:
- break; // es gibt keine Ableitung
+ break; // es gibt keine Ableitung
}
}
else
@@ -2460,19 +2460,19 @@ USHORT GetPoolParent( USHORT nId )
switch( nId )
{
case RES_POOLCOLL_STANDARD:
- nRet = 0; break;
+ nRet = 0; break;
case RES_POOLCOLL_TEXT_IDENT:
case RES_POOLCOLL_TEXT_NEGIDENT:
case RES_POOLCOLL_TEXT_MOVE:
case RES_POOLCOLL_CONFRONTATION:
case RES_POOLCOLL_MARGINAL:
- nRet = RES_POOLCOLL_TEXT; break;
+ nRet = RES_POOLCOLL_TEXT; break;
case RES_POOLCOLL_TEXT:
case RES_POOLCOLL_GREETING:
case RES_POOLCOLL_SIGNATURE:
case RES_POOLCOLL_HEADLINE_BASE:
- nRet = RES_POOLCOLL_STANDARD; break;
+ nRet = RES_POOLCOLL_STANDARD; break;
case RES_POOLCOLL_HEADLINE1:
case RES_POOLCOLL_HEADLINE2:
@@ -2484,7 +2484,7 @@ USHORT GetPoolParent( USHORT nId )
case RES_POOLCOLL_HEADLINE8:
case RES_POOLCOLL_HEADLINE9:
case RES_POOLCOLL_HEADLINE10:
- nRet = RES_POOLCOLL_HEADLINE_BASE; break;
+ nRet = RES_POOLCOLL_HEADLINE_BASE; break;
}
break;
@@ -2492,10 +2492,10 @@ USHORT GetPoolParent( USHORT nId )
switch( nId )
{
case RES_POOLCOLL_NUMBUL_BASE:
- nRet = RES_POOLCOLL_TEXT; break;
+ nRet = RES_POOLCOLL_TEXT; break;
default:
- nRet = RES_POOLCOLL_NUMBUL_BASE; break;
+ nRet = RES_POOLCOLL_NUMBUL_BASE; break;
}
break;
@@ -2503,10 +2503,10 @@ USHORT GetPoolParent( USHORT nId )
switch( nId )
{
case RES_POOLCOLL_FRAME:
- nRet = RES_POOLCOLL_TEXT; break;
+ nRet = RES_POOLCOLL_TEXT; break;
case RES_POOLCOLL_TABLE_HDLN:
- nRet = RES_POOLCOLL_TABLE; break;
+ nRet = RES_POOLCOLL_TABLE; break;
case RES_POOLCOLL_TABLE:
case RES_POOLCOLL_FOOTNOTE:
@@ -2520,13 +2520,13 @@ USHORT GetPoolParent( USHORT nId )
case RES_POOLCOLL_FOOTERL:
case RES_POOLCOLL_FOOTERR:
case RES_POOLCOLL_LABEL:
- nRet = RES_POOLCOLL_STANDARD; break;
+ nRet = RES_POOLCOLL_STANDARD; break;
case RES_POOLCOLL_LABEL_ABB:
case RES_POOLCOLL_LABEL_TABLE:
case RES_POOLCOLL_LABEL_FRAME:
case RES_POOLCOLL_LABEL_DRAWING:
- nRet = RES_POOLCOLL_LABEL; break;
+ nRet = RES_POOLCOLL_LABEL; break;
}
break;
@@ -2534,7 +2534,7 @@ USHORT GetPoolParent( USHORT nId )
switch( nId )
{
case RES_POOLCOLL_REGISTER_BASE:
- nRet = RES_POOLCOLL_STANDARD; break;
+ nRet = RES_POOLCOLL_STANDARD; break;
case RES_POOLCOLL_TOX_USERH:
case RES_POOLCOLL_TOX_CNTNTH:
@@ -2543,10 +2543,10 @@ USHORT GetPoolParent( USHORT nId )
case RES_POOLCOLL_TOX_OBJECTH:
case RES_POOLCOLL_TOX_TABLESH:
case RES_POOLCOLL_TOX_AUTHORITIESH:
- nRet = RES_POOLCOLL_HEADLINE_BASE; break;
+ nRet = RES_POOLCOLL_HEADLINE_BASE; break;
default:
- nRet = RES_POOLCOLL_REGISTER_BASE; break;
+ nRet = RES_POOLCOLL_REGISTER_BASE; break;
}
break;
diff --git a/sw/source/core/doc/sortopt.cxx b/sw/source/core/doc/sortopt.cxx
index 9e432f8402f7..0ddb85800f1e 100644
--- a/sw/source/core/doc/sortopt.cxx
+++ b/sw/source/core/doc/sortopt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
SV_IMPL_PTRARR(SwSortKeys, SwSortKey*)
/*--------------------------------------------------------------------
- Beschreibung: Sortier-Schluessel
+ Beschreibung: Sortier-Schluessel
--------------------------------------------------------------------*/
SwSortKey::SwSortKey() :
eSortOrder( SRT_ASCENDING ),
diff --git a/sw/source/core/doc/swserv.cxx b/sw/source/core/doc/swserv.cxx
index faf2f4e8d79e..4a9ad233cca4 100644
--- a/sw/source/core/doc/swserv.cxx
+++ b/sw/source/core/doc/swserv.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -295,7 +295,7 @@ void SwServerObject::SetNoServer()
if(eType == BOOKMARK_SERVER && CNTNT_TYPE.pBkmk)
{
::sw::mark::DdeBookmark* const pDdeBookmark = dynamic_cast< ::sw::mark::DdeBookmark* >(CNTNT_TYPE.pBkmk);
- if(pDdeBookmark)
+ if(pDdeBookmark)
{
CNTNT_TYPE.pBkmk = 0, eType = NONE_SERVER;
pDdeBookmark->SetRefObject(NULL);
diff --git a/sw/source/core/doc/swstylemanager.cxx b/sw/source/core/doc/swstylemanager.cxx
index b430cf2307a3..b43291b58b4d 100644
--- a/sw/source/core/doc/swstylemanager.cxx
+++ b/sw/source/core/doc/swstylemanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/doc/swstylemanager.hxx b/sw/source/core/doc/swstylemanager.hxx
index 977245e5cfb4..799ce4e1b911 100644
--- a/sw/source/core/doc/swstylemanager.hxx
+++ b/sw/source/core/doc/swstylemanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,6 +36,6 @@ class SfxItemSet;
// --> OD 2008-03-07 #refactorlists#
IStyleAccess *createStyleManager( SfxItemSet* pIgnorableParagraphItems = 0 );
// <--
-#endif //_SWSTYLEMANAGER_HXX
+#endif //_SWSTYLEMANAGER_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/doc/tblafmt.cxx b/sw/source/core/doc/tblafmt.cxx
index 97f060da28ef..2c9d86cc43d7 100644
--- a/sw/source/core/doc/tblafmt.cxx
+++ b/sw/source/core/doc/tblafmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <svx/dialmgr.hxx>
#include <svx/dialogs.hrc>
-#define READ_OLDVERS // erstmal noch alte Versionen lesen
+#define READ_OLDVERS // erstmal noch alte Versionen lesen
#include <swtypes.hxx>
#include <doc.hxx>
#include <poolfmt.hxx>
@@ -52,17 +52,17 @@
#include <SwStyleNameMapper.hxx>
// bis SO5PF
-const USHORT AUTOFORMAT_ID_X = 9501;
-const USHORT AUTOFORMAT_ID_358 = 9601;
-const USHORT AUTOFORMAT_DATA_ID_X = 9502;
+const USHORT AUTOFORMAT_ID_X = 9501;
+const USHORT AUTOFORMAT_ID_358 = 9601;
+const USHORT AUTOFORMAT_DATA_ID_X = 9502;
// ab SO5
//! in nachfolgenden Versionen muss der Betrag dieser IDs groesser sein
-const USHORT AUTOFORMAT_ID_504 = 9801;
-const USHORT AUTOFORMAT_DATA_ID_504 = 9802;
+const USHORT AUTOFORMAT_ID_504 = 9801;
+const USHORT AUTOFORMAT_DATA_ID_504 = 9802;
-const USHORT AUTOFORMAT_ID_552 = 9901;
-const USHORT AUTOFORMAT_DATA_ID_552 = 9902;
+const USHORT AUTOFORMAT_ID_552 = 9901;
+const USHORT AUTOFORMAT_DATA_ID_552 = 9902;
// --- from 641 on: CJK and CTL font settings
const USHORT AUTOFORMAT_ID_641 = 10001;
@@ -86,9 +86,9 @@ const USHORT AUTOFORMAT_DATA_ID = AUTOFORMAT_DATA_ID_300OVRLN;
#ifdef READ_OLDVERS
-const USHORT AUTOFORMAT_OLD_ID = 8201;
-const USHORT AUTOFORMAT_OLD_ID1 = 8301;
-const USHORT AUTOFORMAT_OLD_DATA_ID = 8202;
+const USHORT AUTOFORMAT_OLD_ID = 8201;
+const USHORT AUTOFORMAT_OLD_ID1 = 8301;
+const USHORT AUTOFORMAT_OLD_DATA_ID = 8202;
#endif
@@ -100,7 +100,7 @@ SwBoxAutoFmt* SwTableAutoFmt::pDfltBoxAutoFmt = 0;
SV_IMPL_PTRARR( _SwTableAutoFmtTbl, SwTableAutoFmt* )
-// Struct mit Versionsnummern der Items
+// Struct mit Versionsnummern der Items
struct SwAfVersions
{
@@ -192,7 +192,7 @@ void SwAfVersions::Load( SvStream& rStream, USHORT nVer )
rStream >> nNumFmtVersion;
}
-// ---------------------------------------------------------------------------
+// ---------------------------------------------------------------------------
SwBoxAutoFmt::SwBoxAutoFmt()
: aFont( *(SvxFontItem*)GetDfltAttr( RES_CHRATR_FONT ) ),
@@ -371,7 +371,7 @@ BOOL SwBoxAutoFmt::Load( SvStream& rStream, const SwAfVersions& rVersions, USHOR
READ( aBLTR, SvxLineItem, rVersions.nLineVersion)
}
- READ( aBackground, SvxBrushItem , rVersions.nBrushVersion)
+ READ( aBackground, SvxBrushItem , rVersions.nBrushVersion)
pNew = aAdjust.Create(rStream, rVersions.nAdjustVersion );
SetAdjust( *(SvxAdjustItem*)pNew );
@@ -405,7 +405,7 @@ BOOL SwBoxAutoFmt::Load( SvStream& rStream, const SwAfVersions& rVersions, USHOR
>> eSys >> eLge;
eSysLanguage = (LanguageType) eSys;
eNumFmtLanguage = (LanguageType) eLge;
- if ( eSysLanguage == LANGUAGE_SYSTEM ) // von alten Versionen (Calc)
+ if ( eSysLanguage == LANGUAGE_SYSTEM ) // von alten Versionen (Calc)
eSysLanguage = static_cast<LanguageType>(::GetAppLanguage());
}
@@ -420,26 +420,26 @@ BOOL SwBoxAutoFmt::Load( SvStream& rStream, const SwAfVersions& rVersions, USHOR
BOOL SwBoxAutoFmt::LoadOld( SvStream& rStream, USHORT aLoadVer[] )
{
SfxPoolItem* pNew;
- READ( aFont, SvxFontItem , 0)
+ READ( aFont, SvxFontItem , 0)
if( rStream.GetStreamCharSet() == aFont.GetCharSet() )
aFont.GetCharSet() = ::gsl_getSystemTextEncoding();
- READ( aHeight, SvxFontHeightItem , 1)
- READ( aWeight, SvxWeightItem , 2)
- READ( aPosture, SvxPostureItem , 3)
- READ( aUnderline, SvxUnderlineItem , 4)
- READ( aCrossedOut, SvxCrossedOutItem , 5)
- READ( aContour, SvxContourItem , 6)
- READ( aShadowed, SvxShadowedItem , 7)
- READ( aColor, SvxColorItem , 8)
+ READ( aHeight, SvxFontHeightItem , 1)
+ READ( aWeight, SvxWeightItem , 2)
+ READ( aPosture, SvxPostureItem , 3)
+ READ( aUnderline, SvxUnderlineItem , 4)
+ READ( aCrossedOut, SvxCrossedOutItem , 5)
+ READ( aContour, SvxContourItem , 6)
+ READ( aShadowed, SvxShadowedItem , 7)
+ READ( aColor, SvxColorItem , 8)
pNew = aAdjust.Create(rStream, aLoadVer[ 9 ] );
SetAdjust( *(SvxAdjustItem*)pNew );
delete pNew;
- READ( aBox, SvxBoxItem , 10)
- READ( aBackground, SvxBrushItem , 11)
+ READ( aBox, SvxBoxItem , 10)
+ READ( aBackground, SvxBrushItem , 11)
return 0 == rStream.GetError();
}
@@ -519,7 +519,7 @@ BOOL SwBoxAutoFmt::SaveVerionNo( SvStream& rStream ) const
rStream << aRotateAngle.GetVersion( SOFFICE_FILEFORMAT_40 );
rStream << aRotateMode.GetVersion( SOFFICE_FILEFORMAT_40 );
- rStream << (USHORT)0; // NumberFormat
+ rStream << (USHORT)0; // NumberFormat
return 0 == rStream.GetError();
}
@@ -556,9 +556,9 @@ SwTableAutoFmt& SwTableAutoFmt::operator=( const SwTableAutoFmt& rNew )
delete aBoxAutoFmt[ n ];
SwBoxAutoFmt* pFmt = rNew.aBoxAutoFmt[ n ];
- if( pFmt ) // ist gesetzt -> kopieren
+ if( pFmt ) // ist gesetzt -> kopieren
aBoxAutoFmt[ n ] = new SwBoxAutoFmt( *pFmt );
- else // sonst default
+ else // sonst default
aBoxAutoFmt[ n ] = 0;
}
@@ -589,9 +589,9 @@ void SwTableAutoFmt::SetBoxFmt( const SwBoxAutoFmt& rNew, BYTE nPos )
OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
- if( pFmt ) // ist gesetzt -> kopieren
+ if( pFmt ) // ist gesetzt -> kopieren
*aBoxAutoFmt[ nPos ] = rNew;
- else // sonst neu setzen
+ else // sonst neu setzen
aBoxAutoFmt[ nPos ] = new SwBoxAutoFmt( rNew );
}
@@ -601,9 +601,9 @@ const SwBoxAutoFmt& SwTableAutoFmt::GetBoxFmt( BYTE nPos ) const
OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
- if( pFmt ) // ist gesetzt -> kopieren
+ if( pFmt ) // ist gesetzt -> kopieren
return *pFmt;
- else // sonst den default returnen
+ else // sonst den default returnen
{
// falls noch nicht vorhanden:
if( !pDfltBoxAutoFmt )
@@ -622,7 +622,7 @@ SwBoxAutoFmt& SwTableAutoFmt::UpdateFromSet( BYTE nPos,
OSL_ENSURE( nPos < 16, "falscher Bereich" );
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ];
- if( !pFmt ) // ist gesetzt -> kopieren
+ if( !pFmt ) // ist gesetzt -> kopieren
{
pFmt = new SwBoxAutoFmt;
aBoxAutoFmt[ nPos ] = pFmt;
@@ -769,8 +769,8 @@ void SwTableAutoFmt::UpdateToSet( BYTE nPos, SfxItemSet& rSet,
BOOL SwTableAutoFmt::Load( SvStream& rStream, const SwAfVersions& rVersions )
{
- BOOL bRet = TRUE;
- USHORT nVal = 0;
+ BOOL bRet = TRUE;
+ USHORT nVal = 0;
rStream >> nVal;
bRet = 0 == rStream.GetError();
@@ -822,8 +822,8 @@ BOOL SwTableAutoFmt::Load( SvStream& rStream, const SwAfVersions& rVersions )
BOOL SwTableAutoFmt::LoadOld( SvStream& rStream, USHORT aLoadVer[] )
{
- BOOL bRet = TRUE;
- USHORT nVal = 0;
+ BOOL bRet = TRUE;
+ USHORT nVal = 0;
rStream >> nVal;
bRet = 0 == rStream.GetError();
@@ -875,7 +875,7 @@ BOOL SwTableAutoFmt::Save( SvStream& rStream ) const
for( int i = 0; bRet && i < 16; ++i )
{
SwBoxAutoFmt* pFmt = aBoxAutoFmt[ i ];
- if( !pFmt ) // nicht gesetzt -> default schreiben
+ if( !pFmt ) // nicht gesetzt -> default schreiben
{
// falls noch nicht vorhanden:
if( !pDfltBoxAutoFmt )
@@ -993,8 +993,8 @@ BOOL SwTableAutoFmtTbl::Load( SvStream& rStream )
BYTE nChrSet, nCnt;
long nPos = rStream.Tell();
rStream >> nCnt >> nChrSet;
-// if( 4 <= nCnt )
-// rStream >> nFileVers;
+// if( 4 <= nCnt )
+// rStream >> nFileVers;
if( rStream.Tell() != ULONG(nPos + nCnt) )
{
OSL_ENSURE( !this, "Der Header enthaelt mehr/neuere Daten" );
@@ -1007,7 +1007,7 @@ BOOL SwTableAutoFmtTbl::Load( SvStream& rStream )
if( nVal == AUTOFORMAT_ID_358 || nVal == AUTOFORMAT_ID_X ||
(AUTOFORMAT_ID_504 <= nVal && nVal <= AUTOFORMAT_ID) )
{
- aVersions.Load( rStream, nVal ); // Item-Versionen
+ aVersions.Load( rStream, nVal ); // Item-Versionen
SwTableAutoFmt* pNew;
USHORT nAnz = 0;
@@ -1077,11 +1077,11 @@ BOOL SwTableAutoFmtTbl::Save( SvStream& rStream ) const
// Achtung hier muss ein allgemeiner Header gespeichert werden
USHORT nVal = AUTOFORMAT_ID;
rStream << nVal
- << (BYTE)2 // Anzahl von Zeichen des Headers incl. diesem
+ << (BYTE)2 // Anzahl von Zeichen des Headers incl. diesem
<< (BYTE)GetStoreCharSet( ::gsl_getSystemTextEncoding() );
-// << (BYTE)4 // Anzahl von Zeichen des Headers incl. diesem
-// << (BYTE)::GetSystemCharSet()
-// << (UNIT16)SOFFICE_FILEFORMAT_NOW;
+// << (BYTE)4 // Anzahl von Zeichen des Headers incl. diesem
+// << (BYTE)::GetSystemCharSet()
+// << (UNIT16)SOFFICE_FILEFORMAT_NOW;
bRet = 0 == rStream.GetError();
//-----------------------------------------------------------
diff --git a/sw/source/core/doc/tblcpy.cxx b/sw/source/core/doc/tblcpy.cxx
index 4f05900233d4..b6d976fe6080 100644
--- a/sw/source/core/doc/tblcpy.cxx
+++ b/sw/source/core/doc/tblcpy.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -528,12 +528,12 @@ namespace
// ---------------------------------------------------------------
// kopiere die Tabelle in diese.
-// Kopiere alle Boxen einer Line in entsprechenden Boxen. Der alte Inhalt
-// wird dabei geloescht.
-// Ist keine mehr vorhanden, kommt der restliche Inhalt in die letzte
-// Box einer "GrundLine".
-// Ist auch keine Line mehr vorhanden, -> auch in die letzte Box
-// einer "GrundLine"
+// Kopiere alle Boxen einer Line in entsprechenden Boxen. Der alte Inhalt
+// wird dabei geloescht.
+// Ist keine mehr vorhanden, kommt der restliche Inhalt in die letzte
+// Box einer "GrundLine".
+// Ist auch keine Line mehr vorhanden, -> auch in die letzte Box
+// einer "GrundLine"
void lcl_CpyBox( const SwTable& rCpyTbl, const SwTableBox* pCpyBox,
@@ -646,7 +646,7 @@ void lcl_CpyBox( const SwTable& rCpyTbl, const SwTableBox* pCpyBox,
RES_POOLCOLL_TABLE == nPoolId
? RES_POOLCOLL_TABLE_HDLN
: RES_POOLCOLL_TABLE ) );
- if( pColl ) // Vorlage umsetzen
+ if( pColl ) // Vorlage umsetzen
{
SwPaM aPam( aSavePos );
aPam.SetMark();
@@ -751,16 +751,16 @@ BOOL SwTable::InsNewTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
}
// kopiere die Tabelle in diese.
-// Kopiere alle Boxen einer Line in entsprechenden Boxen. Der alte Inhalt
-// wird dabei geloescht.
-// Ist keine mehr vorhanden, kommt der restliche Inhalt in die letzte
-// Box einer "GrundLine".
-// Ist auch keine Line mehr vorhanden, -> auch in die letzte Box
-// einer "GrundLine"
+// Kopiere alle Boxen einer Line in entsprechenden Boxen. Der alte Inhalt
+// wird dabei geloescht.
+// Ist keine mehr vorhanden, kommt der restliche Inhalt in die letzte
+// Box einer "GrundLine".
+// Ist auch keine Line mehr vorhanden, -> auch in die letzte Box
+// einer "GrundLine"
BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwNodeIndex& rSttBox,
SwUndoTblCpyTbl* pUndo )
{
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
SwDoc* pDoc = GetFrmFmt()->GetDoc();
@@ -804,11 +804,11 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwNodeIndex& rSttBox,
lcl_CpyBox( rCpyTbl, pCpyBox, *this, pMyBox, bDelCntnt, pUndo );
if( 0 == (pTmp = pCpyBox->FindNextBox( rCpyTbl, pCpyBox, FALSE )))
- break; // es folgt keine weitere Box mehr
+ break; // es folgt keine weitere Box mehr
pCpyBox = pTmp;
if( 0 == ( pTmp = pMyBox->FindNextBox( *this, pMyBox, FALSE )))
- bDelCntnt = FALSE; // kein Platz mehr ??
+ bDelCntnt = FALSE; // kein Platz mehr ??
else
pMyBox = (SwTableBox*)pTmp;
@@ -821,7 +821,7 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwNodeIndex& rSttBox,
USHORT nPos = GetTabLines().C40_GETPOS( SwTableLine, pNxtLine );
// gibt es eine naechste ??
if( nPos + 1 >= GetTabLines().Count() )
- bDelCntnt = FALSE; // es gibt keine, alles in die letzte Box
+ bDelCntnt = FALSE; // es gibt keine, alles in die letzte Box
else
{
// suche die naechste "Inhaltstragende Box"
@@ -833,7 +833,7 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwNodeIndex& rSttBox,
}
}
- aFndBox.MakeFrms( pTblNd->GetTable() ); // erzeuge die Frames neu
+ aFndBox.MakeFrms( pTblNd->GetTable() ); // erzeuge die Frames neu
return TRUE;
}
@@ -842,7 +842,7 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
{
OSL_ENSURE( rSelBoxes.Count(), "Missing selection" );
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
if( IsNewModel() || rCpyTbl.IsNewModel() )
return InsNewTable( rCpyTbl, rSelBoxes, pUndo );
@@ -866,7 +866,7 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
}
// JP 06.09.96: Sonderfall - eine Box in der Tabelle -> in alle
- // selektierten Boxen kopieren!
+ // selektierten Boxen kopieren!
if( 1 != rCpyTbl.GetTabSortBoxes().Count() )
{
SwTableLine* pSttLine = pSttBox->GetUpper();
@@ -935,12 +935,12 @@ BOOL SwTable::InsTable( const SwTable& rCpyTbl, const SwSelBoxes& rSelBoxes,
return FALSE;
}
- nTstLns = rCpyTbl.GetTabLines().Count(); // soviele Kopieren
+ nTstLns = rCpyTbl.GetTabLines().Count(); // soviele Kopieren
}
else if( 0 == (nFndCnt % rCpyTbl.GetTabLines().Count()) )
nTstLns = nFndCnt;
else
- return FALSE; // kein Platz fuer die Zeilen
+ return FALSE; // kein Platz fuer die Zeilen
for( nLn = 0; nLn < nTstLns; ++nLn )
{
diff --git a/sw/source/core/doc/tblrwcl.cxx b/sw/source/core/doc/tblrwcl.cxx
index 1779aca328d2..2f302b034283 100644
--- a/sw/source/core/doc/tblrwcl.cxx
+++ b/sw/source/core/doc/tblrwcl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +89,13 @@ SV_IMPL_PTRARR( _SwShareBoxFmts, SwShareBoxFmt* )
struct _CpyTabFrm
{
union {
- SwTableBoxFmt *pFrmFmt; // fuer CopyCol
- SwTwips nSize; // fuer DelCol
+ SwTableBoxFmt *pFrmFmt; // fuer CopyCol
+ SwTwips nSize; // fuer DelCol
} Value;
SwTableBoxFmt *pNewFrmFmt;
_CpyTabFrm( SwTableBoxFmt* pAktFrmFmt ) : pNewFrmFmt( 0 )
- { Value.pFrmFmt = pAktFrmFmt; }
+ { Value.pFrmFmt = pAktFrmFmt; }
_CpyTabFrm& operator=( const _CpyTabFrm& );
@@ -195,11 +195,11 @@ typedef BOOL (*FN_lcl_SetBoxWidth)(SwTableLine*, CR_SetBoxWidth&, SwTwips, BOOL
void _CheckBoxWidth( const SwTableLine& rLine, SwTwips nSize );
-#define CHECKBOXWIDTH \
- { \
- SwTwips nSize = GetFrmFmt()->GetFrmSize().GetWidth(); \
- for( USHORT nTmp = 0; nTmp < aLines.Count(); ++nTmp ) \
- ::_CheckBoxWidth( *aLines[ nTmp ], nSize ); \
+#define CHECKBOXWIDTH \
+ { \
+ SwTwips nSize = GetFrmFmt()->GetFrmSize().GetWidth(); \
+ for( USHORT nTmp = 0; nTmp < aLines.Count(); ++nTmp ) \
+ ::_CheckBoxWidth( *aLines[ nTmp ], nSize ); \
}
#define CHECKTABLELAYOUT \
@@ -297,7 +297,7 @@ struct _CpyPara
_CpyTabFrms& rTabFrmArr;
SwTableLine* pInsLine;
SwTableBox* pInsBox;
- ULONG nOldSize, nNewSize; // zum Korrigieren der Size-Attribute
+ ULONG nOldSize, nNewSize; // zum Korrigieren der Size-Attribute
ULONG nMinLeft, nMaxRight;
USHORT nCpyCnt, nInsPos;
USHORT nLnIdx, nBoxIdx;
@@ -393,7 +393,7 @@ BOOL lcl_CopyCol( const _FndBox*& rpFndBox, void* pPara )
else
{
aFindFrm = pCpyPara->rTabFrmArr[ nFndPos ];
-// aFindFrm.pNewFrmFmt->Add( pBox );
+// aFindFrm.pNewFrmFmt->Add( pBox );
pBox->ChgFrmFmt( (SwTableBoxFmt*)aFindFrm.pNewFrmFmt );
}
}
@@ -489,7 +489,7 @@ void lcl_InsCol( _FndLine* pFndLn, _CpyPara& rCpyPara, USHORT nCpyCnt,
BOOL bBehind )
{
// Bug 29124: nicht nur in den Grundlines kopieren. Wenns geht, so weit
- // runter wie moeglich.
+ // runter wie moeglich.
_FndBox* pFBox;
if( 1 == pFndLn->GetBoxes().Count() &&
!( pFBox = pFndLn->GetBoxes()[ 0 ] )->GetBox()->GetSttNd() )
@@ -549,7 +549,7 @@ BOOL SwTable::InsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt, BOO
if( !aFndBox.GetLines().Count() )
return FALSE;
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
//Lines fuer das Layout-Update herausuchen.
aFndBox.SetTableLines( *this );
@@ -600,7 +600,7 @@ BOOL SwTable::_InsertRow( SwDoc* pDoc, const SwSelBoxes& rBoxes,
if( !aFndBox.GetLines().Count() )
return FALSE;
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
_FndBox* pFndBox = &aFndBox;
{
@@ -728,7 +728,7 @@ BOOL SwTable::AppendRow( SwDoc* pDoc, USHORT nCnt )
{
const SwTableLine* pLLine = GetTabLines()[ GetTabLines().Count()-1 ];
- const SwSelBoxes* pBxs = 0; // Dummy !!!
+ const SwSelBoxes* pBxs = 0; // Dummy !!!
_FndPara aPara( *pBxs, &aFndBox );
_FndBoxAppendRowLine( pLLine, &aPara );
@@ -736,7 +736,7 @@ BOOL SwTable::AppendRow( SwDoc* pDoc, USHORT nCnt )
if( !aFndBox.GetLines().Count() )
return FALSE;
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
//Lines fuer das Layout-Update herausuchen.
const BOOL bLayout = 0 != SwClientIter( *GetFrmFmt() ).First( TYPE(SwTabFrm) );
@@ -922,10 +922,10 @@ void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* pUndo,
::lcl_LastBoxSetWidthLine( pBox->GetTabLines(), nBoxSz,
!bLastBox,
pShareFmts ? *pShareFmts
- : aShareFmts );
+ : aShareFmts );
}
}
- break; // nichts mehr loeschen
+ break; // nichts mehr loeschen
}
// loesche die Line aus Tabelle/Box
if( !pUpperBox )
@@ -935,7 +935,7 @@ void _DeleteBox( SwTable& rTbl, SwTableBox* pBox, SwUndo* pUndo,
if( pShareFmts )
pShareFmts->RemoveFormat( *rTbl.GetTabLines()[ nDelPos ]->GetFrmFmt() );
rTbl.GetTabLines().DeleteAndDestroy( nDelPos );
- break; // mehr kann nicht geloescht werden
+ break; // mehr kann nicht geloescht werden
}
// dann loesche auch noch die Line
@@ -1037,11 +1037,11 @@ void lcl_SaveUpperLowerBorder( SwTable& rTbl, const SwTableBox& rBox,
SwTwips nBoxWidth = rBox.GetFrmFmt()->GetFrmSize().GetWidth();
SwTableBox *pPrvBox = 0, *pNxtBox = 0;
- if( nLnPos ) // Vorgaenger?
+ if( nLnPos ) // Vorgaenger?
pPrvBox = ::lcl_FndNxtPrvDelBox( *pTblLns, nBoxStt, nBoxWidth,
nLnPos, FALSE, pAllDelBoxes, pCurPos );
- if( nLnPos + 1 < pTblLns->Count() ) // Nachfolger?
+ if( nLnPos + 1 < pTblLns->Count() ) // Nachfolger?
pNxtBox = ::lcl_FndNxtPrvDelBox( *pTblLns, nBoxStt, nBoxWidth,
nLnPos, TRUE, pAllDelBoxes, pCurPos );
@@ -1092,7 +1092,7 @@ BOOL SwTable::DeleteSel(
return FALSE;
}
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
//Lines fuer das Layout-Update herausuchen.
_FndBox aFndBox( 0, 0 );
@@ -1164,7 +1164,7 @@ BOOL SwTable::OldSplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt,
// Thus we tell the charts to use their own data provider and forget about this table
pDoc->CreateChartInternalDataProviders( this );
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
// If the rows should get the same (min) height, we first have
// to store the old row heights before deleting the frames
@@ -1208,11 +1208,11 @@ BOOL SwTable::OldSplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt,
SwTableBox* pNewBox = new SwTableBox( pFrmFmt, nCnt, pInsLine );
USHORT nBoxPos = pInsLine->GetTabBoxes().C40_GETPOS( SwTableBox, pSelBox );
- pInsLine->GetTabBoxes().Remove( nBoxPos ); // alte loeschen
+ pInsLine->GetTabBoxes().Remove( nBoxPos ); // alte loeschen
pInsLine->GetTabBoxes().C40_INSERT( SwTableBox, pNewBox, nBoxPos );
// Hintergrund- / Rand Attribut loeschen
- SwTableBox* pLastBox = pSelBox; // zum verteilen der TextNodes !!
+ SwTableBox* pLastBox = pSelBox; // zum verteilen der TextNodes !!
// sollte Bereiche in der Box stehen, dann bleibt sie so bestehen
// !! FALLS DAS GEAENDERT WIRD MUSS DAS UNDO ANGEPASST WERDEN !!!
BOOL bMoveNodes = TRUE;
@@ -1244,7 +1244,7 @@ BOOL SwTable::OldSplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt,
pNewBox->GetTabLines().C40_INSERT( SwTableLine, pNewLine, i );
// dann eine neue Box in der Line
- if( !i ) // haenge die originale Box ein
+ if( !i ) // haenge die originale Box ein
{
pSelBox->SetUpper( pNewLine );
pNewLine->GetTabBoxes().C40_INSERT( SwTableBox, pSelBox, 0 );
@@ -1270,7 +1270,7 @@ BOOL SwTable::OldSplitRow( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt,
{
// TextNodes verschieben
SwNodeRange aRg( *pLastBox->GetSttNd(), +2, *pEndNd );
- pLastBox = pNewLine->GetTabBoxes()[0]; // neu setzen
+ pLastBox = pNewLine->GetTabBoxes()[0]; // neu setzen
SwNodeIndex aInsPos( *pLastBox->GetSttNd(), 1 );
pDoc->GetNodes()._MoveNodes(aRg, pDoc->GetNodes(), aInsPos, FALSE);
pDoc->GetNodes().Delete( aInsPos, 1 ); // den leeren noch loeschen
@@ -1307,7 +1307,7 @@ BOOL SwTable::SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt )
// Thus we tell the charts to use their own data provider and forget about this table
pDoc->CreateChartInternalDataProviders( this );
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
SwSelBoxes aSelBoxes;
aSelBoxes.Insert(rBoxes.GetData(), rBoxes.Count());
ExpandSelection( aSelBoxes );
@@ -1368,10 +1368,10 @@ BOOL SwTable::SplitCol( SwDoc* pDoc, const SwSelBoxes& rBoxes, USHORT nCnt )
// dann fuege mal an der Position die neuen Boxen ein
for( USHORT i = 1; i < nCnt; ++i )
::_InsTblBox( pDoc, pTblNd, pInsLine, aFindFrm.pNewFrmFmt,
- pSelBox, nBoxPos + i ); // dahinter einfuegen
+ pSelBox, nBoxPos + i ); // dahinter einfuegen
::_InsTblBox( pDoc, pTblNd, pInsLine, pLastBoxFmt,
- pSelBox, nBoxPos + nCnt ); // dahinter einfuegen
+ pSelBox, nBoxPos + nCnt ); // dahinter einfuegen
// Sonderbehandlung fuer die Umrandung:
const SvxBoxItem& aSelBoxItem = aFindFrm.pNewFrmFmt->GetBox();
@@ -1470,7 +1470,7 @@ struct _InsULPara
SwTableNode* pTblNd;
SwTableLine* pInsLine;
SwTableBox* pInsBox;
- BOOL bUL_LR : 1; // Upper-Lower(TRUE) oder Left-Right(FALSE) ?
+ BOOL bUL_LR : 1; // Upper-Lower(TRUE) oder Left-Right(FALSE) ?
BOOL bUL : 1; // Upper-Left(TRUE) oder Lower-Right(FALSE) ?
SwTableBox* pLeftBox;
@@ -1482,16 +1482,16 @@ struct _InsULPara
SwTableLine* pLine=0, SwTableBox* pBox=0 )
: pTblNd( pTNd ), pInsLine( pLine ), pInsBox( pBox ),
pLeftBox( pLeft ), pRightBox( pRight ), pMergeBox( pMerge )
- { bUL_LR = bUpperLower; bUL = bUpper; }
+ { bUL_LR = bUpperLower; bUL = bUpper; }
void SetLeft( SwTableBox* pBox=0 )
- { bUL_LR = FALSE; bUL = TRUE; if( pBox ) pInsBox = pBox; }
+ { bUL_LR = FALSE; bUL = TRUE; if( pBox ) pInsBox = pBox; }
void SetRight( SwTableBox* pBox=0 )
- { bUL_LR = FALSE; bUL = FALSE; if( pBox ) pInsBox = pBox; }
+ { bUL_LR = FALSE; bUL = FALSE; if( pBox ) pInsBox = pBox; }
void SetUpper( SwTableLine* pLine=0 )
- { bUL_LR = TRUE; bUL = TRUE; if( pLine ) pInsLine = pLine; }
+ { bUL_LR = TRUE; bUL = TRUE; if( pLine ) pInsLine = pLine; }
void SetLower( SwTableLine* pLine=0 )
- { bUL_LR = TRUE; bUL = FALSE; if( pLine ) pInsLine = pLine; }
+ { bUL_LR = TRUE; bUL = FALSE; if( pLine ) pInsLine = pLine; }
};
BOOL lcl_Merge_MoveBox( const _FndBox*& rpFndBox, void* pPara )
@@ -1501,18 +1501,18 @@ BOOL lcl_Merge_MoveBox( const _FndBox*& rpFndBox, void* pPara )
USHORT nStt = 0, nEnd = rpFndBox->GetLines().Count();
USHORT nInsPos = USHRT_MAX;
- if( !pULPara->bUL_LR ) // Left/Right
+ if( !pULPara->bUL_LR ) // Left/Right
{
USHORT nPos;
SwTableBox* pFndBox = (SwTableBox*)rpFndBox->GetBox();
pBoxes = &pFndBox->GetUpper()->GetTabBoxes();
- if( pULPara->bUL ) // Left ?
+ if( pULPara->bUL ) // Left ?
{
// gibt es noch davor Boxen, dann move sie
if( 0 != ( nPos = pBoxes->C40_GETPOS( SwTableBox, pFndBox )) )
lcl_CpyBoxes( 0, nPos, *pBoxes, pULPara->pInsLine );
}
- else // Right
+ else // Right
// gibt es noch dahinter Boxen, dann move sie
if( (nPos = pBoxes->C40_GETPOS( SwTableBox, pFndBox )) +1 < pBoxes->Count() )
{
@@ -1535,7 +1535,7 @@ BOOL lcl_Merge_MoveBox( const _FndBox*& rpFndBox, void* pPara )
if( rpFndBox->GetBox()->GetTabLines().Count() )
{
SwTableBox* pBox = new SwTableBox(
- (SwTableBoxFmt*)rpFndBox->GetBox()->GetFrmFmt(), 0, pULPara->pInsLine );
+ (SwTableBoxFmt*)rpFndBox->GetBox()->GetFrmFmt(), 0, pULPara->pInsLine );
_InsULPara aPara( *pULPara );
aPara.pInsBox = pBox;
((_FndBox*)rpFndBox)->GetLines().ForEach( nStt, nEnd,
@@ -1545,7 +1545,7 @@ BOOL lcl_Merge_MoveBox( const _FndBox*& rpFndBox, void* pPara )
if( USHRT_MAX == nInsPos )
nInsPos = pBoxes->Count();
pBoxes->C40_INSERT( SwTableBox, pBox, nInsPos );
- lcl_CalcWidth( pBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pBox ); // bereche die Breite der Box
}
else
delete pBox;
@@ -1560,7 +1560,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
USHORT nStt = 0, nEnd = rpFndLine->GetBoxes().Count();
USHORT nInsPos = USHRT_MAX;
- if( pULPara->bUL_LR ) // UpperLower ?
+ if( pULPara->bUL_LR ) // UpperLower ?
{
USHORT nPos;
SwTableLine* pFndLn = (SwTableLine*)rpFndLine->GetLine();
@@ -1574,11 +1574,11 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
USHORT nLeft = pFndLn->GetTabBoxes().C40_GETPOS( SwTableBox, pLBx );
USHORT nRight = pFndLn->GetTabBoxes().C40_GETPOS( SwTableBox, pRBx );
-// if( ( nLeft && nRight+1 < pFndLn->GetTabBoxes().Count() ) ||
-// ( !nLeft && nRight+1 >= pFndLn->GetTabBoxes().Count() ) )
+// if( ( nLeft && nRight+1 < pFndLn->GetTabBoxes().Count() ) ||
+// ( !nLeft && nRight+1 >= pFndLn->GetTabBoxes().Count() ) )
if( !nLeft || nRight == pFndLn->GetTabBoxes().Count() )
{
- if( pULPara->bUL ) // Upper ?
+ if( pULPara->bUL ) // Upper ?
{
// gibt es noch davor Zeilen, dann move sie
if( 0 != ( nPos = pLines->C40_GETPOS( SwTableLine, pFndLn )) )
@@ -1612,7 +1612,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
pInsLine->GetTabBoxes().C40_INSERT( SwTableBox, pLMBox, 0 );
- if( pULPara->bUL ) // Upper ?
+ if( pULPara->bUL ) // Upper ?
{
// gibt es noch davor Zeilen, dann move sie
if( 0 != ( nPos = pLines->C40_GETPOS( SwTableLine, pFndLn )) )
@@ -1623,7 +1623,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
if( (nPos = pLines->C40_GETPOS( SwTableLine, pFndLn )) +1 < pLines->Count() )
lcl_CpyLines( nPos+1, pLines->Count(), *pLines,
pLMBox );
- lcl_CalcWidth( pLMBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pLMBox ); // bereche die Breite der Box
}
else if( nRight+1 < pFndLn->GetTabBoxes().Count() )
{
@@ -1684,14 +1684,14 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
lcl_CpyLines( nPos1, nPos2,
pNewLn->GetUpper()->GetTabLines(), pRMBox );
- lcl_CalcWidth( pRMBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pRMBox ); // bereche die Breite der Box
pRMBox = new SwTableBox( (SwTableBoxFmt*)pRMBox->GetFrmFmt(), 0, pNewLn );
pNewLn->GetTabBoxes().C40_INSERT( SwTableBox, pRMBox,
pNewLn->GetTabBoxes().Count() );
}
}
- if( pULPara->bUL ) // Upper ?
+ if( pULPara->bUL ) // Upper ?
{
// gibt es noch davor Zeilen, dann move sie
if( 0 != ( nPos = pLines->C40_GETPOS( SwTableLine, pFndLn )) )
@@ -1702,7 +1702,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
if( (nPos = pLines->C40_GETPOS( SwTableLine, pFndLn )) +1 < pLines->Count() )
lcl_CpyLines( nPos+1, pLines->Count(), *pLines,
pRMBox );
- lcl_CalcWidth( pRMBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pRMBox ); // bereche die Breite der Box
}
else {
OSL_ENSURE( FALSE , "Was denn nun" );
@@ -1719,7 +1719,7 @@ BOOL lcl_Merge_MoveLine( const _FndLine*& rpFndLine, void* pPara )
SwTableLine* pNewLine = new SwTableLine(
(SwTableLineFmt*)rpFndLine->GetLine()->GetFrmFmt(), 0, pULPara->pInsBox );
- _InsULPara aPara( *pULPara ); // kopieren
+ _InsULPara aPara( *pULPara ); // kopieren
aPara.pInsLine = pNewLine;
((_FndLine*)rpFndLine)->GetBoxes().ForEach( nStt, nEnd,
&lcl_Merge_MoveBox, &aPara );
@@ -1757,7 +1757,7 @@ BOOL SwTable::OldMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes,
// Thus we tell the charts to use their own data provider and forget about this table
pDoc->CreateChartInternalDataProviders( this );
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
if( pUndo )
pUndo->SetSelBoxes( rBoxes );
@@ -1816,7 +1816,7 @@ BOOL SwTable::OldMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes,
_DeleteBox( *this, pLeftBox, 0, FALSE, FALSE );
else
{
- lcl_CalcWidth( pLeftBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pLeftBox ); // bereche die Breite der Box
if( pUndo && pLeftBox->GetSttNd() )
pUndo->AddNewBox( pLeftBox->GetSttIdx() );
}
@@ -1824,7 +1824,7 @@ BOOL SwTable::OldMerge( SwDoc* pDoc, const SwSelBoxes& rBoxes,
_DeleteBox( *this, pRightBox, 0, FALSE, FALSE );
else
{
- lcl_CalcWidth( pRightBox ); // bereche die Breite der Box
+ lcl_CalcWidth( pRightBox ); // bereche die Breite der Box
if( pUndo && pRightBox->GetSttNd() )
pUndo->AddNewBox( pRightBox->GetSttIdx() );
}
@@ -2038,7 +2038,7 @@ BOOL lcl_CopyBoxToDoc( const _FndBox*& rpFndBox, void* pPara )
rpFndBox->GetLines().Count(), pCpyPara->pInsLine );
pCpyPara->pInsLine->GetTabBoxes().C40_INSERT( SwTableBox, pBox, pCpyPara->nInsPos++ );
_CpyPara aPara( *pCpyPara, pBox );
- aPara.nNewSize = nSize; // hole die Groesse
+ aPara.nNewSize = nSize; // hole die Groesse
((_FndBox*)rpFndBox)->GetLines().ForEach( &lcl_CopyLineToDoc, &aPara );
}
else
@@ -2344,7 +2344,7 @@ BOOL SwTable::MakeCopy( SwDoc* pInsDoc, const SwPosition& rPos,
// Mal kurz aufraeumen:
pNewTbl->GCLines();
- pTblNd->MakeFrms( &aIdx ); // erzeuge die Frames neu
+ pTblNd->MakeFrms( &aIdx ); // erzeuge die Frames neu
CHECKTABLELAYOUT
@@ -2355,7 +2355,7 @@ BOOL SwTable::MakeCopy( SwDoc* pInsDoc, const SwPosition& rPos,
SwTableBox* SwTableLine::FindNextBox( const SwTable& rTbl,
const SwTableBox* pSrchBox, BOOL bOvrTblLns ) const
{
- const SwTableLine* pLine = this; // fuer M800
+ const SwTableLine* pLine = this; // fuer M800
SwTableBox* pBox;
USHORT nFndPos;
if( GetTabBoxes().Count() && pSrchBox &&
@@ -2377,12 +2377,12 @@ SwTableBox* SwTableLine::FindNextBox( const SwTable& rTbl,
return GetUpper()->GetUpper()->FindNextBox( rTbl, GetUpper(), bOvrTblLns );
pLine = GetUpper()->GetTabLines()[nFndPos+1];
}
- else if( bOvrTblLns ) // ueber die "GrundLines" einer Tabelle ?
+ else if( bOvrTblLns ) // ueber die "GrundLines" einer Tabelle ?
{
// suche in der Tabelle nach der naechsten Line
nFndPos = rTbl.GetTabLines().GetPos( pLine );
if( nFndPos + 1 >= rTbl.GetTabLines().Count() )
- return 0; // es gibt keine weitere Box mehr
+ return 0; // es gibt keine weitere Box mehr
pLine = rTbl.GetTabLines()[ nFndPos+1 ];
}
@@ -2403,7 +2403,7 @@ SwTableBox* SwTableLine::FindNextBox( const SwTable& rTbl,
SwTableBox* SwTableLine::FindPreviousBox( const SwTable& rTbl,
const SwTableBox* pSrchBox, BOOL bOvrTblLns ) const
{
- const SwTableLine* pLine = this; // fuer M800
+ const SwTableLine* pLine = this; // fuer M800
SwTableBox* pBox;
USHORT nFndPos;
if( GetTabBoxes().Count() && pSrchBox &&
@@ -2428,12 +2428,12 @@ SwTableBox* SwTableLine::FindPreviousBox( const SwTable& rTbl,
return GetUpper()->GetUpper()->FindPreviousBox( rTbl, GetUpper(), bOvrTblLns );
pLine = GetUpper()->GetTabLines()[nFndPos-1];
}
- else if( bOvrTblLns ) // ueber die "GrundLines" einer Tabelle ?
+ else if( bOvrTblLns ) // ueber die "GrundLines" einer Tabelle ?
{
// suche in der Tabelle nach der naechsten Line
nFndPos = rTbl.GetTabLines().GetPos( pLine );
if( !nFndPos )
- return 0; // es gibt keine weitere Box mehr
+ return 0; // es gibt keine weitere Box mehr
pLine = rTbl.GetTabLines()[ nFndPos-1 ];
}
@@ -2640,7 +2640,7 @@ BOOL lcl_SetOtherBoxWidth( SwTableLine* pLine, CR_SetBoxWidth& rParam,
{
rParam.bAnyBoxFnd = TRUE;
SwTwips nDiff;
- if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
+ if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
{
// relativ berechnen
nDiff = nWidth;
@@ -2679,7 +2679,7 @@ BOOL lcl_SetOtherBoxWidth( SwTableLine* pLine, CR_SetBoxWidth& rParam,
if( !nLowerDiff )
{
- if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
+ if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
{
// relativ berechnen
nLowerDiff = nWidth;
@@ -2806,7 +2806,7 @@ BOOL lcl_InsSelBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
rParam.aShareFmts.SetSize( *pNewBox, aNew );
// Sonderfall: kein Platz in den anderen Boxen
- // aber in der Zelle
+ // aber in der Zelle
if( rParam.bSplittBox )
{
// die akt. Box auf
@@ -2899,7 +2899,7 @@ BOOL lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
{
rParam.bAnyBoxFnd = TRUE;
SwTwips nDiff;
- if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
+ if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
{
// relativ berechnen
nDiff = nWidth;
@@ -2926,10 +2926,10 @@ BOOL lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
pTmpBox = pTmpBox->GetUpper()->GetUpper();
nBoxPos = pTmpBox->GetUpper()->GetTabBoxes().GetPos( pTmpBox );
}
-// if( nBoxPos )
+// if( nBoxPos )
nTmpWidth = pTmpBox->GetFrmFmt()->GetFrmSize().GetWidth();
-// else
-// nTmpWidth = 0;
+// else
+// nTmpWidth = 0;
}
if( nTmpWidth < nDiff || nTmpWidth - nDiff < MINLAY )
@@ -2963,7 +2963,7 @@ BOOL lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
{
if( !nLowerDiff )
{
- if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
+ if( TBLFIX_CHGPROP == rParam.nMode ) // Tabelle fix, proport.
{
// relativ berechnen
nLowerDiff = nWidth;
@@ -2994,13 +2994,13 @@ BOOL lcl_InsOtherBox( SwTableLine* pLine, CR_SetBoxWidth& rParam,
}
// das Ergebnis des Positions Vergleiches
-// POS_BEFORE, // Box liegt davor
-// POS_BEHIND, // Box liegt dahinter
-// POS_INSIDE, // Box liegt vollstaendig in Start/End
-// POS_OUTSIDE, // Box ueberlappt Start/End vollstaendig
-// POS_EQUAL, // Box und Start/End sind gleich
-// POS_OVERLAP_BEFORE, // Box ueberlappt den Start
-// POS_OVERLAP_BEHIND // Box ueberlappt das Ende
+// POS_BEFORE, // Box liegt davor
+// POS_BEHIND, // Box liegt dahinter
+// POS_INSIDE, // Box liegt vollstaendig in Start/End
+// POS_OUTSIDE, // Box ueberlappt Start/End vollstaendig
+// POS_EQUAL, // Box und Start/End sind gleich
+// POS_OVERLAP_BEFORE, // Box ueberlappt den Start
+// POS_OVERLAP_BEHIND // Box ueberlappt das Ende
SwComparePosition _CheckBoxInRange( USHORT nStt, USHORT nEnd,
USHORT nBoxStt, USHORT nBoxEnd )
{
@@ -3082,12 +3082,12 @@ void lcl_ChgBoxSize( SwTableBox& rBox, CR_SetBoxWidth& rParam,
switch( rParam.nMode )
{
- case TBLFIX_CHGABS: // Tabelle feste Breite, den Nachbar andern
+ case TBLFIX_CHGABS: // Tabelle feste Breite, den Nachbar andern
nDiff = rDelWidth + rParam.nLowerDiff;
bSetSize = TRUE;
break;
- case TBLFIX_CHGPROP: // Tabelle feste Breite, alle Nachbarn aendern
+ case TBLFIX_CHGPROP: // Tabelle feste Breite, alle Nachbarn aendern
if( !rParam.nRemainWidth )
{
// dann kurz berechnen:
@@ -3105,7 +3105,7 @@ void lcl_ChgBoxSize( SwTableBox& rBox, CR_SetBoxWidth& rParam,
bSetSize = TRUE;
break;
- case TBLVAR_CHGABS: // Tabelle variable, alle Nachbarn aendern
+ case TBLVAR_CHGABS: // Tabelle variable, alle Nachbarn aendern
if( COLFUZZY < Abs( rParam.nBoxWidth -
( rDelWidth + rParam.nLowerDiff )))
{
@@ -3239,13 +3239,13 @@ BOOL lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam,
}
break;
- case POS_OUTSIDE: // Box ueberlappt Start/End vollstaendig
- case POS_INSIDE: // Box liegt vollstaendig in Start/End
- case POS_EQUAL: // Box und Start/End sind gleich
+ case POS_OUTSIDE: // Box ueberlappt Start/End vollstaendig
+ case POS_INSIDE: // Box liegt vollstaendig in Start/End
+ case POS_EQUAL: // Box und Start/End sind gleich
bDelBox = TRUE;
break;
- case POS_OVERLAP_BEFORE: // Box ueberlappt den Start
+ case POS_OVERLAP_BEFORE: // Box ueberlappt den Start
if( nBoxChkStt <= ( nDist + (rParam.bLeft ? - nWidth / 2
: nWidth / 2 )))
{
@@ -3267,7 +3267,7 @@ BOOL lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam,
}
break;
- case POS_OVERLAP_BEHIND: // Box ueberlappt das Ende
+ case POS_OVERLAP_BEHIND: // Box ueberlappt das Ende
// JP 10.02.99:
// generell loeschen oder wie beim OVERLAP_Before nur die, die
// bis zur Haelfte in die "Loesch-"Box reicht ???
@@ -3370,10 +3370,10 @@ BOOL lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam,
{
switch( ePosType )
{
- case POS_OVERLAP_BEFORE: // Box ueberlappt den Start
+ case POS_OVERLAP_BEFORE: // Box ueberlappt den Start
if( TBLFIX_CHGPROP == rParam.nMode )
bCorrRel = rParam.bLeft;
- else if( rParam.bLeft ) // TBLFIX_CHGABS
+ else if( rParam.bLeft ) // TBLFIX_CHGABS
{
nLowerDiff = nLowerDiff - nDelWidth;
bCorrLowers = TRUE;
@@ -3381,10 +3381,10 @@ BOOL lcl_DelSelBox( SwTableLine* pTabLine, CR_SetBoxWidth& rParam,
}
break;
- case POS_OVERLAP_BEHIND: // Box ueberlappt das Ende
+ case POS_OVERLAP_BEHIND: // Box ueberlappt das Ende
if( TBLFIX_CHGPROP == rParam.nMode )
bCorrRel = !rParam.bLeft;
- else if( !rParam.bLeft ) // TBLFIX_CHGABS
+ else if( !rParam.bLeft ) // TBLFIX_CHGABS
{
nLowerDiff = nLowerDiff - nDelWidth;
bCorrLowers = TRUE;
@@ -3543,13 +3543,13 @@ _FndBox* lcl_SaveInsDelData( CR_SetBoxWidth& rParam, SwUndo** ppUndo,
BOOL SwTable::SetColWidth( SwTableBox& rAktBox, USHORT eType,
SwTwips nAbsDiff, SwTwips nRelDiff, SwUndo** ppUndo )
{
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
const SwFmtFrmSize& rSz = GetFrmFmt()->GetFrmSize();
const SvxLRSpaceItem& rLR = GetFrmFmt()->GetLRSpace();
- _FndBox* pFndBox = 0; // fuers Einfuegen/Loeschen
- SwTableSortBoxes aTmpLst( 0, 5 ); // fuers Undo
+ _FndBox* pFndBox = 0; // fuers Einfuegen/Loeschen
+ SwTableSortBoxes aTmpLst( 0, 5 ); // fuers Undo
BOOL bBigger,
bRet = FALSE,
bLeft = nsTblChgWidthHeightType::WH_COL_LEFT == ( eType & 0xff ) ||
@@ -4078,14 +4078,14 @@ void SetLineHeight( SwTableLine& rLine, SwTwips nOldHeight, SwTwips nNewHeight,
SwFrmFmt* pFmt = rLine.ClaimFrmFmt();
SwTwips nMyNewH, nMyOldH = pLineFrm->Frm().Height();
- if( !nOldHeight ) // die BaseLine und absolut
+ if( !nOldHeight ) // die BaseLine und absolut
nMyNewH = nMyOldH + nNewHeight;
else
{
// moeglichst genau rechnen
Fraction aTmp( nMyOldH );
aTmp *= Fraction( nNewHeight, nOldHeight );
- aTmp += Fraction( 1, 2 ); // ggfs. aufrunden
+ aTmp += Fraction( 1, 2 ); // ggfs. aufrunden
nMyNewH = aTmp;
}
@@ -4284,8 +4284,8 @@ BOOL SwTable::SetRowHeight( SwTableBox& rAktBox, USHORT eType,
while( pBaseLine->GetUpper() )
pBaseLine = pBaseLine->GetUpper()->GetUpper();
- _FndBox* pFndBox = 0; // fuers Einfuegen/Loeschen
- SwTableSortBoxes aTmpLst( 0, 5 ); // fuers Undo
+ _FndBox* pFndBox = 0; // fuers Einfuegen/Loeschen
+ SwTableSortBoxes aTmpLst( 0, 5 ); // fuers Undo
BOOL bBigger,
bRet = FALSE,
bTop = nsTblChgWidthHeightType::WH_ROW_TOP == ( eType & 0xff ) ||
@@ -4312,7 +4312,7 @@ BOOL SwTable::SetRowHeight( SwTableBox& rAktBox, USHORT eType,
case nsTblChgWidthHeightType::WH_CELL_TOP:
case nsTblChgWidthHeightType::WH_CELL_BOTTOM:
if( pLine == pBaseLine )
- break; // dann geht es nicht!
+ break; // dann geht es nicht!
// ist eine verschachtelte Line (Box!)
pLines = &pLine->GetUpper()->GetTabLines();
@@ -4323,7 +4323,7 @@ BOOL SwTable::SetRowHeight( SwTableBox& rAktBox, USHORT eType,
case nsTblChgWidthHeightType::WH_ROW_TOP:
case nsTblChgWidthHeightType::WH_ROW_BOTTOM:
{
- if( bInsDel && !bBigger ) // um wieviel wird es Hoeher?
+ if( bInsDel && !bBigger ) // um wieviel wird es Hoeher?
{
nAbsDiff = GetRowFrm( *pBaseLine )->Frm().Height();
}
@@ -4603,7 +4603,7 @@ void SwShareBoxFmts::AddFormat( const SwFrmFmt& rOld, const SwFrmFmt& rNew )
// wenn das Format nicht geshared ist, braucht es auch nicht in die
// Liste aufgenommen werden. Denn es gibt keinen 2. der es sucht.
//leider werden auch die CellFrms gefunden
-// if( !rOld.IsLastDepend() )
+// if( !rOld.IsLastDepend() )
{
USHORT nPos;
SwShareBoxFmt* pEntry;
diff --git a/sw/source/core/doc/visiturl.cxx b/sw/source/core/doc/visiturl.cxx
index 6de29cd3d866..387f6568a21d 100644
--- a/sw/source/core/doc/visiturl.cxx
+++ b/sw/source/core/doc/visiturl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/cancellablejob.cxx b/sw/source/core/docnode/cancellablejob.cxx
index ec32c602137f..40c57e5b4cc0 100644
--- a/sw/source/core/docnode/cancellablejob.cxx
+++ b/sw/source/core/docnode/cancellablejob.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/cancellablejob.hxx b/sw/source/core/docnode/cancellablejob.hxx
index d675159f757b..6c881acb020d 100644
--- a/sw/source/core/docnode/cancellablejob.hxx
+++ b/sw/source/core/docnode/cancellablejob.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/finalthreadmanager.cxx b/sw/source/core/docnode/finalthreadmanager.cxx
index 2b871af0b6bc..1517b00b08ea 100644
--- a/sw/source/core/docnode/finalthreadmanager.cxx
+++ b/sw/source/core/docnode/finalthreadmanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/ndcopy.cxx b/sw/source/core/docnode/ndcopy.cxx
index 31c309519cff..8427d30a583f 100644
--- a/sw/source/core/docnode/ndcopy.cxx
+++ b/sw/source/core/docnode/ndcopy.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL lcl_SrchNew( const _MapTblFrmFmt& rMap, void * pPara )
if( rMap.pOld != *(const SwFrmFmt**)pPara )
return TRUE;
*((const SwFrmFmt**)pPara) = rMap.pNew;
- return FALSE; // abbrechen, Pointer gefunden
+ return FALSE; // abbrechen, Pointer gefunden
}
@@ -323,7 +323,7 @@ BOOL lcl_CopyTblBox( const SwTableBox*& rpBox, void* pPara )
SwTableBoxFmt* pBoxFmt = (SwTableBoxFmt*)rpBox->GetFrmFmt();
pCT->rMapArr.ForEach( lcl_SrchNew, &pBoxFmt );
- if( pBoxFmt == rpBox->GetFrmFmt() ) // ein neues anlegen ??
+ if( pBoxFmt == rpBox->GetFrmFmt() ) // ein neues anlegen ??
{
const SfxPoolItem* pItem;
if( SFX_ITEM_SET == pBoxFmt->GetItemState( RES_BOXATR_FORMULA, FALSE,
@@ -386,7 +386,7 @@ BOOL lcl_CopyTblLine( const SwTableLine*& rpLine, void* pPara )
_CopyTable* pCT = (_CopyTable*)pPara;
SwTableLineFmt* pLineFmt = (SwTableLineFmt*)rpLine->GetFrmFmt();
pCT->rMapArr.ForEach( lcl_SrchNew, &pLineFmt );
- if( pLineFmt == rpLine->GetFrmFmt() ) // ein neues anlegen ??
+ if( pLineFmt == rpLine->GetFrmFmt() ) // ein neues anlegen ??
{
pLineFmt = pCT->pDoc->MakeTableLineFmt();
pLineFmt->CopyAttrs( *rpLine->GetFrmFmt() );
@@ -453,7 +453,7 @@ SwTableNode* SwTableNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const
SwNodeIndex aInsPos( *pEndNd );
SwTable& rTbl = (SwTable&)pTblNd->GetTable();
- pTblFmt->Add( &rTbl ); // das Frame-Format setzen
+ pTblFmt->Add( &rTbl ); // das Frame-Format setzen
rTbl.SetRowsToRepeat( GetTable().GetRowsToRepeat() );
rTbl.SetTblChgMode( GetTable().GetTblChgMode() );
@@ -477,7 +477,7 @@ SwTableNode* SwTableNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const
}
// dann kopiere erstmal den Inhalt der Tabelle, die Zuordnung der
// Boxen/Lines und das anlegen der Frames erfolgt spaeter
- SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??)
+ SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??)
// If there is a table in this table, the table format for the outer table
// does not seem to be used, because the table does not have any contents yet
@@ -570,11 +570,11 @@ BOOL lcl_ChkFlyFly( SwDoc* pDoc, ULONG nSttNd, ULONG nEndNd,
if( pSNd->GetIndex() < nInsNd &&
nInsNd < pSNd->EndOfSectionIndex() )
- return TRUE; // nicht kopieren !!
+ return TRUE; // nicht kopieren !!
if( lcl_ChkFlyFly( pDoc, pSNd->GetIndex(),
pSNd->EndOfSectionIndex(), nInsNd ) )
- return TRUE; // nicht kopieren !!
+ return TRUE; // nicht kopieren !!
}
}
@@ -608,11 +608,11 @@ void lcl_DeleteRedlines( const SwPaM& rPam, SwPaM& rCpyPam )
switch( eCmpPos )
{
case POS_COLLIDE_END:
- case POS_BEFORE: // Pos1 liegt vor Pos2
+ case POS_BEFORE: // Pos1 liegt vor Pos2
break;
case POS_COLLIDE_START:
- case POS_BEHIND: // Pos1 liegt hinter Pos2
+ case POS_BEHIND: // Pos1 liegt hinter Pos2
n = rTbl.Count();
break;
@@ -736,13 +736,13 @@ SwDoc::CopyRange( SwPaM& rPam, SwPosition& rPos, const bool bCopyAll ) const
pDoc->SetRedlineMode_intern((RedlineMode_t)(eOld | nsRedlineMode_t::REDLINE_IGNORE));
BOOL bDoUndo = pDoc->DoesUndo();
- pDoc->DoUndo( FALSE ); // Auf jedenfall Undo abschalten
+ pDoc->DoUndo( FALSE ); // Auf jedenfall Undo abschalten
// dann kopiere den Bereich im unteren DokumentBereich,
// (mit Start/End-Nodes geklammert) und verschiebe diese
// dann an die gewuenschte Stelle.
SwUndoCpyDoc* pUndo = 0;
- SwPaM aPam( rPos ); // UndoBereich sichern
+ SwPaM aPam( rPos ); // UndoBereich sichern
if( bDoUndo )
{
pDoc->ClearRedo();
@@ -767,10 +767,10 @@ SwDoc::CopyRange( SwPaM& rPam, SwPosition& rPos, const bool bCopyAll ) const
pDoc->MoveRange( aPam, rPos, DOC_MOVEDEFAULT );
pNode = aPam.GetCntntNode();
- *aPam.GetPoint() = rPos; // Cursor umsetzen fuers Undo !
- aPam.SetMark(); // auch den Mark umsetzen !!
- aPam.DeleteMark(); // aber keinen Bereich makieren !!
- pDoc->DeleteSection( pNode ); // Bereich wieder loeschen
+ *aPam.GetPoint() = rPos; // Cursor umsetzen fuers Undo !
+ aPam.SetMark(); // auch den Mark umsetzen !!
+ aPam.DeleteMark(); // aber keinen Bereich makieren !!
+ pDoc->DeleteSection( pNode ); // Bereich wieder loeschen
// falls Undo eingeschaltet ist, so speicher den eingefuegten Bereich
pDoc->DoUndo( bDoUndo );
@@ -1002,7 +1002,7 @@ bool SwDoc::CopyImpl( SwPaM& rPam, SwPosition& rPos,
aRg.aEnd = pEnd->nNode;
pEndTxtNd = pEnd->nNode.GetNode().GetTxtNode();
}
- else if( rPos == *pEnd ) // Wurde das Ende auch verschoben
+ else if( rPos == *pEnd ) // Wurde das Ende auch verschoben
{
pEnd->nNode--;
pEnd->nContent.Assign( pDestTxtNd, nCntntEnd );
@@ -1119,7 +1119,7 @@ bool SwDoc::CopyImpl( SwPaM& rPam, SwPosition& rPos,
// korrigiere den Bereich wieder !!
if( bEndEqualIns )
aRg.aEnd--;
- else if( rPos == *pEnd ) // Wurde das Ende auch verschoben
+ else if( rPos == *pEnd ) // Wurde das Ende auch verschoben
{
rPos.nNode-=2;
rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(),
@@ -1331,8 +1331,8 @@ void SwDoc::CopyWithFlyInFly( const SwNodeRange& rRg, const xub_StrLen nEndConte
#if OSL_DEBUG_LEVEL > 1
{
//JP 17.06.99: Bug 66973 - check count only if the selection is in
- // the same (or no) section. Becaus not full selected
- // section are not copied.
+ // the same (or no) section. Becaus not full selected
+ // section are not copied.
const SwSectionNode* pSSectNd = rRg.aStart.GetNode().FindSectionNode();
SwNodeIndex aTmpI( rRg.aEnd, -1 );
const SwSectionNode* pESectNd = aTmpI.GetNode().FindSectionNode();
@@ -1391,9 +1391,9 @@ void SwDoc::CopyFlyInFlyImpl( const SwNodeRange& rRg,
const bool bCopyFlyAtFly ) const
{
// Bug 22727: suche erst mal alle Flys zusammen, sortiere sie entsprechend
- // ihrer Ordnungsnummer und kopiere sie erst dann. Damit wird
- // die Ordnungsnummer (wird nur im DrawModel verwaltet)
- // beibehalten.
+ // ihrer Ordnungsnummer und kopiere sie erst dann. Damit wird
+ // die Ordnungsnummer (wird nur im DrawModel verwaltet)
+ // beibehalten.
SwDoc *const pDest = rStartIdx.GetNode().GetDoc();
_ZSortFlys aArr;
USHORT nArrLen = GetSpzFrmFmts()->Count();
diff --git a/sw/source/core/docnode/ndindex.cxx b/sw/source/core/docnode/ndindex.cxx
index 4e830f37b66c..3b5e5ecef6c9 100644
--- a/sw/source/core/docnode/ndindex.cxx
+++ b/sw/source/core/docnode/ndindex.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +31,8 @@
-#include "errhdl.hxx" // fuers ASSERT
-#include "error.h" // fuers ASSERT
+#include "errhdl.hxx" // fuers ASSERT
+#include "error.h" // fuers ASSERT
#include "ndindex.hxx"
#if OSL_DEBUG_LEVEL > 1
@@ -70,7 +70,7 @@ SwNodeIndex::SwNodeIndex( SwNodes& rNds, ULONG nIdx )
rNds.RegisterIndex( *this );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
}
@@ -85,7 +85,7 @@ SwNodeIndex::SwNodeIndex( const SwNodeIndex& rIdx, long nDiff )
pNd->GetNodes().RegisterIndex( *this );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
}
@@ -100,7 +100,7 @@ SwNodeIndex::SwNodeIndex( const SwNode& rNd, long nDiff )
pNd->GetNodes().RegisterIndex( *this );
#if OSL_DEBUG_LEVEL > 1
- MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
+ MySerial = ++nSerial; // nur in der nicht PRODUCT-Version
#endif
}
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx
index aeb4dcb8e797..001394d43c28 100644
--- a/sw/source/core/docnode/ndnotxt.cxx
+++ b/sw/source/core/docnode/ndnotxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <ndgrf.hxx>
#include <ndole.hxx>
#include <ndindex.hxx>
-#include <hints.hxx> // fuer SwFmtChg
+#include <hints.hxx> // fuer SwFmtChg
#include <istyleaccess.hxx>
#include <SwStyleNameMapper.hxx>
diff --git a/sw/source/core/docnode/ndnum.cxx b/sw/source/core/docnode/ndnum.cxx
index c7974c05b9a6..cde6cbc5f5c2 100644
--- a/sw/source/core/docnode/ndnum.cxx
+++ b/sw/source/core/docnode/ndnum.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <doc.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <fldbas.hxx> // UpdateFlds der KapitelNummerierung
+#include <fldbas.hxx> // UpdateFlds der KapitelNummerierung
#include <docary.hxx>
_SV_IMPL_SORTAR_ALG( SwOutlineNodes, SwNodePtr )
@@ -46,8 +46,8 @@ BOOL SwOutlineNodes::Seek_Entry( const SwNodePtr rSrch, USHORT* pFndPos ) const
if( nO > 0 )
{
//JP 17.03.98: aufgrund des Bug 48592 - wo unter anderem nach Undo/Redo
-// Nodes aus dem falschen NodesArray im OutlineArray standen,
-// jetzt mal einen Check eingebaut.
+// Nodes aus dem falschen NodesArray im OutlineArray standen,
+// jetzt mal einen Check eingebaut.
#if OSL_DEBUG_LEVEL > 1
{
for( USHORT n = 1; n < nO; ++n )
@@ -128,23 +128,23 @@ void SwNodes::UpdateOutlineNode(SwNode & rNd)
//void SwNodes::UpdateOutlineNode( const SwNode& rNd, BYTE nOldLevel, //#outline level,removed by zhaojianwei
// BYTE nNewLevel )
//{
-// const SwNodePtr pSrch = (SwNodePtr)&rNd;
-// USHORT nSttPos;
-// BOOL bSeekIdx = pOutlineNds->Seek_Entry( pSrch, &nSttPos );
+// const SwNodePtr pSrch = (SwNodePtr)&rNd;
+// USHORT nSttPos;
+// BOOL bSeekIdx = pOutlineNds->Seek_Entry( pSrch, &nSttPos );
//
-// //if( NO_NUMBERING == nOldLevel ) //#outline level,zhaojianwei
-// if( 0 == nOldLevel ) //<-end, zhaojianwei
-// {
-// // nicht vorhanden, also einfuegen
-// / OSL_ENSURE( !bSeekIdx, "Der Node ist schon als OutlineNode vorhanden" );
+// //if( NO_NUMBERING == nOldLevel ) //#outline level,zhaojianwei
+// if( 0 == nOldLevel ) //<-end, zhaojianwei
+// {
+// // nicht vorhanden, also einfuegen
+// / OSL_ENSURE( !bSeekIdx, "Der Node ist schon als OutlineNode vorhanden" );
//
-// //JP 12.03.99: 63293 - Nodes vom RedlineBereich NIE aufnehmen
-// ULONG nNd = rNd.GetIndex();
-// if( nNd < GetEndOfRedlines().GetIndex() &&
+// //JP 12.03.99: 63293 - Nodes vom RedlineBereich NIE aufnehmen
+// ULONG nNd = rNd.GetIndex();
+// if( nNd < GetEndOfRedlines().GetIndex() &&
// nNd > GetEndOfRedlines().StartOfSectionNode()->GetIndex() )
-// return ;
+// return ;
//
-// // jetzt noch alle nachfolgende Outline-Nodes updaten
+// // jetzt noch alle nachfolgende Outline-Nodes updaten
// if (! bSeekIdx)
// {
// // --> OD 2005-11-03 #125329#
@@ -161,33 +161,33 @@ void SwNodes::UpdateOutlineNode(SwNode & rNd)
// // <--
// }
//
-// }
-// //else if( NO_NUMBERING == nNewLevel ) //#outline level,removed by zhaojianwei
-// else if( 0 == nNewLevel ) //<-end,added by zhaojianwei // Level entfernen
-// {
-// if( !bSeekIdx )
-// return;
+// }
+// //else if( NO_NUMBERING == nNewLevel ) //#outline level,removed by zhaojianwei
+// else if( 0 == nNewLevel ) //<-end,added by zhaojianwei // Level entfernen
+// {
+// if( !bSeekIdx )
+// return;
//
-// // jetzt noch alle nachfolgende Outline-Nodes updaten
-// pOutlineNds->Remove( nSttPos );
-// }
-// else if( !bSeekIdx ) // Update und Index nicht gefunden ??
-// return ;
+// // jetzt noch alle nachfolgende Outline-Nodes updaten
+// pOutlineNds->Remove( nSttPos );
+// }
+// else if( !bSeekIdx ) // Update und Index nicht gefunden ??
+// return ;
//
// {
// SwTxtNode & rTxtNd = (SwTxtNode &) rNd;
// SwPaM aPam(rTxtNd); // #115901#
//
// //if (nNewLevel != NO_NUMBERING) //#outline level,zhaojianwei // #115901#
-// if (nNewLevel != 0) //<-end,zhaojianwei // #115901#
+// if (nNewLevel != 0) //<-end,zhaojianwei // #115901#
// {
-// //rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetOutlineLevel()); //#outline level,zhaojianwei
-// //rTxtNd.NumRuleChgd();
-// if(rTxtNd.GetTxtColl()->IsAssignedToListLevelOfOutlineStyle())
-// {
-// rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetAssignedOutlineStyleLevel());
-// rTxtNd.NumRuleChgd();
-// }//<-end,zhaojianwei
+// //rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetOutlineLevel()); //#outline level,zhaojianwei
+// //rTxtNd.NumRuleChgd();
+// if(rTxtNd.GetTxtColl()->IsAssignedToListLevelOfOutlineStyle())
+// {
+// rTxtNd.SetLevel(rTxtNd.GetTxtColl()->GetAssignedOutlineStyleLevel());
+// rTxtNd.NumRuleChgd();
+// }//<-end,zhaojianwei
//
// //GetDoc()->SetNumRule(aPam, *GetDoc()->GetOutlineNumRule());
// }
@@ -197,20 +197,20 @@ void SwNodes::UpdateOutlineNode(SwNode & rNd)
// }
// }
//
-// // die Gliederungs-Felder Updaten
-// GetDoc()->GetSysFldType( RES_CHAPTERFLD )->UpdateFlds();
+// // die Gliederungs-Felder Updaten
+// GetDoc()->GetSysFldType( RES_CHAPTERFLD )->UpdateFlds();
// GetDoc()->ChkCondColls();
//}//<-end,zhaojianwei
void SwNodes::UpdtOutlineIdx( const SwNode& rNd )
{
- if( !pOutlineNds->Count() ) // keine OutlineNodes vorhanden ?
+ if( !pOutlineNds->Count() ) // keine OutlineNodes vorhanden ?
return;
const SwNodePtr pSrch = (SwNodePtr)&rNd;
USHORT nPos;
pOutlineNds->Seek_Entry( pSrch, &nPos );
- if( nPos == pOutlineNds->Count() ) // keine zum Updaten vorhanden ?
+ if( nPos == pOutlineNds->Count() ) // keine zum Updaten vorhanden ?
return;
if( nPos )
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 25994a475e88..4ce74c6b85b3 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -219,7 +219,7 @@ SwDoc::InsertSwSection(SwPaM const& rRange, SwSectionData & rNewData,
while( pPrvNd != aEnd.GetNode().StartOfSectionNode() )
aEnd++;
- --aEnd; // im InsertSection ist Ende inclusive
+ --aEnd; // im InsertSection ist Ende inclusive
pNewSectNode = GetNodes().InsertTextSection(
aStt, *pFmt, rNewData, pTOXBase, & aEnd);
}
@@ -464,7 +464,7 @@ USHORT SwDoc::IsInsRegionAvailable( const SwPaM& rRange,
aIdx++;
} while( aIdx.GetNode().IsEndNode() &&
0 != aIdx.GetNode().FindSectionNode() );
-// if( !aIdx.GetNode().IsEndNode() )
+// if( !aIdx.GetNode().IsEndNode() )
{
nRet = 2;
if( ppSttNd )
@@ -582,8 +582,8 @@ void SwDoc::DelSectionFmt( SwSectionFmt *pFmt, BOOL bDelNodes )
nPos = pSectionFmtTbl->GetPos( pFmt );
// ACHTUNG: erst aus dem Array entfernen und dann loeschen.
- // Der Section-DTOR versucht selbst noch sein Format
- // zu loeschen!
+ // Der Section-DTOR versucht selbst noch sein Format
+ // zu loeschen!
pSectionFmtTbl->Remove( nPos );
//FEATURE::CONDCOLL
ULONG nCnt = 0, nSttNd = 0;
@@ -830,7 +830,7 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
bool const bInsAtStart, bool const bCreateFrms)
{
SwNodeIndex aInsPos( rNdIdx );
- if( !pEnde ) // kein Bereich also neue Section davor/hinter anlegen
+ if( !pEnde ) // kein Bereich also neue Section davor/hinter anlegen
{
// #i26762#
OSL_ENSURE(!pEnde || rNdIdx <= *pEnde,
@@ -904,7 +904,7 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
if( pCpyTNd->HasSwAttrSet() )
{
// Task 70955 - move PageDesc/Break to the first Node of the
- // section
+ // section
const SfxItemSet& rSet = *pCpyTNd->GetpSwAttrSet();
if( SFX_ITEM_SET == rSet.GetItemState( RES_BREAK ) ||
SFX_ITEM_SET == rSet.GetItemState( RES_PAGEDESC ))
@@ -955,7 +955,7 @@ SwSectionNode* SwNodes::InsertTextSection(SwNodeIndex const& rNdIdx,
SwNode* pNd = (*this)[n];
//JP 30.04.99: Bug 65644 - alle in der NodeSection liegenden
- // Sections unter die neue haengen
+ // Sections unter die neue haengen
if( ULONG_MAX == nSkipIdx )
pNd->pStartOfSection = pSectNd;
else if( n >= nSkipIdx )
@@ -1276,9 +1276,9 @@ void SwSectionNode::DelFrms()
m_pSection->m_Data.SetHiddenFlag(true);
// Bug 30582: falls der Bereich in Fly oder TabellenBox ist, dann
- // kann er nur "gehiddet" werden, wenn weiterer Content
- // vorhanden ist, der "Frames" haelt. Sonst hat der
- // Fly/TblBox-Frame keinen Lower !!!
+ // kann er nur "gehiddet" werden, wenn weiterer Content
+ // vorhanden ist, der "Frames" haelt. Sonst hat der
+ // Fly/TblBox-Frame keinen Lower !!!
{
SwNodeIndex aIdx( *this );
if( !rNds.GoPrevSection( &aIdx, TRUE, FALSE ) ||
@@ -1351,7 +1351,7 @@ SwSectionNode* SwSectionNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) c
pNewSect->SetEditInReadonly( TRUE );
// <--
- SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??)
+ SwNodeRange aRg( *this, +1, *EndOfSectionNode() ); // (wo stehe in denn nun ??)
rNds._Copy( aRg, aInsPos, FALSE );
// loesche alle Frames vom kopierten Bereich, diese werden beim
@@ -1359,7 +1359,7 @@ SwSectionNode* SwSectionNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) c
pSectNd->DelFrms();
// dann kopiere auch noch die Links/Server
- if( pNewSect->IsLinkType() ) // den Link eintragen
+ if( pNewSect->IsLinkType() ) // den Link eintragen
pNewSect->CreateLink( pDoc->GetRootFrm() ? CREATE_CONNECT
: CREATE_NONE );
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index 4bf6e94be153..6d5912419e2e 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,10 +142,10 @@ void lcl_SetDfltBoxAttr( SwFrmFmt& rFmt, BYTE nId )
BOOL bTop = FALSE, bBottom = FALSE, bLeft = FALSE, bRight = FALSE;
switch ( nId )
{
- case 0: bTop = bBottom = bLeft = TRUE; break;
- case 1: bTop = bBottom = bLeft = bRight = TRUE; break;
- case 2: bBottom = bLeft = TRUE; break;
- case 3: bBottom = bLeft = bRight = TRUE; break;
+ case 0: bTop = bBottom = bLeft = TRUE; break;
+ case 1: bTop = bBottom = bLeft = bRight = TRUE; break;
+ case 2: bBottom = bLeft = TRUE; break;
+ case 3: bBottom = bLeft = bRight = TRUE; break;
}
const BOOL bHTML = rFmt.getIDocumentSettingAccess()->get(IDocumentSettingAccess::HTML_MODE);
@@ -314,9 +314,9 @@ BOOL SwNodes::InsBoxen( SwTableNode* pTblNd,
// Tabelle ohne irgendeinen Inhalt oder am Ende, also vors Ende
nIdxPos = pTblNd->EndOfSectionIndex();
}
- else if( pNxtBox ) // es gibt einen Nachfolger
+ else if( pNxtBox ) // es gibt einen Nachfolger
nIdxPos = pNxtBox->GetSttIdx();
- else // es gibt einen Vorgaenger
+ else // es gibt einen Vorgaenger
nIdxPos = pPrvBox->GetSttNd()->EndOfSectionIndex() + 1;
SwNodeIndex aEndIdx( *this, nIdxPos );
@@ -330,7 +330,7 @@ BOOL SwNodes::InsBoxen( SwTableNode* pTblNd,
pPrvBox = new SwTableBox( pBoxFmt, *pSttNd, pLine );
SwTableBoxes & rTabBoxes = pLine->GetTabBoxes();
- USHORT nRealInsPos = nInsPos + n;
+ USHORT nRealInsPos = nInsPos + n;
if (nRealInsPos > rTabBoxes.Count())
nRealInsPos = rTabBoxes.Count();
@@ -612,7 +612,7 @@ SwTableNode* SwNodes::InsertTable( const SwNodeIndex& rNdIdx,
SwTableNode * pTblNd = new SwTableNode( rNdIdx );
SwEndNode* pEndNd = new SwEndNode( rNdIdx, *pTblNd );
- if( !nLines ) // fuer die FOR-Schleife
+ if( !nLines ) // fuer die FOR-Schleife
++nLines;
SwNodeIndex aIdx( *pEndNd );
@@ -788,7 +788,7 @@ const SwTable* SwDoc::TextToTable( const SwInsertTableOptions& rInsTblOpts,
//Orientation am Fmt der Table setzen
pTableFmt->SetFmtAttr( SwFmtHoriOrient( 0, eAdjust ) );
- pTableFmt->Add( pNdTbl ); // das Frame-Format setzen
+ pTableFmt->Add( pNdTbl ); // das Frame-Format setzen
if( pTAFmt || ( rInsTblOpts.mnInsMode & tabopts::DEFAULT_BORDER) )
{
@@ -902,7 +902,7 @@ const SwTable* SwDoc::TextToTable( const SwInsertTableOptions& rInsTblOpts,
aNode2Layout.RestoreUpperFrms( GetNodes(), nIdx, nIdx + 1 );
{
- SwPaM& rTmp = (SwPaM&)rRange; // Point immer an den Anfang
+ SwPaM& rTmp = (SwPaM&)rRange; // Point immer an den Anfang
rTmp.DeleteMark();
rTmp.GetPoint()->nNode = *pTblNd;
SwCntntNode* pCNd = GetNodes().GoNext( &rTmp.GetPoint()->nNode );
@@ -951,9 +951,9 @@ SwTableNode* SwNodes::TextToTable( const SwNodeRange& rRange, sal_Unicode cCh,
cCh = 0x09;
// JP 28.10.96: vom 1. Node die Positionen des Trenners besorgen,
- // damit die Boxen entsprechend eingestellt werden
+ // damit die Boxen entsprechend eingestellt werden
SwTxtFrmInfo aFInfo( (SwTxtFrm*)pTxtNd->GetFrm() );
- if( aFInfo.IsOneLine() ) // nur dann sinnvoll!
+ if( aFInfo.IsOneLine() ) // nur dann sinnvoll!
{
const sal_Unicode* pTxt = pTxtNd->GetTxt().GetBuffer();
for( xub_StrLen nChPos = 0; *pTxt; ++nChPos, ++pTxt )
@@ -983,7 +983,7 @@ SwTableNode* SwNodes::TextToTable( const SwNodeRange& rRange, sal_Unicode cCh,
{
// das entfernen der PageBreaks erst nach dem erzeugen der Tabelle
// erfolgen, denn sonst stehen sie falsch in der History !!!
-// SwRegHistory aRegH( pTxtNd, *pTxtNd, pHistory );
+// SwRegHistory aRegH( pTxtNd, *pTxtNd, pHistory );
const SfxPoolItem* pItem;
if( SFX_ITEM_SET == pSet->GetItemState( RES_BREAK, FALSE, &pItem ) )
{
@@ -1097,7 +1097,7 @@ SwTableNode* SwNodes::TextToTable( const SwNodeRange& rRange, sal_Unicode cCh,
aPosArr[ n ] - nLastPos ));
for( USHORT nTmpLine = 0; nTmpLine < rLns.Count(); ++nTmpLine )
//JP 24.06.98: hier muss ein Add erfolgen, da das BoxFormat
- // von der rufenden Methode noch gebraucht wird!
+ // von der rufenden Methode noch gebraucht wird!
pNewFmt->Add( rLns[ nTmpLine ]->GetTabBoxes()[ n ] );
nLastPos = aPosArr[ n ];
@@ -1269,23 +1269,23 @@ SwNodeRange * SwNodes::ExpandRangeForTableBox(const SwNodeRange & rRange)
{
SwNodeRange * pResult = NULL;
bool bChanged = false;
-
+
SwNodeIndex aNewStart = rRange.aStart;
SwNodeIndex aNewEnd = rRange.aEnd;
-
+
SwNodeIndex aEndIndex = rRange.aEnd;
SwNodeIndex aIndex = rRange.aStart;
-
+
while (aIndex < aEndIndex)
{
SwNode& rNode = aIndex.GetNode();
-
+
if (rNode.IsStartNode())
{
// advance aIndex to the end node of this start node
SwNode * pEndNode = rNode.EndOfSectionNode();
aIndex = *pEndNode;
-
+
if (aIndex > aNewEnd)
{
aNewEnd = aIndex;
@@ -1296,34 +1296,34 @@ SwNodeRange * SwNodes::ExpandRangeForTableBox(const SwNodeRange & rRange)
{
SwNode * pStartNode = rNode.StartOfSectionNode();
SwNodeIndex aStartIndex = *pStartNode;
-
+
if (aStartIndex < aNewStart)
{
aNewStart = aStartIndex;
bChanged = true;
}
}
-
+
if (aIndex < aEndIndex)
- ++aIndex;
+ ++aIndex;
}
-
+
SwNode * pNode = &aIndex.GetNode();
while (pNode->IsEndNode())
{
SwNode * pStartNode = pNode->StartOfSectionNode();
SwNodeIndex aStartIndex(*pStartNode);
- aNewStart = aStartIndex;
+ aNewStart = aStartIndex;
aNewEnd = aIndex;
bChanged = true;
-
+
++aIndex;
pNode = &aIndex.GetNode();
}
-
+
if (bChanged)
pResult = new SwNodeRange(aNewStart, aNewEnd);
-
+
return pResult;
}
@@ -1552,7 +1552,7 @@ BOOL SwDoc::TableToText( const SwTableNode* pTblNd, sal_Unicode cCh )
}
// -- benutze die ForEach Methode vom PtrArray um aus einer Tabelle wieder
-// Text zuerzeugen. (Die Boxen koennen auch noch Lines enthalten !!)
+// Text zuerzeugen. (Die Boxen koennen auch noch Lines enthalten !!)
struct _DelTabPara
{
SwTxtNode* pLastNd;
@@ -1576,7 +1576,7 @@ BOOL lcl_DelLine( const SwTableLine*& rpLine, void* pPara )
OSL_ENSURE( pPara, "die Parameter fehlen" );
_DelTabPara aPara( *(_DelTabPara*)pPara );
((SwTableLine*&)rpLine)->GetTabBoxes().ForEach( &lcl_DelBox, &aPara );
- if( rpLine->GetUpper() ) // gibt es noch eine uebergeordnete Box ??
+ if( rpLine->GetUpper() ) // gibt es noch eine uebergeordnete Box ??
// dann gebe den letzten TextNode zurueck
((_DelTabPara*)pPara)->pLastNd = aPara.pLastNd;
return TRUE;
@@ -1639,7 +1639,7 @@ BOOL lcl_DelBox( const SwTableBox*& rpBox, void* pPara )
pDelPara->pLastNd = aDelRg.aEnd.GetNode().GetTxtNode();
//JP 03.04.97: die Ausrichtung der ZahlenFormatierung auf
- // keinen Fall uebernehmen
+ // keinen Fall uebernehmen
if( pDelPara->pLastNd && pDelPara->pLastNd->HasSwAttrSet() )
pDelPara->pLastNd->ResetAttr( RES_PARATR_ADJUST );
}
@@ -1679,7 +1679,7 @@ BOOL SwNodes::TableToText( const SwNodeRange& rRange, sal_Unicode cCh,
SwNodeRange aDelRg( rRange.aStart, rRange.aEnd );
// JP 14.01.97: hat die Tabelle PageDesc-/Break-Attribute? Dann in den
- // ersten TextNode uebernehmen
+ // ersten TextNode uebernehmen
{
// was ist mit UNDO???
const SfxItemSet& rTblSet = pTblNd->pTable->GetFrmFmt()->GetAttrSet();
@@ -1700,7 +1700,7 @@ BOOL SwNodes::TableToText( const SwNodeRange& rRange, sal_Unicode cCh,
}
}
- SectionUp( &aDelRg ); // loesche die Section und damit die Tabelle
+ SectionUp( &aDelRg ); // loesche die Section und damit die Tabelle
// #i28006#
ULONG nStt = aDelRg.aStart.GetIndex(), nEnd = aDelRg.aEnd.GetIndex();
if( !pFrmNd )
@@ -1909,9 +1909,9 @@ BOOL SwDoc::DeleteRow( const SwCursor& rCursor )
// die Crsr aus dem Loeschbereich entfernen.
// Der Cursor steht danach:
- // - es folgt noch eine Zeile, in dieser
- // - vorher steht noch eine Zeile, in dieser
- // - sonst immer dahinter
+ // - es folgt noch eine Zeile, in dieser
+ // - vorher steht noch eine Zeile, in dieser
+ // - sonst immer dahinter
{
SwTableNode* pTblNd = rCursor.GetNode()->FindTableNode();
@@ -1941,7 +1941,7 @@ BOOL SwDoc::DeleteRow( const SwCursor& rCursor )
{
_FndBox* pTmp = pFndBox->GetLines()[0]->GetBoxes()[0];
if( pTmp->GetBox()->GetSttNd() )
- break; // das ist sonst zu weit
+ break; // das ist sonst zu weit
pFndBox = pTmp;
}
@@ -1961,7 +1961,7 @@ BOOL SwDoc::DeleteRow( const SwCursor& rCursor )
pNextBox->GetFrmFmt()->GetProtect().IsCntntProtected() )
pNextBox = pNextBox->FindNextBox( pTblNd->GetTable(), pNextBox );
- if( !pNextBox ) // keine nachfolgende? dann die vorhergehende
+ if( !pNextBox ) // keine nachfolgende? dann die vorhergehende
{
pDelLine = pFndBox->GetLines()[ 0 ]->GetLine();
pDelBox = pDelLine->GetTabBoxes()[ 0 ];
@@ -1975,9 +1975,9 @@ BOOL SwDoc::DeleteRow( const SwCursor& rCursor )
}
ULONG nIdx;
- if( pNextBox ) // dann den Cursor hier hinein
+ if( pNextBox ) // dann den Cursor hier hinein
nIdx = pNextBox->GetSttIdx() + 1;
- else // ansonsten hinter die Tabelle
+ else // ansonsten hinter die Tabelle
nIdx = pTblNd->EndOfSectionIndex() + 1;
SwNodeIndex aIdx( GetNodes(), nIdx );
@@ -1991,7 +1991,7 @@ BOOL SwDoc::DeleteRow( const SwCursor& rCursor )
SwPaM* pPam = (SwPaM*)&rCursor;
pPam->GetPoint()->nNode = aIdx;
pPam->GetPoint()->nContent.Assign( pCNd, 0 );
- pPam->SetMark(); // beide wollen etwas davon haben
+ pPam->SetMark(); // beide wollen etwas davon haben
pPam->DeleteMark();
}
}
@@ -2131,10 +2131,10 @@ BOOL SwDoc::DeleteRowCol( const SwSelBoxes& rBoxes, bool bColumn )
if( pNextNd )
{
//JP 24.08.98: will man wirklich den PageDesc/Break vom
-// nachfolgen Absatz ueberbuegeln?
-// const SwAttrSet& rAttrSet = pNextNd->GetSwAttrSet();
-// if( SFX_ITEM_SET != rAttrSet.GetItemState( RES_PAGEDESC ) &&
-// SFX_ITEM_SET != rAttrSet.GetItemState( RES_BREAK ))
+// nachfolgen Absatz ueberbuegeln?
+// const SwAttrSet& rAttrSet = pNextNd->GetSwAttrSet();
+// if( SFX_ITEM_SET != rAttrSet.GetItemState( RES_PAGEDESC ) &&
+// SFX_ITEM_SET != rAttrSet.GetItemState( RES_BREAK ))
{
SwFrmFmt* pTableFmt = pTblNd->GetTable().GetFrmFmt();
const SfxPoolItem *pItem;
@@ -3187,10 +3187,10 @@ BOOL lcl_BoxSetSplitBoxFmts( const SwTableBox*& rpBox, void* pPara )
else
{
USHORT __FAR_DATA aTableSplitBoxSetRange[] = {
- RES_LR_SPACE, RES_UL_SPACE,
- RES_BACKGROUND, RES_SHADOW,
- RES_PROTECT, RES_PROTECT,
- RES_VERT_ORIENT, RES_VERT_ORIENT,
+ RES_LR_SPACE, RES_UL_SPACE,
+ RES_BACKGROUND, RES_SHADOW,
+ RES_PROTECT, RES_PROTECT,
+ RES_VERT_ORIENT, RES_VERT_ORIENT,
0 };
SfxItemSet aTmpSet( pFmt->GetDoc()->GetAttrPool(),
aTableSplitBoxSetRange );
@@ -3236,7 +3236,7 @@ BOOL SwDoc::SplitTable( const SwPosition& rPos, USHORT eHdlnMode,
return FALSE;
SwTable& rTbl = pTNd->GetTable();
- rTbl.SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ rTbl.SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
SwTableFmlUpdate aMsgHnt( &rTbl );
@@ -3386,7 +3386,7 @@ BOOL lcl_ChgTblSize( SwTable& rTbl )
aTblMaxSz.SetWidth( nMaxLnWidth );
}
pFmt->SetFmtAttr( aTblMaxSz );
- if( !bLocked ) // und gegebenenfalls Lock wieder freigeben
+ if( !bLocked ) // und gegebenenfalls Lock wieder freigeben
pFmt->UnlockModify();
return TRUE;
@@ -3489,7 +3489,7 @@ SwTableNode* SwNodes::SplitTable( const SwNodeIndex& rPos, BOOL bAfter,
USHORT nLinePos = rTbl.GetTabLines().C40_GETPOS( SwTableLine, pLine );
if( USHRT_MAX == nLinePos ||
( bAfter ? ++nLinePos >= rTbl.GetTabLines().Count() : !nLinePos ))
- return 0; // nicht gefunden oder letze Line !!
+ return 0; // nicht gefunden oder letze Line !!
// Suche jetzt die 1. Box der nachfolgenden Line
SwTableLine* pNextLine = rTbl.GetTabLines()[ nLinePos ];
@@ -3573,7 +3573,7 @@ SwTableNode* SwNodes::SplitTable( const SwNodeIndex& rPos, BOOL bAfter,
// TL_CHART2: need to inform chart of probably changed cell names
rTbl.UpdateCharts();
- return pNewTblNd; // das wars
+ return pNewTblNd; // das wars
}
// und die Umkehrung davon. rPos muss in der Tabelle stehen, die bestehen
@@ -3726,7 +3726,7 @@ BOOL SwNodes::MergeTable( const SwNodeIndex& rPos, BOOL bWithPrev,
// jetzt an der 1. eingefuegten Line die bedingten Vorlagen umschubsen
const SwTableLine* pFirstLn = rTbl.GetTabLines()[ nOldSize ];
- if( 1 == nMode ) //
+ if( 1 == nMode ) //
{
// Header-Vorlagen in der Zeile setzen
// und ggfs. in der History speichern fuers Undo!!!
@@ -3780,7 +3780,7 @@ BOOL lcl_SetAFmtBox( const _FndBox*& rpBox, void *pPara )
{
_SetAFmtTabPara* pSetPara = (_SetAFmtTabPara*)pPara;
- if( !rpBox->GetUpper()->GetUpper() ) // Box auf 1. Ebene ?
+ if( !rpBox->GetUpper()->GetUpper() ) // Box auf 1. Ebene ?
{
if( !pSetPara->nCurBox )
pSetPara->nAFmtBox = 0;
@@ -3829,7 +3829,7 @@ BOOL lcl_SetAFmtBox( const _FndBox*& rpBox, void *pPara )
else
((_FndBox*&)rpBox)->GetLines().ForEach( &lcl_SetAFmtLine, pPara );
- if( !rpBox->GetUpper()->GetUpper() ) // eine BaseLine
+ if( !rpBox->GetUpper()->GetUpper() ) // eine BaseLine
++pSetPara->nCurBox;
return TRUE;
}
@@ -3859,7 +3859,7 @@ BOOL SwDoc::SetTableAutoFmt( const SwSelBoxes& rBoxes, const SwTableAutoFmt& rNe
1 == pFndBox->GetLines()[0]->GetBoxes().Count() )
pFndBox = pFndBox->GetLines()[0]->GetBoxes()[0];
- if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box)
+ if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box)
pFndBox = pFndBox->GetUpper()->GetUpper();
@@ -3932,7 +3932,7 @@ BOOL SwDoc::GetTableAutoFmt( const SwSelBoxes& rBoxes, SwTableAutoFmt& rGet )
1 == pFndBox->GetLines()[0]->GetBoxes().Count() )
pFndBox = pFndBox->GetLines()[0]->GetBoxes()[0];
- if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box)
+ if( !pFndBox->GetLines().Count() ) // eine zu weit? (nur 1 sel.Box)
pFndBox = pFndBox->GetUpper()->GetUpper();
_FndLines& rFLns = pFndBox->GetLines();
@@ -4081,7 +4081,7 @@ BOOL SwDoc::SetColRowWidthHeight( SwTableBox& rAktBox, USHORT eType,
{
ClearRedo();
AppendUndo( pUndo );
- DoUndo( TRUE ); // im SetColWidth kann es abgeschaltet werden!
+ DoUndo( TRUE ); // im SetColWidth kann es abgeschaltet werden!
}
if( bRet )
@@ -4097,7 +4097,7 @@ BOOL SwDoc::SetColRowWidthHeight( SwTableBox& rAktBox, USHORT eType,
void SwDoc::ChkBoxNumFmt( SwTableBox& rBox, BOOL bCallUpdate )
{
//JP 09.07.97: Optimierung: wenn die Box schon sagt, das es Text
- // sein soll, dann bleibt das auch Text!
+ // sein soll, dann bleibt das auch Text!
const SfxPoolItem* pNumFmtItem = 0;
if( SFX_ITEM_SET == rBox.GetFrmFmt()->GetItemState( RES_BOXATR_FORMAT,
FALSE, &pNumFmtItem ) && GetNumberFormatter()->IsTextFormat(
@@ -4161,14 +4161,14 @@ void SwDoc::ChkBoxNumFmt( SwTableBox& rBox, BOOL bCallUpdate )
}
// JP 28.04.98: Nur Formel zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
if( !bSetNumFmt && !bIsEmptyTxtNd && pNumFmtItem )
{
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->SetFmtAttr( *GetDfltAttr( RES_BOXATR_FORMAT ));
}
@@ -4208,8 +4208,8 @@ void SwDoc::ChkBoxNumFmt( SwTableBox& rBox, BOOL bCallUpdate )
nWhich1 = RES_BOXATR_FORMAT;
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->SetFmtAttr( *GetDfltAttr( nWhich1 ));
}
pBoxFmt->ResetFmtAttr( nWhich1, RES_BOXATR_VALUE );
@@ -4340,8 +4340,8 @@ void SwDoc::ClearBoxNumAttrs( const SwNodeIndex& rNode )
nWhich1 = RES_BOXATR_FORMULA;
else
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->SetFmtAttr( *GetDfltAttr( RES_BOXATR_FORMAT ));
pBoxFmt->ResetFmtAttr( nWhich1, RES_BOXATR_VALUE );
@@ -4435,7 +4435,7 @@ BOOL SwDoc::InsCopyOfTbl( SwPosition& rInsPos, const SwSelBoxes& rBoxes,
}
return FALSE;
}
- aPos.nNode -= 1; // auf den EndNode der Tabelle
+ aPos.nNode -= 1; // auf den EndNode der Tabelle
pSrcTblNd = aPos.nNode.GetNode().FindTableNode();
pCpyDoc->SetRefForDocShell( NULL );
@@ -4629,7 +4629,7 @@ BOOL SwDoc::UnProtectTbls( const SwPaM& rPam )
} while( !bFound && &rPam != ( pTmp = (SwPaM*)pTmp->GetNext() ) );
if( !bFound )
- continue; // weitersuchen
+ continue; // weitersuchen
}
// dann mal den Schutz aufheben
diff --git a/sw/source/core/docnode/ndtbl1.cxx b/sw/source/core/docnode/ndtbl1.cxx
index 573a29de8b2e..35d0cd133254 100644
--- a/sw/source/core/docnode/ndtbl1.cxx
+++ b/sw/source/core/docnode/ndtbl1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -158,10 +158,10 @@ BOOL lcl_GetBoxSel( const SwCursor& rCursor, SwSelBoxes& rBoxes,
}
/***********************************************************************
-#* Class : SwDoc
-#* Methoden : SetRowHeight(), GetRowHeight()
-#* Datum : MA 17. May. 93
-#* Update : JP 28.04.98
+#* Class : SwDoc
+#* Methoden : SetRowHeight(), GetRowHeight()
+#* Datum : MA 17. May. 93
+#* Update : JP 28.04.98
#***********************************************************************/
//Die Zeilenhoehe wird ausgehend von der Selektion ermittelt/gesetzt.
//Ausgehend von jeder Zelle innerhalb der Selektion werden nach oben alle
@@ -198,7 +198,7 @@ struct LinesAndTable
{
SvPtrarr &rLines;
const SwTable &rTable;
- BOOL bInsertLines;
+ BOOL bInsertLines;
LinesAndTable( SvPtrarr &rL, const SwTable &rTbl ) :
rLines( rL ), rTable( rTbl ), bInsertLines( TRUE ) {}
@@ -387,14 +387,14 @@ void SwDoc::GetRowSplit( const SwCursor& rCursor, SwFmtRowSplit *& rpSz ) const
/******************************************************************************
- * void SwDoc::SetRowHeight( SwTwips nNew )
+ * void SwDoc::SetRowHeight( SwTwips nNew )
******************************************************************************/
void SwDoc::SetRowHeight( const SwCursor& rCursor, const SwFmtFrmSize &rNew )
{
SwTableNode* pTblNd = rCursor.GetPoint()->nNode.GetNode().FindTableNode();
if( pTblNd )
{
- SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
+ SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
::lcl_CollectLines( aRowArr, rCursor, true );
if( aRowArr.Count() )
@@ -417,7 +417,7 @@ void SwDoc::SetRowHeight( const SwCursor& rCursor, const SwFmtFrmSize &rNew )
/******************************************************************************
- * SwTwips SwDoc::GetRowHeight() const
+ * SwTwips SwDoc::GetRowHeight() const
******************************************************************************/
void SwDoc::GetRowHeight( const SwCursor& rCursor, SwFmtFrmSize *& rpSz ) const
{
@@ -426,7 +426,7 @@ void SwDoc::GetRowHeight( const SwCursor& rCursor, SwFmtFrmSize *& rpSz ) const
SwTableNode* pTblNd = rCursor.GetPoint()->nNode.GetNode().FindTableNode();
if( pTblNd )
{
- SvPtrarr aRowArr( 25, 50 ); //Zum sammeln der Lines.
+ SvPtrarr aRowArr( 25, 50 ); //Zum sammeln der Lines.
::lcl_CollectLines( aRowArr, rCursor, true );
if( aRowArr.Count() )
@@ -451,7 +451,7 @@ BOOL SwDoc::BalanceRowHeight( const SwCursor& rCursor, BOOL bTstOnly )
SwTableNode* pTblNd = rCursor.GetPoint()->nNode.GetNode().FindTableNode();
if( pTblNd )
{
- SvPtrarr aRowArr( 25, 50 ); //Zum sammeln der Lines.
+ SvPtrarr aRowArr( 25, 50 ); //Zum sammeln der Lines.
::lcl_CollectLines( aRowArr, rCursor, true );
if( 1 < aRowArr.Count() )
@@ -493,14 +493,14 @@ BOOL SwDoc::BalanceRowHeight( const SwCursor& rCursor, BOOL bTstOnly )
}
/******************************************************************************
- * void SwDoc::SetRowBackground()
+ * void SwDoc::SetRowBackground()
******************************************************************************/
void SwDoc::SetRowBackground( const SwCursor& rCursor, const SvxBrushItem &rNew )
{
SwTableNode* pTblNd = rCursor.GetPoint()->nNode.GetNode().FindTableNode();
if( pTblNd )
{
- SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
+ SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
::lcl_CollectLines( aRowArr, rCursor, true );
if( aRowArr.Count() )
@@ -523,7 +523,7 @@ void SwDoc::SetRowBackground( const SwCursor& rCursor, const SvxBrushItem &rNew
}
/******************************************************************************
- * SwTwips SwDoc::GetRowBackground() const
+ * SwTwips SwDoc::GetRowBackground() const
******************************************************************************/
BOOL SwDoc::GetRowBackground( const SwCursor& rCursor, SvxBrushItem &rToFill ) const
{
@@ -531,7 +531,7 @@ BOOL SwDoc::GetRowBackground( const SwCursor& rCursor, SvxBrushItem &rToFill ) c
SwTableNode* pTblNd = rCursor.GetPoint()->nNode.GetNode().FindTableNode();
if( pTblNd )
{
- SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
+ SvPtrarr aRowArr( 25, 50 ); //Zum sammeln Lines.
::lcl_CollectLines( aRowArr, rCursor, true );
if( aRowArr.Count() )
@@ -551,10 +551,10 @@ BOOL SwDoc::GetRowBackground( const SwCursor& rCursor, SvxBrushItem &rToFill ) c
}
/***********************************************************************
-#* Class : SwDoc
-#* Methoden : SetTabBorders(), GetTabBorders()
-#* Datum : MA 18. May. 93
-#* Update : JP 29.04.98
+#* Class : SwDoc
+#* Methoden : SetTabBorders(), GetTabBorders()
+#* Datum : MA 18. May. 93
+#* Update : JP 29.04.98
#***********************************************************************/
inline void InsertCell( SvPtrarr& rCellArr, SwCellFrm* pCellFrm )
{
@@ -579,7 +579,7 @@ void lcl_CollectCells( SvPtrarr &rArr, const SwRect &rUnion,
//Dafuer sorgen, dass die Zelle auch verlassen wird (Bereiche)
SwLayoutFrm *pTmp = pCell;
do
- { pTmp = pTmp->GetNextLayoutLeaf();
+ { pTmp = pTmp->GetNextLayoutLeaf();
} while ( pCell->IsAnLower( pTmp ) );
pCell = pTmp;
} while( pCell && pTab->IsAnLower( pCell ) );
@@ -622,7 +622,7 @@ void SwDoc::SetTabBorders( const SwCursor& rCursor, const SfxItemSet& rSet )
bLeftValid = TRUE, bRightValid = TRUE;
// JP 21.07.95: die Flags im BoxInfo-Item entscheiden, wann eine
- // BorderLine gueltig ist!!
+ // BorderLine gueltig ist!!
if( SFX_ITEM_SET == rSet.GetItemState( SID_ATTR_BORDER_INNER, FALSE,
(const SfxPoolItem**)&pSetBoxInfo) )
{
@@ -925,15 +925,15 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if( aUnions.Count() )
{
- SvxBoxItem aSetBox ((const SvxBoxItem &) rSet.Get(RES_BOX ));
+ SvxBoxItem aSetBox ((const SvxBoxItem &) rSet.Get(RES_BOX ));
SvxBoxInfoItem aSetBoxInfo((const SvxBoxInfoItem&) rSet.Get(SID_ATTR_BORDER_INNER));
- BOOL bTopSet = FALSE,
- bBottomSet = FALSE,
- bLeftSet = FALSE,
- bRightSet = FALSE,
- bHoriSet = FALSE,
- bVertSet = FALSE,
+ BOOL bTopSet = FALSE,
+ bBottomSet = FALSE,
+ bLeftSet = FALSE,
+ bRightSet = FALSE,
+ bHoriSet = FALSE,
+ bVertSet = FALSE,
bDistanceSet = FALSE;
aSetBoxInfo.ResetFlags();
@@ -977,7 +977,7 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
bLeftOver = bTmp;
}
- const SwFrmFmt *pFmt = pCell->GetFmt();
+ const SwFrmFmt *pFmt = pCell->GetFmt();
const SvxBoxItem &rBox = pFmt->GetBox();
//Obere Kante
@@ -986,7 +986,7 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if (aSetBoxInfo.IsValid(VALID_TOP))
{
if ( !bTopSet )
- { bTopSet = TRUE;
+ { bTopSet = TRUE;
aSetBox.SetLine( rBox.GetTop(), BOX_LINE_TOP );
}
else if ((aSetBox.GetTop() && rBox.GetTop() &&
@@ -1005,7 +1005,7 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if (aSetBoxInfo.IsValid(VALID_LEFT))
{
if ( !bLeftSet )
- { bLeftSet = TRUE;
+ { bLeftSet = TRUE;
aSetBox.SetLine( rBox.GetLeft(), BOX_LINE_LEFT );
}
else if ((aSetBox.GetLeft() && rBox.GetLeft() &&
@@ -1022,13 +1022,13 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if (aSetBoxInfo.IsValid(VALID_VERT))
{
if ( !bVertSet )
- { bVertSet = TRUE;
+ { bVertSet = TRUE;
aSetBoxInfo.SetLine( rBox.GetLeft(), BOXINFO_LINE_VERT );
}
else if ((aSetBoxInfo.GetVert() && rBox.GetLeft() &&
!(*aSetBoxInfo.GetVert() == *rBox.GetLeft())) ||
((!aSetBoxInfo.GetVert()) ^ (!rBox.GetLeft())))
- { aSetBoxInfo.SetValid( VALID_VERT, FALSE );
+ { aSetBoxInfo.SetValid( VALID_VERT, FALSE );
aSetBoxInfo.SetLine( 0, BOXINFO_LINE_VERT );
}
}
@@ -1038,13 +1038,13 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if ( aSetBoxInfo.IsValid(VALID_RIGHT) && bRightOver )
{
if ( !bRightSet )
- { bRightSet = TRUE;
+ { bRightSet = TRUE;
aSetBox.SetLine( rBox.GetRight(), BOX_LINE_RIGHT );
}
else if ((aSetBox.GetRight() && rBox.GetRight() &&
!(*aSetBox.GetRight() == *rBox.GetRight())) ||
(!aSetBox.GetRight() ^ !rBox.GetRight()))
- { aSetBoxInfo.SetValid( VALID_RIGHT, FALSE );
+ { aSetBoxInfo.SetValid( VALID_RIGHT, FALSE );
aSetBox.SetLine( 0, BOX_LINE_RIGHT );
}
}
@@ -1055,13 +1055,13 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if ( aSetBoxInfo.IsValid(VALID_BOTTOM) )
{
if ( !bBottomSet )
- { bBottomSet = TRUE;
+ { bBottomSet = TRUE;
aSetBox.SetLine( rBox.GetBottom(), BOX_LINE_BOTTOM );
}
else if ((aSetBox.GetBottom() && rBox.GetBottom() &&
!(*aSetBox.GetBottom() == *rBox.GetBottom())) ||
(!aSetBox.GetBottom() ^ !rBox.GetBottom()))
- { aSetBoxInfo.SetValid( VALID_BOTTOM, FALSE );
+ { aSetBoxInfo.SetValid( VALID_BOTTOM, FALSE );
aSetBox.SetLine( 0, BOX_LINE_BOTTOM );
}
}
@@ -1073,7 +1073,7 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
if (aSetBoxInfo.IsValid(VALID_HORI))
{
if ( !bHoriSet )
- { bHoriSet = TRUE;
+ { bHoriSet = TRUE;
aSetBoxInfo.SetLine( rBox.GetBottom(), BOXINFO_LINE_HORI );
}
else if ((aSetBoxInfo.GetHori() && rBox.GetBottom() &&
@@ -1094,7 +1094,7 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
BOX_LINE_RIGHT, BOX_LINE_LEFT };
const USHORT* pBrd = aBorders;
- if( !bDistanceSet ) // bei 1. Durchlauf erstmal setzen
+ if( !bDistanceSet ) // bei 1. Durchlauf erstmal setzen
{
bDistanceSet = TRUE;
for( int k = 0; k < 4; ++k, ++pBrd )
@@ -1121,10 +1121,10 @@ void SwDoc::GetTabBorders( const SwCursor& rCursor, SfxItemSet& rSet ) const
}
/***********************************************************************
-#* Class : SwDoc
-#* Methoden : SetBoxAttr
-#* Datum : MA 18. Dec. 96
-#* Update : JP 29.04.98
+#* Class : SwDoc
+#* Methoden : SetBoxAttr
+#* Datum : MA 18. Dec. 96
+#* Update : JP 29.04.98
#***********************************************************************/
void SwDoc::SetBoxAttr( const SwCursor& rCursor, const SfxPoolItem &rNew )
{
@@ -1171,10 +1171,10 @@ void SwDoc::SetBoxAttr( const SwCursor& rCursor, const SfxPoolItem &rNew )
}
/***********************************************************************
-#* Class : SwDoc
+#* Class : SwDoc
#* Methoden : GetBoxAttr()
-#* Datum : MA 01. Jun. 93
-#* Update : JP 29.04.98
+#* Datum : MA 01. Jun. 93
+#* Update : JP 29.04.98
#***********************************************************************/
BOOL SwDoc::GetBoxAttr( const SwCursor& rCursor, SfxPoolItem& rToFill ) const
@@ -1227,10 +1227,10 @@ BOOL SwDoc::GetBoxAttr( const SwCursor& rCursor, SfxPoolItem& rToFill ) const
}
/***********************************************************************
-#* Class : SwDoc
-#* Methoden : SetBoxAlign, SetBoxAlign
-#* Datum : MA 18. Dec. 96
-#* Update : JP 29.04.98
+#* Class : SwDoc
+#* Methoden : SetBoxAlign, SetBoxAlign
+#* Datum : MA 18. Dec. 96
+#* Update : JP 29.04.98
#***********************************************************************/
void SwDoc::SetBoxAlign( const SwCursor& rCursor, USHORT nAlign )
{
@@ -1264,15 +1264,15 @@ USHORT SwDoc::GetBoxAlign( const SwCursor& rCursor ) const
/***********************************************************************
-#* Class : SwDoc
-#* Methoden : AdjustCellWidth()
-#* Datum : MA 20. Feb. 95
-#* Update : JP 29.04.98
+#* Class : SwDoc
+#* Methoden : AdjustCellWidth()
+#* Datum : MA 20. Feb. 95
+#* Update : JP 29.04.98
#***********************************************************************/
USHORT lcl_CalcCellFit( const SwLayoutFrm *pCell )
{
SwTwips nRet = 0;
- const SwFrm *pFrm = pCell->Lower(); //Die ganze Zelle.
+ const SwFrm *pFrm = pCell->Lower(); //Die ganze Zelle.
SWRECTFN( pCell )
while ( pFrm )
{
@@ -1322,7 +1322,7 @@ void lcl_CalcSubColValues( SvUShorts &rToFill, const SwTabCols &rCols,
for ( USHORT i = 0 ; i <= rCols.Count(); ++i )
{
- long nColLeft = i == 0 ? rCols.GetLeft() : rCols[i-1];
+ long nColLeft = i == 0 ? rCols.GetLeft() : rCols[i-1];
long nColRight = i == rCols.Count() ? rCols.GetRight() : rCols[i];
nColLeft += rCols.GetLeftMin();
nColRight += rCols.GetLeftMin();
@@ -1358,16 +1358,16 @@ void lcl_CalcSubColValues( SvUShorts &rToFill, const SwTabCols &rCols,
*Es wird nicht ueber die Eintrage in den TabCols itereriert, sondern
*quasi ueber die Zwischenraeume, die ja die Zellen beschreiben.
*
- *bWishValues == TRUE: Es werden zur aktuellen Selektion bzw. zur aktuellen
- * Zelle die Wunschwerte aller betroffen Zellen ermittelt.
- * Sind mehrere Zellen in einer Spalte, so wird der
- * groesste Wunschwert als Ergebnis geliefert.
- * Fuer die TabCol-Eintraege, zu denen keine Zellen
- * ermittelt wurden, werden 0-en eingetragen.
+ *bWishValues == TRUE: Es werden zur aktuellen Selektion bzw. zur aktuellen
+ * Zelle die Wunschwerte aller betroffen Zellen ermittelt.
+ * Sind mehrere Zellen in einer Spalte, so wird der
+ * groesste Wunschwert als Ergebnis geliefert.
+ * Fuer die TabCol-Eintraege, zu denen keine Zellen
+ * ermittelt wurden, werden 0-en eingetragen.
*
*bWishValues == FALSE: Die Selektion wird senkrecht ausgedehnt. Zu jeder
- * Spalte in den TabCols, die sich mit der Selektion
- * schneidet wird der Minimalwert ermittelt.
+ * Spalte in den TabCols, die sich mit der Selektion
+ * schneidet wird der Minimalwert ermittelt.
*/
void lcl_CalcColValues( SvUShorts &rToFill, const SwTabCols &rCols,
@@ -1400,7 +1400,7 @@ void lcl_CalcColValues( SvUShorts &rToFill, const SwTabCols &rCols,
for ( USHORT i = 0; i <= rCols.Count(); ++i )
{
USHORT nFit = rToFill[i];
- long nColLeft = i == 0 ? rCols.GetLeft() : rCols[i-1];
+ long nColLeft = i == 0 ? rCols.GetLeft() : rCols[i-1];
long nColRight = i == rCols.Count() ? rCols.GetRight() : rCols[i];
if ( bRTL )
@@ -1416,10 +1416,10 @@ void lcl_CalcColValues( SvUShorts &rToFill, const SwTabCols &rCols,
//Werte auf die Verhaeltnisse der Tabelle (Follows) anpassen.
long nLeftA = nColLeft;
long nRightA = nColRight;
- if ( rCols.GetLeftMin() != USHORT((pTab->Frm().*fnRect->fnGetLeft)()) )
+ if ( rCols.GetLeftMin() != USHORT((pTab->Frm().*fnRect->fnGetLeft)()) )
{
const long nDiff = (pTab->Frm().*fnRect->fnGetLeft)() - rCols.GetLeftMin();
- nLeftA += nDiff;
+ nLeftA += nDiff;
nRightA += nDiff;
}
@@ -1434,7 +1434,7 @@ void lcl_CalcColValues( SvUShorts &rToFill, const SwTabCols &rCols,
nFit = nWish;
}
else
- { const USHORT nMin = MINLAY + USHORT(pCell->Frm().Width() -
+ { const USHORT nMin = MINLAY + USHORT(pCell->Frm().Width() -
pCell->Prt().Width());
if ( !nFit || nMin < nFit )
nFit = nMin;
@@ -1562,7 +1562,7 @@ void SwDoc::AdjustCellWidth( const SwCursor& rCursor, BOOL bBalance )
if ( !bBalance && nTabRight > aTabCols.GetRightMax() )
{
const long nTmpD = nTabRight - aTabCols.GetRightMax();
- nDiff -= nTmpD;
+ nDiff -= nTmpD;
nTabRight -= nTmpD;
}
for ( USHORT i2 = i; i2 < aTabCols.Count(); ++i2 )
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 58e65a0b1df5..37d6e581089d 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -273,25 +273,25 @@ USHORT ClearItem_BC( boost::shared_ptr<const SfxItemSet>& mrpAttrSet,
/*******************************************************************
|*
-|* SwNode::GetSectionLevel
+|* SwNode::GetSectionLevel
|*
-|* Beschreibung
-|* Die Funktion liefert den Sectionlevel an der durch
-|* aIndex bezeichneten Position.
+|* Beschreibung
+|* Die Funktion liefert den Sectionlevel an der durch
+|* aIndex bezeichneten Position.
|*
-|* Die Logik ist wie folgt: ( S -> Start, E -> End, C -> CntntNode)
-|* Level 0 E
-|* 1 S E
-|* 2 SC
+|* Die Logik ist wie folgt: ( S -> Start, E -> End, C -> CntntNode)
+|* Level 0 E
+|* 1 S E
+|* 2 SC
|*
-|* alle EndNodes der GrundSection haben den Level 0
-|* alle StartNodes der GrundSection haben den Level 1
+|* alle EndNodes der GrundSection haben den Level 0
+|* alle StartNodes der GrundSection haben den Level 1
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Aenderung: JP 11.08.93
-|* keine Rekursion mehr !!
+|* Aenderung: JP 11.08.93
+|* keine Rekursion mehr !!
|*
*******************************************************************/
@@ -311,29 +311,29 @@ USHORT SwNode::GetSectionLevel() const
/*******************************************************************
|*
-|* SwNode::SwNode
+|* SwNode::SwNode
|*
-|* Beschreibung
-|* Konstruktor; dieser fuegt einen Node in das Array rNodes
-|* an der Position rWhere ein. Dieser bekommt als
-|* theEndOfSection den EndOfSection-Index des Nodes
-|* unmittelbar vor ihm. Falls er sich an der Position 0
-|* innerhalb des variablen Arrays befindet, wird
-|* theEndOfSection 0 (der neue selbst).
+|* Beschreibung
+|* Konstruktor; dieser fuegt einen Node in das Array rNodes
+|* an der Position rWhere ein. Dieser bekommt als
+|* theEndOfSection den EndOfSection-Index des Nodes
+|* unmittelbar vor ihm. Falls er sich an der Position 0
+|* innerhalb des variablen Arrays befindet, wird
+|* theEndOfSection 0 (der neue selbst).
|*
-|* Parameter
-|* IN
-|* rNodes bezeichnet das variable Array, in das der Node
-|* eingefuegt werden soll
-|* IN
-|* rWhere bezeichnet die Position innerhalb dieses Arrays,
-|* an der der Node eingefuegt werden soll
+|* Parameter
+|* IN
+|* rNodes bezeichnet das variable Array, in das der Node
+|* eingefuegt werden soll
+|* IN
+|* rWhere bezeichnet die Position innerhalb dieses Arrays,
+|* an der der Node eingefuegt werden soll
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
@@ -348,7 +348,7 @@ SwNode::SwNode( const SwNodeIndex &rWhere, const BYTE nNdType )
nAFmtNumLvl = 0;
SwNodes& rNodes = (SwNodes&)rWhere.GetNodes();
- SwNode* pInsNd = this; // der MAC kann this nicht einfuegen !!
+ SwNode* pInsNd = this; // der MAC kann this nicht einfuegen !!
if( rWhere.GetIndex() )
{
SwNode* pNd = rNodes[ rWhere.GetIndex() -1 ];
@@ -356,7 +356,7 @@ SwNode::SwNode( const SwNodeIndex &rWhere, const BYTE nNdType )
if( 0 == ( pStartOfSection = pNd->GetStartNode()) )
{
pStartOfSection = pNd->pStartOfSection;
- if( pNd->GetEndNode() ) // EndNode ? Section ueberspringen!
+ if( pNd->GetEndNode() ) // EndNode ? Section ueberspringen!
{
pNd = pStartOfSection;
pStartOfSection = pNd->pStartOfSection;
@@ -381,7 +381,7 @@ SwNode::SwNode( SwNodes& rNodes, ULONG nPos, const BYTE nNdType )
bSetNumLSpace = bIgnoreDontExpand = FALSE;
nAFmtNumLvl = 0;
- SwNode* pInsNd = this; // der MAC kann this nicht einfuegen !!
+ SwNode* pInsNd = this; // der MAC kann this nicht einfuegen !!
if( nPos )
{
SwNode* pNd = rNodes[ nPos - 1 ];
@@ -389,7 +389,7 @@ SwNode::SwNode( SwNodes& rNodes, ULONG nPos, const BYTE nNdType )
if( 0 == ( pStartOfSection = pNd->GetStartNode()) )
{
pStartOfSection = pNd->pStartOfSection;
- if( pNd->GetEndNode() ) // EndNode ? Section ueberspringen!
+ if( pNd->GetEndNode() ) // EndNode ? Section ueberspringen!
{
pNd = pStartOfSection;
pStartOfSection = pNd->pStartOfSection;
@@ -464,7 +464,7 @@ BOOL SwNode::IsInVisibleArea( ViewShell* pSh ) const
if( !pFrm->IsValid() )
do
- { pFrm = pFrm->FindPrev();
+ { pFrm = pFrm->FindPrev();
} while ( pFrm && !pFrm->IsValid() );
if( !pFrm || pSh->VisArea().IsOver( pFrm->Frm() ) )
@@ -484,7 +484,7 @@ BOOL SwNode::IsInProtectSect() const
// befindet sich der Node in irgendetwas geschuetzten ?
// (Bereich/Rahmen/Tabellenzellen/... incl. des Ankers bei
- // Rahmen/Fussnoten/..)
+ // Rahmen/Fussnoten/..)
BOOL SwNode::IsProtect() const
{
const SwNode* pNd = ND_SECTIONNODE == nNodeType ? pStartOfSection : this;
@@ -882,7 +882,7 @@ const SwTxtNode* SwNode::FindOutlineNodeOfLevel( BYTE nLvl ) const
->GetAttrOutlineLevel() - 1 ) //<-end,zhaojianwei
--nPos;
- if( !nPos ) // bei 0 gesondert holen !!
+ if( !nPos ) // bei 0 gesondert holen !!
pRet = rONds[0]->GetTxtNode();
}
}
@@ -935,20 +935,20 @@ BYTE SwNode::HasPrevNextLayNode() const
/*******************************************************************
|*
-|* SwNode::StartOfSection
+|* SwNode::StartOfSection
|*
-|* Beschreibung
-|* Die Funktion liefert die StartOfSection des Nodes.
+|* Beschreibung
+|* Die Funktion liefert die StartOfSection des Nodes.
|*
-|* Parameter
-|* IN
-|* rNodes bezeichnet das variable Array, in dem sich der Node
-|* befindet
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Parameter
+|* IN
+|* rNodes bezeichnet das variable Array, in dem sich der Node
+|* befindet
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
@@ -983,31 +983,31 @@ void SwStartNode::CheckSectionCondColl() const
/*******************************************************************
|*
-|* SwEndNode::SwEndNode
+|* SwEndNode::SwEndNode
|*
-|* Beschreibung
-|* Konstruktor; dieser fuegt einen Node in das Array rNodes
-|* an der Position aWhere ein. Der
-|* theStartOfSection-Pointer wird entsprechend gesetzt,
-|* und der EndOfSection-Pointer des zugehoerigen
-|* Startnodes -- durch rStartOfSection bezeichnet --
-|* wird auf diesen Node gesetzt.
+|* Beschreibung
+|* Konstruktor; dieser fuegt einen Node in das Array rNodes
+|* an der Position aWhere ein. Der
+|* theStartOfSection-Pointer wird entsprechend gesetzt,
+|* und der EndOfSection-Pointer des zugehoerigen
+|* Startnodes -- durch rStartOfSection bezeichnet --
+|* wird auf diesen Node gesetzt.
|*
-|* Parameter
-|* IN
-|* rNodes bezeichnet das variable Array, in das der Node
-|* eingefuegt werden soll
-|* IN
-|* aWhere bezeichnet die Position innerhalb dieses Arrays,
-|* an der der Node eingefuegt werden soll
-|* !!!!!!!!!!!!
-|* Es wird eine Kopie uebergeben!
+|* Parameter
+|* IN
+|* rNodes bezeichnet das variable Array, in das der Node
+|* eingefuegt werden soll
+|* IN
+|* aWhere bezeichnet die Position innerhalb dieses Arrays,
+|* an der der Node eingefuegt werden soll
+|* !!!!!!!!!!!!
+|* Es wird eine Kopie uebergeben!
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
@@ -1035,7 +1035,7 @@ SwEndNode::SwEndNode( SwNodes& rNds, ULONG nPos, SwStartNode& rSttNd )
SwCntntNode::SwCntntNode( const SwNodeIndex &rWhere, const BYTE nNdType,
SwFmtColl *pColl )
- : SwModify( pColl ), // CrsrsShell, FrameFmt,
+ : SwModify( pColl ), // CrsrsShell, FrameFmt,
SwNode( rWhere, nNdType ),
pCondColl( 0 ),
mbSetModifyAtAttr( false )
@@ -1113,7 +1113,7 @@ void SwCntntNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
{
ChkCondColl();
}
- return ; // nicht an die Basisklasse / Frames weitergeben
+ return ; // nicht an die Basisklasse / Frames weitergeben
//FEATURE::CONDCOLL
case RES_ATTRSET_CHG:
@@ -1209,7 +1209,7 @@ SwFmtColl *SwCntntNode::ChgFmtColl( SwFmtColl *pNewColl )
//FEATURE::CONDCOLL
// HACK: hier muss die entsprechend der neuen Vorlage die Bedingungen
- // neu ueberprueft werden!
+ // neu ueberprueft werden!
if( TRUE /*pNewColl */ )
{
SetCondFmtColl( 0 );
@@ -1342,7 +1342,7 @@ void SwCntntNode::MakeFrms( SwCntntNode& rNode )
OSL_ENSURE( &rNode != this,
"Kein Contentnode oder Copy-Node und neuer Node identisch." );
- if( !GetDepends() || &rNode == this ) // gibt es ueberhaupt Frames ??
+ if( !GetDepends() || &rNode == this ) // gibt es ueberhaupt Frames ??
return;
SwFrm *pFrm, *pNew;
@@ -1525,7 +1525,7 @@ BOOL SwCntntNode::GetInfo( SfxPoolItem& rInfo ) const
BOOL SwCntntNode::SetAttr(const SfxPoolItem& rAttr )
{
if( !GetpSwAttrSet() ) // lasse von den entsprechenden Nodes die
- NewAttrSet( GetDoc()->GetAttrPool() ); // AttrSets anlegen
+ NewAttrSet( GetDoc()->GetAttrPool() ); // AttrSets anlegen
OSL_ENSURE( GetpSwAttrSet(), "warum wurde kein AttrSet angelegt?" );
@@ -1550,7 +1550,7 @@ BOOL SwCntntNode::SetAttr(const SfxPoolItem& rAttr )
{
SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld );
SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
return bRet;
@@ -1606,7 +1606,7 @@ BOOL SwCntntNode::SetAttr( const SfxItemSet& rSet )
}
if( !GetpSwAttrSet() ) // lasse von den entsprechenden Nodes die
- NewAttrSet( GetDoc()->GetAttrPool() ); // AttrSets anlegen
+ NewAttrSet( GetDoc()->GetAttrPool() ); // AttrSets anlegen
BOOL bRet = FALSE;
// wenn Modify gelockt ist, werden keine Modifies verschickt
@@ -1626,7 +1626,7 @@ BOOL SwCntntNode::SetAttr( const SfxItemSet& rSet )
// einige Sonderbehandlungen fuer Attribute
SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld );
SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
return bRet;
@@ -1666,7 +1666,7 @@ BOOL SwCntntNode::ResetAttr( USHORT nWhich1, USHORT nWhich2 )
// sollte kein gueltiger Bereich definiert sein ?
if( !nWhich2 || nWhich2 < nWhich1 )
- nWhich2 = nWhich1; // dann setze auf 1. Id, nur dieses Item
+ nWhich2 = nWhich1; // dann setze auf 1. Id, nur dieses Item
SwAttrSet aOld( *GetpSwAttrSet()->GetPool(), GetpSwAttrSet()->GetRanges() ),
aNew( *GetpSwAttrSet()->GetPool(), GetpSwAttrSet()->GetRanges() );
@@ -1676,7 +1676,7 @@ BOOL SwCntntNode::ResetAttr( USHORT nWhich1, USHORT nWhich2 )
{
SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld );
SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
if( !GetpSwAttrSet()->Count() ) // leer, dann loeschen
mpAttrSet.reset();//DELETEZ( mpAttrSet );
@@ -1717,7 +1717,7 @@ BOOL SwCntntNode::ResetAttr( const SvUShorts& rWhichArr )
{
SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld );
SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
}
}
if( !GetpSwAttrSet()->Count() ) // leer, dann loeschen
@@ -1756,7 +1756,7 @@ USHORT SwCntntNode::ResetAllAttr()
{
SwAttrSetChg aChgOld( *GetpSwAttrSet(), aOld );
SwAttrSetChg aChgNew( *GetpSwAttrSet(), aNew );
- Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
+ Modify( &aChgOld, &aChgNew ); // alle veraenderten werden verschickt
if( !GetpSwAttrSet()->Count() ) // leer, dann loeschen
mpAttrSet.reset();//DELETEZ( mpAttrSet );
@@ -1917,8 +1917,8 @@ BOOL SwCntntNode::IsAnyCondition( SwCollCondition& rTmp ) const
{
switch( pSttNd->GetNodeType() )
{
- case ND_TABLENODE: nCond = PARA_IN_TABLEBODY; break;
- case ND_SECTIONNODE: nCond = PARA_IN_SECTION; break;
+ case ND_TABLENODE: nCond = PARA_IN_TABLEBODY; break;
+ case ND_SECTIONNODE: nCond = PARA_IN_SECTION; break;
default:
switch( pSttNd->GetStartNodeType() )
@@ -1934,7 +1934,7 @@ BOOL SwCntntNode::IsAnyCondition( SwCollCondition& rTmp ) const
nCond = PARA_IN_TABLEHEAD;
}
break;
- case SwFlyStartNode: nCond = PARA_IN_FRAME; break;
+ case SwFlyStartNode: nCond = PARA_IN_FRAME; break;
case SwFootnoteStartNode:
{
nCond = PARA_IN_FOOTENOTE;
diff --git a/sw/source/core/docnode/node2lay.cxx b/sw/source/core/docnode/node2lay.cxx
index 6f8f495d213c..3ff7287a3ad0 100644
--- a/sw/source/core/docnode/node2lay.cxx
+++ b/sw/source/core/docnode/node2lay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "precompiled_sw.hxx"
-#include <calbck.hxx> // SwClientIter
+#include <calbck.hxx> // SwClientIter
#include <node.hxx>
#include <ndindex.hxx>
#include <swtable.hxx>
@@ -53,8 +53,8 @@ class SwNode2LayImpl
SwClientIter *pIter; // Der eigentliche Iterator
SvPtrarr *pUpperFrms;// Zum Einsammeln der Upper
ULONG nIndex; // Der Index des einzufuegenden Nodes
- BOOL bMaster : 1; // TRUE => nur Master , FALSE => nur Frames ohne Follow
- BOOL bInit : 1; // Ist am SwClient bereits ein First()-Aufruf erfolgt?
+ BOOL bMaster : 1; // TRUE => nur Master , FALSE => nur Frames ohne Follow
+ BOOL bInit : 1; // Ist am SwClient bereits ein First()-Aufruf erfolgt?
public:
SwNode2LayImpl( const SwNode& rNode, ULONG nIdx, BOOL bSearch );
~SwNode2LayImpl() { delete pIter; delete pUpperFrms; }
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 2342d3283ac6..e47a094dd990 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +70,11 @@ USHORT HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange );
//-----------------------------------------------------------------------
/*******************************************************************
-|* SwNodes::SwNodes
+|* SwNodes::SwNodes
|*
-|* Beschreibung
-|* Konstruktor; legt die vier Grundsektions (PostIts,
-|* Inserts, Icons, Inhalt) an
+|* Beschreibung
+|* Konstruktor; legt die vier Grundsektions (PostIts,
+|* Inserts, Icons, Inhalt) an
*******************************************************************/
SwNodes::SwNodes( SwDoc* pDocument )
: pRoot( 0 ), pMyDoc( pDocument )
@@ -107,19 +107,19 @@ SwNodes::SwNodes( SwDoc* pDocument )
/*******************************************************************
|*
-|* SwNodes::~SwNodes
+|* SwNodes::~SwNodes
|*
-|* Beschreibung
-|* dtor, loescht alle Nodes, deren Pointer in diesem dynamischen
-|* Array sind. Ist kein Problem, da Nodes ausserhalb dieses
-|* Arrays nicht erzeugt werden koennen und somit auch nicht
-|* in mehreren drin sein koennen
+|* Beschreibung
+|* dtor, loescht alle Nodes, deren Pointer in diesem dynamischen
+|* Array sind. Ist kein Problem, da Nodes ausserhalb dieses
+|* Arrays nicht erzeugt werden koennen und somit auch nicht
+|* in mehreren drin sein koennen
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
@@ -153,7 +153,7 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
const SwNode* pPrevInsNd = rNds[ rInsPos.GetIndex() -1 ];
//JP 03.02.99: alle Felder als invalide erklaeren, aktu. erfolgt im
- // Idle-Handler des Docs
+ // Idle-Handler des Docs
if( GetDoc()->SetFieldsDirty( TRUE, &rDelPos.GetNode(), nSz ) &&
rNds.GetDoc() != GetDoc() )
rNds.GetDoc()->SetFieldsDirty( true, NULL, 0 );
@@ -164,7 +164,7 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
rNds.GetEndOfRedlines().StartOfSectionNode()->GetIndex() < nNd &&
nNd < rNds.GetEndOfRedlines().GetIndex() );
- if( &rNds == this ) // im gleichen Nodes-Array -> moven !!
+ if( &rNds == this ) // im gleichen Nodes-Array -> moven !!
{
// wird von vorne nach hinten gemovt, so wird nach vorne immer
// nachgeschoben, d.H. die Loeschposition ist immer gleich
@@ -279,7 +279,7 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
// <--
}
- RemoveNode( rDelPos.GetIndex(), 1, FALSE ); // Indizies verschieben !!
+ RemoveNode( rDelPos.GetIndex(), 1, FALSE ); // Indizies verschieben !!
SwCntntNode * pCNd = pNd->GetCntntNode();
rNds.InsertNode( pNd, aInsPos );
@@ -290,8 +290,8 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
{
SwpHints * const pHts = pTxtNd->GetpSwpHints();
// setze die OultineNodes im neuen Nodes-Array
- //if( bInsOutlineIdx && NO_NUMBERING != //#outline level,removed by zhaojianwei
- // pTxtNd->GetTxtColl()->GetOutlineLevel() )
+ //if( bInsOutlineIdx && NO_NUMBERING != //#outline level,removed by zhaojianwei
+ // pTxtNd->GetTxtColl()->GetOutlineLevel() )
if( bInsOutlineIdx &&
0 != pTxtNd->GetAttrOutlineLevel() ) //#outline level,added by zhaojianwei
{
@@ -388,7 +388,7 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
}
//JP 03.02.99: alle Felder als invalide erklaeren, aktu. erfolgt im
- // Idle-Handler des Docs
+ // Idle-Handler des Docs
GetDoc()->SetFieldsDirty( true, NULL, 0 );
if( rNds.GetDoc() != GetDoc() )
rNds.GetDoc()->SetFieldsDirty( true, NULL, 0 );
@@ -440,19 +440,19 @@ void SwNodes::ChgNode( SwNodeIndex& rDelPos, ULONG nSz,
/***********************************************************************
|*
-|* SwNodes::Move
+|* SwNodes::Move
|*
-|* Beschreibung
-|* Move loescht die Node-Pointer ab und einschliesslich der Startposition
-|* bis zu und ausschliesslich der Endposition und fuegt sie an
-|* der vor der Zielposition ein.
-|* Wenn das Ziel vor dem ersten oder dem letzten zu bewegenden Element oder
-|* dazwischen liegt, geschieht nichts.
-|* Wenn der zu bewegende Bereich leer ist oder das Ende vor
-|* dem Anfang liegt, geschieht nichts.
+|* Beschreibung
+|* Move loescht die Node-Pointer ab und einschliesslich der Startposition
+|* bis zu und ausschliesslich der Endposition und fuegt sie an
+|* der vor der Zielposition ein.
+|* Wenn das Ziel vor dem ersten oder dem letzten zu bewegenden Element oder
+|* dazwischen liegt, geschieht nichts.
+|* Wenn der zu bewegende Bereich leer ist oder das Ende vor
+|* dem Anfang liegt, geschieht nichts.
|*
-|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
-|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
+|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
+|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
|*
|*
|*
@@ -466,7 +466,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
( (pAktNode = &aIndex.GetNode())->GetStartNode() &&
!pAktNode->StartOfSectionIndex() ))
return FALSE;
-
+
SwNodeRange aRg( aRange );
// "einfache" StartNodes oder EndNodes ueberspringen
@@ -498,8 +498,8 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
return FALSE;
}
- USHORT nLevel = 0; // Level-Counter
- ULONG nInsPos = 0; // Cnt fuer das TmpArray
+ USHORT nLevel = 0; // Level-Counter
+ ULONG nInsPos = 0; // Cnt fuer das TmpArray
// das Array bildet einen Stack, es werden alle StartOfSelction's gesichert
SwSttNdPtrs aSttNdStack( 1, 5 );
@@ -513,8 +513,8 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
SwStartNode* pStartNode = aIdx.GetNode().pStartOfSection;
aSttNdStack.C40_INSERT( SwStartNode, pStartNode, 0 );
-// aSttNdStack.Insert( rNodes[ aIdx ]->pStartOfSection, 0 );
- SwNodeRange aOrigInsPos( aIdx, -1, aIdx ); // Originale Insert Pos
+// aSttNdStack.Insert( rNodes[ aIdx ]->pStartOfSection, 0 );
+ SwNodeRange aOrigInsPos( aIdx, -1, aIdx ); // Originale Insert Pos
//JP 16.01.98: SectionNodes: DelFrms/MakeFrms beim obersten SectionNode!
USHORT nSectNdCnt = 0;
@@ -526,7 +526,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
{
case ND_ENDNODE:
{
- if( nInsPos ) // verschieb schon mal alle bis hier her
+ if( nInsPos ) // verschieb schon mal alle bis hier her
{
// loeschen und kopieren. ACHTUNG: die Indizies ab
// "aRg.aEnd+1" werden mit verschoben !!
@@ -555,7 +555,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
if( bNewFrms )
// loesche erstmal die Frames
pTblNd->DelFrms();
- if( &rNodes == this ) // in sich selbst moven ??
+ if( &rNodes == this ) // in sich selbst moven ??
{
// dann bewege alle Start/End/ContentNodes. Loesche
// bei den ContentNodes auch die Frames !!
@@ -571,22 +571,22 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
if( pTmpNd->IsTxtNode() )
((SwTxtNode*)pTmpNd)->RemoveFromList();
-// if( bNewFrms )
-// pCNd->DelFrms();
+// if( bNewFrms )
+// pCNd->DelFrms();
// setze bei Start/EndNodes die richtigen Indizies
// loesche die Gliederungs-Indizies aus
// dem alten Nodes-Array
- //if( pCNd->IsTxtNode() && NO_NUMBERING != //#outline level,zhaojianwei
- // ((SwTxtNode*)pCNd)->GetTxtColl()->GetOutlineLevel() )
+ //if( pCNd->IsTxtNode() && NO_NUMBERING != //#outline level,zhaojianwei
+ // ((SwTxtNode*)pCNd)->GetTxtColl()->GetOutlineLevel() )
if( pCNd->IsTxtNode() && 0 !=
((SwTxtNode*)pCNd)->GetAttrOutlineLevel() )//<-end,by zhaojianwei
pOutlineNds->Remove( pCNd );
else
pCNd = 0;
}
-// else if( bNewFrms && pTmpNd->IsSectionNode() )
-// ((SwSectionNode*)pTmpNd)->DelFrms();
+// else if( bNewFrms && pTmpNd->IsSectionNode() )
+// ((SwSectionNode*)pTmpNd)->DelFrms();
BigPtrArray::Move( aMvIdx.GetIndex(), aIdx.GetIndex() );
if( bInsOutlineIdx && pCNd )
@@ -610,7 +610,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
for( ULONG n = 0; n < nInsPos; ++n )
{
SwNode* pNd = &aMvIdx.GetNode();
-/* if( bNewFrms )
+/* if( bNewFrms )
{
if( pNd->IsCntntNode() )
((SwCntntNode*)pNd)->DelFrms();
@@ -619,7 +619,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
}
*/
//BOOL bOutlNd = pNd->IsTxtNode() && NO_NUMBERING !=//#outline level,zhaojianwei
- // ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel();
+ // ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel();
const bool bOutlNd = pNd->IsTxtNode() &&
0 != ((SwTxtNode*)pNd)->GetAttrOutlineLevel();//<-end,zhaojianwei
// loesche die Gliederungs-Indizies aus
@@ -678,10 +678,10 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
else if( pSttNd->GetIndex() < aRg.aStart.GetIndex() )
{
// SectionNode: es wird nicht die gesamte Section
- // verschoben, also bewege nur die
- // ContentNodes
- // StartNode: erzeuge an der Postion eine neue Section
- do { // middle check loop
+ // verschoben, also bewege nur die
+ // ContentNodes
+ // StartNode: erzeuge an der Postion eine neue Section
+ do { // middle check loop
if( !pSttNd->IsSectionNode() )
{
// Start und EndNode an der InsertPos erzeugen
@@ -690,7 +690,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
/*?? welcher NodeTyp ??*/
SwNormalStartNode );
- nLevel++; // den Index auf StartNode auf den Stack
+ nLevel++; // den Index auf StartNode auf den Stack
aSttNdStack.C40_INSERT( SwStartNode, pTmp, nLevel );
// noch den EndNode erzeugen
@@ -720,7 +720,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
// Start und EndNode komplett verschieben
// s. u. SwIndex aOldStt( pSttNd->theIndex );
//JP 21.05.97: sollte der Start genau der Start des Bereiches sein, so muss
-// der Node auf jedenfall noch besucht werden!
+// der Node auf jedenfall noch besucht werden!
if( &aRg.aStart.GetNode() == pSttNd )
--aRg.aStart;
@@ -745,7 +745,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
aRg.aEnd--;
- nLevel++; // den Index auf StartNode auf den Stack
+ nLevel++; // den Index auf StartNode auf den Stack
aSttNdStack.C40_INSERT( SwStartNode, pSttNd, nLevel );
// SectionNode muss noch ein paar Indizies ummelden
@@ -767,7 +767,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
{
// dann muss an der akt. InsPos ein SectionDummyNode
// eingefuegt werden
- if( nInsPos ) // verschieb schon mal alle bis hier her
+ if( nInsPos ) // verschieb schon mal alle bis hier her
{
// loeschen und kopieren. ACHTUNG: die Indizies ab
// "aRg.aEnd+1" werden mit verschoben !!
@@ -793,7 +793,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
break;
}
- if( !nLevel ) // es wird eine Stufe runter gestuft
+ if( !nLevel ) // es wird eine Stufe runter gestuft
{
// erzeuge die Runterstufung
SwNodeIndex aTmpSIdx( aOrigInsPos.aStart, 1 );
@@ -826,8 +826,8 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
aTmpEIdx--;
}
- aIdx--; // hinter den eingefuegten StartNode
- aRg.aEnd--; // vor den StartNode
+ aIdx--; // hinter den eingefuegten StartNode
+ aRg.aEnd--; // vor den StartNode
// kopiere jetzt das Array. ACHTUNG: die Indizies ab
// "aRg.aEnd+1" werden mit verschoben !!
SwNodeIndex aSwIndex( aRg.aEnd, 1 );
@@ -835,8 +835,8 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
aIdx -= nInsPos+1;
nInsPos = 0;
}
- else // es wurden alle Nodes innerhalb eines
- { // Start- und End-Nodes verschoben
+ else // es wurden alle Nodes innerhalb eines
+ { // Start- und End-Nodes verschoben
OSL_ENSURE( pAktNode == aSttNdStack[nLevel] ||
( pAktNode->IsStartNode() &&
aSttNdStack[nLevel]->IsSectionNode()),
@@ -844,11 +844,11 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
SwNodeIndex aSwIndex( aRg.aEnd, 1 );
ChgNode( aSwIndex, nInsPos, aIdx, bNewFrms );
- aIdx -= nInsPos+1; // vor den eingefuegten StartNode
+ aIdx -= nInsPos+1; // vor den eingefuegten StartNode
nInsPos = 0;
// loesche nur noch den Pointer aus dem Nodes-Array.
-// RemoveNode( aRg.aEnd.GetIndex(), 1, FALSE );
+// RemoveNode( aRg.aEnd.GetIndex(), 1, FALSE );
RemoveNode( aRg.aEnd.GetIndex(), 1, TRUE );
aRg.aEnd--;
@@ -859,7 +859,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
pSectNd->MakeFrms( &aTmp );
bNewFrms = bSaveNewFrms;
}
- aSttNdStack.Remove( nLevel ); // vom Stack loeschen
+ aSttNdStack.Remove( nLevel ); // vom Stack loeschen
nLevel--;
}
@@ -872,7 +872,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
DelNodes( aRg.aEnd, 2 );
aRg.aEnd--;
}
-// aRg.aEnd--;
+// aRg.aEnd--;
}
break;
@@ -892,18 +892,18 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
case ND_SECTIONDUMMY:
if( (const SwNodes*)this == GetDoc()->GetUndoNds() )
{
- if( &rNodes == this ) // innerhalb vom UndoNodesArray
+ if( &rNodes == this ) // innerhalb vom UndoNodesArray
{
// mit verschieben
pAktNode->pStartOfSection = aSttNdStack[ nLevel ];
nInsPos++;
}
- else // in ein "normales" Nodes-Array verschieben
+ else // in ein "normales" Nodes-Array verschieben
{
// dann muss an der akt. InsPos auch ein SectionNode
// (Start/Ende) stehen; dann diesen ueberspringen.
// Andernfalls nicht weiter beachten.
- if( nInsPos ) // verschieb schon mal alle bis hier her
+ if( nInsPos ) // verschieb schon mal alle bis hier her
{
// loeschen und kopieren. ACHTUNG: die Indizies ab
// "aRg.aEnd+1" werden mit verschoben !!
@@ -915,7 +915,7 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
SwNode* pTmpNd = &aIdx.GetNode();
if( pTmpNd->IsSectionNode() ||
pTmpNd->StartOfSectionNode()->IsSectionNode() )
- aIdx--; // ueberspringen
+ aIdx--; // ueberspringen
}
}
else {
@@ -928,14 +928,14 @@ BOOL SwNodes::_MoveNodes( const SwNodeRange& aRange, SwNodes & rNodes,
OSL_ENSURE( FALSE, "was ist das fuer ein Node??" );
break;
}
-
- if( nInsPos ) // kopiere den Rest
+
+ if( nInsPos ) // kopiere den Rest
{
// der Rest muesste so stimmen
SwNodeIndex aSwIndex( aRg.aEnd, 1 );
ChgNode( aSwIndex, nInsPos, aIdx, bNewFrms );
}
- aRg.aEnd++; // wieder exklusive Ende
+ aRg.aEnd++; // wieder exklusive Ende
// loesche alle leeren Start-/End-Node-Paare
if( ( pAktNode = &aRg.aStart.GetNode())->GetStartNode() &&
@@ -980,47 +980,47 @@ extern Writer* GetDebugWriter(const String&);
/*******************************************************************
|*
-|* SwNodes::SectionDown
+|* SwNodes::SectionDown
|*
-|* Beschreibung
-|* SectionDown() legt ein Paar von Start- und EndSection-Node
-|* (andere Nodes koennen dazwischen liegen) an.
+|* Beschreibung
+|* SectionDown() legt ein Paar von Start- und EndSection-Node
+|* (andere Nodes koennen dazwischen liegen) an.
|*
-|* Zustand des SRange beim Verlassen der Funktion: nStart ist der
-|* Index des ersten Node hinter dem Start Section Node, nEnd ist
-|* der Index des End Section Nodes. Beispiel: Wird Insert Section
-|* mehrmals hintereinander aufgerufen, so werden mehrere
-|* unmittelbar geschachtelte Sections (keine Content Nodes
-|* zwischen Start- bzw. End Nodes) angelegt.
+|* Zustand des SRange beim Verlassen der Funktion: nStart ist der
+|* Index des ersten Node hinter dem Start Section Node, nEnd ist
+|* der Index des End Section Nodes. Beispiel: Wird Insert Section
+|* mehrmals hintereinander aufgerufen, so werden mehrere
+|* unmittelbar geschachtelte Sections (keine Content Nodes
+|* zwischen Start- bzw. End Nodes) angelegt.
|*
-|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
-|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
+|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
+|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
|*
-|* Parameter
-|* SwRange &rRange
-|* IO:
-|* IN
-|* rRange.aStart: Einfuegeposition des StartNodes
-|* rRange.aEnd: Einfuegeposition des EndNodes
-|* OUT
-|* rRange.aStart: steht hinter dem eingefuegten Startnode
-|* rRange.aEnd: steht auf dem eingefuegen Endnode
+|* Parameter
+|* SwRange &rRange
+|* IO:
+|* IN
+|* rRange.aStart: Einfuegeposition des StartNodes
+|* rRange.aEnd: Einfuegeposition des EndNodes
+|* OUT
+|* rRange.aStart: steht hinter dem eingefuegten Startnode
+|* rRange.aEnd: steht auf dem eingefuegen Endnode
|*
-|* Ausnahmen
-|* 1. SRange-Anfang und SRange-Ende muessen auf dem gleichen Level sein
-|* 2. duerfen nicht auf dem obersten Level sein
-|* Ist dies nicht der Fall, wird die
-|* Funktion durch Aufruf von ERR_RAISE verlassen.
+|* Ausnahmen
+|* 1. SRange-Anfang und SRange-Ende muessen auf dem gleichen Level sein
+|* 2. duerfen nicht auf dem obersten Level sein
+|* Ist dies nicht der Fall, wird die
+|* Funktion durch Aufruf von ERR_RAISE verlassen.
|*
-|* Debug-Funktionen
-|* die Debugging Tools geben rRange beim Eintritt und beim
-|* Verlassen der Funktion aus
+|* Debug-Funktionen
+|* die Debugging Tools geben rRange beim Eintritt und beim
+|* Verlassen der Funktion aus
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
void SwNodes::SectionDown(SwNodeRange *pRange, SwStartNodeType eSttNdTyp )
@@ -1037,7 +1037,7 @@ void SwNodes::SectionDown(SwNodeRange *pRange, SwStartNodeType eSttNdTyp )
SwNodeIndex aTmpIdx( *pAktNode->StartOfSectionNode() );
if( pAktNode->GetEndNode() )
- DelNodes( pRange->aStart, 1 ); // verhinder leere Section
+ DelNodes( pRange->aStart, 1 ); // verhinder leere Section
else
{
// fuege einen neuen StartNode ein
@@ -1065,39 +1065,39 @@ void SwNodes::SectionDown(SwNodeRange *pRange, SwStartNodeType eSttNdTyp )
/*******************************************************************
|*
-|* SwNodes::SectionUp
+|* SwNodes::SectionUp
|*
-|* Beschreibung
-|* Der von rRange umspannte Bereich wird auf die naechst hoehere
-|* Ebene gehoben. Das geschieht dadurch, dass bei
-|* rRange.aStart ein Endnode und bei rRange.aEnd ein
-|* Startnode eingefuegt wird. Die Indices fuer den Bereich
-|* innerhalb von rRange werden geupdated.
+|* Beschreibung
+|* Der von rRange umspannte Bereich wird auf die naechst hoehere
+|* Ebene gehoben. Das geschieht dadurch, dass bei
+|* rRange.aStart ein Endnode und bei rRange.aEnd ein
+|* Startnode eingefuegt wird. Die Indices fuer den Bereich
+|* innerhalb von rRange werden geupdated.
|*
-|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
-|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
+|* Allg.: aRange beschreibt den Bereich -exklusive- aEnd !!
+|* ( 1.Node: aStart, letzer Node: aEnd-1 !! )
|*
-|* Parameter
-|* SwRange &rRange
-|* IO:
-|* IN
-|* rRange.aStart: Anfang des hoeher zubewegenden Bereiches
-|* rRange.aEnd: der 1.Node hinter dem Bereich
-|* OUT
-|* rRange.aStart: an der ersten Position innerhalb des
-|* hochbewegten Bereiches
-|* rRange.aEnd: an der letzten Position innerhalb des
-|* hochbewegten Bereiches
+|* Parameter
+|* SwRange &rRange
+|* IO:
+|* IN
+|* rRange.aStart: Anfang des hoeher zubewegenden Bereiches
+|* rRange.aEnd: der 1.Node hinter dem Bereich
+|* OUT
+|* rRange.aStart: an der ersten Position innerhalb des
+|* hochbewegten Bereiches
+|* rRange.aEnd: an der letzten Position innerhalb des
+|* hochbewegten Bereiches
|*
-|* Debug-Funktionen
-|* die Debugging Tools geben rRange beim Eintritt und beim
-|* Verlassen der Funktion aus
+|* Debug-Funktionen
+|* die Debugging Tools geben rRange beim Eintritt und beim
+|* Verlassen der Funktion aus
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
void SwNodes::SectionUp(SwNodeRange *pRange)
@@ -1113,7 +1113,7 @@ void SwNodes::SectionUp(SwNodeRange *pRange)
// Bei anderen Nodes wird eine neuer EndNode eingefuegt
SwNode * pAktNode = &pRange->aStart.GetNode();
SwNodeIndex aIdx( *pAktNode->StartOfSectionNode() );
- if( pAktNode->IsStartNode() ) // selbst StartNode
+ if( pAktNode->IsStartNode() ) // selbst StartNode
{
SwEndNode* pEndNd = pRange->aEnd.GetNode().GetEndNode();
if( pAktNode == pEndNd->pStartOfSection )
@@ -1137,7 +1137,7 @@ void SwNodes::SectionUp(SwNodeRange *pRange)
}
DelNodes( pRange->aStart, 1 );
}
- else if( aIdx == pRange->aStart.GetIndex()-1 ) // vor StartNode
+ else if( aIdx == pRange->aStart.GetIndex()-1 ) // vor StartNode
DelNodes( aIdx, 1 );
else
new SwEndNode( pRange->aStart, *aIdx.GetNode().GetStartNode() );
@@ -1162,19 +1162,19 @@ void SwNodes::SectionUp(SwNodeRange *pRange)
/*************************************************************************
|*
-|* SwNodes::SectionUpDown()
+|* SwNodes::SectionUpDown()
|*
-|* Beschreibung
-|* Methode setzt die Indizies die bei SectionUp oder SectionDwon
-|* veraendert wurden wieder richtig, sodass die Ebenen wieder
-|* Konsistent sind.
+|* Beschreibung
+|* Methode setzt die Indizies die bei SectionUp oder SectionDwon
+|* veraendert wurden wieder richtig, sodass die Ebenen wieder
+|* Konsistent sind.
|*
-|* Parameter
-|* SwIndex & aStart StartNode !!!
-|* SwIndex & aEnd EndPunkt
+|* Parameter
+|* SwIndex & aStart StartNode !!!
+|* SwIndex & aEnd EndPunkt
|*
-|* Ersterstellung JP 23.04.91
-|* Letzte Aenderung JP 23.04.91
+|* Ersterstellung JP 23.04.91
+|* Letzte Aenderung JP 23.04.91
|*
*************************************************************************/
void SwNodes::SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEnd )
@@ -1204,15 +1204,15 @@ void SwNodes::SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEn
pSttNd->pEndOfSection = (SwEndNode*)pAktNode;
aSttNdStack.Remove( aSttNdStack.Count() - 1 );
if( aSttNdStack.Count() )
- continue; // noch genuegend EndNodes auf dem Stack
+ continue; // noch genuegend EndNodes auf dem Stack
- else if( aTmpIdx < aEnd ) // Uebergewicht an StartNodes
+ else if( aTmpIdx < aEnd ) // Uebergewicht an StartNodes
// ist das Ende noch nicht erreicht, so hole den Start von
// der uebergeordneten Section
{
aSttNdStack.C40_INSERT( SwStartNode, pSttNd->pStartOfSection, 0 );
}
- else // wenn ueber den Bereich hinaus, dann Ende
+ else // wenn ueber den Bereich hinaus, dann Ende
break;
}
}
@@ -1223,43 +1223,43 @@ void SwNodes::SectionUpDown( const SwNodeIndex & aStart, const SwNodeIndex & aEn
/*******************************************************************
|*
-|* SwNodes::Delete
+|* SwNodes::Delete
|*
-|* Beschreibung
-|* Spezielle Implementierung der Delete-Funktion des
-|* variablen Array. Diese spezielle Implementierung ist
-|* notwendig, da durch das Loeschen von Start- bzw.
-|* Endnodes Inkonsistenzen entstehen koennen. Diese werden
-|* durch diese Funktion beseitigt.
+|* Beschreibung
+|* Spezielle Implementierung der Delete-Funktion des
+|* variablen Array. Diese spezielle Implementierung ist
+|* notwendig, da durch das Loeschen von Start- bzw.
+|* Endnodes Inkonsistenzen entstehen koennen. Diese werden
+|* durch diese Funktion beseitigt.
|*
-|* Parameter
-|* IN
-|* SwIndex &rIndex bezeichnet die Position, an der
-|* geloescht wird
-|* rIndex ist nach Aufruf der Funktion unveraendert (Kopie?!)
-|* USHORT nNodes bezeichnet die Anzahl der zu loeschenden
-|* Nodes; ist auf 1 defaulted
+|* Parameter
+|* IN
+|* SwIndex &rIndex bezeichnet die Position, an der
+|* geloescht wird
+|* rIndex ist nach Aufruf der Funktion unveraendert (Kopie?!)
+|* USHORT nNodes bezeichnet die Anzahl der zu loeschenden
+|* Nodes; ist auf 1 defaulted
|*
-|* Debug-Funktionen
-|* geben beim Eintritt in die Funktion Position und Anzahl
-|* der zu loeschenden Nodes aus.
+|* Debug-Funktionen
+|* geben beim Eintritt in die Funktion Position und Anzahl
+|* der zu loeschenden Nodes aus.
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
{
- USHORT nLevel = 0; // Level-Counter
+ USHORT nLevel = 0; // Level-Counter
SwNode * pAktNode;
ULONG nCnt = Count() - rIndex.GetIndex() - 1;
if( nCnt > nNodes ) nCnt = nNodes;
- if( nCnt == 0 ) // keine Anzahl -> return
+ if( nCnt == 0 ) // keine Anzahl -> return
return;
SwNodeRange aRg( rIndex, 0, rIndex, nCnt-1 );
@@ -1307,8 +1307,8 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
if( pNd->IsTxtNode() )
{
- //if( NO_NUMBERING != //#outline level,zhaojianwei
- // ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel() &&
+ //if( NO_NUMBERING != //#outline level,zhaojianwei
+ // ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel() &&
if( 0 != ((SwTxtNode*)pNd)->GetAttrOutlineLevel() &&//<-end,zhaojianwei
pOutlineNds->Seek_Entry( pNd, &nIdxPos ))
{
@@ -1329,15 +1329,15 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
}
else
{
- RemoveNode( aRg.aEnd.GetIndex()+1, nCnt, TRUE ); // loesche
+ RemoveNode( aRg.aEnd.GetIndex()+1, nCnt, TRUE ); // loesche
nCnt = 0;
- aRg.aEnd--; // vor den EndNode
+ aRg.aEnd--; // vor den EndNode
nLevel++;
}
}
- else if( pAktNode->GetStartNode() ) // StartNode gefunden
+ else if( pAktNode->GetStartNode() ) // StartNode gefunden
{
- if( nLevel == 0 ) // es wird eine Stufe runter gestuft
+ if( nLevel == 0 ) // es wird eine Stufe runter gestuft
{
if( nCnt )
{
@@ -1347,9 +1347,9 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
nCnt = 0;
}
}
- else // es werden alle Nodes Innerhalb eines Start- und
- { // End-Nodes geloescht, loesche mit Start/EndNode
- RemoveNode( aRg.aEnd.GetIndex(), nCnt + 2, TRUE ); // loesche Array
+ else // es werden alle Nodes Innerhalb eines Start- und
+ { // End-Nodes geloescht, loesche mit Start/EndNode
+ RemoveNode( aRg.aEnd.GetIndex(), nCnt + 2, TRUE ); // loesche Array
nCnt = 0;
nLevel--;
}
@@ -1368,13 +1368,13 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
aRg.aEnd--;
}
}
- else // normaler Node, also ins TmpArray einfuegen
+ else // normaler Node, also ins TmpArray einfuegen
{
SwTxtNode* pTxtNd = pAktNode->GetTxtNode();
if( pTxtNd )
{
if( pTxtNd->IsOutline())
- { // loesche die Gliederungs-Indizies.
+ { // loesche die Gliederungs-Indizies.
pOutlineNds->Remove( pTxtNd );
bUpdateOutline = TRUE;
}
@@ -1390,7 +1390,7 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
aRg.aEnd++;
if( nCnt != 0 )
- RemoveNode( aRg.aEnd.GetIndex(), nCnt, TRUE ); // loesche den Rest
+ RemoveNode( aRg.aEnd.GetIndex(), nCnt, TRUE ); // loesche den Rest
// loesche alle leeren Start-/End-Node-Paare
while( aRg.aEnd.GetNode().GetEndNode() &&
@@ -1398,7 +1398,7 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
pAktNode->StartOfSectionIndex() )
// aber ja keinen der heiligen 5.
{
- DelNodes( aRg.aStart, 2 ); // loesche den Start- und EndNode
+ DelNodes( aRg.aStart, 2 ); // loesche den Start- und EndNode
aRg.aStart--;
}
@@ -1423,36 +1423,36 @@ void SwNodes::Delete(const SwNodeIndex &rIndex, ULONG nNodes)
/*******************************************************************
|*
-|* SwNodes::GetSectionLevel
-|*
-|* Beschreibung
-|* Die Funktion liefert den Sectionlevel an der durch
-|* aIndex bezeichneten Position. Die Funktion ruft die
-|* GetSectionlevel-Funktion des durch aIndex bezeichneten
-|* Nodes. Diese ist eine virtuelle Funktion, die fuer
-|* Endnodes speziell implementiert werden musste.
-|* Die Sectionlevels werden ermittelt, indem rekursiv durch
-|* die Nodesstruktur (jeweils zum naechsten theEndOfSection)
-|* gegangen wird, bis die oberste Ebene erreicht ist
-|* (theEndOfSection == 0)
-|*
-|* Parameter
-|* aIndex bezeichnet die Position des Nodes, dessen
-|* Sectionlevel ermittelt werden soll. Hier wird eine Kopie
-|* uebergeben, da eine Veraenderung der Variablen in der
-|* rufenden Funktion nicht wuenschenswert ist.
-|*
-|* Ausnahmen
-|* Der erste Node im Array sollte immer ein Startnode sein.
-|* Dieser erfaehrt in der Funktion SwNodes::GetSectionLevel()
+|* SwNodes::GetSectionLevel
+|*
+|* Beschreibung
+|* Die Funktion liefert den Sectionlevel an der durch
+|* aIndex bezeichneten Position. Die Funktion ruft die
+|* GetSectionlevel-Funktion des durch aIndex bezeichneten
+|* Nodes. Diese ist eine virtuelle Funktion, die fuer
+|* Endnodes speziell implementiert werden musste.
+|* Die Sectionlevels werden ermittelt, indem rekursiv durch
+|* die Nodesstruktur (jeweils zum naechsten theEndOfSection)
+|* gegangen wird, bis die oberste Ebene erreicht ist
+|* (theEndOfSection == 0)
+|*
+|* Parameter
+|* aIndex bezeichnet die Position des Nodes, dessen
+|* Sectionlevel ermittelt werden soll. Hier wird eine Kopie
+|* uebergeben, da eine Veraenderung der Variablen in der
+|* rufenden Funktion nicht wuenschenswert ist.
+|*
+|* Ausnahmen
+|* Der erste Node im Array sollte immer ein Startnode sein.
+|* Dieser erfaehrt in der Funktion SwNodes::GetSectionLevel()
|* eine Sonderbehandlung; es wird davon ausgegangen, dass der
-|* erste Node auch ein Startnode ist.
+|* erste Node auch ein Startnode ist.
|*
-|* Ersterstellung
-|* VER0100 vb 901214
+|* Ersterstellung
+|* VER0100 vb 901214
|*
-|* Stand
-|* VER0100 vb 901214
+|* Stand
+|* VER0100 vb 901214
|*
*******************************************************************/
USHORT SwNodes::GetSectionLevel(const SwNodeIndex &rIdx) const {
@@ -1474,15 +1474,15 @@ void SwNodes::GoStartOfSection(SwNodeIndex *pIdx) const
// steht der Index auf keinem ContentNode, dann gehe dahin. Ist aber
// kein weiterer vorhanden, dann lasse den Index an alter Pos stehen !!!
while( !aTmp.GetNode().IsCntntNode() )
- { // gehe vom StartNode ( es kann nur ein StartNode sein ! ) an sein
+ { // gehe vom StartNode ( es kann nur ein StartNode sein ! ) an sein
// Ende
if( *pIdx <= aTmp )
- return; // FEHLER: Steht schon hinter der Sektion
+ return; // FEHLER: Steht schon hinter der Sektion
aTmp = aTmp.GetNode().EndOfSectionIndex()+1;
if( *pIdx <= aTmp )
- return; // FEHLER: Steht schon hinter der Sektion
+ return; // FEHLER: Steht schon hinter der Sektion
}
- (*pIdx) = aTmp; // steht auf einem ContentNode
+ (*pIdx) = aTmp; // steht auf einem ContentNode
}
void SwNodes::GoEndOfSection(SwNodeIndex *pIdx) const
@@ -1601,26 +1601,26 @@ SwNode* SwNodes::GoPreviousWithFrm(SwNodeIndex *pIdx) const
/*************************************************************************
|*
-|* BOOL SwNodes::CheckNodesRange()
+|* BOOL SwNodes::CheckNodesRange()
|*
-|* Beschreibung
-|* Teste ob der uebergene SRange nicht ueber die Grenzen der
-|* einzelnen Bereiche (PosIts, Autotext, Content, Icons und Inserts )
-|* hinaus reicht.
-|* Nach Wahrscheinlichkeit des Ranges sortiert.
+|* Beschreibung
+|* Teste ob der uebergene SRange nicht ueber die Grenzen der
+|* einzelnen Bereiche (PosIts, Autotext, Content, Icons und Inserts )
+|* hinaus reicht.
+|* Nach Wahrscheinlichkeit des Ranges sortiert.
|*
-|* Alg.: Da festgelegt ist, das aRange.aEnd den 1.Node hinter dem Bereich
-|* bezeichnet, wird hier auf aEnd <= End.. getestet !!
+|* Alg.: Da festgelegt ist, das aRange.aEnd den 1.Node hinter dem Bereich
+|* bezeichnet, wird hier auf aEnd <= End.. getestet !!
|*
-|* Parameter SwIndex & Start-Index vom Bereich
-|* SwIndex & End-Index vom Bereich
-|* BOOL TRUE: Start+End in gleicher Section!
-|* FALSE: Start+End in verschiedenen Sect.
-|* Return-Wert BOOL TRUE: gueltiger SRange
-|* FALSE: ungueltiger SRange
+|* Parameter SwIndex & Start-Index vom Bereich
+|* SwIndex & End-Index vom Bereich
+|* BOOL TRUE: Start+End in gleicher Section!
+|* FALSE: Start+End in verschiedenen Sect.
+|* Return-Wert BOOL TRUE: gueltiger SRange
+|* FALSE: ungueltiger SRange
|*
-|* Ersterstellung JP 23.04.91
-|* Letzte Aenderung JP 18.06.92
+|* Ersterstellung JP 23.04.91
+|* Letzte Aenderung JP 18.06.92
|*
*************************************************************************/
@@ -1644,22 +1644,22 @@ BOOL SwNodes::CheckNodesRange( const SwNodeIndex& rStt, const SwNodeIndex& rEnd
if( TstIdx( nStt, nEnd, pEndOfRedlines->StartOfSectionIndex(),
pEndOfRedlines->GetIndex() )) return TRUE;
- return FALSE; // liegt irgendwo dazwischen, FEHLER
+ return FALSE; // liegt irgendwo dazwischen, FEHLER
}
/*************************************************************************
|*
-|* void SwNodes::DelNodes()
+|* void SwNodes::DelNodes()
|*
-|* Beschreibung
-|* Loesche aus den NodesArray ab einer Position entsprechend Node's.
+|* Beschreibung
+|* Loesche aus den NodesArray ab einer Position entsprechend Node's.
|*
-|* Parameter SwIndex & Der Startpunkt im Nodes-Array
-|* USHORT die Anzahl
+|* Parameter SwIndex & Der Startpunkt im Nodes-Array
+|* USHORT die Anzahl
|*
-|* Ersterstellung JP 23.04.91
-|* Letzte Aenderung JP 23.04.91
+|* Ersterstellung JP 23.04.91
+|* Letzte Aenderung JP 23.04.91
|*
*************************************************************************/
void SwNodes::DelNodes( const SwNodeIndex & rStart, ULONG nCnt )
@@ -1698,7 +1698,7 @@ void SwNodes::DelNodes( const SwNodeIndex & rStart, ULONG nCnt )
if( pNd->IsTxtNode() &&
//NO_NUMBERING != ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel() )//#outline level,zhaojianwei
- 0 != ((SwTxtNode*)pNd)->GetAttrOutlineLevel() ) //<-end,zhaojianwei
+ 0 != ((SwTxtNode*)pNd)->GetAttrOutlineLevel() ) //<-end,zhaojianwei
{ // loesche die Gliederungs-Indizies.
USHORT nIdxPos;
if( pOutlineNds->Seek_Entry( pNd, &nIdxPos ))
@@ -1724,17 +1724,17 @@ void SwNodes::DelNodes( const SwNodeIndex & rStart, ULONG nCnt )
/*************************************************************************
|*
-|* USHORT HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange )
+|* USHORT HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange )
|*
-|* Beschreibung
-|* Berechne den hoehsten Level innerhalb des Bereiches
+|* Beschreibung
+|* Berechne den hoehsten Level innerhalb des Bereiches
|*
-|* Parameter SwNodes & das Node-Array
-|* SwNodeRange & der zu ueberpruefende Bereich
-|* Return USHORT der hoechste Level
+|* Parameter SwNodes & das Node-Array
+|* SwNodeRange & der zu ueberpruefende Bereich
+|* Return USHORT der hoechste Level
|*
-|* Ersterstellung JP 24.04.91
-|* Letzte Aenderung JP 24.04.91
+|* Ersterstellung JP 24.04.91
+|* Letzte Aenderung JP 24.04.91
|*
*************************************************************************/
@@ -1771,9 +1771,9 @@ USHORT HighestLevel( SwNodes & rNodes, const SwNodeRange & rRange )
|* SwNodes::Move()
|*
|* Beschreibung
-|* Parameter SwPaM& zu kopierender Bereich
-|* SwNodes& in dieses Nodes-Array
-|* SwPosition& auf diese Position im Nodes-Array
+|* Parameter SwPaM& zu kopierender Bereich
+|* SwNodes& in dieses Nodes-Array
+|* SwPosition& auf diese Position im Nodes-Array
|* Ersterstellung JP 09.07.92
|* Letzte Aenderung JP 09.07.92
|*
@@ -1880,7 +1880,7 @@ void SwNodes::MoveRange( SwPaM & rPam, SwPosition & rPos, SwNodes& rNodes )
bCopyCollFmt = FALSE;
}
- if( bOneNd ) // das wars schon
+ if( bOneNd ) // das wars schon
{
// der PaM wird korrigiert, denn falls ueber Nodegrenzen verschoben
// wurde, so stehen sie in unterschieden Nodes. Auch die Selektion
@@ -2028,9 +2028,9 @@ void SwNodes::MoveRange( SwPaM & rPam, SwPosition & rPos, SwNodes& rNodes )
|* SwNodes::_Copy()
|*
|* Beschreibung
-|* Parameter SwNodeRange& zu kopierender Bereich
-|* SwDoc& in dieses Dokument
-|* SwIndex& auf diese Position im Nodes-Array
+|* Parameter SwNodeRange& zu kopierender Bereich
+|* SwDoc& in dieses Dokument
+|* SwIndex& auf diese Position im Nodes-Array
|* Ersterstellung JP 11.11.92
|* Letzte Aenderung JP 11.11.92
|*
@@ -2092,8 +2092,8 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
return;
SwNodeIndex aInsPos( rIndex );
- SwNodeIndex aOrigInsPos( rIndex, -1 ); // Originale Insert Pos
- USHORT nLevel = 0; // Level-Counter
+ SwNodeIndex aOrigInsPos( rIndex, -1 ); // Originale Insert Pos
+ USHORT nLevel = 0; // Level-Counter
for( ULONG nNodeCnt = aRg.aEnd.GetIndex() - aRg.aStart.GetIndex();
nNodeCnt > 0; --nNodeCnt )
@@ -2157,7 +2157,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
}
break;
- case ND_SECTIONNODE: // SectionNode
+ case ND_SECTIONNODE: // SectionNode
// If the end of the section is outside the copy range,
// the section node will skipped, not copied!
// If someone want to change this behaviour, he has to adjust the function
@@ -2178,7 +2178,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
}
break;
- case ND_STARTNODE: // StartNode gefunden
+ case ND_STARTNODE: // StartNode gefunden
{
SwStartNode* pTmp = new SwStartNode( aInsPos, ND_STARTNODE,
((SwStartNode*)pAktNode)->GetStartNodeType() );
@@ -2189,10 +2189,10 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
break;
case ND_ENDNODE:
- if( nLevel ) // vollstaendige Section
+ if( nLevel ) // vollstaendige Section
{
--nLevel;
- aInsPos++; // EndNode schon vorhanden
+ aInsPos++; // EndNode schon vorhanden
}
else if( !pAktNode->pStartOfSection->IsSectionNode() )
{
@@ -2209,7 +2209,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
{
SwCntntNode* pNew = ((SwCntntNode*)pAktNode)->MakeCopy(
pDoc, aInsPos );
- if( !bNewFrms ) // dflt. werden die Frames immer angelegt
+ if( !bNewFrms ) // dflt. werden die Frames immer angelegt
pNew->DelFrms();
}
break;
@@ -2223,7 +2223,7 @@ void SwNodes::_CopyNodes( const SwNodeRange& rRange,
SwNode* pTmpNd = pDoc->GetNodes()[ aInsPos ];
if( pTmpNd->IsSectionNode() ||
pTmpNd->StartOfSectionNode()->IsSectionNode() )
- aInsPos++; // ueberspringen
+ aInsPos++; // ueberspringen
}
else {
OSL_ENSURE( FALSE, "wie kommt diser Node ins Nodes-Array??" );
@@ -2591,10 +2591,10 @@ void SwNodes::RemoveNode( ULONG nDelPos, ULONG nSz, BOOL bDel )
// temp. Object setzen
//JP 24.08.98: muessten eigentlich einzeln removed werden, weil
- // das Remove auch rekursiv gerufen werden kann, z.B. bei
- // zeichengebundenen Rahmen. Da aber dabei viel zu viel
- // ablaueft, wird hier ein temp. Objekt eingefuegt, das
- // dann mit dem Remove wieder entfernt wird.
+ // das Remove auch rekursiv gerufen werden kann, z.B. bei
+ // zeichengebundenen Rahmen. Da aber dabei viel zu viel
+ // ablaueft, wird hier ein temp. Objekt eingefuegt, das
+ // dann mit dem Remove wieder entfernt wird.
// siehe Bug 55406
_TempBigPtrEntry aTempEntry;
BigPtrEntry* pTempEntry = &aTempEntry;
@@ -2616,7 +2616,7 @@ void SwNodes::RemoveNode( ULONG nDelPos, ULONG nSz, BOOL bDel )
void SwNodes::RegisterIndex( SwNodeIndex& rIdx )
{
- if( !pRoot ) // noch keine Root gesetzt?
+ if( !pRoot ) // noch keine Root gesetzt?
{
pRoot = &rIdx;
pRoot->pPrev = 0;
diff --git a/sw/source/core/docnode/observablethread.cxx b/sw/source/core/docnode/observablethread.cxx
index f8cd4afd146e..411cfd44d978 100644
--- a/sw/source/core/docnode/observablethread.cxx
+++ b/sw/source/core/docnode/observablethread.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/pausethreadstarting.cxx b/sw/source/core/docnode/pausethreadstarting.cxx
index 5dfd94e898c8..2b3b5bb58356 100644
--- a/sw/source/core/docnode/pausethreadstarting.cxx
+++ b/sw/source/core/docnode/pausethreadstarting.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/retrievedinputstreamdata.cxx b/sw/source/core/docnode/retrievedinputstreamdata.cxx
index 03a1c4a7c396..52a19ae715f3 100644
--- a/sw/source/core/docnode/retrievedinputstreamdata.cxx
+++ b/sw/source/core/docnode/retrievedinputstreamdata.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/retrieveinputstream.cxx b/sw/source/core/docnode/retrieveinputstream.cxx
index eff719bd195d..cddae56040cb 100644
--- a/sw/source/core/docnode/retrieveinputstream.cxx
+++ b/sw/source/core/docnode/retrieveinputstream.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
index ac7aa90b18d3..f55809fbb56d 100644
--- a/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
+++ b/sw/source/core/docnode/retrieveinputstreamconsumer.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 45f91e7478e9..2474b0f09465 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -255,7 +255,7 @@ SwSection::~SwSection()
}
else
{
- pFmt->Remove( this ); // austragen,
+ pFmt->Remove( this ); // austragen,
if (CONTENT_SECTION != m_Data.GetType())
{
@@ -274,10 +274,10 @@ SwSection::~SwSection()
if( !pFmt->GetDepends() )
{
// Bug: 28191 - nicht ins Undo aufnehmen, sollte schon vorher
- // geschehen sein!!
+ // geschehen sein!!
BOOL bUndo = pDoc->DoesUndo();
pDoc->DoUndo( FALSE );
- pDoc->DelSectionFmt( pFmt ); // und loeschen
+ pDoc->DelSectionFmt( pFmt ); // und loeschen
pDoc->DoUndo( bUndo );
}
}
@@ -492,7 +492,7 @@ void SwSection::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
if( !bNewFlag )
{
// Abschalten: teste ob nicht vielleich ueber die Parents
- // doch ein Schutzt besteht!
+ // doch ein Schutzt besteht!
const SwSection* pSect = this;
do {
if( pSect->IsProtect() )
@@ -904,12 +904,12 @@ void SwSectionFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
{
SwClientIter aIter( *this );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
pLast->Modify( pOld, pNew );
} while( 0 != ( pLast = aIter++ ));
}
- return; // das wars
+ return; // das wars
case RES_OBJECTDYING:
if( !GetDoc()->IsInDtor() &&
@@ -917,7 +917,7 @@ void SwSectionFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
{
// mein Parent wird vernichtet, dann an den Parent vom Parent
// umhaengen und wieder aktualisieren
- SwFrmFmt::Modify( pOld, pNew ); // erst umhaengen !!!
+ SwFrmFmt::Modify( pOld, pNew ); // erst umhaengen !!!
UpdateParent();
return;
}
@@ -929,7 +929,7 @@ void SwSectionFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
((SwFmtChg*)pNew)->pChangedFmt->IsA( TYPE( SwSectionFmt )) )
{
// mein Parent wird veraendert, muss mich aktualisieren
- SwFrmFmt::Modify( pOld, pNew ); // erst umhaengen !!!
+ SwFrmFmt::Modify( pOld, pNew ); // erst umhaengen !!!
UpdateParent();
return;
}
@@ -1074,7 +1074,7 @@ BOOL SwSectionFmt::IsInNodesArr() const
}
-void SwSectionFmt::UpdateParent() // Parent wurde veraendert
+void SwSectionFmt::UpdateParent() // Parent wurde veraendert
{
if( !GetDepends() )
return;
@@ -1088,7 +1088,7 @@ void SwSectionFmt::UpdateParent() // Parent wurde veraendert
SwClientIter aIter( *this );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
if( pLast->IsA( TYPE(SwSectionFmt) ) )
{
@@ -1278,7 +1278,7 @@ void lcl_UpdateLinksInSect( SwBaseLink& rUpdLnk, SwSectionNode& rSectNd )
SwBaseLink* pBLink;
String sMimeType( SotExchange::GetFormatMimeType( FORMAT_FILE ));
uno::Any aValue;
- aValue <<= ::rtl::OUString( sName ); // beliebiger Name
+ aValue <<= ::rtl::OUString( sName ); // beliebiger Name
const ::sfx2::SvBaseLinks& rLnks = pDoc->GetLinkManager().GetLinks();
for( USHORT n = rLnks.Count(); n; )
@@ -1318,9 +1318,9 @@ void lcl_UpdateLinksInSect( SwBaseLink& rUpdLnk, SwSectionNode& rSectNd )
// sucht sich die richtige DocShell raus oder erzeugt eine neue:
// Der Return-Wert gibt an, was mit der Shell zu geschehen hat:
-// 0 - Fehler, konnte DocShell nicht finden
-// 1 - DocShell ist ein existieren Document
-// 2 - DocShell wurde neu angelegt, muss also wieder geschlossen werden
+// 0 - Fehler, konnte DocShell nicht finden
+// 1 - DocShell ist ein existieren Document
+// 2 - DocShell wurde neu angelegt, muss also wieder geschlossen werden
int lcl_FindDocShell( SfxObjectShellRef& xDocSh,
const String& rFileName,
@@ -1379,7 +1379,7 @@ int lcl_FindDocShell( SfxObjectShellRef& xDocSh,
SfxMedium* pMed = new SfxMedium( aTmpObj.GetMainURL(
INetURLObject::NO_DECODE ), STREAM_READ, TRUE );
if( INET_PROT_FILE == aTmpObj.GetProtocol() )
- pMed->DownLoad(); // nur mal das Medium anfassen (DownLoaden)
+ pMed->DownLoad(); // nur mal das Medium anfassen (DownLoaden)
const SfxFilter* pSfxFlt = 0;
if( !pMed->GetError() )
@@ -1414,10 +1414,10 @@ int lcl_FindDocShell( SfxObjectShellRef& xDocSh,
}
}
- if( !xDocSh.Is() ) // Medium muss noch geloescht werden
+ if( !xDocSh.Is() ) // Medium muss noch geloescht werden
delete pMed;
- return 0; // das war wohl nichts
+ return 0; // das war wohl nichts
}
@@ -1613,7 +1613,7 @@ void SwIntrnlSectRefLink::DataChanged( const String& rMimeType,
{
aSave = rInsPos;
pPam->Move( fnMoveBackward, fnGoNode );
- pPam->SetMark(); // beide SwPositions ummelden!
+ pPam->SetMark(); // beide SwPositions ummelden!
pDoc->CorrAbs( aSave, *pPam->GetPoint(), 0, TRUE );
pDoc->GetNodes().Delete( aSave, 1 );
@@ -1677,7 +1677,7 @@ void SwIntrnlSectRefLink::DataChanged( const String& rMimeType,
if( pESh )
{
pESh->Pop( FALSE );
- pPam = 0; // pam is deleted before
+ pPam = 0; // pam is deleted before
}
}
@@ -1695,7 +1695,7 @@ void SwIntrnlSectRefLink::DataChanged( const String& rMimeType,
pESh->EndAllAction();
else if( pVSh )
pVSh->EndAction();
- delete pPam; // wurde am Anfang angelegt
+ delete pPam; // wurde am Anfang angelegt
}
@@ -1802,11 +1802,11 @@ void SwSection::CreateLink( LinkCreateType eCreateType )
switch( eCreateType )
{
- case CREATE_CONNECT: // Link gleich connecten
+ case CREATE_CONNECT: // Link gleich connecten
pLnk->Connect();
break;
- case CREATE_UPDATE: // Link connecten und updaten
+ case CREATE_UPDATE: // Link connecten und updaten
pLnk->Update();
break;
case CREATE_NONE: break;
diff --git a/sw/source/core/docnode/swbaslnk.cxx b/sw/source/core/docnode/swbaslnk.cxx
index 6aaef5e5e962..32dabad9bb3d 100644
--- a/sw/source/core/docnode/swbaslnk.cxx
+++ b/sw/source/core/docnode/swbaslnk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <sfx2/linkmgr.hxx>
#include <sfx2/objsh.hxx>
#include <editeng/boxitem.hxx>
-#include <svx/svxids.hrc> // fuer die EventIds
+#include <svx/svxids.hrc> // fuer die EventIds
#include <sfx2/linkmgr.hxx>
#include <svtools/soerr.hxx>
#include <fmtfsize.hxx>
@@ -74,16 +74,16 @@ SV_IMPL_REF( SwServerObject )
void lcl_CallModify( SwGrfNode& rGrfNd, SfxPoolItem& rItem )
{
//JP 4.7.2001: call fist all not SwNoTxtFrames, then the SwNoTxtFrames.
- // The reason is, that in the SwNoTxtFrames the Graphic
- // after a Paint will be swapped out! So all other "behind"
- // them havent't a loaded Graphic. - #86501#
+ // The reason is, that in the SwNoTxtFrames the Graphic
+ // after a Paint will be swapped out! So all other "behind"
+ // them havent't a loaded Graphic. - #86501#
rGrfNd.LockModify();
SwClientIter aIter( rGrfNd );
for( int n = 0; n < 2; ++n )
{
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
{
do {
if( (0 == n) ^ ( 0 != pLast->ISA( SwCntntFrm )) )
@@ -123,9 +123,9 @@ void SwBaseLink::DataChanged( const String& rMimeType,
USHORT nEvent = 0;
switch( sState.toInt32() )
{
- case sfx2::LinkManager::STATE_LOAD_OK: nEvent = SVX_EVENT_IMAGE_LOAD; break;
- case sfx2::LinkManager::STATE_LOAD_ERROR: nEvent = SVX_EVENT_IMAGE_ERROR; break;
- case sfx2::LinkManager::STATE_LOAD_ABORT: nEvent = SVX_EVENT_IMAGE_ABORT; break;
+ case sfx2::LinkManager::STATE_LOAD_OK: nEvent = SVX_EVENT_IMAGE_LOAD; break;
+ case sfx2::LinkManager::STATE_LOAD_ERROR: nEvent = SVX_EVENT_IMAGE_ERROR; break;
+ case sfx2::LinkManager::STATE_LOAD_ABORT: nEvent = SVX_EVENT_IMAGE_ABORT; break;
}
SwFrmFmt* pFmt;
@@ -136,7 +136,7 @@ void SwBaseLink::DataChanged( const String& rMimeType,
pDoc->CallEvent( nEvent, aCallEvent );
}
}
- return; // das wars!
+ return; // das wars!
}
BOOL bUpdate = FALSE;
@@ -190,12 +190,12 @@ void SwBaseLink::DataChanged( const String& rMimeType,
bUpdate = TRUE;
// Bug 33999: damit der Node den Transparent-Status
- // richtig gesetzt hat, ohne auf die Grafik
- // zugreifen zu muessen (sonst erfolgt ein SwapIn!).
+ // richtig gesetzt hat, ohne auf die Grafik
+ // zugreifen zu muessen (sonst erfolgt ein SwapIn!).
if( bGraphicArrived )
{
// Bug #34735#: immer mit der korrekten Grafik-Size
- // arbeiten
+ // arbeiten
if( aGrfSz.Height() && aGrfSz.Width() &&
aSz.Height() && aSz.Width() &&
aGrfSz != aSz )
@@ -330,7 +330,7 @@ BOOL SetGrfFlySize( const Size& rGrfSz, const Size& rFrmSz, SwGrfNode* pGrfNd )
//Hoehe und Breite uebernehmen
aCalcSz = rFrmSz;
- const SvxBoxItem &rBox = pFmt->GetBox();
+ const SvxBoxItem &rBox = pFmt->GetBox();
aCalcSz.Width() += rBox.CalcLineSpace(BOX_LINE_LEFT) +
rBox.CalcLineSpace(BOX_LINE_RIGHT);
aCalcSz.Height()+= rBox.CalcLineSpace(BOX_LINE_TOP) +
@@ -359,12 +359,12 @@ BOOL SetGrfFlySize( const Size& rGrfSz, const Size& rFrmSz, SwGrfNode* pGrfNd )
const BOOL bLastGrf = !pTblNd->GetTable().DecGrfsThatResize();
SwHTMLTableLayout *pLayout =
pTblNd->GetTable().GetHTMLTableLayout();
- if( pLayout )
+ if( pLayout )
{
const USHORT nBrowseWidth =
pLayout->GetBrowseWidthByTable( *pDoc );
if ( nBrowseWidth )
- {
+ {
pLayout->Resize( nBrowseWidth, TRUE, TRUE,
bLastGrf ? HTMLTABLE_RESIZE_NOW
: 500 );
@@ -429,8 +429,8 @@ BOOL SwBaseLink::SwapIn( BOOL bWaitForData, BOOL bNativFormat )
String aMimeType( SotExchange::GetFormatMimeType( GetContentType() ));
//!! ??? what have we here to do ????
-//!! if( bNativFormat )
-//!! aData.SetAspect( aData.GetAspect() | ASPECT_ICON );
+//!! if( bNativFormat )
+//!! aData.SetAspect( aData.GetAspect() | ASPECT_ICON );
uno::Any aValue;
GetObj()->GetData( aValue, aMimeType, !IsSynchron() && bWaitForData );
@@ -443,8 +443,8 @@ BOOL SwBaseLink::SwapIn( BOOL bWaitForData, BOOL bNativFormat )
else if( 0 != ( bRes = aValue.hasValue() ) )
{
//JP 14.04.99: Bug 64820 - das Flag muss beim SwapIn natuerlich
- // zurueckgesetzt werden. Die Daten sollen ja neu
- // uebernommen werden
+ // zurueckgesetzt werden. Die Daten sollen ja neu
+ // uebernommen werden
bIgnoreDataChanged = FALSE;
DataChanged( aMimeType, aValue );
}
diff --git a/sw/source/core/docnode/swthreadjoiner.cxx b/sw/source/core/docnode/swthreadjoiner.cxx
index 70997287e0ae..15df3505477d 100644
--- a/sw/source/core/docnode/swthreadjoiner.cxx
+++ b/sw/source/core/docnode/swthreadjoiner.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/swthreadmanager.cxx b/sw/source/core/docnode/swthreadmanager.cxx
index 5ec9aa6806ff..89e86c5aafee 100644
--- a/sw/source/core/docnode/swthreadmanager.cxx
+++ b/sw/source/core/docnode/swthreadmanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/threadlistener.cxx b/sw/source/core/docnode/threadlistener.cxx
index 3b5ce65244e2..749c0ce53809 100644
--- a/sw/source/core/docnode/threadlistener.cxx
+++ b/sw/source/core/docnode/threadlistener.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/docnode/threadmanager.cxx b/sw/source/core/docnode/threadmanager.cxx
index a1f829963a40..c42f476b4b3e 100644
--- a/sw/source/core/docnode/threadmanager.cxx
+++ b/sw/source/core/docnode/threadmanager.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/draw/dcontact.cxx b/sw/source/core/draw/dcontact.cxx
index 672692550732..4c150d0e095f 100644
--- a/sw/source/core/draw/dcontact.cxx
+++ b/sw/source/core/draw/dcontact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <fmtcntnt.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
-#include <frmtool.hxx> // Notify_Background
+#include <frmtool.hxx> // Notify_Background
#include <flyfrm.hxx>
#include <frmfmt.hxx>
#include <dflyobj.hxx>
@@ -193,10 +193,10 @@ BOOL IsMarqueeTextObj( const SdrObject& rObj )
/*************************************************************************
|*
-|* SwContact, Ctor und Dtor
+|* SwContact, Ctor und Dtor
|*
-|* Ersterstellung AMA 27.Sep.96 18:13
-|* Letzte Aenderung AMA 27.Sep.96
+|* Ersterstellung AMA 27.Sep.96 18:13
+|* Letzte Aenderung AMA 27.Sep.96
|*
|*************************************************************************/
@@ -460,10 +460,10 @@ sal_uInt32 SwContact::GetMaxOrdNum() const
/*************************************************************************
|*
-|* SwFlyDrawContact, Ctor und Dtor
+|* SwFlyDrawContact, Ctor und Dtor
|*
-|* Ersterstellung OK 23.11.94 18:13
-|* Letzte Aenderung MA 06. Apr. 95
+|* Ersterstellung OK 23.11.94 18:13
+|* Letzte Aenderung MA 06. Apr. 95
|*
|*************************************************************************/
@@ -546,10 +546,10 @@ void SwFlyDrawContact::SetMaster( SdrObject* _pNewMaster )
/*************************************************************************
|*
-|* SwFlyDrawContact::CreateNewRef()
+|* SwFlyDrawContact::CreateNewRef()
|*
-|* Ersterstellung MA 14. Dec. 94
-|* Letzte Aenderung MA 24. Apr. 95
+|* Ersterstellung MA 14. Dec. 94
+|* Letzte Aenderung MA 24. Apr. 95
|*
|*************************************************************************/
@@ -628,10 +628,10 @@ sal_uInt32 SwFlyDrawContact::_GetOrdNumForNewRef( const SwFlyFrm* _pFlyFrm )
/*************************************************************************
|*
-|* SwFlyDrawContact::Modify()
+|* SwFlyDrawContact::Modify()
|*
-|* Ersterstellung OK 08.11.94 10:21
-|* Letzte Aenderung MA 06. Dec. 94
+|* Ersterstellung OK 08.11.94 10:21
+|* Letzte Aenderung MA 06. Dec. 94
|*
|*************************************************************************/
@@ -732,10 +732,10 @@ void SwFlyDrawContact::GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAncho
/*************************************************************************
|*
-|* SwDrawContact, Ctor+Dtor
+|* SwDrawContact, Ctor+Dtor
|*
-|* Ersterstellung MA 09. Jan. 95
-|* Letzte Aenderung MA 22. Jul. 98
+|* Ersterstellung MA 09. Jan. 95
+|* Letzte Aenderung MA 22. Jul. 98
|*
|*************************************************************************/
bool CheckControlLayer( const SdrObject *pObj )
@@ -1117,10 +1117,10 @@ SdrObject* SwDrawContact::GetDrawObjectByAnchorFrm( const SwFrm& _rAnchorFrm )
/*************************************************************************
|*
-|* SwDrawContact::Changed
+|* SwDrawContact::Changed
|*
-|* Ersterstellung MA 09. Jan. 95
-|* Letzte Aenderung MA 29. May. 96
+|* Ersterstellung MA 09. Jan. 95
+|* Letzte Aenderung MA 29. May. 96
|*
|*************************************************************************/
@@ -1419,7 +1419,7 @@ void SwDrawContact::_Changed( const SdrObject& rObj,
maAnchoredDrawObj.DrawObj()->SetLayer(aInvisibleControlLayerID);
}
else
- {
+ {
maAnchoredDrawObj.DrawObj()->SetLayer(aControlLayerID);
}
}
@@ -1615,10 +1615,10 @@ namespace
/*************************************************************************
|*
-|* SwDrawContact::Modify()
+|* SwDrawContact::Modify()
|*
-|* Ersterstellung MA 09. Jan. 95
-|* Letzte Aenderung MA 03. Dec. 95
+|* Ersterstellung MA 09. Jan. 95
+|* Letzte Aenderung MA 03. Dec. 95
|*
|*************************************************************************/
@@ -1783,10 +1783,10 @@ void SwDrawContact::_InvalidateObjs( const bool _bUpdateSortedObjsList )
/*************************************************************************
|*
-|* SwDrawContact::DisconnectFromLayout()
+|* SwDrawContact::DisconnectFromLayout()
|*
-|* Ersterstellung MA 09. Jan. 95
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 09. Jan. 95
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
@@ -1908,10 +1908,10 @@ void SwDrawContact::DisconnectObjFromLayout( SdrObject* _pDrawObj )
/*************************************************************************
|*
-|* SwDrawContact::ConnectToLayout()
+|* SwDrawContact::ConnectToLayout()
|*
-|* Ersterstellung MA 09. Jan. 95
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 09. Jan. 95
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
SwTxtFrm* lcl_GetFlyInCntntAnchor( SwTxtFrm* _pProposedAnchorFrm,
@@ -2130,10 +2130,10 @@ void SwDrawContact::InsertMasterIntoDrawPage()
/*************************************************************************
|*
-|* SwDrawContact::FindPage(), ChkPage()
+|* SwDrawContact::FindPage(), ChkPage()
|*
-|* Ersterstellung MA 21. Mar. 95
-|* Letzte Aenderung MA 19. Jul. 96
+|* Ersterstellung MA 21. Mar. 95
+|* Letzte Aenderung MA 19. Jul. 96
|*
|*************************************************************************/
@@ -2186,10 +2186,10 @@ void SwDrawContact::ChkPage()
/*************************************************************************
|*
-|* SwDrawContact::ChangeMasterObject()
+|* SwDrawContact::ChangeMasterObject()
|*
-|* Ersterstellung MA 07. Aug. 95
-|* Letzte Aenderung MA 20. Apr. 99
+|* Ersterstellung MA 07. Aug. 95
+|* Letzte Aenderung MA 20. Apr. 99
|*
|*************************************************************************/
// OD 10.07.2003 #110742# - Important note:
@@ -2229,9 +2229,9 @@ void SwDrawContact::GetAnchoredObjs( std::vector<SwAnchoredObject*>& _roAnchored
}
//////////////////////////////////////////////////////////////////////////////////////
-// AW: own sdr::contact::ViewContact (VC) sdr::contact::ViewObjectContact (VOC) needed
-// since offset is defined different from SdrVirtObj's sdr::contact::ViewContactOfVirtObj.
-// For paint, that offset is used by setting at the OutputDevice; for primitives this is
+// AW: own sdr::contact::ViewContact (VC) sdr::contact::ViewObjectContact (VOC) needed
+// since offset is defined different from SdrVirtObj's sdr::contact::ViewContactOfVirtObj.
+// For paint, that offset is used by setting at the OutputDevice; for primitives this is
// not possible since we have no OutputDevice, but define the geometry itself.
namespace sdr
@@ -2272,7 +2272,7 @@ namespace sdr
{
}
virtual ~VCOfDrawVirtObj();
-
+
// access to SwDrawVirtObj
SwDrawVirtObj& GetSwDrawVirtObj() const
{
@@ -2395,7 +2395,7 @@ namespace sdr
const drawinglayer::primitive2d::Primitive2DReference xReference(new drawinglayer::primitive2d::TransformPrimitive2D(aOffsetMatrix, xRetval));
xRetval = drawinglayer::primitive2d::Primitive2DSequence(&xReference, 1);
}
-
+
return xRetval;
}
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index c76baa5e5b86..c0a420e70837 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -81,10 +81,10 @@ TYPEINIT1( SwVirtFlyDrawObj, SdrVirtObj )
/*************************************************************************
|*
-|* SwFlyDrawObj::Ctor
+|* SwFlyDrawObj::Ctor
|*
-|* Ersterstellung MA 18. Apr. 95
-|* Letzte Aenderung MA 28. May. 96
+|* Ersterstellung MA 18. Apr. 95
+|* Letzte Aenderung MA 28. May. 96
|*
*************************************************************************/
@@ -152,10 +152,10 @@ SwFlyDrawObj::~SwFlyDrawObj()
/*************************************************************************
|*
-|* SwFlyDrawObj::Factory-Methoden
+|* SwFlyDrawObj::Factory-Methoden
|*
-|* Ersterstellung MA 23. Feb. 95
-|* Letzte Aenderung MA 23. Feb. 95
+|* Ersterstellung MA 23. Feb. 95
+|* Letzte Aenderung MA 23. Feb. 95
|*
*************************************************************************/
@@ -165,7 +165,7 @@ UINT32 __EXPORT SwFlyDrawObj::GetObjInventor() const
}
-UINT16 __EXPORT SwFlyDrawObj::GetObjIdentifier() const
+UINT16 __EXPORT SwFlyDrawObj::GetObjIdentifier() const
{
return SwFlyDrawObjIdentifier;
}
@@ -178,10 +178,10 @@ UINT16 __EXPORT SwFlyDrawObj::GetObjVersion() const
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::CToren, Dtor
+|* SwVirtFlyDrawObj::CToren, Dtor
|*
-|* Ersterstellung MA 08. Dec. 94
-|* Letzte Aenderung MA 28. May. 96
+|* Ersterstellung MA 08. Dec. 94
+|* Letzte Aenderung MA 28. May. 96
|*
*************************************************************************/
@@ -196,7 +196,7 @@ namespace drawinglayer
{
private:
const SwVirtFlyDrawObj& mrSwVirtFlyDrawObj;
- const basegfx::B2DRange maOuterRange;
+ const basegfx::B2DRange maOuterRange;
protected:
// method which is to be used to implement the local decomposition of a 2D primitive
@@ -242,14 +242,14 @@ namespace drawinglayer
if(!getOuterRange().isEmpty())
{
// currently this SW object has no primitive representation. As long as this is the case,
- // create invisible geometry to allow corfect HitTest and BoundRect calculations for the
+ // create invisible geometry to allow corfect HitTest and BoundRect calculations for the
// object. Use a filled primitive to get 'inside' as default object hit. The special cases from
// the old SwVirtFlyDrawObj::CheckHit implementation are handled now in SwDrawView::PickObj;
// this removed the 'hack' to get a view from inside model data or to react on null-tolerance
// as it was done in the old implementation
const Primitive2DReference aHitTestReference(
createHiddenGeometryPrimitives2D(
- true,
+ true,
getOuterRange()));
aRetval = Primitive2DSequence(&aHitTestReference, 1);
@@ -439,16 +439,16 @@ SwVirtFlyDrawObj::SwVirtFlyDrawObj(SdrObject& rNew, SwFlyFrm* pFly) :
__EXPORT SwVirtFlyDrawObj::~SwVirtFlyDrawObj()
{
- if ( GetPage() ) //Der SdrPage die Verantwortung entziehen.
+ if ( GetPage() ) //Der SdrPage die Verantwortung entziehen.
GetPage()->RemoveObject( GetOrdNum() );
}
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::GetFmt()
+|* SwVirtFlyDrawObj::GetFmt()
|*
-|* Ersterstellung MA 08. Dec. 94
-|* Letzte Aenderung MA 08. Dec. 94
+|* Ersterstellung MA 08. Dec. 94
+|* Letzte Aenderung MA 08. Dec. 94
|*
*************************************************************************/
@@ -465,10 +465,10 @@ SwFrmFmt *SwVirtFlyDrawObj::GetFmt()
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::Paint()
+|* SwVirtFlyDrawObj::Paint()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 18. Dec. 95
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 18. Dec. 95
|*
*************************************************************************/
@@ -513,32 +513,32 @@ void SwVirtFlyDrawObj::wrap_DoPaintObject() const
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::TakeObjInfo()
+|* SwVirtFlyDrawObj::TakeObjInfo()
|*
-|* Ersterstellung MA 03. May. 95
-|* Letzte Aenderung MA 03. May. 95
+|* Ersterstellung MA 03. May. 95
+|* Letzte Aenderung MA 03. May. 95
|*
*************************************************************************/
void __EXPORT SwVirtFlyDrawObj::TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const
{
- rInfo.bSelectAllowed = rInfo.bMoveAllowed =
+ rInfo.bSelectAllowed = rInfo.bMoveAllowed =
rInfo.bResizeFreeAllowed = rInfo.bResizePropAllowed = TRUE;
rInfo.bRotateFreeAllowed = rInfo.bRotate90Allowed =
rInfo.bMirrorFreeAllowed = rInfo.bMirror45Allowed =
- rInfo.bMirror90Allowed = rInfo.bShearAllowed =
- rInfo.bCanConvToPath = rInfo.bCanConvToPoly =
+ rInfo.bMirror90Allowed = rInfo.bShearAllowed =
+ rInfo.bCanConvToPath = rInfo.bCanConvToPoly =
rInfo.bCanConvToPathLineToArea = rInfo.bCanConvToPolyLineToArea = FALSE;
}
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::Groessenermittlung
+|* SwVirtFlyDrawObj::Groessenermittlung
|*
-|* Ersterstellung MA 12. Jan. 95
-|* Letzte Aenderung MA 10. Nov. 95
+|* Ersterstellung MA 12. Jan. 95
+|* Letzte Aenderung MA 10. Nov. 95
|*
*************************************************************************/
@@ -636,10 +636,10 @@ void __EXPORT SwVirtFlyDrawObj::NbcSetLogicRect(const Rectangle& )
/*************************************************************************
|*
-|* SwVirtFlyDrawObj::Move() und Resize()
+|* SwVirtFlyDrawObj::Move() und Resize()
|*
-|* Ersterstellung MA 12. Jan. 95
-|* Letzte Aenderung MA 26. Jul. 96
+|* Ersterstellung MA 12. Jan. 95
+|* Letzte Aenderung MA 26. Jul. 96
|*
*************************************************************************/
diff --git a/sw/source/core/draw/dobjfac.cxx b/sw/source/core/draw/dobjfac.cxx
index f769ed84cc63..34311748e381 100644
--- a/sw/source/core/draw/dobjfac.cxx
+++ b/sw/source/core/draw/dobjfac.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/draw/dpage.cxx b/sw/source/core/draw/dpage.cxx
index a64046be6b8b..117efd5352ee 100644
--- a/sw/source/core/draw/dpage.cxx
+++ b/sw/source/core/draw/dpage.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwDPage::~SwDPage()
/*************************************************************************
|*
-|* SwDPage::ReplaceObject()
+|* SwDPage::ReplaceObject()
|*
-|* Ersterstellung MA 07. Aug. 95
-|* Letzte Aenderung MA 07. Aug. 95
+|* Ersterstellung MA 07. Aug. 95
+|* Letzte Aenderung MA 07. Aug. 95
|*
*************************************************************************/
@@ -95,10 +95,10 @@ SdrObject* SwDPage::ReplaceObject( SdrObject* pNewObj, ULONG nObjNum )
/*************************************************************************
|*
-|* SwDPage::GetGridFrameList()
+|* SwDPage::GetGridFrameList()
|*
-|* Ersterstellung MA 04. Sep. 95
-|* Letzte Aenderung MA 15. Feb. 96
+|* Ersterstellung MA 04. Sep. 95
+|* Letzte Aenderung MA 15. Feb. 96
|*
*************************************************************************/
@@ -133,7 +133,7 @@ const SdrPageGridFrameList* SwDPage::GetGridFrameList(
const SwRect aRect( *pRect );
const SwFrm *pPg = pSh->GetLayout()->Lower();
do
- { if ( pPg->Frm().IsOver( aRect ) )
+ { if ( pPg->Frm().IsOver( aRect ) )
::InsertGridFrame( ((SwDPage*)this)->pGridLst, pPg );
pPg = pPg->GetNext();
} while ( pPg );
@@ -144,7 +144,7 @@ const SdrPageGridFrameList* SwDPage::GetGridFrameList(
const SwFrm *pPg = pSh->Imp()->GetFirstVisPage();
if ( pPg )
do
- { ::InsertGridFrame( ((SwDPage*)this)->pGridLst, pPg );
+ { ::InsertGridFrame( ((SwDPage*)this)->pGridLst, pPg );
pPg = pPg->GetNext();
} while ( pPg && pPg->Frm().IsOver( pSh->VisArea() ) );
}
diff --git a/sw/source/core/draw/drawdoc.cxx b/sw/source/core/draw/drawdoc.cxx
index 08a6e7890742..126ab2c7ec2b 100644
--- a/sw/source/core/draw/drawdoc.cxx
+++ b/sw/source/core/draw/drawdoc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/draw/dview.cxx b/sw/source/core/draw/dview.cxx
index d4c9e3f34a64..4207552ccaf8 100644
--- a/sw/source/core/draw/dview.cxx
+++ b/sw/source/core/draw/dview.cxx
@@ -103,10 +103,10 @@ const SwFrm *lcl_FindAnchor( const SdrObject *pObj, BOOL bAll )
/*************************************************************************
|*
-|* SwDrawView::Ctor
+|* SwDrawView::Ctor
|*
-|* Ersterstellung OK 18.11.94
-|* Letzte Aenderung MA 22. Jul. 96
+|* Ersterstellung OK 18.11.94
+|* Letzte Aenderung MA 22. Jul. 96
|*
*************************************************************************/
@@ -224,12 +224,12 @@ SdrObject* SwDrawView::CheckSingleSdrObjectHit(const Point& rPnt, USHORT nTol, S
/*************************************************************************
|*
-|* SwDrawView::AddCustomHdl()
+|* SwDrawView::AddCustomHdl()
|*
|* Gets called every time the handles need to be build
|*
-|* Ersterstellung AW 06. Sep. 99
-|* Letzte Aenderung AW 06. Sep. 99
+|* Ersterstellung AW 06. Sep. 99
+|* Letzte Aenderung AW 06. Sep. 99
|*
*************************************************************************/
@@ -280,10 +280,10 @@ void SwDrawView::AddCustomHdl()
/*************************************************************************
|*
-|* SwDrawView::GetMaxToTopObj(), _GetMaxToTopObj()
+|* SwDrawView::GetMaxToTopObj(), _GetMaxToTopObj()
|*
-|* Ersterstellung MA 13. Jan. 95
-|* Letzte Aenderung MA 18. Mar. 97
+|* Ersterstellung MA 13. Jan. 95
+|* Letzte Aenderung MA 18. Mar. 97
|*
*************************************************************************/
@@ -336,10 +336,10 @@ SdrObject* SwDrawView::GetMaxToTopObj( SdrObject* pObj ) const
/*************************************************************************
|*
-|* SwDrawView::GetMaxToBtmObj()
+|* SwDrawView::GetMaxToBtmObj()
|*
-|* Ersterstellung MA 13. Jan. 95
-|* Letzte Aenderung MA 05. Sep. 96
+|* Ersterstellung MA 13. Jan. 95
+|* Letzte Aenderung MA 05. Sep. 96
|*
*************************************************************************/
@@ -365,10 +365,10 @@ SdrObject* SwDrawView::GetMaxToBtmObj(SdrObject* pObj) const
/*************************************************************************
|*
-|* SwDrawView::ObjOrderChanged()
+|* SwDrawView::ObjOrderChanged()
|*
-|* Ersterstellung MA 31. Jul. 95
-|* Letzte Aenderung MA 18. Mar. 97
+|* Ersterstellung MA 31. Jul. 95
+|* Letzte Aenderung MA 18. Mar. 97
|*
*************************************************************************/
@@ -752,10 +752,10 @@ void SwDrawView::ObjOrderChanged( SdrObject* pObj, ULONG nOldPos,
/*************************************************************************
|*
-|* SwDrawView::TakeDragLimit()
+|* SwDrawView::TakeDragLimit()
|*
-|* Ersterstellung AMA 26. Apr. 96
-|* Letzte Aenderung MA 03. May. 96
+|* Ersterstellung AMA 26. Apr. 96
+|* Letzte Aenderung MA 03. May. 96
|*
*************************************************************************/
@@ -780,10 +780,10 @@ BOOL SwDrawView::TakeDragLimit( SdrDragMode eMode,
/*************************************************************************
|*
-|* SwDrawView::CalcAnchor()
+|* SwDrawView::CalcAnchor()
|*
-|* Ersterstellung MA 13. Jan. 95
-|* Letzte Aenderung MA 08. Nov. 96
+|* Ersterstellung MA 13. Jan. 95
+|* Letzte Aenderung MA 08. Nov. 96
|*
*************************************************************************/
@@ -871,10 +871,10 @@ const SwFrm* SwDrawView::CalcAnchor()
/*************************************************************************
|*
-|* SwDrawView::ShowDragXor(), HideDragXor()
+|* SwDrawView::ShowDragXor(), HideDragXor()
|*
-|* Ersterstellung MA 17. Jan. 95
-|* Letzte Aenderung MA 27. Jan. 95
+|* Ersterstellung MA 17. Jan. 95
+|* Letzte Aenderung MA 27. Jan. 95
|*
*************************************************************************/
@@ -895,10 +895,10 @@ void SwDrawView::ShowDragAnchor()
/*************************************************************************
|*
-|* SwDrawView::MarkListHasChanged()
+|* SwDrawView::MarkListHasChanged()
|*
-|* Ersterstellung OM 02. Feb. 95
-|* Letzte Aenderung OM 07. Jul. 95
+|* Ersterstellung OM 02. Feb. 95
+|* Letzte Aenderung OM 07. Jul. 95
|*
*************************************************************************/
@@ -1016,8 +1016,8 @@ void SwDrawView::CheckPossibilities()
}
}
}
- bMoveProtect |= bProtect;
- bResizeProtect |= bProtect | bSzProtect;
+ bMoveProtect |= bProtect;
+ bResizeProtect |= bProtect | bSzProtect;
}
/** replace marked <SwDrawVirtObj>-objects by its reference object for delete
diff --git a/sw/source/core/edit/acorrect.cxx b/sw/source/core/edit/acorrect.cxx
index 718dc9d04a50..08dd66389475 100644
--- a/sw/source/core/edit/acorrect.cxx
+++ b/sw/source/core/edit/acorrect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -184,13 +184,13 @@ BOOL SwAutoCorrDoc::Replace( xub_StrLen nPos, const String& rTxt )
{
SwDoc* pDoc = rEditSh.GetDoc();
-// if( !pDoc->IsAutoFmtRedline() &&
-// pPam != &rCrsr ) // nur an akt. Position das Redline sichern
-// pDoc->SetRedlineMode_intern( eOld | REDLINE_IGNORE );
+// if( !pDoc->IsAutoFmtRedline() &&
+// pPam != &rCrsr ) // nur an akt. Position das Redline sichern
+// pDoc->SetRedlineMode_intern( eOld | REDLINE_IGNORE );
if( pDoc->IsAutoFmtRedline() )
{
- if( nPos == pNd->GetTxt().Len() ) // am Ende erfolgt ein Insert
+ if( nPos == pNd->GetTxt().Len() ) // am Ende erfolgt ein Insert
{
pDoc->InsertString( *pPam, rTxt );
}
@@ -209,7 +209,7 @@ BOOL SwAutoCorrDoc::Replace( xub_StrLen nPos, const String& rTxt )
else
pDoc->Overwrite( *pPam, rTxt );
-// pDoc->SetRedlineMode_intern( eOld );
+// pDoc->SetRedlineMode_intern( eOld );
if( bUndoIdInitialized )
{
bUndoIdInitialized = true;
@@ -269,9 +269,9 @@ BOOL SwAutoCorrDoc::SetINetAttr( xub_StrLen nStt, xub_StrLen nEnd, const String&
// Dieser darf nicht leer sein!
// Gibt es diesen nicht oder gibt es davor nur Leere, dann returne 0
// Das Flag gibt an:
- // TRUE: den, vor der normalen Einfuegeposition (TRUE)
- // FALSE: den, in den das korrigierte Wort eingfuegt wurde.
- // (Muss nicht der gleiche Absatz sein!!!!)
+ // TRUE: den, vor der normalen Einfuegeposition (TRUE)
+ // FALSE: den, in den das korrigierte Wort eingfuegt wurde.
+ // (Muss nicht der gleiche Absatz sein!!!!)
const String* SwAutoCorrDoc::GetPrevPara( BOOL bAtNormalPos )
{
const String* pStr = 0;
@@ -400,8 +400,8 @@ BOOL SwAutoCorrDoc::ChgAutoCorrWord( xub_StrLen & rSttPos, xub_StrLen nEndPos,
// wird nach dem austauschen der Zeichen von den Funktionen
- // - FnCptlSttWrd
- // - FnCptlSttSntnc
+ // - FnCptlSttWrd
+ // - FnCptlSttSntnc
// gerufen. Dann koennen die Worte ggfs. in die Ausnahmelisten
// aufgenommen werden.
void SwAutoCorrDoc::SaveCpltSttWord( ULONG nFlag, xub_StrLen nPos,
@@ -437,7 +437,7 @@ void SwAutoCorrExceptWord::CheckChar( const SwPosition& rPos, sal_Unicode cChr )
rPos.nContent.GetIndex() == nCntnt )
{
// die akt. Autokorrektur besorgen:
- SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get()->GetAutoCorrect();
+ SvxAutoCorrect* pACorr = SvxAutoCorrCfg::Get()->GetAutoCorrect();
// dann in die Liste aufnehmen:
if( CptlSttWrd & nFlags )
@@ -496,7 +496,7 @@ void SwDontExpandItem::RestoreDontExpandItems( const SwPosition& rPos )
{
SwTxtAttr* pHt = pTxtNd->GetpSwpHints()->GetTextHint( n );
nAttrStart = *pHt->GetStart();
- if( nAttrStart > nStart ) // ueber den Bereich hinaus
+ if( nAttrStart > nStart ) // ueber den Bereich hinaus
break;
if( 0 != ( pAttrEnd = pHt->GetEnd() ) &&
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 2fadc7252649..fbdb7bffe258 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <pam.hxx>
#include <edimp.hxx>
#include <fesh.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <poolfmt.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
@@ -83,9 +83,9 @@ using namespace ::com::sun::star;
//-------------------------------------------------------------------
//JP 16.12.99: definition:
-// from pos cPosEnDash to cPosEmDash all chars changed to endashes,
-// from pos cPosEmDash to cPosEnd all chars changed to emdashes
-// all other chars are changed to the user configuration
+// from pos cPosEnDash to cPosEmDash all chars changed to endashes,
+// from pos cPosEmDash to cPosEnd all chars changed to emdashes
+// all other chars are changed to the user configuration
const sal_Unicode pBulletChar[6] = { '+', '*', '-', 0x2013, 0x2014, 0 };
const int cnPosEnDash = 2, cnPosEmDash = 4, cnPosEnd = 5;
@@ -103,16 +103,16 @@ const USHORT cnNumBullColls = 4;
class SwAutoFormat
{
SvxSwAutoFmtFlags aFlags;
- SwPaM aDelPam; // ein Pam der benutzt werden kann
- SwNodeIndex aNdIdx; // der Index auf den akt. TextNode
- SwNodeIndex aEndNdIdx; // Index auf das Ende vom Bereich
+ SwPaM aDelPam; // ein Pam der benutzt werden kann
+ SwNodeIndex aNdIdx; // der Index auf den akt. TextNode
+ SwNodeIndex aEndNdIdx; // Index auf das Ende vom Bereich
SwEditShell* pEditShell;
SwDoc* pDoc;
- SwTxtNode* pAktTxtNd; // der akt. TextNode
- SwTxtFrm* pAktTxtFrm; // Frame vom akt. TextNode
- CharClass* pCharClass; // Character classification
- ULONG nEndNdIdx; // fuer die Prozent-Anzeige
+ SwTxtNode* pAktTxtNd; // der akt. TextNode
+ SwTxtFrm* pAktTxtFrm; // Frame vom akt. TextNode
+ CharClass* pCharClass; // Character classification
+ ULONG nEndNdIdx; // fuer die Prozent-Anzeige
LanguageType eCharClassLang;
USHORT nLastHeadLvl, nLastCalcHeadLvl;
@@ -178,7 +178,7 @@ class SwAutoFormat
// TxtNode Methoden
const SwTxtNode* GetNextNode() const;
BOOL IsEmptyLine( const SwTxtNode& rNd ) const
- { return 0 == rNd.GetTxt().Len() ||
+ { return 0 == rNd.GetTxt().Len() ||
rNd.GetTxt().Len() == GetLeadingBlanks( rNd.GetTxt() ); }
BOOL IsOneLine( const SwTxtNode& ) const;
@@ -242,9 +242,9 @@ class SwAutoFormat
void _SetRedlineTxt( USHORT nId );
BOOL SetRedlineTxt( USHORT nId )
- { if( aFlags.bWithRedlining ) _SetRedlineTxt( nId ); return TRUE; }
+ { if( aFlags.bWithRedlining ) _SetRedlineTxt( nId ); return TRUE; }
BOOL ClearRedlineTxt()
- { if( aFlags.bWithRedlining ) pDoc->SetAutoFmtRedlineComment(0); return TRUE; }
+ { if( aFlags.bWithRedlining ) pDoc->SetAutoFmtRedlineComment(0); return TRUE; }
public:
SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
@@ -345,9 +345,9 @@ String SwAutoFormat::GoNextPara()
pNewNd = &aNdIdx.GetNode();
// kein TextNode ->
- // TableNode : Tabelle ueberspringen
- // NoTxtNode : Nodes ueberspringen
- // EndNode : Ende erreicht, beenden
+ // TableNode : Tabelle ueberspringen
+ // NoTxtNode : Nodes ueberspringen
+ // EndNode : Ende erreicht, beenden
if( pNewNd->IsEndNode() )
{
bEnde = TRUE;
@@ -454,7 +454,7 @@ BOOL SwAutoFormat::IsBlanksInString( const SwTxtNode& rNd ) const
{
if( IsSpace( *pTmp ) )
{
- if( IsSpace( *++pTmp )) // 2 Space nach einander
+ if( IsSpace( *++pTmp )) // 2 Space nach einander
{
const sal_Unicode* pStt = pTmp;
while( *pTmp && IsSpace( *++pTmp ))
@@ -496,10 +496,10 @@ USHORT SwAutoFormat::CalcLevel( const SwTxtNode& rNd, USHORT *pDigitLvl ) const
{
switch( rTxt.GetChar( n ) )
{
- case ' ': if( 3 == ++nBlnk )
+ case ' ': if( 3 == ++nBlnk )
++nLvl, nBlnk = 0;
break;
- case '\t': ++nLvl, nBlnk = 0;
+ case '\t': ++nLvl, nBlnk = 0;
break;
default:
if( pDigitLvl )
@@ -537,7 +537,7 @@ BOOL SwAutoFormat::IsNoAlphaLine( const SwTxtNode& rNd ) const
if( !rStr.Len() )
return FALSE;
// oder besser: ueber die Anzahl von Alpha/Num- und !AN-Zeichen
- // bestimmen.
+ // bestimmen.
xub_StrLen nANChar = 0, nBlnk = 0;
CharClass& rCC = GetCharClass( rNd.GetSwAttrSet().GetLanguage().GetLanguage() );
@@ -549,7 +549,7 @@ BOOL SwAutoFormat::IsNoAlphaLine( const SwTxtNode& rNd ) const
// sind zu 75% keine Alpha-Nummerische-Zeichen, dann TRUE
ULONG nLen = rStr.Len() - nBlnk;
- nLen = ( nLen * 3 ) / 4; // long overflow, if the strlen > USHORT
+ nLen = ( nLen * 3 ) / 4; // long overflow, if the strlen > USHORT
return xub_StrLen(nLen) < (rStr.Len() - nANChar - nBlnk);
}
@@ -566,17 +566,17 @@ BOOL SwAutoFormat::DoUnderline()
while( *pStr )
{
//JP 29.03.96: Spaces unterbrechen die Umrandung!
-// if( !IsSpace( *pStr ) )
+// if( !IsSpace( *pStr ) )
{
int eTmp = 0;
switch( *pStr )
{
- case '-': eTmp = 1; break;
- case '_': eTmp = 2; break;
- case '=': eTmp = 3; break;
- case '*': eTmp = 4; break;
- case '~': eTmp = 5; break;
- case '#': eTmp = 6; break;
+ case '-': eTmp = 1; break;
+ case '_': eTmp = 2; break;
+ case '=': eTmp = 3; break;
+ case '*': eTmp = 4; break;
+ case '~': eTmp = 5; break;
+ case '#': eTmp = 6; break;
default:
return FALSE;
}
@@ -596,33 +596,33 @@ BOOL SwAutoFormat::DoUnderline()
aDelPam.SetMark();
aDelPam.GetMark()->nContent = 0;
//JP 19.03.96: kein Underline sondern eine Umrandung setzen!
-// pDoc->Insert( aDelPam, SvxUnderlineItem( eState ) );
+// pDoc->Insert( aDelPam, SvxUnderlineItem( eState ) );
SvxBorderLine aLine;
switch( eState )
{
- case 1: // einfach, 0,05 pt
+ case 1: // einfach, 0,05 pt
aLine.SetOutWidth( DEF_LINE_WIDTH_0 );
break;
- case 2: // einfach, 1,0 pt
+ case 2: // einfach, 1,0 pt
aLine.SetOutWidth( DEF_LINE_WIDTH_1 );
break;
- case 3: // doppelt, 1,1 pt
+ case 3: // doppelt, 1,1 pt
aLine.SetOutWidth( DEF_DOUBLE_LINE0_OUT );
aLine.SetInWidth( DEF_DOUBLE_LINE0_IN );
aLine.SetDistance( DEF_DOUBLE_LINE0_DIST );
break;
- case 4: // doppelt, 4,5 pt
+ case 4: // doppelt, 4,5 pt
aLine.SetOutWidth( DEF_DOUBLE_LINE4_OUT );
aLine.SetInWidth( DEF_DOUBLE_LINE4_IN );
aLine.SetDistance( DEF_DOUBLE_LINE4_DIST );
break;
- case 5: // doppelt, 6,0 pt
+ case 5: // doppelt, 6,0 pt
aLine.SetOutWidth( DEF_DOUBLE_LINE5_OUT );
aLine.SetInWidth( DEF_DOUBLE_LINE5_IN );
aLine.SetDistance( DEF_DOUBLE_LINE5_DIST );
break;
- case 6: // doppelt, 9,0 pt
+ case 6: // doppelt, 9,0 pt
aLine.SetOutWidth( DEF_DOUBLE_LINE6_OUT );
aLine.SetInWidth( DEF_DOUBLE_LINE6_IN );
aLine.SetDistance( DEF_DOUBLE_LINE6_DIST );
@@ -635,7 +635,7 @@ BOOL SwAutoFormat::DoUnderline()
aSet.Put( SwParaConnectBorderItem( FALSE ) );
SvxBoxItem aBox( RES_BOX );
aBox.SetLine( &aLine, BOX_LINE_BOTTOM );
- aBox.SetDistance( 42 ); // ~0,75 mm
+ aBox.SetDistance( 42 ); // ~0,75 mm
aSet.Put(aBox);
pDoc->InsertItemSet( aDelPam, aSet, 0 );
@@ -736,7 +736,7 @@ String& SwAutoFormat::DelLeadingBlanks( String& rStr ) const
for( nL = rStr.Len(), n = 0; n < nL && IsSpace( rStr.GetChar(n) ); ++n )
;
- if( n ) // keine Spaces
+ if( n ) // keine Spaces
rStr.Erase( 0, n );
return rStr;
}
@@ -750,7 +750,7 @@ String& SwAutoFormat::DelTrailingBlanks( String& rStr ) const
while( --n && IsSpace( rStr.GetChar( n ) ) )
;
- if( n+1 != nL ) // keine Spaces
+ if( n+1 != nL ) // keine Spaces
rStr.Erase( n+1 );
return rStr;
}
@@ -820,7 +820,7 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
{
if( eScan & DELIM )
{
- if( eScan & CHG ) // nicht wenns mit einer Zahl beginnt
+ if( eScan & CHG ) // nicht wenns mit einer Zahl beginnt
{
++nDigitLvl;
if( pPostFix )
@@ -835,12 +835,12 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
else if( pNumTypes && !(eScan & DIGIT) )
*pNumTypes += (sal_Unicode)('0' + SVX_NUM_ARABIC);
- eScan &= ~DELIM; // Delim raus
+ eScan &= ~DELIM; // Delim raus
if( 0 != (eScan & ~CHG) && DIGIT != (eScan & ~CHG))
return USHRT_MAX;
- eScan |= DIGIT; // Digit rein
- if( 3 == ++nDigitCnt ) // mehr als 2 Nummern sind kein Enum mehr
+ eScan |= DIGIT; // Digit rein
+ if( 3 == ++nDigitCnt ) // mehr als 2 Nummern sind kein Enum mehr
return USHRT_MAX;
nStart *= 10;
@@ -857,7 +857,7 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
// roemische Zeichen sind "mdclxvi". Da man aber eher mal eine
// Numerierung mit c oder d anfangen will, werden diese erstmal
// zu chars und spaeter ggfs. zu romischen Zeichen!
-// if( strchr( "mdclxvi", cLow ))
+// if( strchr( "mdclxvi", cLow ))
#ifdef WITH_ALPHANUM_AS_NUMFMT
//detection of 'c' and 'd' a ROMAN numbering should not be done here
if( 256 > cLow &&( (eScan & (LOWER_ROMAN|UPPER_ROMAN))
@@ -899,7 +899,7 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
if( eScan & DELIM )
{
- if( eScan & CHG ) // nicht wenns mit einer Zahl beginnt
+ if( eScan & CHG ) // nicht wenns mit einer Zahl beginnt
{
++nDigitLvl;
if( pPostFix )
@@ -913,7 +913,7 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
else if( pNumTypes && !(eScan & eTmpScan) )
*pNumTypes += cNumTyp;
- eScan &= ~DELIM; // Delim raus
+ eScan &= ~DELIM; // Delim raus
// falls ein andere Type gesetzt ist, brechen wir ab
if( 0 != ( eScan & ~CHG ) && eTmpScan != ( eScan & ~CHG ))
@@ -931,12 +931,12 @@ USHORT SwAutoFormat::GetDigitLevel( const SwTxtNode& rNd, xub_StrLen& rPos,
BOOL bError = FALSE;
switch( cLow )
{
- case 'm': nVal = 1000; goto CHECK_ROMAN_1;
- case 'd': nVal = 500; goto CHECK_ROMAN_5;
- case 'c': nVal = 100; goto CHECK_ROMAN_1;
- case 'l': nVal = 50; goto CHECK_ROMAN_5;
- case 'x': nVal = 10; goto CHECK_ROMAN_1;
- case 'v': nVal = 5; goto CHECK_ROMAN_5;
+ case 'm': nVal = 1000; goto CHECK_ROMAN_1;
+ case 'd': nVal = 500; goto CHECK_ROMAN_5;
+ case 'c': nVal = 100; goto CHECK_ROMAN_1;
+ case 'l': nVal = 50; goto CHECK_ROMAN_5;
+ case 'x': nVal = 10; goto CHECK_ROMAN_1;
+ case 'v': nVal = 5; goto CHECK_ROMAN_5;
CHECK_ROMAN_1:
{
@@ -989,7 +989,7 @@ CHECK_ROMAN_5:
if( bError )
return USHRT_MAX;
}
- eScan |= eTmpScan; // Digit rein
+ eScan |= eTmpScan; // Digit rein
++nDigitCnt;
}
else if( (256 > cCurrentChar &&
@@ -1016,8 +1016,8 @@ CHECK_ROMAN_5:
(*pPreFix += (sal_Unicode)1)
+= String::CreateFromInt32( nStart );
}
- eScan &= ~NO_DELIM; // Delim raus
- eScan |= DELIM; // Digit rein
+ eScan &= ~NO_DELIM; // Delim raus
+ eScan |= DELIM; // Digit rein
nDigitCnt = 0;
nStart = 0;
}
@@ -1030,11 +1030,11 @@ CHECK_ROMAN_5:
(nOpeningParentheses > nClosingParentheses))
return USHRT_MAX;
- if( (NO_DELIM & eScan) && pPreFix ) // den letzen nicht vergessen
+ if( (NO_DELIM & eScan) && pPreFix ) // den letzen nicht vergessen
(*pPreFix += (sal_Unicode)1) += String::CreateFromInt32( nStart );
rPos = nPos;
- return nDigitLvl; // 0 .. 9 (MAXLEVEL - 1)
+ return nDigitLvl; // 0 .. 9 (MAXLEVEL - 1)
}
@@ -1274,7 +1274,7 @@ void SwAutoFormat::DelMoreLinesBlanks( BOOL bWithLineBreaks )
{
if( aFlags.bAFmtByInput
? aFlags.bAFmtByInpDelSpacesBetweenLines
- : aFlags.bAFmtDelSpacesBetweenLines )
+ : aFlags.bAFmtDelSpacesBetweenLines )
{
// loesche alle "Blanks" Links und Rechts vom Einzug
aDelPam.DeleteMark();
@@ -1386,7 +1386,7 @@ void SwAutoFormat::BuildTextIndent()
{
SetRedlineTxt( STR_AUTOFMTREDL_DEL_MORELINES );
const SwTxtNode* pNxtNd = GetNextNode();
- while( CanJoin( pNxtNd ) &&
+ while( CanJoin( pNxtNd ) &&
CalcLevel( *pNxtNd ) )
{
bBreak = !IsFastFullLine( *pNxtNd ) || IsBlanksInString( *pNxtNd ) ||
@@ -1422,7 +1422,7 @@ void SwAutoFormat::BuildText()
{
SetRedlineTxt( STR_AUTOFMTREDL_DEL_MORELINES );
const SwTxtNode* pNxtNd = GetNextNode();
- while( CanJoin( pNxtNd ) &&
+ while( CanJoin( pNxtNd ) &&
!CalcLevel( *pNxtNd ) )
{
bBreak = !IsFastFullLine( *pNxtNd ) || IsBlanksInString( *pNxtNd ) ||
@@ -1470,7 +1470,7 @@ void SwAutoFormat::BuildEnum( USHORT nLvl, USHORT nDigitLevel )
IsBlanksInString( *pAktTxtNd ) ||
IsSentenceAtEnd( *pAktTxtNd );
sal_Bool bRTL = pEditShell->IsInRightToLeftText();
-// SetColl( RES_POOLCOLL_NUM_LEVEL1 + ( nLvl * 4 ) );
+// SetColl( RES_POOLCOLL_NUM_LEVEL1 + ( nLvl * 4 ) );
DeleteAktPara( TRUE, TRUE );
BOOL bChgBullet = FALSE, bChgEnum = FALSE;
@@ -1491,7 +1491,7 @@ void SwAutoFormat::BuildEnum( USHORT nLvl, USHORT nDigitLevel )
const String& rStr = pAktTxtNd->GetTxt();
xub_StrLen nTxtStt = 0, nOrigTxtStt = 0;
const sal_Unicode* pFndBulletChr;
-// if( aFlags.bAFmtByInput ? aFlags.bSetNumRule : aFlags.bChgEnumNum &&
+// if( aFlags.bAFmtByInput ? aFlags.bSetNumRule : aFlags.bChgEnumNum &&
if( aFlags.bChgEnumNum &&
2 < rStr.Len() &&
0 != ( pFndBulletChr = StrChr( pBulletChar, rStr.GetChar( nTxtStt ) ))
@@ -1567,8 +1567,8 @@ void SwAutoFormat::BuildEnum( USHORT nLvl, USHORT nDigitLevel )
// dann ist das eine Nummerierung
//JP 21.11.97: Der NumLevel wird entweder der DigitLevel oder
- // wenn der nicht vorhanden oder 0 ist, durch den
- // (Einrueckungs-)Level.
+ // wenn der nicht vorhanden oder 0 ist, durch den
+ // (Einrueckungs-)Level.
String aPostFix, aPreFix, aNumTypes;
if( USHRT_MAX != ( nDigitLevel = GetDigitLevel( *pAktTxtNd, nTxtStt,
@@ -1587,7 +1587,7 @@ void SwAutoFormat::BuildEnum( USHORT nLvl, USHORT nDigitLevel )
if( bChgEnum && aFlags.bSetNumRule )
{
- if( !pCur ) // NumRule anpassen, wenn sie neu ist
+ if( !pCur ) // NumRule anpassen, wenn sie neu ist
{
SwCharFmt* pCFmt = pDoc->GetCharFmtFromPool(
RES_POOLCHR_NUM_LEVEL );
@@ -1733,7 +1733,7 @@ void SwAutoFormat::BuildEnum( USHORT nLvl, USHORT nDigitLevel )
if( bBreak )
{
- AutoCorrect( nAutoCorrPos ); /* Offset wegen Bullet + Tab */
+ AutoCorrect( nAutoCorrPos ); /* Offset wegen Bullet + Tab */
return;
}
@@ -1797,7 +1797,7 @@ void SwAutoFormat::BuildNegIndent( SwTwips nSpaces )
;
++nSpaceStt;
- if( bInsTab && '\t' == rStr.GetChar( nSpaceStt ) ) // ein Tab, das belassen wir
+ if( bInsTab && '\t' == rStr.GetChar( nSpaceStt ) ) // ein Tab, das belassen wir
{
++nSpaceStt;
bInsTab = FALSE;
@@ -1826,7 +1826,7 @@ void SwAutoFormat::BuildNegIndent( SwTwips nSpaces )
SetRedlineTxt( STR_AUTOFMTREDL_DEL_MORELINES );
SwTxtFrmInfo aFInfo( pAktTxtFrm );
const SwTxtNode* pNxtNd = GetNextNode();
- while( CanJoin( pNxtNd ) &&
+ while( CanJoin( pNxtNd ) &&
20 < Abs( (long)(nSpaces - aFInfo.SetFrm(
GetFrm( *pNxtNd ) ).GetLineStart() ))
)
@@ -1927,9 +1927,9 @@ void SwAutoFormat::AutoCorrect( xub_StrLen nPos )
while( nPos < pTxt->Len() && IsSpace( cChar = pTxt->GetChar( nPos ) ))
++nPos;
if( nPos == pTxt->Len() )
- break; // das wars
+ break; // das wars
- if( ( ( bReplaceQuote && '\"' == cChar ) ||
+ if( ( ( bReplaceQuote && '\"' == cChar ) ||
( bReplaceSglQuote && '\'' == cChar ) ) &&
( !nPos || ' ' == pTxt->GetChar( nPos-1 ) ) )
{
@@ -2074,7 +2074,7 @@ void SwAutoFormat::AutoCorrect( xub_StrLen nPos )
LanguageType eLang = (bGetLanguage && pAktTxtNd)
? pAktTxtNd->GetLang( nSttPos )
: LANGUAGE_SYSTEM;
-
+
SetRedlineTxt( STR_AUTOFMTREDL_NON_BREAK_SPACE );
if ( pATst->FnAddNonBrkSpace( aACorrDoc, *pTxt, nSttPos, nPos, eLang ) )
--nPos;
@@ -2087,15 +2087,15 @@ void SwAutoFormat::AutoCorrect( xub_StrLen nPos )
if( aFlags.bCptlSttSntnc )
bFirstSent = TRUE;
//alle Wortrenner loesen die Autokorrektur aus!
-// break;
+// break;
default:
//alle Wortrenner loesen die Autokorrektur aus!
-// case ' ':
-// case '\t':
+// case ' ':
+// case '\t':
if( !( rAppCC.isLetterNumeric( *pTxt, nPos )
|| '/' == cChar )) // '/' should not be a word seperator (e.g. '1/2' needs to be handled as one word for replacement)
{
- --nPos; // ++nPos von dem for ungueltig machen !
+ --nPos; // ++nPos von dem for ungueltig machen !
++bBreak;
}
break;
@@ -2129,13 +2129,13 @@ void SwAutoFormat::AutoCorrect( xub_StrLen nPos )
aDelPam.DeleteMark();
}
- continue; // nichts weiter mehr abpruefen
+ continue; // nichts weiter mehr abpruefen
}
LanguageType eLang = (bGetLanguage && pAktTxtNd)
? pAktTxtNd->GetLang( nSttPos )
: LANGUAGE_SYSTEM;
-
+
if ( aFlags.bAddNonBrkSpace )
{
SetRedlineTxt( STR_AUTOFMTREDL_NON_BREAK_SPACE );
@@ -2216,7 +2216,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( pSttNd )
{
aNdIdx = *pSttNd;
- aNdIdx--; // fuer GoNextPara, ein Absatz davor
+ aNdIdx--; // fuer GoNextPara, ein Absatz davor
aEndNdIdx = *pEndNd;
aEndNdIdx++;
@@ -2227,7 +2227,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
IsNoAlphaLine( *pNxtNd );
}
else
- bEmptyLine = TRUE; // am Dokument Anfang
+ bEmptyLine = TRUE; // am Dokument Anfang
bEnde = FALSE;
@@ -2283,7 +2283,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
aWarning.SetDefaultCheckBoxText();
USHORT nDefaultButton = nResult==RET_YES?BUTTONID_YES:(nResult==RET_NO?BUTTONID_NO:BUTTONID_CANCEL);
aWarning.SetFocusButton(nDefaultButton);
- nResult = aWarning.Execute();
+ nResult = aWarning.Execute();
m_bAskForCancelUndoWhileBufferOverflow = !aWarning.GetCheckBoxState();
m_nActionWhileAutoformatUndoBufferOverflow = nResult;
// TODO: #102007# store m_bAskForCancelUndoWhileBufferOverflow in configuration
@@ -2332,7 +2332,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
DelEmptyLine();
// wurde wiklich ein Node geloescht ?
if( nOldCnt != pDoc->GetNodes().Count() )
- aNdIdx--; // nicht den naechsten Absatz ueberspringen
+ aNdIdx--; // nicht den naechsten Absatz ueberspringen
}
eStat = READ_NEXT_PARA;
}
@@ -2347,7 +2347,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( aFlags.bAFmtByInput && aFlags.bCreateTable && DoTable() )
{
//JP 30.09.96: das DoTable() verlaesst sich auf das
- // Pop und Move - Crsr nach dem AutoFormat!
+ // Pop und Move - Crsr nach dem AutoFormat!
pEdShell->Pop( FALSE );
*pEdShell->GetCrsr() = aDelPam;
pEdShell->Push();
@@ -2387,8 +2387,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
aFInfo.SetFrm( pAktTxtFrm );
// erstmal: wurden schon mal entsprechende Vorlagen
- // vergeben, so behalte die bei, gehe zum
- // naechsten Node.
+ // vergeben, so behalte die bei, gehe zum
+ // naechsten Node.
USHORT nPoolId = pAktTxtNd->GetTxtColl()->GetPoolFmtId();
if( IsPoolUserFmt( nPoolId )
? !aFlags.bChgUserColl
@@ -2414,7 +2414,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
0 != pLRSpace->GetTxtLeft() ) )
{
// Ausnahme: Numerierun/Aufzaehlung kann mit Einzug
- // existieren!!
+ // existieren!!
if( IsEnumericChar( *pAktTxtNd ))
{
nLevel = CalcLevel( *pAktTxtNd, &nDigitLvl );
@@ -2433,11 +2433,11 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( bReplaceStyles )
{
// dann setze doch eine unserer Vorlagen
- if( 0 < nSz ) // positiver 1. Zeileneinzug
+ if( 0 < nSz ) // positiver 1. Zeileneinzug
BuildIndent();
- else if( 0 > nSz ) // negativer 1. Zeileneinzug
+ else if( 0 > nSz ) // negativer 1. Zeileneinzug
BuildNegIndent( aFInfo.GetLineStart() );
- else if( pLRSpace->GetTxtLeft() ) // ist ein Einzug
+ else if( pLRSpace->GetTxtLeft() ) // ist ein Einzug
BuildTextIndent();
}
eStat = READ_NEXT_PARA;
@@ -2461,8 +2461,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
// fuer z.B. selbst definierte Einzuege oder
// rechts/zentierte Ausrichtung
-// if( !nLevel && 0 != aFInfo.GetLineStart() )
-// nLevel = 1;
+// if( !nLevel && 0 != aFInfo.GetLineStart() )
+// nLevel = 1;
}
else
{
@@ -2486,7 +2486,7 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
{
bEmptyLine = TRUE;
eStat = READ_NEXT_PARA;
- break; // naechsten Absatz lesen
+ break; // naechsten Absatz lesen
}
// Teste auf Ueberschrift
@@ -2505,8 +2505,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
// Wie ist denn nun die Bedingung fuer die Ueberschrift auf Ebene 3 ??
// Zur Zeit: generell wenn am Ende ein ':' ist.
//
-// if( bNxtEmpty || bNxtAlpha )
-// !IsEnumericChar( *pNxtNd ) )
+// if( bNxtEmpty || bNxtAlpha )
+// !IsEnumericChar( *pNxtNd ) )
//---------------------------------------------------------------------------
{
BuildHeadLine( 2 );
@@ -2528,8 +2528,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
)
{
// wurde Level vom Text vorgegeben ?
-// if( USHRT_MAX != nDigitLvl )
-// nLevel = nDigitLvl;
+// if( USHRT_MAX != nDigitLvl )
+// nLevel = nDigitLvl;
// eine Ebene runter ?
if( nLevel >= MAXLEVEL )
@@ -2572,8 +2572,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
eStat = READ_NEXT_PARA;
}
//JP 25.03.96: Vorlagen fuer Einzug zulassen
-// else if( aFlags.bAFmtByInput )
-// eStat = READ_NEXT_PARA;
+// else if( aFlags.bAFmtByInput )
+// eStat = READ_NEXT_PARA;
else if( bReplaceStyles )
eStat = nLevel ? TST_IDENT : TST_NEG_IDENT;
else
@@ -2586,11 +2586,11 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( bMoreLines && nLevel )
{
SwTwips nSz = aFInfo.GetFirstIndent();
- if( 0 < nSz ) // positiver 1. Zeileneinzug
+ if( 0 < nSz ) // positiver 1. Zeileneinzug
BuildIndent();
- else if( 0 > nSz ) // negativer 1. Zeileneinzug
+ else if( 0 > nSz ) // negativer 1. Zeileneinzug
BuildNegIndent( aFInfo.GetLineStart() );
- else // ist ein Einzug
+ else // ist ein Einzug
BuildTextIndent();
eStat = READ_NEXT_PARA;
}
@@ -2612,11 +2612,11 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( bMoreLines && !nLevel )
{
SwTwips nSz = aFInfo.GetFirstIndent();
- if( 0 < nSz ) // positiver 1. Zeileneinzug
+ if( 0 < nSz ) // positiver 1. Zeileneinzug
BuildIndent();
- else if( 0 > nSz ) // negativer 1. Zeileneinzug
+ else if( 0 > nSz ) // negativer 1. Zeileneinzug
BuildNegIndent( aFInfo.GetLineStart() );
- else // ist ein kein Einzug
+ else // ist ein kein Einzug
BuildText();
eStat = READ_NEXT_PARA;
}
@@ -2638,11 +2638,11 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
if( bMoreLines )
{
SwTwips nSz = aFInfo.GetFirstIndent();
- if( 0 < nSz ) // positiver 1. Zeileneinzug
+ if( 0 < nSz ) // positiver 1. Zeileneinzug
BuildIndent();
- else if( 0 > nSz ) // negativer 1. Zeileneinzug
+ else if( 0 > nSz ) // negativer 1. Zeileneinzug
BuildNegIndent( aFInfo.GetLineStart() );
- else if( nLevel ) // ist ein Einzug
+ else if( nLevel ) // ist ein Einzug
BuildTextIndent();
else
BuildText();
@@ -2658,8 +2658,8 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
case HAS_FMTCOLL:
{
// erstmal: wurden schon mal entsprechende Vorlagen
- // vergeben, so behalte die bei, gehe zum
- // naechsten Node.
+ // vergeben, so behalte die bei, gehe zum
+ // naechsten Node.
bEmptyLine = FALSE;
eStat = READ_NEXT_PARA;
// loesche alle Blanks am Anfang/Ende
@@ -2680,13 +2680,13 @@ SwAutoFormat::SwAutoFormat( SwEditShell* pEdShell, SvxSwAutoFmtFlags& rFlags,
0 != pLRSpace->GetTxtLeft() ) )
{
// dann setze doch eine unserer Vorlagen
- if( 0 < nSz ) // positiver 1. Zeileneinzug
+ if( 0 < nSz ) // positiver 1. Zeileneinzug
BuildIndent();
- else if( 0 > nSz ) // negativer 1. Zeileneinzug
+ else if( 0 > nSz ) // negativer 1. Zeileneinzug
{
BuildNegIndent( aFInfo.GetLineStart() );
}
- else if( pLRSpace->GetTxtLeft() ) // ist ein Einzug
+ else if( pLRSpace->GetTxtLeft() ) // ist ein Einzug
BuildTextIndent();
else
BuildText();
@@ -2721,8 +2721,8 @@ void SwEditShell::AutoFormat( const SvxSwAutoFmtFlags* pAFlags )
StartAllAction();
StartUndo( UNDO_AUTOFORMAT );
- SvxSwAutoFmtFlags aAFFlags; // erst mal default - Werte
- if( pAFlags ) // oder doch angegeben ??
+ SvxSwAutoFmtFlags aAFFlags; // erst mal default - Werte
+ if( pAFlags ) // oder doch angegeben ??
{
aAFFlags = *pAFlags;
if( !aAFFlags.bAFmtByInput )
@@ -2785,15 +2785,15 @@ void SwEditShell::AutoFmtBySplitNode()
if( bRange )
{
- Push(); // Cursor sichern
+ Push(); // Cursor sichern
- SvxSwAutoFmtFlags aAFFlags = *GetAutoFmtFlags(); // erst mal default - Werte
+ SvxSwAutoFmtFlags aAFFlags = *GetAutoFmtFlags(); // erst mal default - Werte
SwAutoFormat aFmt( this, aAFFlags, &pCrsr->GetMark()->nNode,
&pCrsr->GetPoint()->nNode );
//JP 30.09.96: das DoTable() verlaesst sich auf das PopCrsr
- // und MoveCrsr!
+ // und MoveCrsr!
Pop( FALSE );
pCrsr = GetCrsr();
}
@@ -2817,22 +2817,22 @@ void SwEditShell::SetAutoFmtFlags(SvxSwAutoFmtFlags * pFlags)
{
SvxSwAutoFmtFlags* pEditFlags = GetAutoFmtFlags();
- pEditFlags->bSetNumRule = pFlags->bSetNumRule;
- pEditFlags->bChgEnumNum = pFlags->bChgEnumNum;
- pEditFlags->bSetBorder = pFlags->bSetBorder;
- pEditFlags->bCreateTable = pFlags->bCreateTable;
- pEditFlags->bReplaceStyles = pFlags->bReplaceStyles;
+ pEditFlags->bSetNumRule = pFlags->bSetNumRule;
+ pEditFlags->bChgEnumNum = pFlags->bChgEnumNum;
+ pEditFlags->bSetBorder = pFlags->bSetBorder;
+ pEditFlags->bCreateTable = pFlags->bCreateTable;
+ pEditFlags->bReplaceStyles = pFlags->bReplaceStyles;
pEditFlags->bAFmtByInpDelSpacesAtSttEnd =
pFlags->bAFmtByInpDelSpacesAtSttEnd;
pEditFlags->bAFmtByInpDelSpacesBetweenLines =
pFlags->bAFmtByInpDelSpacesBetweenLines;
//JP 15.12.98: BulletZeichen und Font in die "normalen" kopieren,
- // weil beim Autoformat nur mit diesen gearbeitet wird!
- pEditFlags->cBullet = pFlags->cByInputBullet;
- pEditFlags->aBulletFont = pFlags->aByInputBulletFont;
- pEditFlags->cByInputBullet = pFlags->cByInputBullet;
- pEditFlags->aByInputBulletFont = pFlags->aByInputBulletFont;
+ // weil beim Autoformat nur mit diesen gearbeitet wird!
+ pEditFlags->cBullet = pFlags->cByInputBullet;
+ pEditFlags->aBulletFont = pFlags->aByInputBulletFont;
+ pEditFlags->cByInputBullet = pFlags->cByInputBullet;
+ pEditFlags->aByInputBulletFont = pFlags->aByInputBulletFont;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/edit/edatmisc.cxx b/sw/source/core/edit/edatmisc.cxx
index d2edcc2ebd99..8077547036d0 100644
--- a/sw/source/core/edit/edatmisc.cxx
+++ b/sw/source/core/edit/edatmisc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +68,9 @@ void SwEditShell::ResetAttr( const SvUShortsSort* pAttrs )
void SwEditShell::GCAttr()
{
//JP 04.02.97: wozu eine Action-Klammerung - ein Formatierung sollte nicht
-// ausgeloest werden, so dass es hier ueberfluessig ist.
-// Sonst Probleme im MouseBut.DownHdl - Bug 35562
-// StartAllAction();
+// ausgeloest werden, so dass es hier ueberfluessig ist.
+// Sonst Probleme im MouseBut.DownHdl - Bug 35562
+// StartAllAction();
FOREACHPAM_START(this)
SwTxtNode *pTxtNode;
if ( !PCURCRSR->HasMark() )
@@ -92,7 +92,7 @@ void SwEditShell::GCAttr()
aIdx <= rEnd );
}
FOREACHPAM_END()
-// EndAllAction();
+// EndAllAction();
}
// Setze das Attribut als neues default Attribut im Dokument.
@@ -131,7 +131,7 @@ void SwEditShell::SetAttr( const SfxPoolItem& rHint, USHORT nFlags )
SET_CURR_SHELL( this );
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn
+ if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn
{
BOOL bIsTblMode = IsTableMode();
GetDoc()->StartUndo(UNDO_INSATTR, NULL);
@@ -161,7 +161,7 @@ void SwEditShell::SetAttr( const SfxItemSet& rSet, USHORT nFlags )
SET_CURR_SHELL( this );
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn
+ if( pCrsr->GetNext() != pCrsr ) // Ring von Cursorn
{
BOOL bIsTblMode = IsTableMode();
GetDoc()->StartUndo(UNDO_INSATTR, NULL);
diff --git a/sw/source/core/edit/edattr.cxx b/sw/source/core/edit/edattr.cxx
index 9ff64239398e..c3cc8af0b155 100644
--- a/sw/source/core/edit/edattr.cxx
+++ b/sw/source/core/edit/edattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -40,9 +40,9 @@
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <editsh.hxx>
-#include <edimp.hxx> // fuer MACROS
+#include <edimp.hxx> // fuer MACROS
#include <doc.hxx>
-#include <swundo.hxx> // fuer UNDO-Ids
+#include <swundo.hxx> // fuer UNDO-Ids
#include <ndtxt.hxx>
#include <ftnidx.hxx>
#include <expfld.hxx>
@@ -52,7 +52,7 @@
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <crsskip.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx> // SwTxtFrm
#include <scriptinfo.hxx>
#include <svl/ctloptions.hxx>
#include <charfmt.hxx> // #i27615#
@@ -387,7 +387,7 @@ void SwEditShell::MoveLeftMargin( BOOL bRight, BOOL bModulus )
StartUndo( UNDO_START );
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
SwPamRanges aRangeArr( *pCrsr );
SwPaM aPam( *pCrsr->GetPoint() );
@@ -408,9 +408,9 @@ inline USHORT lcl_SetScriptFlags( USHORT nType )
USHORT nRet;
switch( nType )
{
- case ::com::sun::star::i18n::ScriptType::LATIN: nRet = SCRIPTTYPE_LATIN; break;
- case ::com::sun::star::i18n::ScriptType::ASIAN: nRet = SCRIPTTYPE_ASIAN; break;
- case ::com::sun::star::i18n::ScriptType::COMPLEX: nRet = SCRIPTTYPE_COMPLEX; break;
+ case ::com::sun::star::i18n::ScriptType::LATIN: nRet = SCRIPTTYPE_LATIN; break;
+ case ::com::sun::star::i18n::ScriptType::ASIAN: nRet = SCRIPTTYPE_ASIAN; break;
+ case ::com::sun::star::i18n::ScriptType::COMPLEX: nRet = SCRIPTTYPE_COMPLEX; break;
default: nRet = 0;
}
return nRet;
@@ -509,7 +509,7 @@ USHORT SwEditShell::GetScriptType() const
xub_StrLen nPos = pStt->nContent.GetIndex();
//Task 90448: we need the scripttype of the previous
- // position, if no selection exist!
+ // position, if no selection exist!
if( nPos )
{
SwIndex aIdx( pStt->nContent );
@@ -610,7 +610,7 @@ USHORT SwEditShell::GetCurLang() const
if( pTNd )
{
//JP 24.9.2001: if exist no selection, then get the language before
- // the current character!
+ // the current character!
xub_StrLen nPos = rPos.nContent.GetIndex();
if( nPos && !pCrsr->HasMark() )
--nPos;
@@ -642,7 +642,7 @@ USHORT SwEditShell::GetScalingOfSelectedText() const
nScaleWidth = pTNd->GetScalingOfSelectedText( nStt, nEnd );
}
else
- nScaleWidth = 100; // default are no scaling -> 100%
+ nScaleWidth = 100; // default are no scaling -> 100%
return nScaleWidth;
}
diff --git a/sw/source/core/edit/eddel.cxx b/sw/source/core/edit/eddel.cxx
index f1d24f6c4511..60fe52d0092c 100644
--- a/sw/source/core/edit/eddel.cxx
+++ b/sw/source/core/edit/eddel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@
#include <editsh.hxx>
#include <cntfrm.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <edimp.hxx>
#include <IMark.hxx>
#include <docary.hxx>
@@ -59,8 +59,8 @@ void SwEditShell::DeleteSel( SwPaM& rPam, BOOL* pUndo )
// besteht eine Selection in einer Tabelle ?
// dann nur den Inhalt der selektierten Boxen loeschen
// jetzt gibt es 2 Faelle die beachtet werden muessen:
- // 1. Point und Mark stehen in einer Box, Selection normal loeschen
- // 2. Point und Mark stehen in unterschiedlichen Boxen, alle
+ // 1. Point und Mark stehen in einer Box, Selection normal loeschen
+ // 2. Point und Mark stehen in unterschiedlichen Boxen, alle
// selektierten Boxen suchen in den Inhalt loeschen
if( rPam.GetNode()->FindTableNode() &&
rPam.GetNode()->StartOfSectionNode() !=
@@ -81,7 +81,7 @@ void SwEditShell::DeleteSel( SwPaM& rPam, BOOL* pUndo )
if( pEndSelPos->nNode.GetIndex() <= rEndNd.GetIndex() )
{
*aDelPam.GetPoint() = *pEndSelPos;
- pEndSelPos = 0; // Pointer als Flag missbrauchen
+ pEndSelPos = 0; // Pointer als Flag missbrauchen
}
else
{
@@ -98,15 +98,15 @@ void SwEditShell::DeleteSel( SwPaM& rPam, BOOL* pUndo )
SaveTblBoxCntnt( aDelPam.GetPoint() );
}
- if( !pEndSelPos ) // am Ende der Selection
+ if( !pEndSelPos ) // am Ende der Selection
break;
aDelPam.DeleteMark();
- aDelPam.Move( fnMoveForward, fnGoCntnt ); // naechste Box
+ aDelPam.Move( fnMoveForward, fnGoCntnt ); // naechste Box
} while( pEndSelPos );
}
else
{
- // alles loeschen
+ // alles loeschen
GetDoc()->DeleteAndJoin( rPam );
SaveTblBoxCntnt( rPam.GetPoint() );
}
@@ -176,7 +176,7 @@ long SwEditShell::Copy( SwEditShell* pDestShell )
pPos = pDestShell->GetCrsr()->GetPoint();
}
if( IsBlockMode() )
- { // In block mode different insert positions will be calculated
+ { // In block mode different insert positions will be calculated
// by simulated cursor movements from the given first insert position
if( nMove )
{
@@ -193,7 +193,7 @@ long SwEditShell::Copy( SwEditShell* pDestShell )
}
SwPosition *pTmp = IsBlockMode() ? pInsertPos.get() : pPos;
// Check if a selection would be copied into itself
- if( pDestShell->GetDoc() == GetDoc() &&
+ if( pDestShell->GetDoc() == GetDoc() &&
*PCURCRSR->Start() <= *pTmp && *pTmp < *PCURCRSR->End() )
return FALSE;
FOREACHPAM_END()
@@ -302,9 +302,9 @@ long SwEditShell::Copy( SwEditShell* pDestShell )
// Ersetz einen selektierten Bereich in einem TextNode mit dem
// String. Ist fuers Suchen&Ersetzen gedacht.
// bRegExpRplc - ersetze Tabs (\\t) und setze den gefundenen String
- // ein ( nicht \& )
- // z.B.: Fnd: "zzz", Repl: "xx\t\\t..&..\&"
- // --> "xx\t<Tab>..zzz..&"
+ // ein ( nicht \& )
+ // z.B.: Fnd: "zzz", Repl: "xx\t\\t..&..\&"
+ // --> "xx\t<Tab>..zzz..&"
BOOL SwEditShell::Replace( const String& rNewStr, BOOL bRegExpRplc )
{
SET_CURR_SHELL( this );
diff --git a/sw/source/core/edit/edfcol.cxx b/sw/source/core/edit/edfcol.cxx
index 6b45e1188245..7194e39de3b2 100644
--- a/sw/source/core/edit/edfcol.cxx
+++ b/sw/source/core/edit/edfcol.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +33,8 @@
#include <hintids.hxx>
#include <editeng/brkitem.hxx>
#include <editsh.hxx>
-#include <doc.hxx> // fuer SwTxtFmtColls
-#include <edimp.hxx> // fuer MACROS
+#include <doc.hxx> // fuer SwTxtFmtColls
+#include <edimp.hxx> // fuer MACROS
#include <ndtxt.hxx>
#include <paratr.hxx>
#include <fmtpdsc.hxx>
@@ -124,9 +124,9 @@ void SwEditShell::FillByEx(SwTxtFmtColl* pColl, BOOL bReset)
if( pSet )
{
// JP 05.10.98: falls eines der Attribute Break/PageDesc/NumRule(auto)
- // im ItemSet steht, so entferne die VORM setzen an der Collection.
- // Ansonst wird zu viel gemacht oder falsche gemacht (NumRules!)
- // Bug 57568
+ // im ItemSet steht, so entferne die VORM setzen an der Collection.
+ // Ansonst wird zu viel gemacht oder falsche gemacht (NumRules!)
+ // Bug 57568
// AutoNumRules NICHT in die Vorlagen uebernehmen
const SfxPoolItem* pItem;
diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx
index deabf5606905..71106550895b 100644
--- a/sw/source/core/edit/edfld.cxx
+++ b/sw/source/core/edit/edfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <unotools/charclass.hxx>
#include <editsh.hxx>
#include <fldbas.hxx>
-#include <ndtxt.hxx> // GetCurFld
+#include <ndtxt.hxx> // GetCurFld
#include <doc.hxx>
#include <docary.hxx>
#include <fmtfld.hxx>
@@ -206,7 +206,7 @@ void SwEditShell::FieldToText( SwFieldType* pType )
SwClientIter aIter( *pType );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
pPaM->DeleteMark();
const SwFmtFld* pFmtFld = bDDEFld
@@ -249,10 +249,10 @@ void SwEditShell::FieldToText( SwFieldType* pType )
/*************************************************************************
|*
-|* SwEditShell::Insert( SwField )
+|* SwEditShell::Insert( SwField )
|*
-|* Beschreibung an der Cursorposition ein Feld einfuegen
-|* Quelle: vgl. SwEditShell::Insert( String )
+|* Beschreibung an der Cursorposition ein Feld einfuegen
+|* Quelle: vgl. SwEditShell::Insert( String )
|*
*************************************************************************/
void SwEditShell::Insert2(SwField& rFld, const bool bForceExpandHints)
@@ -265,21 +265,21 @@ void SwEditShell::Insert2(SwField& rFld, const bool bForceExpandHints)
? nsSetAttrMode::SETATTR_FORCEHINTEXPAND
: nsSetAttrMode::SETATTR_DEFAULT;
- FOREACHPAM_START(this) // fuer jeden PaM
+ FOREACHPAM_START(this) // fuer jeden PaM
bool bSuccess(GetDoc()->InsertPoolItem(*PCURCRSR, aFld, nInsertFlags));
OSL_ENSURE( bSuccess, "Doc->Insert(Field) failed");
(void) bSuccess;
- FOREACHPAM_END() // fuer jeden PaM
+ FOREACHPAM_END() // fuer jeden PaM
EndAllAction();
}
/*************************************************************************
|*
-|* SwEditShell::GetCurFld()
+|* SwEditShell::GetCurFld()
|*
-|* Beschreibung Stehen die PaMs auf Feldern ?
-|* Quelle: edtfrm.cxx:
+|* Beschreibung Stehen die PaMs auf Feldern ?
+|* Quelle: edtfrm.cxx:
|*
*************************************************************************/
@@ -328,10 +328,10 @@ SwField* SwEditShell::GetCurFld() const
/*************************************************************************
|*
-|* SwEditShell::UpdateFlds()
+|* SwEditShell::UpdateFlds()
|*
-|* Beschreibung Stehen die PaMs auf Feldern ?
-|* BP 12.05.92
+|* Beschreibung Stehen die PaMs auf Feldern ?
+|* BP 12.05.92
|*
*************************************************************************/
SwTxtFld* lcl_FindInputFld( SwDoc* pDoc, SwField& rFld )
@@ -376,11 +376,11 @@ void SwEditShell::UpdateFlds( SwField &rFld )
SwTxtFld *pTxtFld;
SwFmtFld *pFmtFld;
-// if( pCrsr->GetNext() == pCrsr && !pCrsr->HasMark() &&
-// ( 0 != ( pTxtFld = GetDocTxtFld( pCrsr->Start() ) ) ||
-// 0 != ( pTxtFld = lcl_FindInputFld( GetDoc(), rFld ) ) ) &&
-// ( pFmtFld = (SwFmtFld*)&pTxtFld->GetFld())->GetFld()
-// ->GetTyp()->Which() == rFld.GetTyp()->Which() )
+// if( pCrsr->GetNext() == pCrsr && !pCrsr->HasMark() &&
+// ( 0 != ( pTxtFld = GetDocTxtFld( pCrsr->Start() ) ) ||
+// 0 != ( pTxtFld = lcl_FindInputFld( GetDoc(), rFld ) ) ) &&
+// ( pFmtFld = (SwFmtFld*)&pTxtFld->GetFld())->GetFld()
+// ->GetTyp()->Which() == rFld.GetTyp()->Which() )
if ( pCrsr->GetNext() == pCrsr && !pCrsr->HasMark())
{
pTxtFld = GetDocTxtFld(pCrsr->Start());
@@ -399,8 +399,8 @@ void SwEditShell::UpdateFlds( SwField &rFld )
BOOL bTblSelBreak = FALSE;
SwMsgPoolItem aHint( RES_TXTATR_FIELD ); // Such-Hint
- FOREACHPAM_START(this) // fuer jeden PaM
- if( PCURCRSR->HasMark() && bOkay ) // ... mit Selektion
+ FOREACHPAM_START(this) // fuer jeden PaM
+ if( PCURCRSR->HasMark() && bOkay ) // ... mit Selektion
{
// Kopie des PaM
SwPaM aCurPam( *PCURCRSR->GetMark(), *PCURCRSR->GetPoint() );
@@ -417,11 +417,11 @@ void SwEditShell::UpdateFlds( SwField &rFld )
*/
// Suche nach SwTxtFld ...
- while( bOkay
+ while( bOkay
&& pCurStt->nContent != pCurEnd->nContent
&& aPam.Find( aHint, FALSE, fnMoveForward, &aCurPam ) )
{
- // wenn nur ein Pam mehr als ein Feld enthaelt ...
+ // wenn nur ein Pam mehr als ein Feld enthaelt ...
if( aPam.Start()->nContent != pCurStt->nContent )
bOkay = FALSE;
@@ -444,10 +444,10 @@ void SwEditShell::UpdateFlds( SwField &rFld )
}
}
- if( bTblSelBreak ) // wenn Tabellen Selektion und Tabellen-
- break; // Formel aktualisiert wurde -> beenden
+ if( bTblSelBreak ) // wenn Tabellen Selektion und Tabellen-
+ break; // Formel aktualisiert wurde -> beenden
- FOREACHPAM_END() // fuer jeden PaM
+ FOREACHPAM_END() // fuer jeden PaM
}
GetDoc()->SetModified();
EndAllAction();
@@ -493,7 +493,7 @@ void SwEditShell::UpdateExpFlds(BOOL bCloseDB)
StartAllAction();
GetDoc()->UpdateExpFlds(NULL, true);
if (bCloseDB)
- GetDoc()->GetNewDBMgr()->CloseAll(); // Alle Datenbankverbindungen dichtmachen
+ GetDoc()->GetNewDBMgr()->CloseAll(); // Alle Datenbankverbindungen dichtmachen
EndAllAction();
}
diff --git a/sw/source/core/edit/edfldexp.cxx b/sw/source/core/edit/edfldexp.cxx
index a16f84281154..74f3b6037584 100644
--- a/sw/source/core/edit/edfldexp.cxx
+++ b/sw/source/core/edit/edfldexp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <doc.hxx>
#include <docary.hxx>
-#include <ndtxt.hxx> // GetCurFld
+#include <ndtxt.hxx> // GetCurFld
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <edimp.hxx>
diff --git a/sw/source/core/edit/edfmt.cxx b/sw/source/core/edit/edfmt.cxx
index 20e54ef0001a..016fa4ddb8d2 100644
--- a/sw/source/core/edit/edfmt.cxx
+++ b/sw/source/core/edit/edfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -93,7 +93,7 @@ void SwEditShell::FillByEx(SwCharFmt* pCharFmt, BOOL bReset)
{
const SwPosition* pPtPos = pPam->GetPoint();
const SwPosition* pMkPos = pPam->GetMark();
- if( pPtPos->nNode == pMkPos->nNode ) // im selben Node ?
+ if( pPtPos->nNode == pMkPos->nNode ) // im selben Node ?
{
nStt = pPtPos->nContent.GetIndex();
if( nStt < pMkPos->nContent.GetIndex() )
diff --git a/sw/source/core/edit/edglbldc.cxx b/sw/source/core/edit/edglbldc.cxx
index 15b1a45f072d..38fbf54b7687 100644
--- a/sw/source/core/edit/edglbldc.cxx
+++ b/sw/source/core/edit/edglbldc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <ndtxt.hxx>
#include <docary.hxx>
#include <swwait.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <section.hxx>
#include <doctxm.hxx>
#include <edglbldc.hxx>
@@ -52,7 +52,7 @@ BOOL SwEditShell::IsGlobalDoc() const
void SwEditShell::SetGlblDocSaveLinks( BOOL bFlag )
{
getIDocumentSettingAccess()->set(IDocumentSettingAccess::GLOBAL_DOCUMENT_SAVE_LINKS, bFlag);
- if( !GetDoc()->IsModified() ) // Bug 57028
+ if( !GetDoc()->IsModified() ) // Bug 57028
GetDoc()->SetUndoNoResetModified();
GetDoc()->SetModified();
}
@@ -83,7 +83,7 @@ USHORT SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
SwGlblDocContentPtr pNew;
switch( pSect->GetType() )
{
- case TOX_HEADER_SECTION: break; // ignore
+ case TOX_HEADER_SECTION: break; // ignore
case TOX_CONTENT_SECTION:
OSL_ENSURE( pSect->ISA( SwTOXBaseSection ), "keine TOXBaseSection!" );
pNew = new SwGlblDocContent( (SwTOXBaseSection*)pSect );
@@ -114,7 +114,7 @@ USHORT SwEditShell::GetGlobalDocContent( SwGlblDocContents& rArr ) const
if( !rArr.Insert( pNew ) )
delete pNew;
else
- ++n; // auf die naechste Position
+ ++n; // auf die naechste Position
break;
}
diff --git a/sw/source/core/edit/edglss.cxx b/sw/source/core/edit/edglss.cxx
index a35eb7848b39..5fb1ad940c3d 100644
--- a/sw/source/core/edit/edglss.cxx
+++ b/sw/source/core/edit/edglss.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +40,15 @@
#include <editsh.hxx>
#include <edimp.hxx>
#include <frmfmt.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <ndtxt.hxx>
-#include <swtable.hxx> // fuers kopieren von Tabellen
-#include <shellio.hxx> // SwTextBlocks
+#include <swtable.hxx> // fuers kopieren von Tabellen
+#include <shellio.hxx> // SwTextBlocks
#include <acorrect.hxx>
-#include <swerror.h> // SwTextBlocks
+#include <swerror.h> // SwTextBlocks
/******************************************************************************
- * jetzt mit einem verkappten Reader/Writer/Dokument
+ * jetzt mit einem verkappten Reader/Writer/Dokument
******************************************************************************/
void SwEditShell::InsertGlossary( SwTextBlocks& rGlossary, const String& rStr )
@@ -60,8 +60,8 @@ void SwEditShell::InsertGlossary( SwTextBlocks& rGlossary, const String& rStr )
/******************************************************************************
- * aktuelle Selektion zum Textbaustein machen und ins
- * Textbausteindokument einfuegen, einschliesslich Vorlagen
+ * aktuelle Selektion zum Textbaustein machen und ins
+ * Textbausteindokument einfuegen, einschliesslich Vorlagen
******************************************************************************/
@@ -176,7 +176,7 @@ USHORT SwEditShell::SaveGlossaryDoc( SwTextBlocks& rBlock,
}
/******************************************************************************
- * kopiere alle Selectionen und das Doc
+ * kopiere alle Selectionen und das Doc
******************************************************************************/
@@ -243,7 +243,7 @@ BOOL SwEditShell::_CopySelToDoc( SwDoc* pInsDoc, SwNodeIndex* pSttNd )
if( !PCURCRSR->HasMark() )
{
- if( 0 != (pNd = PCURCRSR->GetCntntNode()) &&
+ if( 0 != (pNd = PCURCRSR->GetCntntNode()) &&
( bColSel || !pNd->GetTxtNode() ) )
{
PCURCRSR->SetMark();
@@ -276,15 +276,15 @@ BOOL SwEditShell::_CopySelToDoc( SwDoc* pInsDoc, SwNodeIndex* pSttNd )
}
/*------------------------------------------------------------------------
- Beschreibung: Text innerhalb der Selektion erfragen
- Returnwert: liefert FALSE, wenn der selektierte Bereich
+ Beschreibung: Text innerhalb der Selektion erfragen
+ Returnwert: liefert FALSE, wenn der selektierte Bereich
zu gross ist, um in den Stringpuffer kopiert zu werden.
------------------------------------------------------------------------*/
BOOL SwEditShell::GetSelectedText( String &rBuf, int nHndlParaBrk )
{
BOOL bRet = FALSE;
- GetCrsr(); // ggfs. alle Cursor erzeugen lassen
+ GetCrsr(); // ggfs. alle Cursor erzeugen lassen
if( IsSelOnePara() )
{
rBuf = GetSelTxt();
diff --git a/sw/source/core/edit/editsh.cxx b/sw/source/core/edit/editsh.cxx
index 73a099ceb208..dcb831c5c33e 100644
--- a/sw/source/core/edit/editsh.cxx
+++ b/sw/source/core/edit/editsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +47,11 @@
#include <frame.hxx>
#include <cntfrm.hxx>
#include <pam.hxx>
-#include <ndtxt.hxx> // fuer SwTxtNode
+#include <ndtxt.hxx> // fuer SwTxtNode
#include <grfatr.hxx>
#include <flyfrm.hxx>
#include <swtable.hxx>
-#include <swundo.hxx> // UNDO_START, UNDO_END
+#include <swundo.hxx> // UNDO_START, UNDO_END
#include <calc.hxx>
#include <edimp.hxx>
#include <ndgrf.hxx>
@@ -75,7 +75,7 @@ using namespace com::sun::star;
SV_IMPL_PTRARR(SwGetINetAttrs, SwGetINetAttr*)
/******************************************************************************
- * void SwEditShell::Insert(char c)
+ * void SwEditShell::Insert(char c)
******************************************************************************/
@@ -99,7 +99,7 @@ void SwEditShell::Insert( sal_Unicode c, BOOL bOnlyCurrCrsr )
/******************************************************************************
- * void SwEditShell::Insert(const String &rStr)
+ * void SwEditShell::Insert(const String &rStr)
******************************************************************************/
@@ -177,7 +177,7 @@ void SwEditShell::Insert2(const String &rStr, const bool bForceExpandHints )
/******************************************************************************
- * void SwEditShell::Overwrite(const String &rStr)
+ * void SwEditShell::Overwrite(const String &rStr)
******************************************************************************/
@@ -196,7 +196,7 @@ void SwEditShell::Overwrite(const String &rStr)
/******************************************************************************
- * long SwEditShell::SplitNode()
+ * long SwEditShell::SplitNode()
******************************************************************************/
long SwEditShell::SplitNode( BOOL bAutoFormat, BOOL bCheckTableStart )
@@ -244,8 +244,8 @@ sal_Bool SwEditShell::AppendTxtNode()
}
/******************************************************************************
- * liefert einen Pointer auf einen SwGrfNode; dieser wird von
- * GetGraphic() und GetGraphicSize() verwendet.
+ * liefert einen Pointer auf einen SwGrfNode; dieser wird von
+ * GetGraphic() und GetGraphicSize() verwendet.
******************************************************************************/
@@ -260,9 +260,9 @@ SwGrfNode * SwEditShell::_GetGrfNode() const
return pGrfNode;
}
/******************************************************************************
- * liefert Pointer auf eine Graphic, wenn CurCrsr->GetPoint() auf
- * einen SwGrfNode zeigt (und GetMark nicht gesetzt ist
- * oder auf die gleiche Graphic zeigt)
+ * liefert Pointer auf eine Graphic, wenn CurCrsr->GetPoint() auf
+ * einen SwGrfNode zeigt (und GetMark nicht gesetzt ist
+ * oder auf die gleiche Graphic zeigt)
******************************************************************************/
// --> OD 2005-02-09 #119353# - robust
@@ -331,9 +331,9 @@ USHORT SwEditShell::GetGraphicType() const
}
/******************************************************************************
- * liefert die Groesse der Graphic, wenn CurCrsr->GetPoint() auf
- * einen SwGrfNode zeigt (und GetMark nicht gesetzt ist
- * oder auf die gleiche Graphic zeigt)
+ * liefert die Groesse der Graphic, wenn CurCrsr->GetPoint() auf
+ * einen SwGrfNode zeigt (und GetMark nicht gesetzt ist
+ * oder auf die gleiche Graphic zeigt)
******************************************************************************/
BOOL SwEditShell::GetGrfSize(Size& rSz) const
@@ -351,8 +351,8 @@ BOOL SwEditShell::GetGrfSize(Size& rSz) const
}
/******************************************************************************
- * erneutes Einlesen, falls Graphic nicht Ok ist. Die
- * aktuelle wird durch die neue ersetzt.
+ * erneutes Einlesen, falls Graphic nicht Ok ist. Die
+ * aktuelle wird durch die neue ersetzt.
******************************************************************************/
void SwEditShell::ReRead( const String& rGrfName, const String& rFltName,
@@ -365,9 +365,9 @@ void SwEditShell::ReRead( const String& rGrfName, const String& rFltName,
/******************************************************************************
- * liefert den Namen und den FilterNamen einer Graphic, wenn der Cursor
- * auf einer Graphic steht
- * Ist ein String-Ptr != 0 dann returne den entsp. Namen
+ * liefert den Namen und den FilterNamen einer Graphic, wenn der Cursor
+ * auf einer Graphic steht
+ * Ist ein String-Ptr != 0 dann returne den entsp. Namen
******************************************************************************/
@@ -448,11 +448,11 @@ void SwEditShell::ClearAutomaticContour()
}
/******************************************************************************
- * liefert Pointer auf ein SvInPlaceObjectRef, wenn CurCrsr->GetPoint() auf
- * einen SwOLENode zeigt (und GetMark nicht gesetzt ist
- * oder auf das gleiche SvInPlaceObjectRef zeigt)
- * besorgt den Pointer vom Doc wenn das Objekt per Namen gesucht werden
- * soll
+ * liefert Pointer auf ein SvInPlaceObjectRef, wenn CurCrsr->GetPoint() auf
+ * einen SwOLENode zeigt (und GetMark nicht gesetzt ist
+ * oder auf das gleiche SvInPlaceObjectRef zeigt)
+ * besorgt den Pointer vom Doc wenn das Objekt per Namen gesucht werden
+ * soll
******************************************************************************/
svt::EmbeddedObjectRef& SwEditShell::GetOLEObject() const
@@ -503,7 +503,7 @@ void SwEditShell::UpdateCharts( const String &rName )
/******************************************************************************
- * Aenderung des Tabellennamens
+ * Aenderung des Tabellennamens
******************************************************************************/
void SwEditShell::SetTableName( SwFrmFmt& rTblFmt, const String &rNewName )
@@ -524,7 +524,7 @@ String SwEditShell::GetCurWord()
}
/****************************************************************************
- * void SwEditShell::UpdateDocStat( SwDocStat& rStat )
+ * void SwEditShell::UpdateDocStat( SwDocStat& rStat )
****************************************************************************/
@@ -551,7 +551,7 @@ USHORT SwEditShell::GetRefMarks( SvStringsDtor* pStrings ) const
}
/******************************************************************************
- * DropCap-SS
+ * DropCap-SS
******************************************************************************/
@@ -621,18 +621,18 @@ void SwEditShell::ReplaceDropTxt( const String &rStr )
}
/******************************************************************************
- * Methode :
- * Beschreibung:
- * Erstellt : OK 25.04.94 13:45
- * Aenderung :
+ * Methode :
+ * Beschreibung:
+ * Erstellt : OK 25.04.94 13:45
+ * Aenderung :
******************************************************************************/
String SwEditShell::Calculate()
{
- String aFormel; // die entgueltige Formel
- SwPaM *pPaMLast = (SwPaM*)GetCrsr()->GetNext(),
- *pPaM = pPaMLast; // die Pointer auf Cursor
- SwCalc aCalc( *GetDoc() );
+ String aFormel; // die entgueltige Formel
+ SwPaM *pPaMLast = (SwPaM*)GetCrsr()->GetNext(),
+ *pPaM = pPaMLast; // die Pointer auf Cursor
+ SwCalc aCalc( *GetDoc() );
const CharClass& rCC = GetAppCharClass();
do {
@@ -647,7 +647,7 @@ String SwEditShell::Calculate()
rCC.toLower( aStr );
sal_Unicode ch;
- BOOL bValidFlds = FALSE;
+ BOOL bValidFlds = FALSE;
xub_StrLen nPos = 0;
while( nPos < aStr.Len() )
@@ -750,7 +750,7 @@ Graphic SwEditShell::GetIMapGraphic() const
BOOL SwEditShell::InsertURL( const SwFmtINetFmt& rFmt, const String& rStr, BOOL bKeepSelection )
{
// URL und Hinweistext (direkt oder via Selektion) notwendig
- if( !rFmt.GetValue().Len() || ( !rStr.Len() && !HasSelection() ) )
+ if( !rFmt.GetValue().Len() || ( !rStr.Len() && !HasSelection() ) )
return FALSE;
StartAllAction();
GetDoc()->StartUndo( UNDO_UI_INSERT_URLTXT, NULL);
@@ -771,7 +771,7 @@ BOOL SwEditShell::InsertURL( const SwFmtINetFmt& rFmt, const String& rStr, BOOL
if( sTxt == rStr )
bDelTxt = bInsTxt = FALSE;
}
- else if( rFmt.GetValue() == rStr ) // Name und URL gleich?
+ else if( rFmt.GetValue() == rStr ) // Name und URL gleich?
bDelTxt = bInsTxt = FALSE;
if( bDelTxt )
@@ -976,12 +976,12 @@ USHORT SwEditShell::GetLineCount( BOOL bActPos )
0 != ( pCntFrm = pCNd->GetFrm() ) )
{
const SwStartNode *pTmp;
- if( pCntFrm->IsInFly() ) // Fly
+ if( pCntFrm->IsInFly() ) // Fly
pTmp = pCNd->FindFlyStartNode();
- else if( pCntFrm->IsInFtn() ) // Footnote
+ else if( pCntFrm->IsInFtn() ) // Footnote
pTmp = pCNd->FindFootnoteStartNode();
else
- { // Footer/Header
+ { // Footer/Header
const USHORT nTyp = FRM_HEADER | FRM_FOOTER;
SwFrm* pFrm = pCntFrm;
while( pFrm && !(pFrm->GetType() & nTyp) )
@@ -1100,8 +1100,8 @@ String SwEditShell::DeleteExtTextInput( SwExtTextInput* pDel, BOOL bInsText )
if( !pDel )
{
//JP 25.10.2001: under UNIX the cursor is moved before the Input-
- // Engine event comes in. So take any - normally there
- // exist only one at the time. -- Task 92016
+ // Engine event comes in. So take any - normally there
+ // exist only one at the time. -- Task 92016
pDel = GetDoc()->GetExtTextInput();
}
}
@@ -1156,7 +1156,7 @@ void SwEditShell::SetExtTextInputData( const CommandExtTextInputData& rData )
EndAllAction();
- if( !rData.IsCursorVisible() ) // must be called after the EndAction
+ if( !rData.IsCursorVisible() ) // must be called after the EndAction
HideCrsr();
}
}
diff --git a/sw/source/core/edit/edlingu.cxx b/sw/source/core/edit/edlingu.cxx
index 25cc35503e69..6dcdcd71b145 100644
--- a/sw/source/core/edit/edlingu.cxx
+++ b/sw/source/core/edit/edlingu.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,12 +50,12 @@
#include <doc.hxx>
#include <rootfrm.hxx> // SwRootFrm
#include <pam.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <ndtxt.hxx> // AdjHyphPos
#include <viewopt.hxx> // HyphStart/End
-#include <viscrs.hxx> // SwShellCrsr
-#include <SwGrammarMarkUp.hxx> // SwWrongList
-#include <mdiexp.hxx> // Statusanzeige
+#include <viscrs.hxx> // SwShellCrsr
+#include <SwGrammarMarkUp.hxx> // SwWrongList
+#include <mdiexp.hxx> // Statusanzeige
#include <statstr.hrc> // StatLine-String
#include <cntfrm.hxx>
#include <crsskip.hxx>
@@ -77,21 +77,21 @@ using namespace ::com::sun::star::linguistic2;
extern void repaintTextFrames( SwModify& rModify );
/*************************************************************************
- * class SwLinguIter
+ * class SwLinguIter
*************************************************************************/
class SwLinguIter
{
SwEditShell *pSh;
- SwPosition *pStart;
- SwPosition *pEnd;
- SwPosition *pCurr;
- SwPosition *pCurrX;
+ SwPosition *pStart;
+ SwPosition *pEnd;
+ SwPosition *pCurr;
+ SwPosition *pCurrX;
sal_uInt16 nCrsrCnt;
public:
SwLinguIter();
- inline SwEditShell *GetSh() { return pSh; }
+ inline SwEditShell *GetSh() { return pSh; }
inline const SwEditShell *GetSh() const { return pSh; }
inline const SwPosition *GetEnd() const { return pEnd; }
@@ -115,7 +115,7 @@ public:
};
/*************************************************************************
- * class SwSpellIter
+ * class SwSpellIter
*************************************************************************/
// #i18881# to be able to identify the postions of the changed words
@@ -128,7 +128,7 @@ struct SpellContentPosition
typedef std::vector<SpellContentPosition> SpellContentPositions;
class SwSpellIter : public SwLinguIter
{
- uno::Reference< XSpellChecker1 > xSpeller;
+ uno::Reference< XSpellChecker1 > xSpeller;
::svx::SpellPortions aLastPortions;
SpellContentPositions aLastPositions;
@@ -139,12 +139,12 @@ class SwSpellIter : public SwLinguIter
void CreatePortion(uno::Reference< XSpellAlternatives > xAlt,
linguistic2::ProofreadingResult* pGrammarResult,
bool bIsField, bool bIsHidden);
-
+
void AddPortion(uno::Reference< XSpellAlternatives > xAlt,
- linguistic2::ProofreadingResult* pGrammarResult,
+ linguistic2::ProofreadingResult* pGrammarResult,
const SpellContentPositions& rDeletedRedlines);
public:
- SwSpellIter() :
+ SwSpellIter() :
bBackToStartOfSentence(false), bMoveToEndOfSentence(false) {}
void Start( SwEditShell *pSh, SwDocPositions eStart, SwDocPositions eEnd );
@@ -177,7 +177,7 @@ public:
};
/*************************************************************************
- * class SwHyphIter
+ * class SwHyphIter
*************************************************************************/
class SwHyphIter : public SwLinguIter
@@ -200,9 +200,9 @@ public:
void ShowSelection();
};
-static SwSpellIter* pSpellIter = 0;
+static SwSpellIter* pSpellIter = 0;
static SwConvIter* pConvIter = 0;
-static SwHyphIter* pHyphIter = 0;
+static SwHyphIter* pHyphIter = 0;
// Wir ersparen uns in Hyphenate ein GetFrm()
// Achtung: in txtedt.cxx stehen extern-Deklarationen auf diese Pointer!
@@ -210,7 +210,7 @@ const SwTxtNode *pLinguNode;
SwTxtFrm *pLinguFrm;
/*************************************************************************
- * SwLinguIter::SwLinguIter
+ * SwLinguIter::SwLinguIter
*************************************************************************/
SwLinguIter::SwLinguIter()
@@ -220,7 +220,7 @@ SwLinguIter::SwLinguIter()
}
/*************************************************************************
- * SwLinguIter::Start
+ * SwLinguIter::Start
*************************************************************************/
@@ -243,7 +243,7 @@ void SwLinguIter::_Start( SwEditShell *pShell, SwDocPositions eStart,
SwPaM *pCrsr = pSh->GetCrsr();
// pStk->SetCurCrsr();
-// if( pCrsr->HasMark() || pCrsr != pCrsr->GetNext() )
+// if( pCrsr->HasMark() || pCrsr != pCrsr->GetNext() )
if( pShell->HasSelection() || pCrsr != pCrsr->GetNext() )
{
bSetCurr = 0 != GetCurr();
@@ -289,7 +289,7 @@ void SwLinguIter::_Start( SwEditShell *pShell, SwDocPositions eStart,
}
/*************************************************************************
- * SwLinguIter::End
+ * SwLinguIter::End
*************************************************************************/
@@ -321,7 +321,7 @@ void SwLinguIter::_End(bool bRestoreSelection)
}
/*************************************************************************
- * virtual SwSpellIter::Start()
+ * virtual SwSpellIter::Start()
*************************************************************************/
@@ -341,7 +341,7 @@ void SwSpellIter::Start( SwEditShell *pShell, SwDocPositions eStart,
}
/*************************************************************************
- * SwSpellIter::Continue
+ * SwSpellIter::Continue
*************************************************************************/
// SwSpellIter::Continue ist das alte Original von
@@ -358,7 +358,7 @@ uno::Any SwSpellIter::Continue( sal_uInt16* pPageCnt, sal_uInt16* pPageSt )
if( !pMySh )
return aSpellRet;
-// const SwPosition *pEnd = GetEnd();
+// const SwPosition *pEnd = GetEnd();
OSL_ENSURE( GetEnd(), "SwEditShell::SpellContinue() ohne Start?");
@@ -513,7 +513,7 @@ void SwHyphIter::ShowSelection()
}
/*************************************************************************
- * virtual SwHyphIter::Start()
+ * virtual SwHyphIter::Start()
*************************************************************************/
@@ -534,7 +534,7 @@ void SwHyphIter::Start( SwEditShell *pShell, SwDocPositions eStart, SwDocPositio
}
/*************************************************************************
- * virtual SwHyphIter::End
+ * virtual SwHyphIter::End
*************************************************************************/
// Selektionen wiederherstellen
@@ -550,7 +550,7 @@ void SwHyphIter::End()
}
/*************************************************************************
- * SwHyphIter::Continue
+ * SwHyphIter::Continue
*************************************************************************/
uno::Any SwHyphIter::Continue( sal_uInt16* pPageCnt, sal_uInt16* pPageSt )
@@ -594,7 +594,7 @@ uno::Any SwHyphIter::Continue( sal_uInt16* pPageCnt, sal_uInt16* pPageSt )
{
pMySh->InsertSoftHyph( xHyphWord->getHyphenationPos() + 1);
}
- } while( bAuto && xHyphWord.is() ); //end of do-while
+ } while( bAuto && xHyphWord.is() ); //end of do-while
bGoOn = !xHyphWord.is() && GetCrsrCnt() > 1;
if( bGoOn )
@@ -614,7 +614,7 @@ uno::Any SwHyphIter::Continue( sal_uInt16* pPageCnt, sal_uInt16* pPageSt )
}
/*************************************************************************
- * SwHyphIter::HyphIgnore
+ * SwHyphIter::HyphIgnore
*************************************************************************/
// Beschreibung: Trennstelle ignorieren
@@ -633,7 +633,7 @@ void SwHyphIter::Ignore()
}
/*************************************************************************
- * SwHyphIter::DelSoftHyph
+ * SwHyphIter::DelSoftHyph
*************************************************************************/
void SwHyphIter::DelSoftHyph( SwPaM &rPam )
@@ -646,7 +646,7 @@ void SwHyphIter::DelSoftHyph( SwPaM &rPam )
}
/*************************************************************************
- * SwHyphIter::InsertSoftHyph
+ * SwHyphIter::InsertSoftHyph
*************************************************************************/
@@ -700,7 +700,7 @@ bool SwEditShell::HasLastSentenceGotGrammarChecked() const
::svx::SpellPortions aLastPortions( pSpellIter->GetLastPortions() );
for (size_t i = 0; i < aLastPortions.size() && !bTextWasGrammarChecked; ++i)
{
- // bIsGrammarError is also true if the text was only checked but no
+ // bIsGrammarError is also true if the text was only checked but no
// grammar error was found. (That is if a ProofreadingResult was obtained in
// SwDoc::Spell and in turn bIsGrammarError was set in SwSpellIter::CreatePortion)
if (aLastPortions[i].bIsGrammarError)
@@ -831,8 +831,8 @@ uno::Any SwEditShell::SpellContinue(
OSL_ENSURE( pConvArgs || pSpellIter, "SpellIter missing" );
OSL_ENSURE( !pConvArgs || pConvIter, "ConvIter missing" );
//JP 18.07.95: verhinder bei Fehlermeldungen die Anzeige der Selektionen
- // KEIN StartAction, da damit auch die Paints abgeschaltet
- // werden !!!!!
+ // KEIN StartAction, da damit auch die Paints abgeschaltet
+ // werden !!!!!
++nStartAction;
rtl::OUString aRet;
uno::Reference< uno::XInterface > xRet;
@@ -857,7 +857,7 @@ uno::Any SwEditShell::SpellContinue(
return aRes;
}
/*************************************************************************
- * SwEditShell::HyphStart
+ * SwEditShell::HyphStart
*************************************************************************/
/* Interaktive Trennung, BP 10.03.93
@@ -865,26 +865,26 @@ uno::Any SwEditShell::SpellContinue(
* 1) HyphStart
* - Aufheben aller Selektionen
* - Sichern des aktuellen Cursors
- * - falls keine Selektion vorhanden:
- * - neue Selektion bis zum Dokumentende
+ * - falls keine Selektion vorhanden:
+ * - neue Selektion bis zum Dokumentende
* 2) HyphContinue
- * - nLastHyphLen wird auf den Selektionsstart addiert
- * - iteriert ueber alle selektierten Bereiche
- * - pDoc->Hyphenate() iteriert ueber alle Nodes der Selektion
- * - pTxtNode->Hyphenate() ruft das SwTxtFrm::Hyphenate zur EditShell
- * - SwTxtFrm:Hyphenate() iteriert ueber die Zeilen des Pams
- * - LineIter::Hyphenate() stellt den Hyphenator
- * und den Pam auf das zu trennende Wort ein.
- * - Es gibt nur zwei Returnwerte sal_True, wenn eine Trennstelle anliegt
- * und sal_False, wenn der Pam abgearbeitet wurde.
- * - Bei sal_True wird das selektierte Wort zur Anzeige gebracht und
- * nLastHyphLen gesetzt.
- * - Bei sal_False wird die aktuelle Selektion geloescht und die naechste
- * zur aktuellen gewaehlt. Return HYPH_OK, wenn keine mehr vorhanden.
+ * - nLastHyphLen wird auf den Selektionsstart addiert
+ * - iteriert ueber alle selektierten Bereiche
+ * - pDoc->Hyphenate() iteriert ueber alle Nodes der Selektion
+ * - pTxtNode->Hyphenate() ruft das SwTxtFrm::Hyphenate zur EditShell
+ * - SwTxtFrm:Hyphenate() iteriert ueber die Zeilen des Pams
+ * - LineIter::Hyphenate() stellt den Hyphenator
+ * und den Pam auf das zu trennende Wort ein.
+ * - Es gibt nur zwei Returnwerte sal_True, wenn eine Trennstelle anliegt
+ * und sal_False, wenn der Pam abgearbeitet wurde.
+ * - Bei sal_True wird das selektierte Wort zur Anzeige gebracht und
+ * nLastHyphLen gesetzt.
+ * - Bei sal_False wird die aktuelle Selektion geloescht und die naechste
+ * zur aktuellen gewaehlt. Return HYPH_OK, wenn keine mehr vorhanden.
* 3) InsertSoftHyph (wird ggf. von der UI gerufen)
- * - Der aktuelle Cursor wird plaziert und das Attribut eingefuegt.
+ * - Der aktuelle Cursor wird plaziert und das Attribut eingefuegt.
* 4) HyphEnd
- * - Wiederherstellen des alten Cursors, EndAction
+ * - Wiederherstellen des alten Cursors, EndAction
*/
@@ -901,7 +901,7 @@ void SwEditShell::HyphStart( SwDocPositions eStart, SwDocPositions eEnd )
}
/*************************************************************************
- * SwEditShell::HyphEnd
+ * SwEditShell::HyphEnd
*************************************************************************/
// Selektionen wiederherstellen
@@ -919,7 +919,7 @@ void SwEditShell::HyphEnd()
}
/*************************************************************************
- * SwEditShell::HyphContinue
+ * SwEditShell::HyphContinue
*************************************************************************/
// Returnwerte: (BP: ich wuerde es genau umdrehen, aber die UI wuenscht es so)
@@ -942,14 +942,14 @@ uno::Reference< uno::XInterface >
*pPageCnt = nEndPage;
::StartProgress( STR_STATSTR_HYPHEN, 0, nEndPage, GetDoc()->GetDocShell());
}
- else // Hiermit unterdruecken wir ein fuer allemal
- *pPageSt = 1; // das StatLineStartPercent
+ else // Hiermit unterdruecken wir ein fuer allemal
+ *pPageSt = 1; // das StatLineStartPercent
}
OSL_ENSURE( pHyphIter, "wo ist mein Iterator?" );
//JP 18.07.95: verhinder bei Fehlermeldungen die Anzeige der Selektionen
- // KEIN StartAction, da damit auch die Paints abgeschaltet
- // werden !!!!!
+ // KEIN StartAction, da damit auch die Paints abgeschaltet
+ // werden !!!!!
++nStartAction;
uno::Reference< uno::XInterface > xRet;
pHyphIter->Continue( pPageCnt, pPageSt ) >>= xRet;
@@ -963,7 +963,7 @@ uno::Reference< uno::XInterface >
/*************************************************************************
- * SwEditShell::InsertSoftHyph
+ * SwEditShell::InsertSoftHyph
*************************************************************************/
// Zum Einfuegen des SoftHyphens, Position ist der Offset
@@ -978,7 +978,7 @@ void SwEditShell::InsertSoftHyph( const xub_StrLen nHyphPos )
/*************************************************************************
- * SwEditShell::HyphIgnore
+ * SwEditShell::HyphIgnore
*************************************************************************/
// Beschreibung: Trennstelle ignorieren
@@ -987,8 +987,8 @@ void SwEditShell::HyphIgnore()
{
OSL_ENSURE( pHyphIter, "wo ist mein Iterator?" );
//JP 18.07.95: verhinder bei Fehlermeldungen die Anzeige der Selektionen
- // KEIN StartAction, da damit auch die Paints abgeschaltet
- // werden !!!!!
+ // KEIN StartAction, da damit auch die Paints abgeschaltet
+ // werden !!!!!
++nStartAction;
pHyphIter->Ignore();
--nStartAction;
@@ -997,7 +997,7 @@ void SwEditShell::HyphIgnore()
}
/*************************************************************************
- * SwEditShell::GetCorrection()
+ * SwEditShell::GetCorrection()
* liefert eine Liste von Vorschlaegen fuer falsch geschriebene Worte,
* ein NULL-Pointer signalisiert, dass das Wort richtig geschrieben ist,
* eine leere Liste, dass das Wort zwar unbekannt ist, aber keine Alternativen
@@ -1025,7 +1025,7 @@ uno::Reference< XSpellAlternatives >
{
xub_StrLen nBegin = aPos.nContent.GetIndex();
xub_StrLen nLen = 1;
- if( pWrong->InWrongWord(nBegin,nLen) && !pNode->IsSymbol(nBegin) )
+ if( pWrong->InWrongWord(nBegin,nLen) && !pNode->IsSymbol(nBegin) )
{
String aText( pNode->GetTxt().Copy( nBegin, nLen ) );
String aWord( aText );
@@ -1114,8 +1114,8 @@ uno::Reference< XSpellAlternatives >
/*-------------------------------------------------------------------------
-----------------------------------------------------------------------*/
-
-bool SwEditShell::GetGrammarCorrection(
+
+bool SwEditShell::GetGrammarCorrection(
linguistic2::ProofreadingResult /*out*/ &rResult, // the complete result
sal_Int32 /*out*/ &rErrorPosInText, // offset of error position in string that was grammar checked...
sal_Int32 /*out*/ &rErrorIndexInResult, // index of error in rResult.aGrammarErrors
@@ -1151,17 +1151,17 @@ bool SwEditShell::GetGrammarCorrection(
{
// LanguageType eActLang = (LanguageType)pNode->GetLang( nBegin, nLen );
uno::Reference< lang::XComponent > xDoc( pDoc->GetDocShell()->GetBaseModel(), uno::UNO_QUERY );
-
+
// Expand the string:
rtl::OUString aExpandText;
const ModelToViewHelper::ConversionMap* pConversionMap =
pNode->BuildConversionMap( aExpandText );
// get XFlatParagraph to use...
uno::Reference< text::XFlatParagraph > xFlatPara = new SwXFlatParagraph( *pNode, aExpandText, pConversionMap );
-
+
// get error position of cursor in XFlatParagraph
rErrorPosInText = ModelToViewHelper::ConvertToViewPosition( pConversionMap, nBegin );
-
+
sal_Int32 nStartOfSentence = ModelToViewHelper::ConvertToViewPosition( pConversionMap, pWrong->getSentenceStart( nBegin ) );
sal_Int32 nEndOfSentence = ModelToViewHelper::ConvertToViewPosition( pConversionMap, pWrong->getSentenceEnd( nBegin ) );
if( nEndOfSentence == STRING_LEN )
@@ -1174,11 +1174,11 @@ bool SwEditShell::GetGrammarCorrection(
else */
nEndOfSentence = aExpandText.getLength();
}
-
- rResult = xGCIterator->checkSentenceAtPosition(
+
+ rResult = xGCIterator->checkSentenceAtPosition(
xDoc, xFlatPara, aExpandText, lang::Locale(), nStartOfSentence, nEndOfSentence, rErrorPosInText );
bRes = true;
-
+
// get suggestions to use for the specific error position
sal_Int32 nErrors = rResult.aErrors.getLength();
rSuggestions.realloc( 0 );
@@ -1186,14 +1186,14 @@ bool SwEditShell::GetGrammarCorrection(
{
// return suggestions for first error that includes the given error position
const linguistic2::SingleProofreadingError &rError = rResult.aErrors[i];
- if (rError.nErrorStart <= rErrorPosInText &&
+ if (rError.nErrorStart <= rErrorPosInText &&
rErrorPosInText < rError.nErrorStart + rError.nErrorLength)
{
rSuggestions = rError.aSuggestions;
rErrorIndexInResult = i;
break;
}
- }
+ }
}
if (rResult.aErrors.getLength() > 0) // error found?
@@ -1254,7 +1254,7 @@ bool SwEditShell::GetGrammarCorrection(
}
return bRes;
-}
+}
/*-- 18.09.2003 15:08:18---------------------------------------------------
@@ -1303,7 +1303,7 @@ sal_uInt32 lcl_CountRedlines(
void SwEditShell::MoveContinuationPosToEndOfCheckedSentence()
{
- // give hint that continuation position for spell/grammar checking is
+ // give hint that continuation position for spell/grammar checking is
// at the end of this sentence
if (pSpellIter)
{
@@ -1401,7 +1401,7 @@ void SwEditShell::ApplyChangedSentence(const ::svx::SpellPortions& rNewPortions,
//add the 'ignore' markup to the TextNode's grammar ignore markup list
IgnoreGrammarErrorAt( *pCrsr );
DBG_ERROR("TODO: add ignore mark to text node");
- }
+ }
if(aCurrentNewPortion == rNewPortions.begin())
break;
}
@@ -1445,8 +1445,8 @@ void SwEditShell::ApplyChangedSentence(const ::svx::SpellPortions& rNewPortions,
}
}
- // restore cursor to the end of the sentence
- // (will work also if the sentence length has changed,
+ // restore cursor to the end of the sentence
+ // (will work also if the sentence length has changed,
// since cursors get updated automatically!)
Pop( FALSE );
@@ -1575,7 +1575,7 @@ bool SwSpellIter::SpellSentence(::svx::SpellPortions& rPortions, bool bIsGrammar
pMySh->GoStartSentence();
bBackToStartOfSentence = false;
}
- uno::Any aSpellRet =
+ uno::Any aSpellRet =
pMySh->GetDoc()->Spell(*pCrsr,
xSpeller, 0, 0, bIsGrammarCheck );
aSpellRet >>= xSpellRet;
@@ -1654,9 +1654,9 @@ bool SwSpellIter::SpellSentence(::svx::SpellPortions& rPortions, bool bIsGrammar
--nSentenceEnd;
if( pCrsr->End()->nContent.GetIndex() < nSentenceEnd )
{
- pCrsr->End()->nContent.Assign(
+ pCrsr->End()->nContent.Assign(
pCrsr->End()->nNode.GetNode().GetCntntNode(), nSentenceEnd);
- }
+ }
}
lcl_CutRedlines( aDeletedRedlines, pMySh );
@@ -1715,7 +1715,7 @@ bool SwSpellIter::SpellSentence(::svx::SpellPortions& rPortions, bool bIsGrammar
{
//go to the end of sentence as the grammar check returned it
// at this time the Point is behind the grammar error
- // and the mark points to the sentence end as
+ // and the mark points to the sentence end as
if ( *pCrsr->GetPoint() < *pCrsr->GetMark() )
pCrsr->Exchange();
}
@@ -1807,7 +1807,7 @@ void SwSpellIter::CreatePortion(uno::Reference< XSpellAlternatives > xAlt,
}
}
}
- }
+ }
else
aPortion.sText = sText;
aPortion.eLanguage = lcl_GetLanguage(*GetSh());
@@ -1826,7 +1826,7 @@ void SwSpellIter::CreatePortion(uno::Reference< XSpellAlternatives > xAlt,
-----------------------------------------------------------------------*/
void SwSpellIter::AddPortion(uno::Reference< XSpellAlternatives > xAlt,
- linguistic2::ProofreadingResult* pGrammarResult,
+ linguistic2::ProofreadingResult* pGrammarResult,
const SpellContentPositions& rDeletedRedlines)
{
SwEditShell *pMySh = GetSh();
@@ -1971,7 +1971,7 @@ void SwEditShell::IgnoreGrammarErrorAt( SwPaM& rErrorPosition )
++aIdx;
nStart = 0;
}
-}
+}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/edit/ednumber.cxx b/sw/source/core/edit/ednumber.cxx
index ccbbb44ddd4f..ed366786e9b8 100644
--- a/sw/source/core/edit/ednumber.cxx
+++ b/sw/source/core/edit/ednumber.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,20 +55,20 @@ void SwPamRanges::Insert( const SwNodeIndex& rIdx1, const SwNodeIndex& rIdx2 )
{
SwPamRange aRg( rIdx1.GetIndex(), rIdx2.GetIndex() );
if( aRg.nEnd < aRg.nStart )
- { aRg.nStart = aRg.nEnd; aRg.nEnd = rIdx1.GetIndex(); }
+ { aRg.nStart = aRg.nEnd; aRg.nEnd = rIdx1.GetIndex(); }
USHORT nPos = 0;
const SwPamRange* pTmp;
- if( Count() && Seek_Entry( aRg, &nPos )) // suche Insert Position
+ if( Count() && Seek_Entry( aRg, &nPos )) // suche Insert Position
{
// ist der im Array stehende kleiner ??
if( ( pTmp = GetData()+ nPos )->nEnd < aRg.nEnd )
{
aRg.nEnd = pTmp->nEnd;
- Remove( nPos, 1 ); // zusammenfassen
+ Remove( nPos, 1 ); // zusammenfassen
}
else
- return; // ende, weil schon alle zusammengefasst waren
+ return; // ende, weil schon alle zusammengefasst waren
}
BOOL bEnde;
@@ -83,7 +83,7 @@ void SwPamRanges::Insert( const SwNodeIndex& rIdx1, const SwNodeIndex& rIdx2 )
{
aRg.nStart = pTmp->nStart;
bEnde = FALSE;
- Remove( --nPos, 1 ); // zusammenfassen
+ Remove( --nPos, 1 ); // zusammenfassen
}
// SSelection im Bereich ??
else if( pTmp->nStart <= aRg.nStart && aRg.nEnd <= pTmp->nEnd )
@@ -97,7 +97,7 @@ void SwPamRanges::Insert( const SwNodeIndex& rIdx1, const SwNodeIndex& rIdx2 )
{
aRg.nEnd = pTmp->nEnd;
bEnde = FALSE;
- Remove( nPos, 1 ); // zusammenfassen
+ Remove( nPos, 1 ); // zusammenfassen
}
// SSelection im Bereich ??
@@ -130,7 +130,7 @@ SwPaM& SwPamRanges::SetPam( USHORT nArrPos, SwPaM& rPam )
void SwEditShell::SetOutlineNumRule(const SwNumRule& rRule)
{
- StartAllAction(); // Klammern fuers Updaten !!
+ StartAllAction(); // Klammern fuers Updaten !!
GetDoc()->SetOutlineNumRule(rRule);
EndAllAction();
}
@@ -152,7 +152,7 @@ BOOL SwEditShell::NoNum()
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
GetDoc()->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( *pCrsr );
@@ -216,7 +216,7 @@ void SwEditShell::DelNumRules()
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
GetDoc()->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( *pCrsr );
@@ -252,7 +252,7 @@ BOOL SwEditShell::NumUpDown( BOOL bDown )
BOOL bRet = TRUE;
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ?
+ if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ?
bRet = GetDoc()->NumUpDown( *pCrsr, bDown );
else
{
@@ -437,7 +437,7 @@ BOOL SwEditShell::MoveNumParas( BOOL bUpperLower, BOOL bUpperLeft )
long nOffset = 0;
const SwNode* pNd;
- if( bUpperLeft ) // verschiebe nach oben
+ if( bUpperLeft ) // verschiebe nach oben
{
SwPosition aPos( *aCrsr.GetMark() );
if( GetDoc()->GotoPrevNum( aPos, FALSE ) )
@@ -454,7 +454,7 @@ BOOL SwEditShell::MoveNumParas( BOOL bUpperLower, BOOL bUpperLeft )
nOffset = nIdx - nStt;
}
}
- else // verschiebe nach unten
+ else // verschiebe nach unten
{
const SwNumRule* pOrig = aCrsr.GetNode(FALSE)->GetTxtNode()->GetNumRule();
if( aCrsr.GetNode()->IsTxtNode() &&
@@ -514,7 +514,7 @@ BOOL SwEditShell::OutlineUpDown( short nOffset )
BOOL bRet = TRUE;
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ?
+ if( pCrsr->GetNext() == pCrsr ) // keine Mehrfachselektion ?
bRet = GetDoc()->OutlineUpDown( *pCrsr, nOffset );
else
{
@@ -565,7 +565,7 @@ BOOL SwEditShell::IsProtectedOutlinePara() const
// int nTmpLvl = pTmpNd->GetTxtNode()->GetOutlineLevel();//#outline level,zhaojianwei
int nTmpLvl = pTmpNd->GetTxtNode()->GetAttrOutlineLevel();
// OSL_ENSURE( nTmpLvl >= 0 && nTmpLvl < MAXLEVEL,
- OSL_ENSURE( nTmpLvl >= 0 && nTmpLvl <= MAXLEVEL, //<-end,zhaojianwei
+ OSL_ENSURE( nTmpLvl >= 0 && nTmpLvl <= MAXLEVEL, //<-end,zhaojianwei
"<SwEditShell::IsProtectedOutlinePara()>" );
// <--
if( bFirst )
@@ -626,7 +626,7 @@ BOOL SwEditShell::NumOrNoNum( BOOL bNumOn, BOOL bChkStart ) // #115901#
if( pCrsr->GetNext() == pCrsr && !pCrsr->HasMark() &&
( !bChkStart || !pCrsr->GetPoint()->nContent.GetIndex()) )
{
- StartAllAction(); // Klammern fuers Updaten !!
+ StartAllAction(); // Klammern fuers Updaten !!
// #115901#
bRet = GetDoc()->NumOrNoNum( pCrsr->GetPoint()->nNode, !bNumOn ); // #i29560#
EndAllAction();
@@ -658,8 +658,8 @@ BOOL SwEditShell::IsNoNum( BOOL bChkStart ) const
BYTE SwEditShell::GetNumLevel() const
{
// gebe die akt. Ebene zurueck, auf der sich der Point vom Cursor befindet
- //BYTE nLevel = NO_NUMBERING; //#outline level,zhaojianwei
- BYTE nLevel = MAXLEVEL; //end,zhaojianwei
+ //BYTE nLevel = NO_NUMBERING; //#outline level,zhaojianwei
+ BYTE nLevel = MAXLEVEL; //end,zhaojianwei
SwPaM* pCrsr = GetCrsr();
const SwTxtNode* pTxtNd = pCrsr->GetNode()->GetTxtNode();
@@ -700,7 +700,7 @@ void SwEditShell::SetCurNumRule( const SwNumRule& rRule,
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
GetDoc()->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( *pCrsr );
@@ -760,7 +760,7 @@ void SwEditShell::SetNumRuleStart( BOOL bFlag )
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
GetDoc()->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( *pCrsr );
@@ -789,7 +789,7 @@ void SwEditShell::SetNodeNumStart( USHORT nStt )
StartAllAction();
SwPaM* pCrsr = GetCrsr();
- if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
+ if( pCrsr->GetNext() != pCrsr ) // Mehrfachselektion ?
{
GetDoc()->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( *pCrsr );
diff --git a/sw/source/core/edit/edredln.cxx b/sw/source/core/edit/edredln.cxx
index 2bbd97027691..41de9878579b 100644
--- a/sw/source/core/edit/edredln.cxx
+++ b/sw/source/core/edit/edredln.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx
index caa4a084078d..e390117c318d 100644
--- a/sw/source/core/edit/edsect.cxx
+++ b/sw/source/core/edit/edsect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +34,12 @@
#include <editsh.hxx>
#include <pam.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <section.hxx>
#include <edimp.hxx>
-#include <sectfrm.hxx> // SwSectionFrm
-#include <cntfrm.hxx> // SwCntntFrm
-#include <tabfrm.hxx> // SwTabFrm
+#include <sectfrm.hxx> // SwSectionFrm
+#include <cntfrm.hxx> // SwCntntFrm
+#include <tabfrm.hxx> // SwTabFrm
#include <rootfrm.hxx> // SwRootFrm
@@ -288,9 +288,9 @@ USHORT SwEditShell::GetFullSelectedSectionCount() const
// !!!!!!!!!!!!!!!!!!!!!!!!!!
// what about table at start or end ?
-// There is no selection possible!
+// There is no selection possible!
// What about only a table inside the section ?
-// There is only a table selection possible!
+// There is only a table selection possible!
SwNodeIndex aSIdx( pStt->nNode, -1 ), aEIdx( pEnd->nNode, +1 );
if( !aSIdx.GetNode().IsSectionNode() ||
diff --git a/sw/source/core/edit/edtab.cxx b/sw/source/core/edit/edtab.cxx
index 65df523cb512..d74268783c9b 100644
--- a/sw/source/core/edit/edtab.cxx
+++ b/sw/source/core/edit/edtab.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -166,7 +166,7 @@ BOOL SwEditShell::IsTextToTableAvailable() const
// pruefe ob in der Selection eine Tabelle liegt
ULONG nStt = PCURCRSR->GetMark()->nNode.GetIndex(),
nEnd = PCURCRSR->GetPoint()->nNode.GetIndex();
- if( nStt > nEnd ) { ULONG n = nStt; nStt = nEnd; nEnd = n; }
+ if( nStt > nEnd ) { ULONG n = nStt; nStt = nEnd; nEnd = n; }
for( ; nStt <= nEnd; ++nStt )
if( !GetDoc()->GetNodes()[ nStt ]->IsTxtNode() )
@@ -207,7 +207,7 @@ void SwEditShell::InsertDDETable( const SwInsertTableOptions& rInsTblOpts,
SwTableNode* pTblNode = (SwTableNode*)pTbl->GetTabSortBoxes()[ 0 ]->
GetSttNd()->FindTableNode();
SwDDETable* pDDETbl = new SwDDETable( *pTbl, pDDEType );
- pTblNode->SetNewTable( pDDETbl ); // setze die DDE-Tabelle
+ pTblNode->SetNewTable( pDDETbl ); // setze die DDE-Tabelle
if( bEndUndo )
EndUndo( UNDO_END );
@@ -257,7 +257,7 @@ void SwEditShell::SetTblChgMode( TblChgMode eMode )
if( pTblNd )
{
((SwTable&)pTblNd->GetTable()).SetTblChgMode( eMode );
- if( !GetDoc()->IsModified() ) // Bug 57028
+ if( !GetDoc()->IsModified() ) // Bug 57028
GetDoc()->SetUndoNoResetModified();
GetDoc()->SetModified();
}
@@ -452,13 +452,13 @@ BOOL SwEditShell::CanMergeTable( BOOL bWithPrev, BOOL* pChkNxtPrv ) const
// --> FME 2004-09-17 #117418# Consider table in table case
pChkNd->EndOfSectionIndex() == pTblNd->GetIndex() - 1 )
// <--
- *pChkNxtPrv = TRUE, bRet = TRUE; // mit Prev ist moeglich
+ *pChkNxtPrv = TRUE, bRet = TRUE; // mit Prev ist moeglich
else
{
pChkNd = rNds[ pTblNd->EndOfSectionIndex() + 1 ]->GetTableNode();
if( pChkNd && !pChkNd->GetTable().ISA( SwDDETable ) &&
bNew == pChkNd->GetTable().IsNewModel() )
- *pChkNxtPrv = FALSE, bRet = TRUE; // mit Next ist moeglich
+ *pChkNxtPrv = FALSE, bRet = TRUE; // mit Next ist moeglich
}
}
else
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx
index 8a7d9357c1f8..370b9d6719d1 100644
--- a/sw/source/core/edit/edtox.cxx
+++ b/sw/source/core/edit/edtox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <statstr.hrc>
#include <bookmrk.hxx>
#include <xmloff/odffields.hxx>
-
+
using namespace ::com::sun::star;
using namespace ::com::sun::star::i18n;
@@ -120,7 +120,7 @@ BOOL SwEditShell::IsTOXBaseReadonly(const SwTOXBase& rTOXBase) const
{
OSL_ENSURE( rTOXBase.ISA( SwTOXBaseSection ), "no TOXBaseSection!" );
const SwTOXBaseSection& rTOXSect = (const SwTOXBaseSection&)rTOXBase;
- return rTOXSect.IsProtect();
+ return rTOXSect.IsProtect();
}
/* -----------------18.10.99 15:53-------------------
@@ -140,14 +140,14 @@ void SwEditShell::SetTOXBaseReadonly(const SwTOXBase& rTOXBase, BOOL bReadonly)
/* -----------------02.09.99 07:47-------------------
--------------------------------------------------*/
-const SwTOXBase* SwEditShell::GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate )
+const SwTOXBase* SwEditShell::GetDefaultTOXBase( TOXTypes eTyp, BOOL bCreate )
{
return GetDoc()->GetDefaultTOXBase( eTyp, bCreate );
}
/* -----------------02.09.99 08:05-------------------
--------------------------------------------------*/
-void SwEditShell::SetDefaultTOXBase(const SwTOXBase& rBase)
+void SwEditShell::SetDefaultTOXBase(const SwTOXBase& rBase)
{
GetDoc()->SetDefaultTOXBase(rBase);
}
@@ -313,7 +313,7 @@ BOOL SwEditShell::IsUpdateTOX() const
/* -----------------26.08.99 13:49-------------------
--------------------------------------------------*/
-const String& SwEditShell::GetTOIAutoMarkURL() const
+const String& SwEditShell::GetTOIAutoMarkURL() const
{
return GetDoc()->GetTOIAutoMarkURL();
}
@@ -333,7 +333,7 @@ void SwEditShell::ApplyAutoMark()
BOOL bDoesUndo = DoesUndo();
DoUndo(FALSE);
//1. remove all automatic generated index entries if AutoMarkURL has a
- // length and the file exists
+ // length and the file exists
//2. load file
//3. select all occurrences of the searched words
//4. apply index entries
@@ -362,15 +362,15 @@ void SwEditShell::ApplyAutoMark()
//
// SearchOptions to be used in loop below
//
- //SearchAlgorithms eSrchType = SearchAlgorithms_ABSOLUTE;
- //OUString aSrchStr = rText;
- BOOL bCaseSensitive = TRUE;
- BOOL bWordOnly = FALSE;
- BOOL bSrchInSel = FALSE;
- BOOL bLEV_Relaxed = TRUE;
- INT32 nLEV_Other = 2; // -> changedChars;
- INT32 nLEV_Longer = 3; //! -> deletedChars;
- INT32 nLEV_Shorter = 1; //! -> insertedChars;
+ //SearchAlgorithms eSrchType = SearchAlgorithms_ABSOLUTE;
+ //OUString aSrchStr = rText;
+ BOOL bCaseSensitive = TRUE;
+ BOOL bWordOnly = FALSE;
+ BOOL bSrchInSel = FALSE;
+ BOOL bLEV_Relaxed = TRUE;
+ INT32 nLEV_Other = 2; // -> changedChars;
+ INT32 nLEV_Longer = 3; //! -> deletedChars;
+ INT32 nLEV_Shorter = 1; //! -> insertedChars;
INT32 nTransliterationFlags = 0;
//
INT32 nSrchFlags = 0;
@@ -413,14 +413,14 @@ void SwEditShell::ApplyAutoMark()
if( sToSelect.Len() )
{
String sAlternative = sLine.GetToken(0, ';', nTokenPos);
- String sPrimary = sLine.GetToken(0, ';', nTokenPos);
- String sSecondary = sLine.GetToken(0, ';', nTokenPos);
+ String sPrimary = sLine.GetToken(0, ';', nTokenPos);
+ String sSecondary = sLine.GetToken(0, ';', nTokenPos);
String sCase = sLine.GetToken(0, ';', nTokenPos);
- String sWordOnly = sLine.GetToken(0, ';', nTokenPos);
+ String sWordOnly = sLine.GetToken(0, ';', nTokenPos);
//3.
- bCaseSensitive = sCase.Len() && sCase != sZero;
- bWordOnly = sWordOnly.Len() && sWordOnly != sZero;
+ bCaseSensitive = sCase.Len() && sCase != sZero;
+ bWordOnly = sWordOnly.Len() && sWordOnly != sZero;
//
if (!bCaseSensitive)
{
diff --git a/sw/source/core/edit/edundo.cxx b/sw/source/core/edit/edundo.cxx
index 1e6f3ae4a5a8..15fa4dcbb187 100644
--- a/sw/source/core/edit/edundo.cxx
+++ b/sw/source/core/edit/edundo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +69,14 @@ BOOL SwEditShell::Undo( SwUndoId nUndoId, USHORT nCnt )
ClearMark();
// JP 02.04.98: Cursor merken - beim Auto-Format/-Korrektur
- // soll dieser wieder an die Position
+ // soll dieser wieder an die Position
SwUndoId nLastUndoId = GetDoc()->GetUndoIds(NULL, NULL);
BOOL bRestoreCrsr = 1 == nCnt && ( UNDO_AUTOFORMAT == nLastUndoId ||
UNDO_AUTOCORRECT == nLastUndoId );
Push();
//JP 18.09.97: gesicherten TabellenBoxPtr zerstoeren, eine autom.
- // Erkennung darf nur noch fuer die neue "Box" erfolgen!
+ // Erkennung darf nur noch fuer die neue "Box" erfolgen!
ClearTblBoxCntnt();
RedlineMode_t eOld = GetDoc()->GetRedlineMode();
@@ -104,7 +104,7 @@ BOOL SwEditShell::Undo( SwUndoId nUndoId, USHORT nCnt )
Pop( !bRestoreCrsr );
- if( aUndoIter.pSelFmt ) // dann erzeuge eine Rahmen-Selection
+ if( aUndoIter.pSelFmt ) // dann erzeuge eine Rahmen-Selection
{
if( RES_DRAWFRMFMT == aUndoIter.pSelFmt->Which() )
{
@@ -124,8 +124,8 @@ BOOL SwEditShell::Undo( SwUndoId nUndoId, USHORT nCnt )
{
lcl_SelectSdrMarkList( this, aUndoIter.pMarkList );
}
- else if( GetCrsr()->GetNext() != GetCrsr() ) // gehe nach einem
- GoNextCrsr(); // Undo zur alten Undo-Position !!
+ else if( GetCrsr()->GetNext() != GetCrsr() ) // gehe nach einem
+ GoNextCrsr(); // Undo zur alten Undo-Position !!
GetDoc()->SetRedlineMode( eOld );
GetDoc()->CompressRedlines();
@@ -162,7 +162,7 @@ USHORT SwEditShell::Redo( USHORT nCnt )
ClearMark();
//JP 18.09.97: gesicherten TabellenBoxPtr zerstoeren, eine autom.
- // Erkennung darf nur noch fuer die neue "Box" erfolgen!
+ // Erkennung darf nur noch fuer die neue "Box" erfolgen!
ClearTblBoxCntnt();
RedlineMode_t eOld = GetDoc()->GetRedlineMode();
@@ -190,7 +190,7 @@ USHORT SwEditShell::Redo( USHORT nCnt )
if( aUndoIter.IsUpdateAttr() )
UpdateAttr();
- if( aUndoIter.pSelFmt ) // dann erzeuge eine Rahmen-Selection
+ if( aUndoIter.pSelFmt ) // dann erzeuge eine Rahmen-Selection
{
if( RES_DRAWFRMFMT == aUndoIter.pSelFmt->Which() )
{
@@ -210,8 +210,8 @@ USHORT SwEditShell::Redo( USHORT nCnt )
{
lcl_SelectSdrMarkList( this, aUndoIter.pMarkList );
}
- else if( GetCrsr()->GetNext() != GetCrsr() ) // gehe nach einem
- GoNextCrsr(); // Redo zur alten Undo-Position !!
+ else if( GetCrsr()->GetNext() != GetCrsr() ) // gehe nach einem
+ GoNextCrsr(); // Redo zur alten Undo-Position !!
GetDoc()->SetRedlineMode( eOld );
GetDoc()->CompressRedlines();
diff --git a/sw/source/core/edit/edws.cxx b/sw/source/core/edit/edws.cxx
index f50ed630642b..03152c903f61 100644
--- a/sw/source/core/edit/edws.cxx
+++ b/sw/source/core/edit/edws.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwEditShell::~SwEditShell() // USED
}
/******************************************************************************
- * sal_Bool SwEditShell::IsModified() const
+ * sal_Bool SwEditShell::IsModified() const
******************************************************************************/
@@ -78,7 +78,7 @@ sal_Bool SwEditShell::IsModified() const
return GetDoc()->IsModified();
}
/******************************************************************************
- * void SwEditShell::SetModified()
+ * void SwEditShell::SetModified()
******************************************************************************/
@@ -87,7 +87,7 @@ void SwEditShell::SetModified()
GetDoc()->SetModified();
}
/******************************************************************************
- * void SwEditShell::ResetModified()
+ * void SwEditShell::ResetModified()
******************************************************************************/
@@ -103,7 +103,7 @@ void SwEditShell::SetUndoNoResetModified()
}
/******************************************************************************
- * void SwEditShell::StartAllAction()
+ * void SwEditShell::StartAllAction()
******************************************************************************/
@@ -119,7 +119,7 @@ void SwEditShell::StartAllAction()
} while(pSh != this);
}
/******************************************************************************
- * void SwEditShell::EndAllAction()
+ * void SwEditShell::EndAllAction()
******************************************************************************/
@@ -136,7 +136,7 @@ void SwEditShell::EndAllAction()
}
/******************************************************************************
- * void SwEditShell::CalcLayout()
+ * void SwEditShell::CalcLayout()
******************************************************************************/
@@ -158,7 +158,7 @@ void SwEditShell::CalcLayout()
}
/******************************************************************************
- * Inhaltsform bestimmen, holen
+ * Inhaltsform bestimmen, holen
******************************************************************************/
// OPT: wird fuer jedes Attribut gerufen?
@@ -172,7 +172,7 @@ sal_uInt16 SwEditShell::GetCntType() const
else
switch( GetCrsr()->GetNode()->GetNodeType() )
{
- case ND_TEXTNODE: nRet = CNT_TXT; break;
+ case ND_TEXTNODE: nRet = CNT_TXT; break;
case ND_GRFNODE: nRet = CNT_GRF; break;
case ND_OLENODE: nRet = CNT_OLE; break;
}
@@ -205,7 +205,7 @@ sal_Bool SwEditShell::HasOtherCnt() const
}
/******************************************************************************
- * Zugriffsfunktionen fuer Filename-Behandlung
+ * Zugriffsfunktionen fuer Filename-Behandlung
******************************************************************************/
@@ -222,8 +222,8 @@ SwActKontext::~SwActKontext()
}
/******************************************************************************
- * Klasse fuer den automatisierten Aufruf von Start- und
- * EndCrsrMove();
+ * Klasse fuer den automatisierten Aufruf von Start- und
+ * EndCrsrMove();
******************************************************************************/
@@ -239,7 +239,7 @@ SwMvKontext::~SwMvKontext()
}
-SwFrmFmt *SwEditShell::GetTableFmt() // OPT: schnellster Test auf Tabelle?
+SwFrmFmt *SwEditShell::GetTableFmt() // OPT: schnellster Test auf Tabelle?
{
const SwTableNode* pTblNd = IsCrsrInTbl();
return pTblNd ? (SwFrmFmt*)pTblNd->GetTable().GetFrmFmt() : 0;
diff --git a/sw/source/core/except/dbgloop.cxx b/sw/source/core/except/dbgloop.cxx
index 4bc9d568701b..ddb3a7b1a4fd 100644
--- a/sw/source/core/except/dbgloop.cxx
+++ b/sw/source/core/except/dbgloop.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
DbgLoopStack DbgLoop::aDbgLoopStack;
/*************************************************************************
- * class DbgLoopStack
+ * class DbgLoopStack
*************************************************************************/
DbgLoopStack::DbgLoopStack()
@@ -56,7 +56,7 @@ void DbgLoopStack::Reset()
}
/*************************************************************************
- * DbgLoopStack::Push()
+ * DbgLoopStack::Push()
*************************************************************************/
void DbgLoopStack::Push( const void *pThis )
@@ -82,7 +82,7 @@ void DbgLoopStack::Push( const void *pThis )
}
/*************************************************************************
- * DbgLoopStack::Pop()
+ * DbgLoopStack::Pop()
*************************************************************************/
void DbgLoopStack::Pop()
@@ -99,7 +99,7 @@ void DbgLoopStack::Pop()
}
/*************************************************************************
- * DbgLoopStack::Print()
+ * DbgLoopStack::Print()
*************************************************************************/
void DbgLoopStack::Print( SvStream &rOS ) const
@@ -118,7 +118,7 @@ void DbgLoopStack::Print( SvStream &rOS ) const
// compile with: cl /AL /DSTAND_ALONE dbgloop.cxx
/*************************************************************************
- * main()
+ * main()
*************************************************************************/
#include <stdlib.h>
diff --git a/sw/source/core/except/errhdl.cxx b/sw/source/core/except/errhdl.cxx
index a41cc9ed642c..4c80f63c1ad3 100644
--- a/sw/source/core/except/errhdl.cxx
+++ b/sw/source/core/except/errhdl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <vcl/svapp.hxx>
#include <vcl/sound.hxx>
#include <errhdl.hxx>
-#include <error.h> // fuer die defines von ERR_SW6MSG_ ...
+#include <error.h> // fuer die defines von ERR_SW6MSG_ ...
// break into CodeView
#if defined(ZTC) && defined(WIN)
-#define CVBREAK asm( 0xCC );
+#define CVBREAK asm( 0xCC );
#endif
#if defined(MSC) && defined(WIN)
-#define CVBREAK __asm int 3;
+#define CVBREAK __asm int 3;
#endif
#ifndef CVBREAK
#define CVBREAK
@@ -56,9 +56,9 @@
wo der Fehler auftrat.
Die Funktion wird durch das OSL_ENSURE(Makro gerufen!
Parameter:
- USHORT nErrorId Id fuer Fehlermeldung
- char *pFileName Filename in dem der Fehler auftrat
- USHORT nLine Zeilennummer in dem der Fehler auftrat
+ USHORT nErrorId Id fuer Fehlermeldung
+ char *pFileName Filename in dem der Fehler auftrat
+ USHORT nLine Zeilennummer in dem der Fehler auftrat
------------------------------------------------------------------------*/
void AssertFail( USHORT nErrorId, const sal_Char* pFileName )
@@ -66,13 +66,13 @@ void AssertFail( USHORT nErrorId, const sal_Char* pFileName )
// Umsetzung der ErrorId in eine Fehlermeldung
static const sal_Char
/* Error Fehlermeldungen zugriffe ausserhalb eines Bereiches */
- sERR_VAR_IDX[] = "Op[]",
- sERR_OUTOFSCOPE[] = "Zugriff ausserhalb des Bereiches",
+ sERR_VAR_IDX[] = "Op[]",
+ sERR_OUTOFSCOPE[] = "Zugriff ausserhalb des Bereiches",
/* Error Codes fuer Numerierungsregeln */
- sERR_NUMLEVEL[] = "Falscher Num-Level",
+ sERR_NUMLEVEL[] = "Falscher Num-Level",
/* Error Codes fuer TxtNode */
- sERR_NOHINTS[] = "Zugriff auf ungueltiges HintsArray",
- sERR_UNKNOWN[] = "???";
+ sERR_NOHINTS[] = "Zugriff auf ungueltiges HintsArray",
+ sERR_UNKNOWN[] = "???";
static const sal_Char* aErrStrTab[ ERR_SWGMSG_END - ERR_SWGMSG_START +1 ] =
{
diff --git a/sw/source/core/fields/authfld.cxx b/sw/source/core/fields/authfld.cxx
index 31ebf2f3415c..fad66215488a 100644
--- a/sw/source/core/fields/authfld.cxx
+++ b/sw/source/core/fields/authfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwAuthEntry::SwAuthEntry(const SwAuthEntry& rCopy)
aAuthFields[i] = rCopy.aAuthFields[i];
}
// --------------------------------------------------------
-BOOL SwAuthEntry::operator==(const SwAuthEntry& rComp)
+BOOL SwAuthEntry::operator==(const SwAuthEntry& rComp)
{
for(USHORT i = 0; i < AUTH_FIELD_END; i++)
if(aAuthFields[i] != rComp.aAuthFields[i])
@@ -131,7 +131,7 @@ SwAuthorityFieldType::SwAuthorityFieldType( const SwAuthorityFieldType& rFType)
--------------------------------------------------*/
SwAuthorityFieldType::~SwAuthorityFieldType()
{
-// DBG_ASSERT(!m_pDataArr->Count(), "Array is not empty");
+// DBG_ASSERT(!m_pDataArr->Count(), "Array is not empty");
m_pSortKeyArr->DeleteAndDestroy(0, m_pSortKeyArr->Count());
delete m_pSortKeyArr;
delete m_pSequArr;
@@ -140,14 +140,14 @@ SwAuthorityFieldType::~SwAuthorityFieldType()
/*-- 14.09.99 16:22:09---------------------------------------------------
-----------------------------------------------------------------------*/
-SwFieldType* SwAuthorityFieldType::Copy() const
+SwFieldType* SwAuthorityFieldType::Copy() const
{
return new SwAuthorityFieldType(m_pDoc);
}
/* -----------------17.09.99 13:43-------------------
--------------------------------------------------*/
-void SwAuthorityFieldType::RemoveField(long nHandle)
+void SwAuthorityFieldType::RemoveField(long nHandle)
{
#if OSL_DEBUG_LEVEL > 1
BOOL bRemoved = FALSE;
@@ -178,7 +178,7 @@ void SwAuthorityFieldType::RemoveField(long nHandle)
/* -----------------17.09.99 13:43-------------------
--------------------------------------------------*/
-long SwAuthorityFieldType::AddField(const String& rFieldContents)
+long SwAuthorityFieldType::AddField(const String& rFieldContents)
{
long nRet = 0;
SwAuthEntry* pEntry = new SwAuthEntry;
@@ -232,7 +232,7 @@ BOOL SwAuthorityFieldType::AddField(long nHandle)
/* -----------------17.09.99 14:52-------------------
--------------------------------------------------*/
-const SwAuthEntry* SwAuthorityFieldType::GetEntryByHandle(long nHandle) const
+const SwAuthEntry* SwAuthorityFieldType::GetEntryByHandle(long nHandle) const
{
const SwAuthEntry* pRet = 0;
for(USHORT j = 0; j < m_pDataArr->Count(); j++)
@@ -264,7 +264,7 @@ void SwAuthorityFieldType::GetAllEntryIdentifiers(
/* -----------------21.09.99 13:34-------------------
--------------------------------------------------*/
-const SwAuthEntry* SwAuthorityFieldType::GetEntryByIdentifier(
+const SwAuthEntry* SwAuthorityFieldType::GetEntryByIdentifier(
const String& rIdentifier)const
{
const SwAuthEntry* pRet = 0;
@@ -301,10 +301,10 @@ bool SwAuthorityFieldType::ChangeEntryContent(const SwAuthEntry* pNewEntry)
return bChanged;
}
/*-- 11.10.99 08:49:22---------------------------------------------------
- Description: appends a new entry (if new) and returns the array position
+ Description: appends a new entry (if new) and returns the array position
-----------------------------------------------------------------------*/
-USHORT SwAuthorityFieldType::AppendField( const SwAuthEntry& rInsert )
+USHORT SwAuthorityFieldType::AppendField( const SwAuthEntry& rInsert )
{
USHORT nRet = 0;
for( nRet = 0; nRet < m_pDataArr->Count(); ++nRet )
@@ -327,7 +327,7 @@ USHORT SwAuthorityFieldType::AppendField( const SwAuthEntry& rInsert )
/*-- 11.10.99 08:49:24---------------------------------------------------
-----------------------------------------------------------------------*/
-long SwAuthorityFieldType::GetHandle(USHORT nPos)
+long SwAuthorityFieldType::GetHandle(USHORT nPos)
{
long nRet = 0;
if( nPos < m_pDataArr->Count() )
@@ -340,7 +340,7 @@ long SwAuthorityFieldType::GetHandle(USHORT nPos)
/* -----------------19.10.99 13:46-------------------
--------------------------------------------------*/
-USHORT SwAuthorityFieldType::GetSequencePos(long nHandle)
+USHORT SwAuthorityFieldType::GetSequencePos(long nHandle)
{
//find the field in a sorted array of handles,
#if OSL_DEBUG_LEVEL > 1
@@ -479,7 +479,7 @@ bool SwAuthorityFieldType::QueryValue( Any& rVal, USHORT nWhichId ) const
sProp2( C2U(SW_PROP_NAME_STR(UNO_NAME_IS_SORT_ASCENDING)));
for(sal_uInt16 i = 0; i < m_pSortKeyArr->Count(); i++)
{
- const SwTOXSortKey* pKey = (*m_pSortKeyArr)[i];
+ const SwTOXSortKey* pKey = (*m_pSortKeyArr)[i];
pValues[i].realloc(2);
PropertyValue* pValue = pValues[i].getArray();
pValue[0].Name = sProp1;
@@ -640,7 +640,7 @@ SwAuthorityField::~SwAuthorityField()
/*-- 14.09.99 16:20:59---------------------------------------------------
-----------------------------------------------------------------------*/
-String SwAuthorityField::Expand() const
+String SwAuthorityField::Expand() const
{
SwAuthorityFieldType* pAuthType = (SwAuthorityFieldType*)GetTyp();
String sRet;
@@ -651,7 +651,7 @@ String SwAuthorityField::Expand() const
{
if(!pAuthType->GetDoc()->IsExpFldsLocked())
m_nTempSequencePos = pAuthType->GetSequencePos( m_nHandle );
- if( m_nTempSequencePos >= 0 )
+ if( m_nTempSequencePos >= 0 )
sRet += String::CreateFromInt32( m_nTempSequencePos );
}
else
@@ -676,7 +676,7 @@ SwField* SwAuthorityField::Copy() const
/* -----------------21.09.99 12:55-------------------
--------------------------------------------------*/
-const String& SwAuthorityField::GetFieldText(ToxAuthorityField eField) const
+const String& SwAuthorityField::GetFieldText(ToxAuthorityField eField) const
{
SwAuthorityFieldType* pAuthType = (SwAuthorityFieldType*)GetTyp();
const SwAuthEntry* pEntry = pAuthType->GetEntryByHandle( m_nHandle );
@@ -685,7 +685,7 @@ const String& SwAuthorityField::GetFieldText(ToxAuthorityField eField) const
/* -----------------21.09.99 14:57-------------------
--------------------------------------------------*/
-void SwAuthorityField::SetPar1(const String& rStr)
+void SwAuthorityField::SetPar1(const String& rStr)
{
SwAuthorityFieldType* pInitType = (SwAuthorityFieldType* )GetTyp();
pInitType->RemoveField(m_nHandle);
diff --git a/sw/source/core/fields/cellfml.cxx b/sw/source/core/fields/cellfml.cxx
index 28b4ae00a0bc..3ed664f0e14f 100644
--- a/sw/source/core/fields/cellfml.cxx
+++ b/sw/source/core/fields/cellfml.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <ndindex.hxx>
const sal_Unicode cRelTrenner = ',';
-const sal_Unicode cRelKennung = ''; // CTRL-R
+const sal_Unicode cRelKennung = ''; // CTRL-R
const USHORT cMAXSTACKSIZE = 50;
@@ -66,14 +66,14 @@ String lcl_BoxNmToRel( const SwTable&, const SwTableNode&,
/*************************************************************************
|*
-|* double SwTableBox::GetValue() const
-|* gebe den Wert dieser Box zurueck. Der Wert ergibt sich aus dem 1.
-|* TextNode. Beginnt dieser mit einer Zahl/Formel, so berechne diese;
-|* oder mit einem Feld, dann hole den Wert.
-|* Alle anderen Bedingungen returnen einen Fehler (oder 0 ?)
+|* double SwTableBox::GetValue() const
+|* gebe den Wert dieser Box zurueck. Der Wert ergibt sich aus dem 1.
+|* TextNode. Beginnt dieser mit einer Zahl/Formel, so berechne diese;
+|* oder mit einem Feld, dann hole den Wert.
+|* Alle anderen Bedingungen returnen einen Fehler (oder 0 ?)
|*
-|* Ersterstellung JP 30. Jun. 93
-|* Letzte Aenderung JP 30. Jun. 93
+|* Ersterstellung JP 30. Jun. 93
+|* Letzte Aenderung JP 30. Jun. 93
|*
|*************************************************************************/
@@ -82,9 +82,9 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
double nRet = 0;
if( rCalcPara.rCalc.IsCalcError() )
- return nRet; // schon ein Fehler in der Berechnung
+ return nRet; // schon ein Fehler in der Berechnung
- rCalcPara.rCalc.SetCalcError( CALC_SYNTAX ); // default immer Fehler
+ rCalcPara.rCalc.SetCalcError( CALC_SYNTAX ); // default immer Fehler
// keine Content Box ?
if( !pSttNd )
@@ -98,13 +98,13 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
// wird eine Rekursion erzeugt ?
SwTableBox* pBox = (SwTableBox*)this;
if( rCalcPara.pBoxStk->Seek_Entry( pBox ))
- return nRet; // steht schon auf dem Stack: FEHLER
+ return nRet; // steht schon auf dem Stack: FEHLER
// bei dieser Box nochmal aufsetzen
rCalcPara.SetLastTblBox( this );
- rCalcPara.pBoxStk->Insert( pBox ); // eintragen
- do { // Middle-Check-Loop, damit aus dieser gesprungen werden kann
+ rCalcPara.pBoxStk->Insert( pBox ); // eintragen
+ do { // Middle-Check-Loop, damit aus dieser gesprungen werden kann
// hier aufgespannt, damit am Ende der Box-Pointer aus dem
// Stack ausgetragen wird
SwDoc* pDoc = GetFrmFmt()->GetDoc();
@@ -113,7 +113,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
if( SFX_ITEM_SET == GetFrmFmt()->GetItemState(
RES_BOXATR_FORMULA, FALSE, &pItem ) )
{
- rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
+ rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
if( !((SwTblBoxFormula*)pItem)->IsValid() )
{
// dann berechnen
@@ -140,7 +140,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
else if( SFX_ITEM_SET == pBox->GetFrmFmt()->GetItemState(
RES_BOXATR_VALUE, FALSE, &pItem ) )
{
- rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
+ rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
nRet = ((SwTblBoxValue*)pItem)->GetValue();
break;
}
@@ -167,7 +167,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
if( !pTxtFld )
break;
- rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
+ rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
const SwField* pFld = pTxtFld->GetFld().GetFld();
switch( pFld->GetTyp()->Which() )
@@ -181,7 +181,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
case RES_TABLEFLD:
{
SwTblField* pTblFld = (SwTblField*)pFld;
- if( !pTblFld->IsValid() ) // ist der Wert gueltig ??
+ if( !pTblFld->IsValid() ) // ist der Wert gueltig ??
{
// die richtige Tabelle mitgeben!
const SwTable* pTmp = rCalcPara.pTbl;
@@ -199,7 +199,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
case RES_JUMPEDITFLD:
//JP 14.09.98: Bug 56112 - der Platzhalter kann nie einen
- // gueltigen Inhalt haben!
+ // gueltigen Inhalt haben!
nRet = 0;
break;
@@ -211,7 +211,7 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
else
{
// Ergebnis ist 0 und kein Fehler!
- rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
+ rCalcPara.rCalc.SetCalcError( CALC_NOERR ); // wieder zuruecksetzen
double aNum;
String sTxt( rTxt.Copy( nSttPos ) );
@@ -240,13 +240,13 @@ double SwTableBox::GetValue( SwTblCalcPara& rCalcPara ) const
if( !rCalcPara.IsStackOverFlow() )
{
- rCalcPara.pBoxStk->Remove( pBox ); // raus aus dem Stack
+ rCalcPara.pBoxStk->Remove( pBox ); // raus aus dem Stack
rCalcPara.DecStackCnt();
}
//JP 12.01.99: mit Fehlererkennung, Bug 60794
if( DBL_MAX == nRet )
- rCalcPara.rCalc.SetCalcError( CALC_SYNTAX ); // Fehler setzen
+ rCalcPara.rCalc.SetCalcError( CALC_SYNTAX ); // Fehler setzen
return nRet;
}
@@ -287,7 +287,7 @@ bool SwTblCalcPara::CalcWithStackOverflow()
pBox->GetValue( *this );
} while( IsStackOverFlow() );
- nMaxSize = cMAXSTACKSIZE - 3; // es muss mind. 1 Stufe tiefer gehen!
+ nMaxSize = cMAXSTACKSIZE - 3; // es muss mind. 1 Stufe tiefer gehen!
// falls Rekursionen erkannt wurden
nStackCnt = 0;
@@ -323,12 +323,12 @@ void SwTableFormula::_MakeFormel( const SwTable& rTbl, String& rNewStr,
String& rFirstBox, String* pLastBox, void* pPara ) const
{
SwTblCalcPara* pCalcPara = (SwTblCalcPara*)pPara;
- if( pCalcPara->rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
+ if( pCalcPara->rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
return;
SwTableBox* pSttBox, *pEndBox = 0;
- rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
+ rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
// ein Bereich in dieser Klammer ?
if( pLastBox )
{
@@ -345,7 +345,7 @@ void SwTableFormula::_MakeFormel( const SwTable& rTbl, String& rNewStr,
pSttBox = 0;
rNewStr += ' ';
- if( pEndBox && pSttBox ) // Bereich ?
+ if( pEndBox && pSttBox ) // Bereich ?
{
// hole ueber das Layout alle "selectierten" Boxen und berechne
// deren Werte
@@ -369,7 +369,7 @@ void SwTableFormula::_MakeFormel( const SwTable& rTbl, String& rNewStr,
}
rNewStr += ')';
}
- else if( pSttBox && !pLastBox ) // nur die StartBox ?
+ else if( pSttBox && !pLastBox ) // nur die StartBox ?
{
//JP 12.01.99: und keine EndBox in der Formel!
// Berechne den Wert der Box
@@ -380,7 +380,7 @@ void SwTableFormula::_MakeFormel( const SwTable& rTbl, String& rNewStr,
}
}
else
- pCalcPara->rCalc.SetCalcError( CALC_SYNTAX ); // Fehler setzen
+ pCalcPara->rCalc.SetCalcError( CALC_SYNTAX ); // Fehler setzen
rNewStr += ' ';
}
@@ -393,7 +393,7 @@ void SwTableFormula::RelNmsToBoxNms( const SwTable& rTbl, String& rNewStr,
const SwTableBox *pRelBox, *pBox = (SwTableBox *)rTbl.GetTblBox(
pNd->FindTableBoxStartNode()->GetIndex() );
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
if( pLastBox )
{
@@ -423,7 +423,7 @@ void SwTableFormula::RelBoxNmsToPtr( const SwTable& rTbl, String& rNewStr,
const SwTableBox *pRelBox, *pBox = (SwTableBox*)rTbl.GetTblBox(
pNd->FindTableBoxStartNode()->GetIndex() );
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
if( pLastBox )
{
@@ -462,7 +462,7 @@ void SwTableFormula::BoxNmsToRelNm( const SwTable& rTbl, String& rNewStr,
sRefBoxNm = pBox->GetName();
}
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
if( pLastBox )
{
@@ -486,7 +486,7 @@ void SwTableFormula::PtrToBoxNms( const SwTable& rTbl, String& rNewStr,
// ein Bereich in dieser Klammer ?
SwTableBox* pBox;
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
if( pLastBox )
{
@@ -518,7 +518,7 @@ void SwTableFormula::BoxNmsToPtr( const SwTable& rTbl, String& rNewStr,
// ein Bereich in dieser Klammer ?
const SwTableBox* pBox;
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
if( pLastBox )
{
@@ -636,7 +636,7 @@ String SwTableFormula::ScanString( FnScanFormel fnFormel, const SwTable& rTbl,
aStr.Insert( sFormel, nFml, sFormel.Len() - nFml );
break;
}
- aStr.Insert( sFormel, nFml, nStt - nFml ); // Anfang schreiben
+ aStr.Insert( sFormel, nFml, nStt - nFml ); // Anfang schreiben
if( fnFormel != NULL )
{
@@ -663,7 +663,7 @@ String SwTableFormula::ScanString( FnScanFormel fnFormel, const SwTable& rTbl,
aStr += sTblNm;
nStt = nTrenner;
- sTblNm.Erase( 0, 1 ); // Trenner loeschen
+ sTblNm.Erase( 0, 1 ); // Trenner loeschen
if( sTblNm != rTbl.GetFrmFmt()->GetName() )
{
// dann suchen wir uns mal unsere Tabelle:
@@ -742,7 +742,7 @@ const SwFrm* lcl_GetBoxFrm( const SwTableBox& rBox )
SwNodeIndex aIdx( *rBox.GetSttNd() );
SwCntntNode* pCNd = aIdx.GetNodes().GoNext( &aIdx );
OSL_ENSURE( pCNd, "Box hat keinen TextNode" );
- Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
+ Point aPt; // den im Layout 1. Frame returnen - Tab.Kopfzeile !!
return pCNd->GetFrm( &aPt, NULL, FALSE );
}
@@ -772,7 +772,7 @@ const SwTableBox* lcl_RelToBox( const SwTable& rTbl,
String sGetName( rGetName );
// ist es denn wirklich eine relative Angabe??
- if( cRelKennung == sGetName.GetChar(0) ) // ja, ...
+ if( cRelKennung == sGetName.GetChar(0) ) // ja, ...
{
if( !pRefBox )
return 0;
@@ -873,7 +873,7 @@ String lcl_BoxNmToRel( const SwTable& rTbl, const SwTableNode& rTblNd,
long nLine = SwTable::_GetBoxNum( sTmp );
nLine -= SwTable::_GetBoxNum( sCpy );
- sCpy = sTmp; //JP 01.11.95: den Rest aus dem BoxNamen anhaengen
+ sCpy = sTmp; //JP 01.11.95: den Rest aus dem BoxNamen anhaengen
sTmp = cRelKennung;
sTmp += String::CreateFromInt32( nBox );
@@ -910,7 +910,7 @@ void SwTableFormula::_GetFmlBoxes( const SwTable& rTbl, String& ,
SwSelBoxes* pBoxes = (SwSelBoxes*)pPara;
SwTableBox* pSttBox, *pEndBox = 0;
- rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
+ rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
// ein Bereich in dieser Klammer ?
if( pLastBox )
{
@@ -927,7 +927,7 @@ void SwTableFormula::_GetFmlBoxes( const SwTable& rTbl, String& ,
if( !rTbl.GetTabSortBoxes().Seek_Entry( pSttBox ))
pSttBox = 0;
- if( pEndBox && pSttBox ) // Bereich ?
+ if( pEndBox && pSttBox ) // Bereich ?
{
// ueber das Layout alle "selectierten" Boxen und berechne
// deren Werte
@@ -935,7 +935,7 @@ void SwTableFormula::_GetFmlBoxes( const SwTable& rTbl, String& ,
GetBoxes( *pSttBox, *pEndBox, aBoxes );
pBoxes->Insert( &aBoxes );
}
- else if( pSttBox ) // nur die StartBox ?
+ else if( pSttBox ) // nur die StartBox ?
pBoxes->Insert( pSttBox );
}
@@ -949,7 +949,7 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox,
pStt = pFrm ? pFrm->GetUpper() : 0;
pEnd = ( 0 != (pFrm = lcl_GetBoxFrm( rEndBox ))) ? pFrm->GetUpper() : 0;
if( !pStt || !pEnd )
- return ; // no valid selection
+ return ; // no valid selection
GetTblSel( pStt, pEnd, rBoxes, 0 );
@@ -958,7 +958,7 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox,
// filter die Kopfzeilen-Boxen heraus:
if( pTbl->GetRowsToRepeat() > 0 )
{
- do { // middle-check loop
+ do { // middle-check loop
const SwTableLine* pLine = rSttBox.GetUpper();
while( pLine->GetUpper() )
pLine = pLine->GetUpper()->GetUpper();
@@ -972,7 +972,7 @@ void SwTableFormula::GetBoxes( const SwTableBox& rSttBox,
pLine = pLine->GetUpper()->GetUpper();
if( pTbl->IsHeadline( *pLine ) )
- break; // Headline mit im Bereich !
+ break; // Headline mit im Bereich !
const SwTabFrm *pTable = pStt->FindTabFrm();
const SwTabFrm *pEndTable = pEnd->FindTabFrm();
@@ -999,10 +999,10 @@ void SwTableFormula::_HasValidBoxes( const SwTable& rTbl, String& ,
String& rFirstBox, String* pLastBox, void* pPara ) const
{
bool* pBValid = (bool*)pPara;
- if( *pBValid ) // einmal falsch, immer falsch
+ if( *pBValid ) // einmal falsch, immer falsch
{
SwTableBox* pSttBox = 0, *pEndBox = 0;
- rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
+ rFirstBox.Erase(0,1); // Kennung fuer Box loeschen
// ein Bereich in dieser Klammer ?
if( pLastBox )
@@ -1072,7 +1072,7 @@ void SwTableFormula::_SplitMergeBoxNm( const SwTable& rTbl, String& rNewStr,
{
SwTableFmlUpdate& rTblUpd = *(SwTableFmlUpdate*)pPara;
- rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
+ rNewStr += rFirstBox.Copy(0,1); // Kennung fuer Box erhalten
rFirstBox.Erase(0,1);
String sTblNm;
@@ -1099,19 +1099,19 @@ void SwTableFormula::_SplitMergeBoxNm( const SwTable& rTbl, String& rNewStr,
{
if( pFnd == rTblUpd.DATA.pDelTbl )
{
- if( rTblUpd.pTbl != &rTbl ) // es ist nicht die akt.
+ if( rTblUpd.pTbl != &rTbl ) // es ist nicht die akt.
(rNewStr += rTblUpd.pTbl->GetFrmFmt()->GetName() )
- += '.'; // den neuen Tabellen Namen setzen
+ += '.'; // den neuen Tabellen Namen setzen
rTblUpd.bModified = TRUE;
}
else if( pFnd != rTblUpd.pTbl ||
( rTblUpd.pTbl != &rTbl && &rTbl != rTblUpd.DATA.pDelTbl))
- (rNewStr += sTblNm ) += '.'; // den Tabellen Namen behalten
+ (rNewStr += sTblNm ) += '.'; // den Tabellen Namen behalten
else
rTblUpd.bModified = TRUE;
}
else
- (rNewStr += sTblNm ) += '.'; // den Tabellen Namen behalten
+ (rNewStr += sTblNm ) += '.'; // den Tabellen Namen behalten
}
}
diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index a4f04e30367a..8bf00d8b14b2 100644
--- a/sw/source/core/fields/chpfld.cxx
+++ b/sw/source/core/fields/chpfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +32,11 @@
#include <com/sun/star/text/ChapterFormat.hpp>
#include <doc.hxx>
-#include <frame.hxx> // SwChapterFieldType::ChangeExpansion()
-#include <pam.hxx> // fuer GetBodyTxtNode
+#include <frame.hxx> // SwChapterFieldType::ChangeExpansion()
+#include <pam.hxx> // fuer GetBodyTxtNode
#include <ndtxt.hxx>
#include <chpfld.hxx>
-#include <expfld.hxx> // fuer GetBodyTxtNode
+#include <expfld.hxx> // fuer GetBodyTxtNode
#include <unofldmid.h>
#include <numrule.hxx>
@@ -74,7 +74,7 @@ String SwChapterField::Expand() const
String sStr( sNumber );
switch( GetFormat() )
{
- case CF_TITLE: sStr = sTitle; break;
+ case CF_TITLE: sStr = sTitle; break;
case CF_NUMBER:
case CF_NUM_TITLE: sStr.Insert( sPre, 0 );
@@ -83,7 +83,7 @@ String SwChapterField::Expand() const
sStr += sTitle;
break;
- case CF_NUM_NOPREPST_TITLE: sStr += sTitle; break;
+ case CF_NUM_NOPREPST_TITLE: sStr += sTitle; break;
}
return sStr;
}
@@ -156,12 +156,12 @@ void SwChapterField::ChangeExpansion(const SwTxtNode &rTxtNd, sal_Bool bSrchNum)
// --> OD 2008-04-02 #refactorlists#
// nLevel = GetRealLevel( pONd->GetTxtColl()->
// GetOutlineLevel() );
- // OSL_ENSURE( pONd->GetOutlineLevel() >= 0 && pONd->GetOutlineLevel() < MAXLEVEL, //#outline level,zhaojianwei
+ // OSL_ENSURE( pONd->GetOutlineLevel() >= 0 && pONd->GetOutlineLevel() < MAXLEVEL, //#outline level,zhaojianwei
// "<SwChapterField::ChangeExpansion(..)> - outline node with inconsistent outline level. Serious defect -> please inform OD." );
//nLevel = static_cast<BYTE>(pONd->GetOutlineLevel());
OSL_ENSURE( pONd->GetAttrOutlineLevel() >= 0 && pONd->GetAttrOutlineLevel() <= MAXLEVEL,
"<SwChapterField::ChangeExpansion(..)> - outline node with inconsistent outline level. Serious defect -> please inform OD." );
- nLevel = static_cast<BYTE>(pONd->GetAttrOutlineLevel()); //<-end,zhaojianwei
+ nLevel = static_cast<BYTE>(pONd->GetAttrOutlineLevel()); //<-end,zhaojianwei
// <--
if( nPrevLvl < nLevel )
@@ -241,7 +241,7 @@ bool SwChapterField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
sal_Int16 nRet;
switch( GetFormat() )
{
- case CF_NUMBER: nRet = text::ChapterFormat::NUMBER; break;
+ case CF_NUMBER: nRet = text::ChapterFormat::NUMBER; break;
case CF_TITLE: nRet = text::ChapterFormat::NAME; break;
case CF_NUMBER_NOPREPST:
nRet = text::ChapterFormat::DIGIT;
@@ -250,7 +250,7 @@ bool SwChapterField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
nRet = text::ChapterFormat::NO_PREFIX_SUFFIX;
break;
case CF_NUM_TITLE:
- default: nRet = text::ChapterFormat::NAME_NUMBER;
+ default: nRet = text::ChapterFormat::NAME_NUMBER;
}
rAny <<= nRet;
}
@@ -286,7 +286,7 @@ bool SwChapterField::PutValue( const uno::Any& rAny, USHORT nWhichId )
rAny >>= nVal;
switch( nVal )
{
- case text::ChapterFormat::NAME: SetFormat(CF_TITLE); break;
+ case text::ChapterFormat::NAME: SetFormat(CF_TITLE); break;
case text::ChapterFormat::NUMBER: SetFormat(CF_NUMBER); break;
case text::ChapterFormat::NO_PREFIX_SUFFIX:
SetFormat(CF_NUM_NOPREPST_TITLE);
@@ -295,7 +295,7 @@ bool SwChapterField::PutValue( const uno::Any& rAny, USHORT nWhichId )
SetFormat(CF_NUMBER_NOPREPST);
break;
//case text::ChapterFormat::NAME_NUMBER:
- default: SetFormat(CF_NUM_TITLE);
+ default: SetFormat(CF_NUM_TITLE);
}
}
break;
diff --git a/sw/source/core/fields/dbfld.cxx b/sw/source/core/fields/dbfld.cxx
index a23dbd21e66f..22008b09af5e 100644
--- a/sw/source/core/fields/dbfld.cxx
+++ b/sw/source/core/fields/dbfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -199,7 +199,7 @@ bool SwDBFieldType::PutValue( const uno::Any& rAny, USHORT nWhichId )
--------------------------------------------------------------------*/
SwDBField::SwDBField(SwDBFieldType* pTyp, ULONG nFmt)
- : SwValueField(pTyp, nFmt),
+ : SwValueField(pTyp, nFmt),
nSubType(0),
bIsInBodyTxt(TRUE),
bValidValue(FALSE),
@@ -267,11 +267,11 @@ String SwDBField::Expand() const
SwField* SwDBField::Copy() const
{
SwDBField *pTmp = new SwDBField((SwDBFieldType*)GetTyp(), GetFormat());
- pTmp->aContent = aContent;
- pTmp->bIsInBodyTxt = bIsInBodyTxt;
- pTmp->bValidValue = bValidValue;
- pTmp->bInitialized = bInitialized;
- pTmp->nSubType = nSubType;
+ pTmp->aContent = aContent;
+ pTmp->bIsInBodyTxt = bIsInBodyTxt;
+ pTmp->bValidValue = bValidValue;
+ pTmp->bInitialized = bInitialized;
+ pTmp->nSubType = nSubType;
pTmp->SetValue(GetValue());
pTmp->sFieldCode = sFieldCode;
@@ -356,7 +356,7 @@ void SwDBField::Evaluate()
if( DBL_MAX != nValue )
{
sal_Int32 nColumnType = pMgr->GetColumnType(aTmpData.sDataSource, aTmpData.sCommand, aColNm);
- if( DataType::DATE == nColumnType || DataType::TIME == nColumnType ||
+ if( DataType::DATE == nColumnType || DataType::TIME == nColumnType ||
DataType::TIMESTAMP == nColumnType)
{
@@ -379,7 +379,7 @@ void SwDBField::Evaluate()
SvNumberFormatter* pFormatter = GetDoc()->GetNumberFormatter();
if (nFmt && nFmt != SAL_MAX_UINT32 && !pFormatter->IsTextFormat(nFmt))
- bValidValue = TRUE; // Wegen Bug #60339 nicht mehr bei allen Strings
+ bValidValue = TRUE; // Wegen Bug #60339 nicht mehr bei allen Strings
}
else
{
@@ -810,7 +810,7 @@ void SwDBNumSetField::Evaluate(SwDoc* pDoc)
if( bCondValid && pMgr && pMgr->IsInMerge() &&
pMgr->IsDataSourceOpen(aTmpData.sDataSource, aTmpData.sCommand, sal_True))
- { // Bedingug OK -> aktuellen Set einstellen
+ { // Bedingug OK -> aktuellen Set einstellen
pMgr->ToRecordId(Max((USHORT)aPar2.ToInt32(), USHORT(1))-1);
}
}
diff --git a/sw/source/core/fields/ddefld.cxx b/sw/source/core/fields/ddefld.cxx
index dde46bd3ea01..1765ce7dd997 100644
--- a/sw/source/core/fields/ddefld.cxx
+++ b/sw/source/core/fields/ddefld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
using rtl::OUString;
using namespace ::com::sun::star;
-#define DDE_TXT_ENCODING gsl_getSystemTextEncoding()
+#define DDE_TXT_ENCODING gsl_getSystemTextEncoding()
/*--------------------------------------------------------------------
Beschreibung: Globale Variablen
@@ -83,7 +83,7 @@ void SwIntrnlRefLink::DataChanged( const String& rMimeType,
uno::Sequence< sal_Int8 > aSeq;
rValue >>= aSeq;
String sStr( (sal_Char*)aSeq.getConstArray(), static_cast<xub_StrLen>(aSeq.getLength()),
- DDE_TXT_ENCODING );
+ DDE_TXT_ENCODING );
// CR-LF am Ende entfernen, ist ueberfluessig!
xub_StrLen n = sStr.Len();
@@ -125,7 +125,7 @@ void SwIntrnlRefLink::DataChanged( const String& rMimeType,
SwClientIter aIter( rFldType );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
// eine DDE-Tabelle oder ein DDE-FeldAttribut im Text
if( !pLast->IsA( TYPE( SwFmtFld ) ) ||
@@ -187,7 +187,7 @@ const SwNode* SwIntrnlRefLink::GetAnchor() const
const SwNode* pNd = 0;
SwClientIter aIter( rFldType );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
// eine DDE-Tabelle oder ein DDE-FeldAttribut im Text
if( !pLast->IsA( TYPE( SwFmtFld ) ))
@@ -214,7 +214,7 @@ BOOL SwIntrnlRefLink::IsInRange( ULONG nSttNd, ULONG nEndNd,
SwNodes* pNds = &rFldType.GetDoc()->GetNodes();
SwClientIter aIter( rFldType );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
// eine DDE-Tabelle oder ein DDE-FeldAttribut im Text
if( !pLast->IsA( TYPE( SwFmtFld ) ))
@@ -400,8 +400,8 @@ SwDDEField::SwDDEField( SwDDEFieldType* pInitType )
SwDDEField::~SwDDEField()
{
- if( GetTyp()->IsLastDepend() ) // der Letzte mach das
- ((SwDDEFieldType*)GetTyp())->Disconnect(); // Licht aus
+ if( GetTyp()->IsLastDepend() ) // der Letzte mach das
+ ((SwDDEFieldType*)GetTyp())->Disconnect(); // Licht aus
}
String SwDDEField::Expand() const
diff --git a/sw/source/core/fields/ddetbl.cxx b/sw/source/core/fields/ddetbl.cxx
index b7ed6b0dcaa3..799a57e31ebc 100644
--- a/sw/source/core/fields/ddetbl.cxx
+++ b/sw/source/core/fields/ddetbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <ndtxt.hxx>
#include <swtable.hxx>
#include <swddetbl.hxx>
-#include <ddefld.hxx> // fuer den FieldType
+#include <ddefld.hxx> // fuer den FieldType
#include <ndindex.hxx>
#include <fldupde.hxx>
#include <swtblfmt.hxx>
@@ -55,7 +55,7 @@ SwDDETable::SwDDETable( SwTable& rTable, SwDDEFieldType* pDDEType,
rTable.GetTabSortBoxes().Count() ); // move die Inh. Boxen
rTable.GetTabSortBoxes().Remove( (USHORT)0, rTable.GetTabSortBoxes().Count() );
- aLines.Insert( &rTable.GetTabLines(),0 ); // move die Lines
+ aLines.Insert( &rTable.GetTabLines(),0 ); // move die Lines
rTable.GetTabLines().Remove( 0, rTable.GetTabLines().Count() );
if( aLines.Count() )
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index a8b3e981a22f..fecd9dc810ee 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +84,9 @@
#include <pagedesc.hxx>
#include <fmtpdsc.hxx>
#include <doc.hxx>
-#include <rootfrm.hxx> // AuthorField
-#include <pagefrm.hxx> //
-#include <cntfrm.hxx> //
+#include <rootfrm.hxx> // AuthorField
+#include <pagefrm.hxx> //
+#include <cntfrm.hxx> //
#include <pam.hxx>
#include <viewsh.hxx>
#include <dbmgr.hxx>
@@ -105,7 +105,7 @@
#include <editeng/outliner.hxx>
#include <editeng/outlobj.hxx>
-#define URL_DECODE INetURLObject::DECODE_UNAMBIGUOUS
+#define URL_DECODE INetURLObject::DECODE_UNAMBIGUOUS
using ::rtl::OUString;
using namespace ::com::sun::star;
@@ -144,8 +144,8 @@ SwFieldType* SwPageNumberFieldType::Copy() const
{
SwPageNumberFieldType *pTmp = new SwPageNumberFieldType();
- pTmp->nNum = nNum;
- pTmp->nMax = nMax;
+ pTmp->nNum = nNum;
+ pTmp->nMax = nMax;
pTmp->nNumberingType = nNumberingType;
pTmp->bVirtuell = bVirtuell;
@@ -551,7 +551,7 @@ bool SwFileNameField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
case FF_NAME:
nRet = text::FilenameDisplayFormat::NAME_AND_EXT;
break;
- default: nRet = text::FilenameDisplayFormat::FULL;
+ default: nRet = text::FilenameDisplayFormat::FULL;
}
rAny <<= nRet;
}
@@ -582,8 +582,8 @@ bool SwFileNameField::PutValue( const uno::Any& rAny, USHORT nWhichId )
case FIELD_PROP_FORMAT:
{
//JP 24.10.2001: int32 because in UnoField.cxx a putvalue is
- // called with a int32 value! But normally we need
- // here only a int16
+ // called with a int32 value! But normally we need
+ // here only a int16
sal_Int32 nType = 0;
rAny >>= nType;
BOOL bFixed = IsFixed();
@@ -598,7 +598,7 @@ bool SwFileNameField::PutValue( const uno::Any& rAny, USHORT nWhichId )
case text::FilenameDisplayFormat::NAME_AND_EXT:
nType = FF_NAME;
break;
- default: nType = FF_PATHNAME;
+ default: nType = FF_PATHNAME;
}
if(bFixed)
nType |= FF_FIXED;
@@ -718,12 +718,12 @@ bool SwTemplNameField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
sal_Int16 nRet;
switch( GetFormat() )
{
- case FF_PATH: nRet = text::FilenameDisplayFormat::PATH; break;
+ case FF_PATH: nRet = text::FilenameDisplayFormat::PATH; break;
case FF_NAME_NOEXT: nRet = text::FilenameDisplayFormat::NAME; break;
- case FF_NAME: nRet = text::FilenameDisplayFormat::NAME_AND_EXT; break;
- case FF_UI_RANGE: nRet = text::TemplateDisplayFormat::AREA; break;
+ case FF_NAME: nRet = text::FilenameDisplayFormat::NAME_AND_EXT; break;
+ case FF_UI_RANGE: nRet = text::TemplateDisplayFormat::AREA; break;
case FF_UI_NAME: nRet = text::TemplateDisplayFormat::TITLE; break;
- default: nRet = text::FilenameDisplayFormat::FULL;
+ default: nRet = text::FilenameDisplayFormat::FULL;
}
rAny <<= nRet;
@@ -744,8 +744,8 @@ bool SwTemplNameField::PutValue( const uno::Any& rAny, USHORT nWhichId )
case FIELD_PROP_FORMAT:
{
//JP 24.10.2001: int32 because in UnoField.cxx a putvalue is
- // called with a int32 value! But normally we need
- // here only a int16
+ // called with a int32 value! But normally we need
+ // here only a int16
sal_Int32 nType = 0;
rAny >>= nType;
switch( nType )
@@ -759,13 +759,13 @@ bool SwTemplNameField::PutValue( const uno::Any& rAny, USHORT nWhichId )
case text::FilenameDisplayFormat::NAME_AND_EXT:
SetFormat(FF_NAME);
break;
- case text::TemplateDisplayFormat::AREA :
+ case text::TemplateDisplayFormat::AREA :
SetFormat(FF_UI_RANGE);
break;
case text::TemplateDisplayFormat::TITLE :
SetFormat(FF_UI_NAME);
break;
- default: SetFormat(FF_PATHNAME);
+ default: SetFormat(FF_PATHNAME);
}
}
break;
@@ -798,7 +798,7 @@ String SwDocStatFieldType::Expand(sal_uInt16 nSubType, sal_uInt32 nFmt) const
case DS_CHAR: nVal = rDStat.nChar; break;
case DS_PAGE:
if( pDoc->GetRootFrm() )
- ((SwDocStat &)rDStat).nPage = pDoc->GetRootFrm()->GetPageNum();
+ ((SwDocStat &)rDStat).nPage = pDoc->GetRootFrm()->GetPageNum();
nVal = rDStat.nPage;
if( SVX_NUM_PAGEDESC == nFmt )
nFmt = (sal_uInt32)nNumberingType;
@@ -954,17 +954,17 @@ String SwDocInfoFieldType::Expand( sal_uInt16 nSub, sal_uInt32 nFormat,
DBG_ASSERT(xDocProps.is(), "Doc has no DocumentProperties");
sal_uInt16 nExtSub = nSub & 0xff00;
- nSub &= 0xff; // ExtendedSubTypes nicht beachten
+ nSub &= 0xff; // ExtendedSubTypes nicht beachten
switch(nSub)
{
- case DI_TITEL: aStr = xDocProps->getTitle(); break;
- case DI_THEMA: aStr = xDocProps->getSubject(); break;
- case DI_KEYS: aStr = ::comphelper::string::convertCommaSeparated(
+ case DI_TITEL: aStr = xDocProps->getTitle(); break;
+ case DI_THEMA: aStr = xDocProps->getSubject(); break;
+ case DI_KEYS: aStr = ::comphelper::string::convertCommaSeparated(
xDocProps->getKeywords());
break;
- case DI_COMMENT:aStr = xDocProps->getDescription(); break;
- case DI_DOCNO: aStr = String::CreateFromInt32(
+ case DI_COMMENT:aStr = xDocProps->getDescription(); break;
+ case DI_DOCNO: aStr = String::CreateFromInt32(
xDocProps->getEditingCycles() );
break;
case DI_EDIT:
@@ -1011,7 +1011,7 @@ String SwDocInfoFieldType::Expand( sal_uInt16 nSub, sal_uInt32 nFormat,
Time aT(uDT.Hours, uDT.Minutes, uDT.Seconds, uDT.HundredthSeconds);
DateTime aDate(aD,aT);
if( nSub == DI_CREATE )
- ; // das wars schon!!
+ ; // das wars schon!!
else if( nSub == DI_CHANGE )
{
aName = xDocProps->getModifiedBy();
@@ -1154,7 +1154,7 @@ String SwDocInfoField::Expand() const
util::Date aDate;
util::DateTime aDateTime;
util::Duration aDuration;
- if( aAny >>= aDate)
+ if( aAny >>= aDate)
{
SvNumberFormatter* pFormatter = pDocShell->GetDoc()->GetNumberFormatter();
Date* pNullDate = pFormatter->GetNullDate();
@@ -1381,17 +1381,17 @@ void SwHiddenTxtFieldType::SetHiddenFlag( sal_Bool bSetHidden )
if( bHidden != bSetHidden )
{
bHidden = bSetHidden;
- UpdateFlds(); // alle HiddenText benachrichtigen
+ UpdateFlds(); // alle HiddenText benachrichtigen
}
}
/* ---------------------------------------------------------------------------
---------------------------------------------------------------------------*/
SwHiddenTxtField::SwHiddenTxtField( SwHiddenTxtFieldType* pFldType,
- sal_Bool bConditional,
- const String& rCond,
- const String& rStr,
- sal_Bool bHidden,
+ sal_Bool bConditional,
+ const String& rCond,
+ const String& rStr,
+ sal_Bool bHidden,
sal_uInt16 nSub) :
SwField( pFldType ), aCond(rCond), nSubType(nSub),
bCanToggle(bConditional), bIsHidden(bHidden), bValid(sal_False)
@@ -1425,7 +1425,7 @@ SwHiddenTxtField::SwHiddenTxtField( SwHiddenTxtFieldType* pFldType,
: SwField( pFldType ), aTRUETxt(rTrue), aFALSETxt(rFalse), aCond(rCond), nSubType(nSub),
bIsHidden(sal_True), bValid(sal_False)
{
- bCanToggle = aCond.Len() > 0;
+ bCanToggle = aCond.Len() > 0;
}
/* ---------------------------------------------------------------------------
@@ -1433,7 +1433,7 @@ SwHiddenTxtField::SwHiddenTxtField( SwHiddenTxtFieldType* pFldType,
String SwHiddenTxtField::Expand() const
{
// Type: !Hidden -> immer anzeigen
- // Hide -> Werte die Bedingung aus
+ // Hide -> Werte die Bedingung aus
if( TYP_CONDTXTFLD == nSubType )
{
@@ -1471,12 +1471,12 @@ void SwHiddenTxtField::Evaluate(SwDoc* pDoc)
sTmpName = aFALSETxt;
// OS 21.08.97: #42943# Datenbankausdruecke muessen sich von
-// einfachem Text unterscheiden. also wird der einfache Text
-// bevorzugt in Anfuehrungszeichen gesetzt.
-// Sind diese vorhanden werden umschliessende entfernt.
-// Wenn nicht, dann wird auf die Tauglichkeit als Datenbankname
-// geprueft. Nur wenn zwei oder mehr Punkte vorhanden sind und kein
-// Anfuehrungszeichen enthalten ist, gehen wir von einer DB aus.
+// einfachem Text unterscheiden. also wird der einfache Text
+// bevorzugt in Anfuehrungszeichen gesetzt.
+// Sind diese vorhanden werden umschliessende entfernt.
+// Wenn nicht, dann wird auf die Tauglichkeit als Datenbankname
+// geprueft. Nur wenn zwei oder mehr Punkte vorhanden sind und kein
+// Anfuehrungszeichen enthalten ist, gehen wir von einer DB aus.
if(sTmpName.Len() > 1 && sTmpName.GetChar(0) == '\"' &&
sTmpName.GetChar((sTmpName.Len() - 1))== '\"')
{
@@ -1488,7 +1488,7 @@ void SwHiddenTxtField::Evaluate(SwDoc* pDoc)
{
::ReplacePoint(sTmpName);
if(sTmpName.GetChar(0) == '[' && sTmpName.GetChar(sTmpName.Len()-1) == ']')
- { // Eckige Klammern entfernen
+ { // Eckige Klammern entfernen
sTmpName.Erase(0, 1);
sTmpName.Erase(sTmpName.Len()-1, 1);
}
@@ -1547,10 +1547,10 @@ SwField* SwHiddenTxtField::Copy() const
new SwHiddenTxtField((SwHiddenTxtFieldType*)GetTyp(), aCond,
aTRUETxt, aFALSETxt);
pFld->bIsHidden = bIsHidden;
- pFld->bValid = bValid;
- pFld->aContent = aContent;
+ pFld->bValid = bValid;
+ pFld->aContent = aContent;
pFld->SetFormat(GetFormat());
- pFld->nSubType = nSubType;
+ pFld->nSubType = nSubType;
return pFld;
}
@@ -2070,7 +2070,7 @@ String SwExtUserFieldType::Expand(sal_uInt16 nSub, sal_uInt32 ) const
case EU_STATE: nRet = USER_OPT_STATE; break;
case EU_FATHERSNAME: nRet = USER_OPT_FATHERSNAME; break;
case EU_APARTMENT: nRet = USER_OPT_APARTMENT; break;
- default: OSL_ENSURE( !this, "Field unknown");
+ default: OSL_ENSURE( !this, "Field unknown");
}
if( USHRT_MAX != nRet )
{
@@ -2407,7 +2407,7 @@ void SwRefPageGetFieldType::UpdateField( SwTxtFld* pTxtFld,
const SwCntntFrm* pRefFrm = pRefTxtFld->GetTxtNode().GetFrm( &aPt, 0, sal_False );
const SwPageFrm* pPgFrm = 0;
sal_uInt16 nDiff = ( pFrm && pRefFrm )
- ? (pPgFrm = pFrm->FindPageFrm())->GetPhyPageNum() -
+ ? (pPgFrm = pFrm->FindPageFrm())->GetPhyPageNum() -
pRefFrm->FindPageFrm()->GetPhyPageNum() + 1
: 1;
@@ -2491,7 +2491,7 @@ void SwRefPageGetField::ChangeExpansion( const SwFrm* pFrm,
aTmpLst.Seek_Entry( &aEndFld, &nLast );
if( !nLast-- )
- return ; // es gibt kein entsprechendes Set - Feld vor mir
+ return ; // es gibt kein entsprechendes Set - Feld vor mir
const SwTxtFld* pRefTxtFld = aTmpLst[ nLast ]->GetFld();
const SwRefPageSetField* pSetFld =
@@ -2587,7 +2587,7 @@ SwCharFmt* SwJumpEditFieldType::GetCharFmt()
// noch nicht registriert ?
if( !aDep.GetRegisteredIn() )
- pFmt->Add( &aDep ); // anmelden
+ pFmt->Add( &aDep ); // anmelden
return pFmt;
}
@@ -2664,8 +2664,8 @@ bool SwJumpEditField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
case JE_FMT_TABLE: nRet = text::PlaceholderType::TABLE; break;
case JE_FMT_FRAME: nRet = text::PlaceholderType::TEXTFRAME; break;
case JE_FMT_GRAPHIC:nRet = text::PlaceholderType::GRAPHIC; break;
- case JE_FMT_OLE: nRet = text::PlaceholderType::OBJECT; break;
-// case JE_FMT_TEXT:
+ case JE_FMT_OLE: nRet = text::PlaceholderType::OBJECT; break;
+// case JE_FMT_TEXT:
default:
nRet = text::PlaceholderType::TEXT; break;
}
@@ -2693,17 +2693,17 @@ bool SwJumpEditField::PutValue( const uno::Any& rAny, USHORT nWhichId )
case FIELD_PROP_USHORT1:
{
//JP 24.10.2001: int32 because in UnoField.cxx a putvalue is
- // called with a int32 value! But normally we need
- // here only a int16
+ // called with a int32 value! But normally we need
+ // here only a int16
sal_Int32 nSet = 0;
rAny >>= nSet;
switch( nSet )
{
- case text::PlaceholderType::TEXT : SetFormat(JE_FMT_TEXT); break;
- case text::PlaceholderType::TABLE : SetFormat(JE_FMT_TABLE); break;
+ case text::PlaceholderType::TEXT : SetFormat(JE_FMT_TEXT); break;
+ case text::PlaceholderType::TABLE : SetFormat(JE_FMT_TABLE); break;
case text::PlaceholderType::TEXTFRAME: SetFormat(JE_FMT_FRAME); break;
case text::PlaceholderType::GRAPHIC : SetFormat(JE_FMT_GRAPHIC); break;
- case text::PlaceholderType::OBJECT : SetFormat(JE_FMT_OLE); break;
+ case text::PlaceholderType::OBJECT : SetFormat(JE_FMT_OLE); break;
}
}
break;
@@ -2743,7 +2743,7 @@ SwCombinedCharField::SwCombinedCharField( SwCombinedCharFieldType* pFTyp,
{
}
-String SwCombinedCharField::Expand() const
+String SwCombinedCharField::Expand() const
{
return sCharacters;
}
diff --git a/sw/source/core/fields/expfld.cxx b/sw/source/core/fields/expfld.cxx
index da60c16d2993..3bd4a3d463f7 100644
--- a/sw/source/core/fields/expfld.cxx
+++ b/sw/source/core/fields/expfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,10 +77,10 @@ sal_Int16 lcl_SubTypeToAPI(USHORT nSubType)
sal_Int16 nRet = 0;
switch(nSubType)
{
- case nsSwGetSetExpType::GSE_EXPR : nRet = SetVariableType::VAR /*0*/; break;
- case nsSwGetSetExpType::GSE_SEQ : nRet = SetVariableType::SEQUENCE /*1*/; break;
- case nsSwGetSetExpType::GSE_FORMULA : nRet = SetVariableType::FORMULA /*2*/; break;
- case nsSwGetSetExpType::GSE_STRING : nRet = SetVariableType::STRING /*3*/; break;
+ case nsSwGetSetExpType::GSE_EXPR : nRet = SetVariableType::VAR /*0*/; break;
+ case nsSwGetSetExpType::GSE_SEQ : nRet = SetVariableType::SEQUENCE /*1*/; break;
+ case nsSwGetSetExpType::GSE_FORMULA : nRet = SetVariableType::FORMULA /*2*/; break;
+ case nsSwGetSetExpType::GSE_STRING : nRet = SetVariableType::STRING /*3*/; break;
}
return nRet;
}
@@ -92,10 +92,10 @@ sal_Int32 lcl_APIToSubType(const uno::Any& rAny)
sal_Int32 nSet = 0;
switch(nVal)
{
- case SetVariableType::VAR: nSet = nsSwGetSetExpType::GSE_EXPR; break;
+ case SetVariableType::VAR: nSet = nsSwGetSetExpType::GSE_EXPR; break;
case SetVariableType::SEQUENCE: nSet = nsSwGetSetExpType::GSE_SEQ; break;
case SetVariableType::FORMULA: nSet = nsSwGetSetExpType::GSE_FORMULA; break;
- case SetVariableType::STRING: nSet = nsSwGetSetExpType::GSE_STRING; break;
+ case SetVariableType::STRING: nSet = nsSwGetSetExpType::GSE_STRING; break;
default:
DBG_ERROR("wrong value");
nSet = -1;
@@ -195,7 +195,7 @@ const SwTxtNode* GetBodyTxtNode( const SwDoc& rDoc, SwPosition& rPos,
const_cast<SwTxtNode*>(pTxtNode)->MakeStartIndex(
&rPos.nContent );
// oder doch besser das Ende vom (Anker-)TextNode nehmen ??
-// ((SwTxtNode*)pTxtNode)->MakeEndIndex( &rPos.nContent );
+// ((SwTxtNode*)pTxtNode)->MakeEndIndex( &rPos.nContent );
}
// noch nicht abbrechen, kann ja auch noch im
@@ -248,7 +248,7 @@ const SwTxtNode* GetBodyTxtNode( const SwDoc& rDoc, SwPosition& rPos,
else
{
Point aPt( pLayout->Frm().Pos() );
- aPt.Y()++; // aus dem Header raus
+ aPt.Y()++; // aus dem Header raus
pCntFrm = pPgFrm->GetCntntPos( aPt, FALSE, TRUE, FALSE );
pTxtNode = GetFirstTxtNode( rDoc, rPos, pCntFrm, aPt );
}
@@ -258,7 +258,7 @@ const SwTxtNode* GetBodyTxtNode( const SwDoc& rDoc, SwPosition& rPos,
pLayout = pLayout->GetUpper();
continue;
}
- break; // gefunden und beende die Schleife
+ break; // gefunden und beende die Schleife
}
return pTxtNode;
}
@@ -326,8 +326,8 @@ SwField* SwGetExpField::Copy() const
GetFormula(), nSubType, GetFormat());
pTmp->SetLanguage(GetLanguage());
pTmp->SwValueField::SetValue(GetValue());
- pTmp->sExpand = sExpand;
- pTmp->bIsInBodyTxt = bIsInBodyTxt;
+ pTmp->sExpand = sExpand;
+ pTmp->bIsInBodyTxt = bIsInBodyTxt;
pTmp->SetAutomaticLanguage(IsAutomaticLanguage());
if( bLateInitialization )
pTmp->SetLateInitialization();
@@ -337,7 +337,7 @@ SwField* SwGetExpField::Copy() const
void SwGetExpField::ChangeExpansion( const SwFrm& rFrm, const SwTxtFld& rFld )
{
- if( bIsInBodyTxt ) // nur Felder in Footer, Header, FootNote, Flys
+ if( bIsInBodyTxt ) // nur Felder in Footer, Header, FootNote, Flys
return;
OSL_ENSURE( !rFrm.IsInDocBody(), "Flag ist nicht richtig, Frame steht im DocBody" );
@@ -356,7 +356,7 @@ void SwGetExpField::ChangeExpansion( const SwFrm& rFrm, const SwTxtFld& rFld )
//
if(!pTxtNode)
return;
- // #i82544#
+ // #i82544#
if( bLateInitialization )
{
SwFieldType* pSetExpFld = rDoc.GetFldType(RES_SETEXPFLD, GetFormula(), sal_False);
@@ -368,7 +368,7 @@ void SwGetExpField::ChangeExpansion( const SwFrm& rFrm, const SwTxtFld& rFld )
SetSubType( nsSwGetSetExpType::GSE_STRING );
}
}
-
+
_SetGetExpFld aEndFld( aPos.nNode, &rFld, &aPos.nContent );
if(GetSubType() & nsSwGetSetExpType::GSE_STRING)
{
@@ -376,7 +376,7 @@ void SwGetExpField::ChangeExpansion( const SwFrm& rFrm, const SwTxtFld& rFld )
USHORT nSize;
rDoc.FldsToExpand( ppHashTbl, nSize, aEndFld );
LookString( ppHashTbl, nSize, GetFormula(), sExpand );
- ::DeleteHashTable( ppHashTbl, nSize ); // HashTabelle loeschen
+ ::DeleteHashTable( ppHashTbl, nSize ); // HashTabelle loeschen
}
else
{
@@ -516,7 +516,7 @@ SwSetExpFieldType::SwSetExpFieldType( SwDoc* pDc, const String& rName, USHORT nT
bDeleted( FALSE )
{
if( ( nsSwGetSetExpType::GSE_SEQ | nsSwGetSetExpType::GSE_STRING ) & nType )
- EnableFormat(FALSE); // Numberformatter nicht einsetzen
+ EnableFormat(FALSE); // Numberformatter nicht einsetzen
}
SwFieldType* SwSetExpFieldType::Copy() const
@@ -536,7 +536,7 @@ const String& SwSetExpFieldType::GetName() const
void SwSetExpFieldType::Modify( SfxPoolItem*, SfxPoolItem* )
{
- return; // nicht weiter expandieren
+ return; // nicht weiter expandieren
}
void SwSetExpFieldType::SetSeqFormat(ULONG nFmt)
@@ -584,12 +584,12 @@ extern void InsertSort( SvUShorts& rArr, USHORT nIdx, USHORT* pInsPos = 0 );
{
for( n = 0; n < aArr.Count(); ++n )
if( aArr[ n ] > nNum )
- return nNum; // nicht vorhanden -> also benutzen
+ return nNum; // nicht vorhanden -> also benutzen
else if( aArr[ n ] == nNum )
- break; // schon vorhanden -> neue erzeugen
+ break; // schon vorhanden -> neue erzeugen
if( n == aArr.Count() )
- return nNum; // nicht vorhanden -> also benutzen
+ return nNum; // nicht vorhanden -> also benutzen
}
// alle Nummern entsprechend geflag, also bestimme die richtige Nummer
@@ -696,7 +696,7 @@ bool SwSetExpFieldType::PutValue( const uno::Any& rAny, USHORT nWhichId )
{
String sTmp;
if( ::GetString( rAny, sTmp ).Len() )
-// SetDelimiter( sTmp.GetChar( 0 ));
+// SetDelimiter( sTmp.GetChar( 0 ));
SetDelimiter( sTmp );
else
SetDelimiter(String::CreateFromAscii( " "));
@@ -822,7 +822,7 @@ String SwSetExpField::Expand() const
{
String aStr;
if (nSubType & nsSwExtendedSubType::SUB_CMD)
- { // Der CommandString ist gefragt
+ { // Der CommandString ist gefragt
aStr = GetTyp()->GetName();
aStr.AppendAscii( RTL_CONSTASCII_STRINGPARAM( " = " ));
aStr += GetFormula();
@@ -871,12 +871,12 @@ SwField* SwSetExpField::Copy() const
SwSetExpField *pTmp = new SwSetExpField((SwSetExpFieldType*)GetTyp(),
GetFormula(), GetFormat());
pTmp->SwValueField::SetValue(GetValue());
- pTmp->sExpand = sExpand;
+ pTmp->sExpand = sExpand;
pTmp->SetAutomaticLanguage(IsAutomaticLanguage());
pTmp->SetLanguage(GetLanguage());
- pTmp->aPText = aPText;
- pTmp->bInput = bInput;
- pTmp->nSeqNo = nSeqNo;
+ pTmp->aPText = aPText;
+ pTmp->bInput = bInput;
+ pTmp->nSeqNo = nSeqNo;
pTmp->SetSubType(GetSubType());
return pTmp;
diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx
index 2b9e538eb817..761f3a53ff27 100644
--- a/sw/source/core/fields/fldbas.cxx
+++ b/sw/source/core/fields/fldbas.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 nsSwDocInfoSubType;
USHORT lcl_GetLanguageOfFormat( USHORT nLng, ULONG nFmt,
const SvNumberFormatter& rFormatter )
{
- if( nLng == LANGUAGE_NONE ) // wegen Bug #60010
+ if( nLng == LANGUAGE_NONE ) // wegen Bug #60010
nLng = LANGUAGE_SYSTEM;
else if( nLng == ::GetAppLanguage() )
switch( rFormatter.GetIndexTableOffset( nFmt ))
@@ -90,45 +90,45 @@ SvStringsDtor* SwFieldType::pFldNames = 0;
DBG_NAME(SwFieldType)
USHORT __FAR_DATA aTypeTab[] = {
- /* RES_DBFLD */ TYP_DBFLD,
- /* RES_USERFLD */ TYP_USERFLD,
- /* RES_FILENAMEFLD */ TYP_FILENAMEFLD,
- /* RES_DBNAMEFLD */ TYP_DBNAMEFLD,
- /* RES_DATEFLD */ TYP_DATEFLD,
- /* RES_TIMEFLD */ TYP_TIMEFLD,
- /* RES_PAGENUMBERFLD */ TYP_PAGENUMBERFLD, // dynamisch
- /* RES_AUTHORFLD */ TYP_AUTHORFLD,
- /* RES_CHAPTERFLD */ TYP_CHAPTERFLD,
- /* RES_DOCSTATFLD */ TYP_DOCSTATFLD,
- /* RES_GETEXPFLD */ TYP_GETFLD, // dynamisch
- /* RES_SETEXPFLD */ TYP_SETFLD, // dynamisch
- /* RES_GETREFFLD */ TYP_GETREFFLD,
- /* RES_HIDDENTXTFLD */ TYP_HIDDENTXTFLD,
- /* RES_POSTITFLD */ TYP_POSTITFLD,
- /* RES_FIXDATEFLD */ TYP_FIXDATEFLD,
- /* RES_FIXTIMEFLD */ TYP_FIXTIMEFLD,
- /* RES_REGFLD */ 0, // alt
- /* RES_VARREGFLD */ 0, // alt
- /* RES_SETREFFLD */ TYP_SETREFFLD,
- /* RES_INPUTFLD */ TYP_INPUTFLD,
- /* RES_MACROFLD */ TYP_MACROFLD,
- /* RES_DDEFLD */ TYP_DDEFLD,
- /* RES_TABLEFLD */ TYP_FORMELFLD,
- /* RES_HIDDENPARAFLD */ TYP_HIDDENPARAFLD,
- /* RES_DOCINFOFLD */ TYP_DOCINFOFLD,
- /* RES_TEMPLNAMEFLD */ TYP_TEMPLNAMEFLD,
- /* RES_DBNEXTSETFLD */ TYP_DBNEXTSETFLD,
- /* RES_DBNUMSETFLD */ TYP_DBNUMSETFLD,
- /* RES_DBSETNUMBERFLD */ TYP_DBSETNUMBERFLD,
- /* RES_EXTUSERFLD */ TYP_EXTUSERFLD,
- /* RES_REFPAGESETFLD */ TYP_SETREFPAGEFLD,
- /* RES_REFPAGEGETFLD */ TYP_GETREFPAGEFLD,
- /* RES_INTERNETFLD */ TYP_INTERNETFLD,
- /* RES_JUMPEDITFLD */ TYP_JUMPEDITFLD,
- /* RES_SCRIPTFLD */ TYP_SCRIPTFLD,
- /* RES_DATETIMEFLD */ 0, // dynamisch
- /* RES_AUTHORITY */ TYP_AUTHORITY,
- /* RES_COMBINED_CHARS */ TYP_COMBINED_CHARS,
+ /* RES_DBFLD */ TYP_DBFLD,
+ /* RES_USERFLD */ TYP_USERFLD,
+ /* RES_FILENAMEFLD */ TYP_FILENAMEFLD,
+ /* RES_DBNAMEFLD */ TYP_DBNAMEFLD,
+ /* RES_DATEFLD */ TYP_DATEFLD,
+ /* RES_TIMEFLD */ TYP_TIMEFLD,
+ /* RES_PAGENUMBERFLD */ TYP_PAGENUMBERFLD, // dynamisch
+ /* RES_AUTHORFLD */ TYP_AUTHORFLD,
+ /* RES_CHAPTERFLD */ TYP_CHAPTERFLD,
+ /* RES_DOCSTATFLD */ TYP_DOCSTATFLD,
+ /* RES_GETEXPFLD */ TYP_GETFLD, // dynamisch
+ /* RES_SETEXPFLD */ TYP_SETFLD, // dynamisch
+ /* RES_GETREFFLD */ TYP_GETREFFLD,
+ /* RES_HIDDENTXTFLD */ TYP_HIDDENTXTFLD,
+ /* RES_POSTITFLD */ TYP_POSTITFLD,
+ /* RES_FIXDATEFLD */ TYP_FIXDATEFLD,
+ /* RES_FIXTIMEFLD */ TYP_FIXTIMEFLD,
+ /* RES_REGFLD */ 0, // alt
+ /* RES_VARREGFLD */ 0, // alt
+ /* RES_SETREFFLD */ TYP_SETREFFLD,
+ /* RES_INPUTFLD */ TYP_INPUTFLD,
+ /* RES_MACROFLD */ TYP_MACROFLD,
+ /* RES_DDEFLD */ TYP_DDEFLD,
+ /* RES_TABLEFLD */ TYP_FORMELFLD,
+ /* RES_HIDDENPARAFLD */ TYP_HIDDENPARAFLD,
+ /* RES_DOCINFOFLD */ TYP_DOCINFOFLD,
+ /* RES_TEMPLNAMEFLD */ TYP_TEMPLNAMEFLD,
+ /* RES_DBNEXTSETFLD */ TYP_DBNEXTSETFLD,
+ /* RES_DBNUMSETFLD */ TYP_DBNUMSETFLD,
+ /* RES_DBSETNUMBERFLD */ TYP_DBSETNUMBERFLD,
+ /* RES_EXTUSERFLD */ TYP_EXTUSERFLD,
+ /* RES_REFPAGESETFLD */ TYP_SETREFPAGEFLD,
+ /* RES_REFPAGEGETFLD */ TYP_GETREFPAGEFLD,
+ /* RES_INTERNETFLD */ TYP_INTERNETFLD,
+ /* RES_JUMPEDITFLD */ TYP_JUMPEDITFLD,
+ /* RES_SCRIPTFLD */ TYP_SCRIPTFLD,
+ /* RES_DATETIMEFLD */ 0, // dynamisch
+ /* RES_AUTHORITY */ TYP_AUTHORITY,
+ /* RES_COMBINED_CHARS */ TYP_COMBINED_CHARS,
/* RES_DROPDOWN */ TYP_DROPDOWN
};
// ????? TYP_USRINPFLD,
@@ -183,7 +183,7 @@ bool SwFieldType::PutValue( const uno::Any& , USHORT )
}
/*--------------------------------------------------------------------
- Beschreibung: Basisklasse aller Felder
+ Beschreibung: Basisklasse aller Felder
Felder referenzieren einen Feldtyp
Felder sind n-mal vorhanden, Feldtypen nur einmal
--------------------------------------------------------------------*/
@@ -355,7 +355,7 @@ bool SwField::PutValue( const uno::Any& rVal, USHORT nWhichId )
/*--------------------------------------------------------------------
- Beschreibung: neuen Typ setzen
+ Beschreibung: neuen Typ setzen
(wird fuer das Kopieren zwischen Dokumenten benutzt)
muss immer vom gleichen Typ sein.
--------------------------------------------------------------------*/
@@ -490,7 +490,7 @@ SwValueFieldType::SwValueFieldType( const SwValueFieldType& rTyp )
String SwValueFieldType::ExpandValue( const double& rVal,
sal_uInt32 nFmt, USHORT nLng) const
{
- if (rVal >= DBL_MAX) // FehlerString fuer Calculator
+ if (rVal >= DBL_MAX) // FehlerString fuer Calculator
return ViewShell::GetShellRes()->aCalc_Error;
String sExpand;
@@ -562,10 +562,10 @@ void SwValueFieldType::DoubleToString( String &rValue, const double &rVal,
SvNumberFormatter* pFormatter = pDoc->GetNumberFormatter();
// wegen Bug #60010
- if( nLng == LANGUAGE_NONE ) // wegen Bug #60010
+ if( nLng == LANGUAGE_NONE ) // wegen Bug #60010
nLng = LANGUAGE_SYSTEM;
- pFormatter->ChangeIntl( nLng ); // Separator in der richtigen Sprache besorgen
+ pFormatter->ChangeIntl( nLng ); // Separator in der richtigen Sprache besorgen
rValue = ::rtl::math::doubleToUString( rVal, rtl_math_StringFormat_F, 12,
pFormatter->GetDecSep(), true );
}
@@ -591,7 +591,7 @@ SwValueField::~SwValueField()
{
}
/*--------------------------------------------------------------------
- Beschreibung: neuen Typ setzen
+ Beschreibung: neuen Typ setzen
(wird fuer das Kopieren zwischen Dokumenten benutzt)
muss immer vom gleichen Typ sein.
--------------------------------------------------------------------*/
diff --git a/sw/source/core/fields/flddat.cxx b/sw/source/core/fields/flddat.cxx
index 6bc6bc5421d4..e8968d852414 100644
--- a/sw/source/core/fields/flddat.cxx
+++ b/sw/source/core/fields/flddat.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/fields/flddropdown.cxx b/sw/source/core/fields/flddropdown.cxx
index 3e8edeea5b68..81b7cb26299d 100644
--- a/sw/source/core/fields/flddropdown.cxx
+++ b/sw/source/core/fields/flddropdown.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/fields/fldlst.cxx b/sw/source/core/fields/fldlst.cxx
index 6f704a34a25b..d6827dddd96a 100644
--- a/sw/source/core/fields/fldlst.cxx
+++ b/sw/source/core/fields/fldlst.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwInputFieldList::SwInputFieldList( SwEditShell* pShell, BOOL bBuildTmpLst )
{
const SwTxtFld* pTxtFld = pFld->GetTxtFld();
- // nur InputFields und interaktive SetExpFlds bearbeiten
+ // nur InputFields und interaktive SetExpFlds bearbeiten
// and DropDown fields
if( !pTxtFld || ( RES_SETEXPFLD == nType &&
!((SwSetExpField*)pFld->GetFld())->GetInputFlag()))
@@ -168,7 +168,7 @@ USHORT SwInputFieldList::BuildSortLst()
{
const SwTxtFld* pTxtFld = pFld->GetTxtFld();
- // nur InputFields und interaktive SetExpFlds bearbeiten
+ // nur InputFields und interaktive SetExpFlds bearbeiten
if( !pTxtFld || ( RES_SETEXPFLD == nType &&
!((SwSetExpField*)pFld->GetFld())->GetInputFlag()))
continue;
@@ -204,7 +204,7 @@ USHORT SwInputFieldList::BuildSortLst()
void SwInputFieldList::RemoveUnselectedFlds()
{
- _SetGetExpFlds* pNewLst = new _SetGetExpFlds();
+ _SetGetExpFlds* pNewLst = new _SetGetExpFlds();
FOREACHPAM_START(pSh)
{
diff --git a/sw/source/core/fields/macrofld.cxx b/sw/source/core/fields/macrofld.cxx
index 5aef3045b2f7..998aeae04563 100644
--- a/sw/source/core/fields/macrofld.cxx
+++ b/sw/source/core/fields/macrofld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwMacroField::SwMacroField(SwMacroFieldType* pInitType,
}
String SwMacroField::Expand() const
-{ // Button malen anstatt von
+{ // Button malen anstatt von
return aText ;
}
diff --git a/sw/source/core/fields/postithelper.cxx b/sw/source/core/fields/postithelper.cxx
index 63cdb337f526..8e00fabf590a 100644
--- a/sw/source/core/fields/postithelper.cxx
+++ b/sw/source/core/fields/postithelper.cxx
@@ -91,7 +91,7 @@ SwPostItHelper::SwLayoutStatus SwPostItHelper::getLayoutInfos( std::vector< SwLa
{
SwLayoutStatus aRet = INVISIBLE;
const SwTxtNode* pTxtNode = rPos.nNode.GetNode().GetTxtNode();
- SwCntntNode* pNode = rPos.nNode.GetNode().GetCntntNode(); // getfirstcontentnode // getnext...
+ SwCntntNode* pNode = rPos.nNode.GetNode().GetCntntNode(); // getfirstcontentnode // getnext...
if( !pNode )
return aRet;
SwClientIter aIter( *pNode );
@@ -180,12 +180,12 @@ SwPosition SwAnnotationItem::GetAnchorPosition() const
//if( pFld )
//{
SwTxtNode* pTNd = pFld->GetpTxtNode();
- // if( pTNd )
- // {
+ // if( pTNd )
+ // {
SwPosition aPos( *pTNd );
aPos.nContent.Assign( pTNd, *pFld->GetStart() );
return aPos;
- // }
+ // }
//}
}
diff --git a/sw/source/core/fields/reffld.cxx b/sw/source/core/fields/reffld.cxx
index 0a2f5710bf2a..213ab9e24c57 100644
--- a/sw/source/core/fields/reffld.cxx
+++ b/sw/source/core/fields/reffld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ void lcl_GetLayTree( const SwFrm* pFrm, SvPtrarr& rArr )
{
while( pFrm )
{
- if( pFrm->IsBodyFrm() ) // soll uns nicht weiter interessieren
+ if( pFrm->IsBodyFrm() ) // soll uns nicht weiter interessieren
pFrm = pFrm->GetUpper();
else
{
@@ -181,7 +181,7 @@ BOOL IsFrameBehind( const SwTxtNode& rMyNd, USHORT nMySttPos,
pRefFrm = (const SwFrm*)aRefArr[ nRefCnt - 1 ];
}
- if( pRefFrm ) // als Flag missbrauchen
+ if( pRefFrm ) // als Flag missbrauchen
{
if( bVert )
{
@@ -368,12 +368,12 @@ void SwGetRefField::UpdateField( const SwTxtFld* pFldTxtAttr )
sTxt = pFtnIdx->GetFtn().GetViewNumStr( *pDoc );
break;
}
- nStt = nEnd; // kein Bereich, der String ist fertig
+ nStt = nEnd; // kein Bereich, der String ist fertig
}
break;
}
- if( nStt != nEnd ) // ein Bereich?
+ if( nStt != nEnd ) // ein Bereich?
{
sTxt = pTxtNd->GetExpandTxt( nStt, nEnd - nStt );
@@ -593,14 +593,14 @@ bool SwGetRefField::QueryValue( uno::Any& rAny, USHORT nWhichId ) const
sal_Int16 nPart = 0;
switch(GetFormat())
{
- case REF_PAGE : nPart = ReferenceFieldPart::PAGE ; break;
- case REF_CHAPTER : nPart = ReferenceFieldPart::CHAPTER ; break;
- case REF_CONTENT : nPart = ReferenceFieldPart::TEXT ; break;
- case REF_UPDOWN : nPart = ReferenceFieldPart::UP_DOWN ; break;
- case REF_PAGE_PGDESC: nPart = ReferenceFieldPart::PAGE_DESC ; break;
- case REF_ONLYNUMBER : nPart = ReferenceFieldPart::CATEGORY_AND_NUMBER ; break;
- case REF_ONLYCAPTION: nPart = ReferenceFieldPart::ONLY_CAPTION ; break;
- case REF_ONLYSEQNO : nPart = ReferenceFieldPart::ONLY_SEQUENCE_NUMBER; break;
+ case REF_PAGE : nPart = ReferenceFieldPart::PAGE ; break;
+ case REF_CHAPTER : nPart = ReferenceFieldPart::CHAPTER ; break;
+ case REF_CONTENT : nPart = ReferenceFieldPart::TEXT ; break;
+ case REF_UPDOWN : nPart = ReferenceFieldPart::UP_DOWN ; break;
+ case REF_PAGE_PGDESC: nPart = ReferenceFieldPart::PAGE_DESC ; break;
+ case REF_ONLYNUMBER : nPart = ReferenceFieldPart::CATEGORY_AND_NUMBER ; break;
+ case REF_ONLYCAPTION: nPart = ReferenceFieldPart::ONLY_CAPTION ; break;
+ case REF_ONLYSEQNO : nPart = ReferenceFieldPart::ONLY_SEQUENCE_NUMBER; break;
// --> OD 2007-09-06 #i81002#
case REF_NUMBER: nPart = ReferenceFieldPart::NUMBER; break;
case REF_NUMBER_NO_CONTEXT: nPart = ReferenceFieldPart::NUMBER_NO_CONTEXT; break;
@@ -669,13 +669,13 @@ bool SwGetRefField::PutValue( const uno::Any& rAny, USHORT nWhichId )
rAny >>= nPart;
switch(nPart)
{
- case ReferenceFieldPart::PAGE: nPart = REF_PAGE; break;
- case ReferenceFieldPart::CHAPTER: nPart = REF_CHAPTER; break;
- case ReferenceFieldPart::TEXT: nPart = REF_CONTENT; break;
- case ReferenceFieldPart::UP_DOWN: nPart = REF_UPDOWN; break;
- case ReferenceFieldPart::PAGE_DESC: nPart = REF_PAGE_PGDESC; break;
- case ReferenceFieldPart::CATEGORY_AND_NUMBER: nPart = REF_ONLYNUMBER; break;
- case ReferenceFieldPart::ONLY_CAPTION: nPart = REF_ONLYCAPTION; break;
+ case ReferenceFieldPart::PAGE: nPart = REF_PAGE; break;
+ case ReferenceFieldPart::CHAPTER: nPart = REF_CHAPTER; break;
+ case ReferenceFieldPart::TEXT: nPart = REF_CONTENT; break;
+ case ReferenceFieldPart::UP_DOWN: nPart = REF_UPDOWN; break;
+ case ReferenceFieldPart::PAGE_DESC: nPart = REF_PAGE_PGDESC; break;
+ case ReferenceFieldPart::CATEGORY_AND_NUMBER: nPart = REF_ONLYNUMBER; break;
+ case ReferenceFieldPart::ONLY_CAPTION: nPart = REF_ONLYCAPTION; break;
case ReferenceFieldPart::ONLY_SEQUENCE_NUMBER : nPart = REF_ONLYSEQNO; break;
// --> OD 2007-09-06 #i81002#
case ReferenceFieldPart::NUMBER: nPart = REF_NUMBER; break;
@@ -702,9 +702,9 @@ bool SwGetRefField::PutValue( const uno::Any& rAny, USHORT nWhichId )
ConvertProgrammaticToUIName();
}
break;
- case ReferenceFieldSource::BOOKMARK : nSubType = REF_BOOKMARK ; break;
- case ReferenceFieldSource::FOOTNOTE : nSubType = REF_FOOTNOTE ; break;
- case ReferenceFieldSource::ENDNOTE : nSubType = REF_ENDNOTE ; break;
+ case ReferenceFieldSource::BOOKMARK : nSubType = REF_BOOKMARK ; break;
+ case ReferenceFieldSource::FOOTNOTE : nSubType = REF_FOOTNOTE ; break;
+ case ReferenceFieldSource::ENDNOTE : nSubType = REF_ENDNOTE ; break;
}
}
break;
diff --git a/sw/source/core/fields/scrptfld.cxx b/sw/source/core/fields/scrptfld.cxx
index 9d5e808d985a..c77e8bf0e414 100644
--- a/sw/source/core/fields/scrptfld.cxx
+++ b/sw/source/core/fields/scrptfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/fields/tblcalc.cxx b/sw/source/core/fields/tblcalc.cxx
index 5ffe9084ba7b..2761ff3a1860 100644
--- a/sw/source/core/fields/tblcalc.cxx
+++ b/sw/source/core/fields/tblcalc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +32,12 @@
#include <cntfrm.hxx>
#include <doc.hxx>
-#include <pam.hxx> // fuer GetBodyTxtNode
+#include <pam.hxx> // fuer GetBodyTxtNode
#include <ndtxt.hxx>
#include <fmtfld.hxx>
#include <txtfld.hxx>
#include <expfld.hxx>
-#include <docfld.hxx> // fuer _SetGetExpFld
+#include <docfld.hxx> // fuer _SetGetExpFld
#include <unofldmid.h>
using namespace ::com::sun::star;
@@ -58,14 +58,14 @@ SwFieldType* SwTblFieldType::Copy() const
void SwTblField::CalcField( SwTblCalcPara& rCalcPara )
{
- if( rCalcPara.rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
+ if( rCalcPara.rCalc.IsCalcError() ) // ist schon Fehler gesetzt ?
return;
// erzeuge aus den BoxNamen die Pointer
BoxNmToPtr( rCalcPara.pTbl );
String sFml( MakeFormel( rCalcPara ));
SetValue( rCalcPara.rCalc.Calculate( sFml ).GetDouble() );
- ChgValid( !rCalcPara.IsStackOverFlow() ); // ist der Wert wieder gueltig?
+ ChgValid( !rCalcPara.IsStackOverFlow() ); // ist der Wert wieder gueltig?
}
@@ -82,7 +82,7 @@ SwField* SwTblField::Copy() const
{
SwTblField* pTmp = new SwTblField( (SwTblFieldType*)GetTyp(),
SwTableFormula::GetFormula(), nSubType, GetFormat() );
- pTmp->sExpand = sExpand;
+ pTmp->sExpand = sExpand;
pTmp->SwValueField::SetValue(GetValue());
pTmp->SwTableFormula::operator=( *this );
pTmp->SetAutomaticLanguage(IsAutomaticLanguage());
@@ -116,7 +116,7 @@ const SwNode* SwTblField::GetNodeOfFormula() const
SwClientIter aIter( *GetTyp() );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
const SwFmtFld* pFmtFld = (SwFmtFld*)pLast;
if( this == pFmtFld->GetFld() )
diff --git a/sw/source/core/fields/textapi.cxx b/sw/source/core/fields/textapi.cxx
index 09d2ddc20fae..f94562b56adc 100644
--- a/sw/source/core/fields/textapi.cxx
+++ b/sw/source/core/fields/textapi.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,13 +49,13 @@ static const SvxItemPropertySet* ImplGetSvxTextPortionPropertySet()
SVX_UNOEDIT_FONT_PROPERTIES,
SVX_UNOEDIT_OUTLINER_PROPERTIES,
SVX_UNOEDIT_PARA_PROPERTIES,
- {MAP_CHAR_LEN("TextField"), EE_FEATURE_FIELD, &::getCppuType((const uno::Reference< text::XTextField >*)0), beans::PropertyAttribute::READONLY, 0 },
- {MAP_CHAR_LEN("TextPortionType"), WID_PORTIONTYPE, &::getCppuType((const ::rtl::OUString*)0), beans::PropertyAttribute::READONLY, 0 },
- {MAP_CHAR_LEN("TextUserDefinedAttributes"), EE_CHAR_XMLATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
- {MAP_CHAR_LEN("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
+ {MAP_CHAR_LEN("TextField"), EE_FEATURE_FIELD, &::getCppuType((const uno::Reference< text::XTextField >*)0), beans::PropertyAttribute::READONLY, 0 },
+ {MAP_CHAR_LEN("TextPortionType"), WID_PORTIONTYPE, &::getCppuType((const ::rtl::OUString*)0), beans::PropertyAttribute::READONLY, 0 },
+ {MAP_CHAR_LEN("TextUserDefinedAttributes"), EE_CHAR_XMLATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
+ {MAP_CHAR_LEN("ParaUserDefinedAttributes"), EE_PARA_XMLATTRIBS, &::getCppuType((const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >*)0) , 0, 0},
{0,0,0,0,0,0}
};
- static SvxItemPropertySet aSvxTextPortionPropertySet( aSvxTextPortionPropertyMap, EditEngine::GetGlobalItemPool() );
+ static SvxItemPropertySet aSvxTextPortionPropertySet( aSvxTextPortionPropertyMap, EditEngine::GetGlobalItemPool() );
return &aSvxTextPortionPropertySet;
}
@@ -71,14 +71,14 @@ SwTextAPIObject::~SwTextAPIObject() throw()
delete pSource;
}
-struct SwTextAPIEditSource_Impl
+struct SwTextAPIEditSource_Impl
{
// needed for "internal" refcounting
- SfxItemPool* mpPool;
- SwDoc* mpDoc;
- Outliner* mpOutliner;
- SvxOutlinerForwarder* mpTextForwarder;
- sal_Int32 mnRef;
+ SfxItemPool* mpPool;
+ SwDoc* mpDoc;
+ Outliner* mpOutliner;
+ SvxOutlinerForwarder* mpTextForwarder;
+ sal_Int32 mnRef;
};
SwTextAPIEditSource::SwTextAPIEditSource( const SwTextAPIEditSource& rSource )
diff --git a/sw/source/core/fields/usrfld.cxx b/sw/source/core/fields/usrfld.cxx
index c267b03d52d0..1d4046e1a28b 100644
--- a/sw/source/core/fields/usrfld.cxx
+++ b/sw/source/core/fields/usrfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwField* SwUserField::Copy() const
String SwUserField::GetCntnt(sal_Bool bName) const
{
if ( bName )
- { String aStr(SwFieldType::GetTypeStr(TYP_USERFLD));
+ { String aStr(SwFieldType::GetTypeStr(TYP_USERFLD));
aStr += ' ';
aStr += GetTyp()->GetName();
aStr.AppendAscii(" = ");
@@ -200,7 +200,7 @@ SwUserFieldType::SwUserFieldType( SwDoc* pDocPtr, const String& aNam )
aName = aNam;
if (nType & nsSwGetSetExpType::GSE_STRING)
- EnableFormat(sal_False); // Numberformatter nicht einsetzen
+ EnableFormat(sal_False); // Numberformatter nicht einsetzen
}
String SwUserFieldType::Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16 nLng)
@@ -212,7 +212,7 @@ String SwUserFieldType::Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16
aStr = ExpandValue(nValue, nFmt, nLng);
}
else
- EnableFormat(sal_False); // Numberformatter nicht einsetzen
+ EnableFormat(sal_False); // Numberformatter nicht einsetzen
return aStr;
}
@@ -220,11 +220,11 @@ String SwUserFieldType::Expand(sal_uInt32 nFmt, sal_uInt16 nSubType, sal_uInt16
SwFieldType* SwUserFieldType::Copy() const
{
SwUserFieldType *pTmp = new SwUserFieldType( GetDoc(), aName );
- pTmp->aContent = aContent;
- pTmp->nType = nType;
- pTmp->bValidValue = bValidValue;
- pTmp->nValue = nValue;
- pTmp->bDeleted = bDeleted;
+ pTmp->aContent = aContent;
+ pTmp->nType = nType;
+ pTmp->bValidValue = bValidValue;
+ pTmp->nValue = nValue;
+ pTmp->bDeleted = bDeleted;
return pTmp;
}
@@ -303,7 +303,7 @@ void SwUserFieldType::SetContent( const String& rStr, sal_uInt32 nFmt )
sal_Bool bModified = GetDoc()->IsModified();
GetDoc()->SetModified();
- if( !bModified ) // Bug 57028
+ if( !bModified ) // Bug 57028
GetDoc()->SetUndoNoResetModified();
}
}
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx
index b2ca4e906d99..c2b2531e0490 100644
--- a/sw/source/core/frmedt/fecopy.cxx
+++ b/sw/source/core/frmedt/fecopy.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +93,19 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFEShell::Copy() Copy fuer das Interne Clipboard.
-|* Kopiert alle Selektionen in das Clipboard.
+|* SwFEShell::Copy() Copy fuer das Interne Clipboard.
+|* Kopiert alle Selektionen in das Clipboard.
|*
-|* Ersterstellung JP ??
-|* Letzte Aenderung MA 22. Feb. 95
+|* Ersterstellung JP ??
+|* Letzte Aenderung MA 22. Feb. 95
|
|*************************************************************************/
BOOL SwFEShell::Copy( SwDoc* pClpDoc, const String* pNewClpTxt )
{
- OSL_ENSURE( pClpDoc, "kein Clipboard-Dokument" );
+ OSL_ENSURE( pClpDoc, "kein Clipboard-Dokument" );
- pClpDoc->DoUndo( FALSE ); // immer auf FALSE !!
+ pClpDoc->DoUndo( FALSE ); // immer auf FALSE !!
// steht noch Inhalt im ClpDocument, dann muss dieser geloescht werden
SwNodeIndex aSttIdx( pClpDoc->GetNodes().GetEndOfExtras(), 2 );
@@ -126,7 +126,7 @@ BOOL SwFEShell::Copy( SwDoc* pClpDoc, const String* pNewClpTxt )
SwFlyFrmFmt* pFly = (SwFlyFrmFmt*)(*pClpDoc->GetSpzFrmFmts())[n];
pClpDoc->DelLayoutFmt( pFly );
}
- pClpDoc->GCFieldTypes(); // loesche die FieldTypes
+ pClpDoc->GCFieldTypes(); // loesche die FieldTypes
// wurde ein String uebergeben, so kopiere diesen in das Clipboard-
// Dokument. Somit kann auch der Calculator das interne Clipboard
@@ -134,7 +134,7 @@ BOOL SwFEShell::Copy( SwDoc* pClpDoc, const String* pNewClpTxt )
if( pNewClpTxt )
{
pTxtNd->InsertText( *pNewClpTxt, SwIndex( pTxtNd ) );
- return TRUE; // das wars.
+ return TRUE; // das wars.
}
pClpDoc->LockExpFlds();
@@ -178,10 +178,10 @@ BOOL SwFEShell::Copy( SwDoc* pClpDoc, const String* pNewClpTxt )
if ( FLY_AS_CHAR == aAnchor.GetAnchorId() )
{
// JP 13.02.99 Bug 61863: wenn eine Rahmenselektion ins Clipboard
- // gestellt wird, so muss beim Pasten auch wieder
- // eine solche vorgefunden werden. Also muss im Node
- // das kopierte TextAttribut wieder entfernt werden,
- // sonst wird es als TextSelektion erkannt
+ // gestellt wird, so muss beim Pasten auch wieder
+ // eine solche vorgefunden werden. Also muss im Node
+ // das kopierte TextAttribut wieder entfernt werden,
+ // sonst wird es als TextSelektion erkannt
const SwIndex& rIdx = pFlyFmt->GetAnchor().GetCntntAnchor()->nContent;
SwTxtFlyCnt *const pTxtFly = static_cast<SwTxtFlyCnt *>(
pTxtNd->GetTxtAttrForCharAt(
@@ -236,7 +236,7 @@ BOOL SwFEShell::Copy( SwDoc* pClpDoc, const String* pNewClpTxt )
bRet = TRUE;
}
else
- bRet = _CopySelToDoc( pClpDoc, 0 ); // kopiere die Selectionen
+ bRet = _CopySelToDoc( pClpDoc, 0 ); // kopiere die Selectionen
pClpDoc->SetRedlineMode_intern((RedlineMode_t)0 );
pClpDoc->UnlockExpFlds();
@@ -518,7 +518,7 @@ BOOL SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
if( (pNd = &aPos.nNode.GetNode())->IsNoTxtNode() )
bRet = FALSE;
else
- { //Nicht in sich selbst kopieren
+ { //Nicht in sich selbst kopieren
const SwNodeIndex *pTmp = pFlyFmt->GetCntnt().GetCntntIdx();
if ( aPos.nNode > *pTmp && aPos.nNode <
pTmp->GetNode().EndOfSectionIndex() )
@@ -573,7 +573,7 @@ BOOL SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
GetDoc()->DelLayoutFmt( pOldFmt );
// nur selektieren wenn es in der gleichen Shell verschoben/
- // kopiert wird
+ // kopiert wird
if( bSelectInsert )
{
SwFlyFrm* pFlyFrm = ((SwFlyFrmFmt*)pFlyFmt)->GetFrm( &aPt, FALSE );
@@ -640,7 +640,7 @@ BOOL SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
GetCrsr();
// JP 16.04.99: Bug 64908 - InsPos setzen, damit der geparkte
- // Cursor auf die EinfuegePos. positioniert wird
+ // Cursor auf die EinfuegePos. positioniert wird
if( this == pDestShell )
GetCrsrDocPos() = rInsPt;
}
@@ -690,11 +690,11 @@ BOOL SwFEShell::Copy( SwFEShell* pDestShell, const Point& rSttPt,
/*************************************************************************
|*
-|* SwFEShell::Paste() Paste fuer das Interne Clipboard.
-|* Kopiert den Inhalt vom Clipboard in das Dokument.
+|* SwFEShell::Paste() Paste fuer das Interne Clipboard.
+|* Kopiert den Inhalt vom Clipboard in das Dokument.
|*
-|* Ersterstellung JP ??
-|* Letzte Aenderung MA 22. Feb. 95
+|* Ersterstellung JP ??
+|* Letzte Aenderung MA 22. Feb. 95
|
|*************************************************************************/
@@ -707,7 +707,7 @@ namespace {
BOOL SwFEShell::Paste( SwDoc* pClpDoc, BOOL bIncludingPageFrames )
{
SET_CURR_SHELL( this );
- OSL_ENSURE( pClpDoc, "kein Clipboard-Dokument" );
+ OSL_ENSURE( pClpDoc, "kein Clipboard-Dokument" );
const USHORT nStartPageNumber = GetPhyPageNum();
// dann bis zum Ende vom Nodes Array
SwNodeIndex aIdx( pClpDoc->GetNodes().GetEndOfExtras(), 2 );
@@ -720,8 +720,8 @@ BOOL SwFEShell::Paste( SwDoc* pClpDoc, BOOL bIncludingPageFrames )
SwFieldType* pTblFldTyp = GetDoc()->GetSysFldType( RES_TABLEFLD );
SwTableNode *pDestNd, *pSrcNd = aCpyPam.GetNode()->GetTableNode();
- if( !pSrcNd ) // TabellenNode ?
- { // nicht ueberspringen!!
+ if( !pSrcNd ) // TabellenNode ?
+ { // nicht ueberspringen!!
SwCntntNode* pCNd = aCpyPam.GetNode()->GetCntntNode();
if( pCNd )
aCpyPam.GetPoint()->nContent.Assign( pCNd, 0 );
@@ -861,7 +861,7 @@ BOOL SwFEShell::Paste( SwDoc* pClpDoc, BOOL bIncludingPageFrames )
// TABLE IN TABLE: Tabelle in Tabelle kopieren
// lasse ueber das Layout die Boxen suchen
SwSelBoxes aBoxes;
- if( IsTableMode() ) // Tabellen-Selecktion ??
+ if( IsTableMode() ) // Tabellen-Selecktion ??
{
GetTblSel( *this, aBoxes );
ParkTblCrsr();
@@ -906,7 +906,7 @@ BOOL SwFEShell::Paste( SwDoc* pClpDoc, BOOL bIncludingPageFrames )
::PaMCorrAbs( PCURCRSR->GetPoint()->nNode, aPos );
}
- break; // aus der "while"-Schleife heraus
+ break; // aus der "while"-Schleife heraus
}
else if( *aCpyPam.GetPoint() == *aCpyPam.GetMark() &&
pClpDoc->GetSpzFrmFmts()->Count() )
diff --git a/sw/source/core/frmedt/fedesc.cxx b/sw/source/core/frmedt/fedesc.cxx
index b24461fab3b2..5df3a3444d87 100644
--- a/sw/source/core/frmedt/fedesc.cxx
+++ b/sw/source/core/frmedt/fedesc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <SwStyleNameMapper.hxx>
/*************************************************************************
|*
-|* SwFEShell::GetPageDescCnt()
+|* SwFEShell::GetPageDescCnt()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 25. Jan. 93
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 25. Jan. 93
|*
|*************************************************************************/
@@ -59,10 +59,10 @@ USHORT SwFEShell::GetPageDescCnt() const
/*************************************************************************
|*
-|* SwFEShell::ChgCurPageDesc()
+|* SwFEShell::ChgCurPageDesc()
|*
-|* Ersterstellung ST ??
-|* Letzte Aenderung MA 01. Aug. 94
+|* Ersterstellung ST ??
+|* Letzte Aenderung MA 01. Aug. 94
|*
|*************************************************************************/
@@ -132,10 +132,10 @@ void SwFEShell::ChgCurPageDesc( const SwPageDesc& rDesc )
/*************************************************************************
|*
-|* SwFEShell::ChgPageDesc()
+|* SwFEShell::ChgPageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 24. Jan. 95
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 24. Jan. 95
|*
|*************************************************************************/
@@ -156,10 +156,10 @@ void SwFEShell::ChgPageDesc( USHORT i, const SwPageDesc &rChged )
/*************************************************************************
|*
-|* SwFEShell::GetPageDesc(), GetCurPageDesc()
+|* SwFEShell::GetPageDesc(), GetCurPageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 23. Apr. 93
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 23. Apr. 93
|
|*************************************************************************/
diff --git a/sw/source/core/frmedt/fefly1.cxx b/sw/source/core/frmedt/fefly1.cxx
index 91c6430a565b..7172b0ceaaef 100644
--- a/sw/source/core/frmedt/fefly1.cxx
+++ b/sw/source/core/frmedt/fefly1.cxx
@@ -63,7 +63,7 @@
#include <ndtxt.hxx>
#include <edimp.hxx>
#include <swtable.hxx>
-#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
+#include <mvsave.hxx> // Strukturen zum Sichern beim Move/Delete
#include <ndgrf.hxx>
#include <flyfrms.hxx>
#include <flypos.hxx>
@@ -87,12 +87,12 @@ using namespace ::com::sun::star;
void RegistFlys( SwPageFrm*, const SwLayoutFrm* );
/***********************************************************************
-#* Class : SwDoc
-#* Methode : UseSpzLayoutFmt
-#* Beschreibung: Anhand des Request werden zu dem Format entsprechende
-#* Aenderungen an den Spezifischen Layouts vorgenommen.
-#* Datum : MA 23. Sep. 92
-#* Update : JP 09.03.98
+#* Class : SwDoc
+#* Methode : UseSpzLayoutFmt
+#* Beschreibung: Anhand des Request werden zu dem Format entsprechende
+#* Aenderungen an den Spezifischen Layouts vorgenommen.
+#* Datum : MA 23. Sep. 92
+#* Update : JP 09.03.98
#***********************************************************************/
sal_Bool lcl_SetNewFlyPos( const SwNode& rNode, SwFmtAnchor& rAnchor,
@@ -151,7 +151,7 @@ BOOL lcl_FindAnchorPos( SwDoc& rDoc, const Point& rPt, const SwFrm& rFrm,
// es muss ein TextNode gefunden werden, denn nur in diesen
// ist ein Inhaltsgebundene Frames zu verankern
SwCrsrMoveState aState( MV_SETONLYTEXT );
- aTmpPnt.X() -= 1; //nicht im Fly landen!!
+ aTmpPnt.X() -= 1; //nicht im Fly landen!!
if( !pNewAnch->GetCrsrOfst( &aPos, aTmpPnt, &aState ) )
{
SwCntntNode* pCNd = ((SwCntntFrm*)pNewAnch)->GetNode();
@@ -171,7 +171,7 @@ BOOL lcl_FindAnchorPos( SwDoc& rDoc, const Point& rPt, const SwFrm& rFrm,
//dichtesten SwFlyFrm suchen.
SwCrsrMoveState aState( MV_SETONLYTEXT );
SwPosition aPos( rDoc.GetNodes() );
- aTmpPnt.X() -= 1; //nicht im Fly landen!!
+ aTmpPnt.X() -= 1; //nicht im Fly landen!!
rDoc.GetRootFrm()->GetCrsrOfst( &aPos, aTmpPnt, &aState );
pNewAnch = ::FindAnchor(
aPos.nNode.GetNode().GetCntntNode()->GetFrm( 0, 0, sal_False ),
@@ -232,13 +232,13 @@ void SwFEShell::SelectFlyFrm( SwFlyFrm& rFrm, sal_Bool bNew )
{
SET_CURR_SHELL( this );
- // Wenn es ein neuer Rahmen ist, so soll er selektiert sein.
- // !!Rahmen immer selektieren, wenn sie nicht selektiert sind.
- // - Es kann ein neuer 'alter' sein weil der Anker gewechselt wurde.
- // - 'alte' Rahmen sind vorher immer selektiert denn sonst wird nix
- // an ihnen veraendert.
- // Der Rahmen darf nicht per Dokumentposition selektiert werden, weil er
- // auf jedenfall selektiert sein muss!
+ // Wenn es ein neuer Rahmen ist, so soll er selektiert sein.
+ // !!Rahmen immer selektieren, wenn sie nicht selektiert sind.
+ // - Es kann ein neuer 'alter' sein weil der Anker gewechselt wurde.
+ // - 'alte' Rahmen sind vorher immer selektiert denn sonst wird nix
+ // an ihnen veraendert.
+ // Der Rahmen darf nicht per Dokumentposition selektiert werden, weil er
+ // auf jedenfall selektiert sein muss!
SwViewImp *pImpl = Imp();
if( GetWin() && (bNew || !pImpl->GetDrawView()->AreObjectsMarked()) )
{
@@ -273,11 +273,11 @@ void SwFEShell::SelectFlyFrm( SwFlyFrm& rFrm, sal_Bool bNew )
/*************************************************************************
|*
-|* SwFEShell::FindFlyFrm()
+|* SwFEShell::FindFlyFrm()
|*
-|* Beschreibung Liefert den Fly wenn einer Selektiert ist.
-|* Ersterstellung MA 03. Nov. 92
-|* Letzte Aenderung MA 05. Mar. 96
+|* Beschreibung Liefert den Fly wenn einer Selektiert ist.
+|* Ersterstellung MA 03. Nov. 92
+|* Letzte Aenderung MA 05. Mar. 96
|*
*************************************************************************/
@@ -298,12 +298,12 @@ SwFlyFrm *SwFEShell::FindFlyFrm() const
/*************************************************************************
|*
-|* SwFEShell::IsFlyInFly()
+|* SwFEShell::IsFlyInFly()
|*
-|* Beschreibung Liefert sal_True, wenn der aktuelle Fly an einem anderen
-|* verankert werden koennte (also innerhalb ist)
-|* Ersterstellung AMA 11. Sep. 97
-|* Letzte Aenderung AMA 14. Jan. 98
+|* Beschreibung Liefert sal_True, wenn der aktuelle Fly an einem anderen
+|* verankert werden koennte (also innerhalb ist)
+|* Ersterstellung AMA 11. Sep. 97
+|* Letzte Aenderung AMA 14. Jan. 98
|*
*************************************************************************/
@@ -350,7 +350,7 @@ const SwFrmFmt* SwFEShell::IsFlyInFly()
SwNodeIndex aSwNodeIndex( GetDoc()->GetNodes() );
SwPosition aPos( aSwNodeIndex );
Point aPoint( aTmpPos );
- aPoint.X() -= 1; //nicht im Fly landen!!
+ aPoint.X() -= 1; //nicht im Fly landen!!
GetLayout()->GetCrsrOfst( &aPos, aPoint, &aState );
// OD 01.07.2003 #108784# - determine text frame by left-top-corner
// of object
@@ -366,10 +366,10 @@ const SwFrmFmt* SwFEShell::IsFlyInFly()
/*************************************************************************
|*
-|* SwFEShell::SetFlyPos
+|* SwFEShell::SetFlyPos
|*
-|* Ersterstellung MA 14. Jan. 93
-|* Letzte Aenderung MA 14. Feb. 95
+|* Ersterstellung MA 14. Jan. 93
+|* Letzte Aenderung MA 14. Feb. 95
|*
*************************************************************************/
@@ -409,15 +409,15 @@ void SwFEShell::SetFlyPos( const Point& rAbsPos )
}
// --> OD 2004-06-11 #i28701# - no format here
// pFly->Calc();
- CallChgLnk(); // rufe das AttrChangeNotify auf der UI-Seite.
+ CallChgLnk(); // rufe das AttrChangeNotify auf der UI-Seite.
}
/*************************************************************************
|*
-|* SwFEShell::FindAnchorPos
+|* SwFEShell::FindAnchorPos
|*
-|* Ersterstellung AMA 24. Sep. 97
-|* Letzte Aenderung AMA 24. Sep. 97
+|* Ersterstellung AMA 24. Sep. 97
+|* Letzte Aenderung AMA 24. Sep. 97
|*
*************************************************************************/
@@ -623,11 +623,11 @@ Point SwFEShell::FindAnchorPos( const Point& rAbsPos, sal_Bool bMoveIt )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : NewFlyFrm
-#* Beschreibung:
-#* Datum : MA 03. Nov. 92
-#* Update : JP 11. Aug. 93
+#* Class : SwFEShell
+#* Methode : NewFlyFrm
+#* Beschreibung:
+#* Datum : MA 03. Nov. 92
+#* Update : JP 11. Aug. 93
#***********************************************************************/
const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchValid,
@@ -673,7 +673,7 @@ const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchVali
switch( eRndId )
{
case FLY_AT_PAGE:
- if( !rAnch.GetPageNum() ) //HotFix: Bug in UpdateByExample
+ if( !rAnch.GetPageNum() ) //HotFix: Bug in UpdateByExample
rAnch.SetPageNum( 1 );
break;
@@ -713,8 +713,8 @@ const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchVali
// erstmal als mit Seitenbindung, Absatz/Zeichenbindung erst wenn
// alles verschoben ist. Dann ist die Position gueltig!
// JP 13.05.98: ggfs. auch noch die Hori/Vert-Orientierung
- // umsetzen, damit diese beim Umanker NICHT
- // korrigiert wird
+ // umsetzen, damit diese beim Umanker NICHT
+ // korrigiert wird
pOldAnchor = new SwFmtAnchor( rAnch );
const_cast<SfxItemSet&>(rSet).Put( SwFmtAnchor( FLY_AT_PAGE, 1 ) );
@@ -745,8 +745,8 @@ const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchVali
{
// neue Position bestimmen
//JP 24.03.97: immer ueber die Seitenbindung gehen - der
- // chaos::Anchor darf nie im verschobenen Bereich
- // liegen
+ // chaos::Anchor darf nie im verschobenen Bereich
+ // liegen
pRet->DelFrms();
const SwFrm* pAnch = ::FindAnchor( GetLayout(), aPt, sal_False );
@@ -801,10 +801,10 @@ const SwFrmFmt *SwFEShell::NewFlyFrm( const SfxItemSet& rSet, sal_Bool bAnchVali
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : Insert
-#* Datum : ??
-#* Update : MA 12. Sep. 94
+#* Class : SwFEShell
+#* Methode : Insert
+#* Datum : ??
+#* Update : MA 12. Sep. 94
#***********************************************************************/
void SwFEShell::Insert( const String& rGrfName, const String& rFltName,
@@ -958,10 +958,10 @@ void SwFEShell::InsertDrawObj( SdrObject& rDrawObj,
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : GetPageObjs
-#* Datum : ??
-#* Update : MA 11. Jan. 95
+#* Class : SwFEShell
+#* Methode : GetPageObjs
+#* Datum : ??
+#* Update : MA 11. Jan. 95
#***********************************************************************/
void SwFEShell::GetPageObjs( SvPtrarr& rFillArr )
@@ -981,10 +981,10 @@ void SwFEShell::GetPageObjs( SvPtrarr& rFillArr )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : SetPageFlysNewPage
-#* Datum : ??
-#* Update : MA 14. Feb. 95
+#* Class : SwFEShell
+#* Methode : SetPageFlysNewPage
+#* Datum : ??
+#* Update : MA 14. Feb. 95
#***********************************************************************/
void SwFEShell::SetPageObjsNewPage( SvPtrarr& rFillArr, int nOffset )
@@ -1038,14 +1038,14 @@ void SwFEShell::SetPageObjsNewPage( SvPtrarr& rFillArr, int nOffset )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : GetFlyFrmAttr
-#* Beschreibung: Alle Attribute in dem 'Koerbchen' werden mit den
-#* Attributen des aktuellen FlyFrms gefuellt.
-#* Sind Attribute nicht zu fuellen weil fehl am Platz oder
-#* uneindeutig (Mehrfachtselektionen) so werden sie entfernt.
-#* Datum : MA 03. Nov. 92
-#* Update : MA 03. Feb. 94
+#* Class : SwFEShell
+#* Methode : GetFlyFrmAttr
+#* Beschreibung: Alle Attribute in dem 'Koerbchen' werden mit den
+#* Attributen des aktuellen FlyFrms gefuellt.
+#* Sind Attribute nicht zu fuellen weil fehl am Platz oder
+#* uneindeutig (Mehrfachtselektionen) so werden sie entfernt.
+#* Datum : MA 03. Nov. 92
+#* Update : MA 03. Feb. 94
#***********************************************************************/
sal_Bool SwFEShell::GetFlyFrmAttr( SfxItemSet &rSet ) const
@@ -1104,11 +1104,11 @@ sal_Bool SwFEShell::GetFlyFrmAttr( SfxItemSet &rSet ) const
return sal_True;
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : SetFlyFrmAttr
-#* Beschreibung: Die Attribute des aktuellen Flys aendern sich.
-#* Datum : MA 03. Nov. 92
-#* Update : MA 01. Aug. 95
+#* Class : SwFEShell
+#* Methode : SetFlyFrmAttr
+#* Beschreibung: Die Attribute des aktuellen Flys aendern sich.
+#* Datum : MA 03. Nov. 92
+#* Update : MA 01. Aug. 95
#***********************************************************************/
sal_Bool SwFEShell::SetFlyFrmAttr( SfxItemSet& rSet )
@@ -1193,12 +1193,12 @@ sal_Bool SwFEShell::SetDrawingAttr( SfxItemSet& rSet )
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : ResetFlyFrmAttr
-#* Beschreibung: Das gewuenschte Attribut oder die im Set befindlichen
-#* werden zurueckgesetzt.
-#* Datum : MA 14. Mar. 97
-#* Update : MA 14. Mar. 97
+#* Class : SwFEShell
+#* Methode : ResetFlyFrmAttr
+#* Beschreibung: Das gewuenschte Attribut oder die im Set befindlichen
+#* werden zurueckgesetzt.
+#* Datum : MA 14. Mar. 97
+#* Update : MA 14. Mar. 97
#***********************************************************************/
sal_Bool SwFEShell::ResetFlyFrmAttr( sal_uInt16 nWhich, const SfxItemSet* pSet )
@@ -1246,11 +1246,11 @@ sal_Bool SwFEShell::ResetFlyFrmAttr( sal_uInt16 nWhich, const SfxItemSet* pSet )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : GetCurFrmFmt
-#* Beschreibung: liefert wenn Rahmen, dann Rahmenvorlage, sonst 0
-#* Datum : ST 04. Jun. 93
-#* Update :
+#* Class : SwFEShell
+#* Methode : GetCurFrmFmt
+#* Beschreibung: liefert wenn Rahmen, dann Rahmenvorlage, sonst 0
+#* Datum : ST 04. Jun. 93
+#* Update :
#***********************************************************************/
SwFrmFmt* SwFEShell::GetCurFrmFmt() const
@@ -1264,10 +1264,10 @@ SwFrmFmt* SwFEShell::GetCurFrmFmt() const
}
/******************************************************************************
- * Methode : void SwFEShell::SetFrmFmt(SwFrmFmt *pNewFmt)
- * Beschreibung:
- * Erstellt : OK 14.04.94 15:40
- * Aenderung : MA 23. Apr. 97
+ * Methode : void SwFEShell::SetFrmFmt(SwFrmFmt *pNewFmt)
+ * Beschreibung:
+ * Erstellt : OK 14.04.94 15:40
+ * Aenderung : MA 23. Apr. 97
******************************************************************************/
void SwFEShell::SetFrmFmt( SwFrmFmt *pNewFmt, sal_Bool bKeepOrient, Point* pDocPos )
@@ -1318,10 +1318,10 @@ void SwFEShell::SetFrmFmt( SwFrmFmt *pNewFmt, sal_Bool bKeepOrient, Point* pDocP
/*************************************************************************
|*
-|* SwFEShell::GetFlyFrmFmt()
+|* SwFEShell::GetFlyFrmFmt()
|*
-|* Ersterstellung OK 23.06.93 13:15
-|* Letzte Aenderung OK 23.06.93 13:15
+|* Ersterstellung OK 23.06.93 13:15
+|* Letzte Aenderung OK 23.06.93 13:15
|*
*************************************************************************/
@@ -1353,10 +1353,10 @@ SwFrmFmt* SwFEShell::GetFlyFrmFmt()
/*************************************************************************
|*
-|* SwFEShell::GetFlyRect()
+|* SwFEShell::GetFlyRect()
|*
-|* Ersterstellung AMA 6. Mae. 97
-|* Letzte Aenderung AMA 6. Mae. 97
+|* Ersterstellung AMA 6. Mae. 97
+|* Letzte Aenderung AMA 6. Mae. 97
|*
*************************************************************************/
@@ -1375,10 +1375,10 @@ SwRect SwFEShell::GetFlyRect() const
/*************************************************************************
|*
-|* SwFEShell::GetObjRect()
+|* SwFEShell::GetObjRect()
|*
-|* Ersterstellung MA 22. Aug. 93
-|* Letzte Aenderung MA 11. Jan. 95
+|* Ersterstellung MA 22. Aug. 93
+|* Letzte Aenderung MA 11. Jan. 95
|*
*************************************************************************/
@@ -1398,15 +1398,15 @@ void SwFEShell::SetObjRect( const SwRect& rRect )
if ( Imp()->HasDrawView() )
{
Imp()->GetDrawView()->SetAllMarkedRect( rRect.SVRect() );
- CallChgLnk(); // rufe das AttrChangeNotify auf der UI-Seite.
+ CallChgLnk(); // rufe das AttrChangeNotify auf der UI-Seite.
}
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : RequestObjectResize()
-#* Datum : MA 10. Feb. 95
-#* Update : MA 13. Jul. 95
+#* Class : SwFEShell
+#* Methode : RequestObjectResize()
+#* Datum : MA 10. Feb. 95
+#* Update : MA 13. Jul. 95
#***********************************************************************/
Size SwFEShell::RequestObjectResize( const SwRect &rRect, const uno::Reference < embed::XEmbeddedObject >& xObj )
@@ -1530,10 +1530,10 @@ Size SwFEShell::RequestObjectResize( const SwRect &rRect, const uno::Reference <
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : WizzardFindCurFrmFmt
-#* Datum : JP 31.07.95
-#* Update : JP 31.07.95
+#* Class : SwFEShell
+#* Methode : WizzardFindCurFrmFmt
+#* Datum : JP 31.07.95
+#* Update : JP 31.07.95
#***********************************************************************/
SwFrmFmt* SwFEShell::WizzardGetFly()
@@ -1907,8 +1907,8 @@ sal_Bool SwFEShell::ReplaceSdrObj( const String& rGrfName, const String& rFltNam
const Rectangle &rBound = pObj->GetSnapRect();
Point aRelPos( pObj->GetRelativePos() );
- const long nWidth = rBound.Right() - rBound.Left();
- const long nHeight= rBound.Bottom() - rBound.Top();
+ const long nWidth = rBound.Right() - rBound.Left();
+ const long nHeight= rBound.Bottom() - rBound.Top();
aFrmSet.Put( SwFmtFrmSize( ATT_MIN_SIZE,
Max( nWidth, long(MINFLY) ),
Max( nHeight, long(MINFLY) )));
diff --git a/sw/source/core/frmedt/feflyole.cxx b/sw/source/core/frmedt/feflyole.cxx
index 24332a60917a..28fb8fdf42d7 100644
--- a/sw/source/core/frmedt/feflyole.cxx
+++ b/sw/source/core/frmedt/feflyole.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -121,7 +121,7 @@ void SwFEShell::MakeObjVisible( const uno::Reference < embed::XEmbeddedObject >&
}
}
-BOOL SwFEShell::FinishOLEObj() // Server wird beendet
+BOOL SwFEShell::FinishOLEObj() // Server wird beendet
{
SfxInPlaceClient* pIPClient = GetSfxViewShell()->GetIPClient();
if ( !pIPClient )
diff --git a/sw/source/core/frmedt/feshview.cxx b/sw/source/core/frmedt/feshview.cxx
index 0ebd92d93038..6a6b3f108837 100644
--- a/sw/source/core/frmedt/feshview.cxx
+++ b/sw/source/core/frmedt/feshview.cxx
@@ -81,12 +81,12 @@
#include "ndole.hxx"
#include "ndgrf.hxx"
#include "ndtxt.hxx"
-#include "viewopt.hxx" // fuer GetHTMLMode
+#include "viewopt.hxx" // fuer GetHTMLMode
#include "swundo.hxx"
#include "notxtfrm.hxx"
#include "txtfrm.hxx"
#include "txatbase.hxx"
-#include "mdiexp.hxx" // fuer Update der Statuszeile bei drag
+#include "mdiexp.hxx" // fuer Update der Statuszeile bei drag
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
// --> OD 2006-03-06 #125892#
@@ -123,7 +123,7 @@ void lcl_GrabCursor( SwFEShell* pSh, SwFlyFrm* pOldSelFly)
{
// dann das evt. gesetzte Macro rufen
pSh->GetFlyMacroLnk().Call( (void*)pFlyFmt );
-extern BOOL bNoInterrupt; // in swapp.cxx
+extern BOOL bNoInterrupt; // in swapp.cxx
// wir in dem Makro ein Dialog gestartet, dann kommt das
// MouseButtonUp zu diesem und nicht zu uns. Dadurch ist
// Flag bei uns immer gesetzt und schaltet nie die auf die
@@ -143,10 +143,10 @@ extern BOOL bNoInterrupt; // in swapp.cxx
/*************************************************************************
|*
-|* SwFEShell::SelectObj()
+|* SwFEShell::SelectObj()
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 22. Oct. 96
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 22. Oct. 96
|*
*************************************************************************/
@@ -156,7 +156,7 @@ BOOL SwFEShell::SelectObj( const Point& rPt, BYTE nFlag, SdrObject *pObj )
if(!pDView)
return sal_False;
SET_CURR_SHELL( this );
- StartAction(); //Aktion ist Notwendig, damit nicht mehrere
+ StartAction(); //Aktion ist Notwendig, damit nicht mehrere
//AttrChgdNotify (etwa durch Unmark->MarkListHasChgd)
//durchkommen
@@ -542,10 +542,10 @@ sal_Bool SwFEShell::MoveAnchor( USHORT nDir )
/*************************************************************************
|*
-|* SwFEShell::GetSelFrmType()
+|* SwFEShell::GetSelFrmType()
|*
-|* Ersterstellung MA 12. Jan. 93
-|* Letzte Aenderung JP 19.03.96
+|* Ersterstellung MA 12. Jan. 93
+|* Letzte Aenderung JP 19.03.96
|*
*************************************************************************/
@@ -609,10 +609,10 @@ bool SwFEShell::IsSelContainsControl() const
/*************************************************************************
|*
-|* SwFEShell::Scroll()
+|* SwFEShell::Scroll()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 27. Jul. 95
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 27. Jul. 95
|*
*************************************************************************/
@@ -630,10 +630,10 @@ void SwFEShell::ScrollTo( const Point &rPt )
/*************************************************************************
|*
-|* SwFEShell::SetDragMode()
+|* SwFEShell::SetDragMode()
|*
-|* Ersterstellung MA 30. Jan. 95
-|* Letzte Aenderung MA 30. Jan. 95
+|* Ersterstellung MA 30. Jan. 95
+|* Letzte Aenderung MA 30. Jan. 95
|*
*************************************************************************/
@@ -645,10 +645,10 @@ void SwFEShell::SetDragMode( UINT16 eDragMode )
/*************************************************************************
|*
-|* SwFEShell::BeginDrag()
+|* SwFEShell::BeginDrag()
|*
-|* Ersterstellung MS 10.06.92
-|* Letzte Aenderung MA 13. Mar. 96
+|* Ersterstellung MS 10.06.92
+|* Letzte Aenderung MA 13. Mar. 96
|*
*************************************************************************/
@@ -667,10 +667,10 @@ long SwFEShell::BeginDrag( const Point* pPt, BOOL )
}
/*************************************************************************
|*
-|* SwFEShell::Drag()
+|* SwFEShell::Drag()
|*
-|* Ersterstellung MS 10.06.92
-|* Letzte Aenderung MA 13. Mar. 96
+|* Ersterstellung MS 10.06.92
+|* Letzte Aenderung MA 13. Mar. 96
|*
*************************************************************************/
@@ -690,10 +690,10 @@ long SwFEShell::Drag( const Point *pPt, BOOL )
/*************************************************************************
|*
-|* SwFEShell::EndDrag()
+|* SwFEShell::EndDrag()
|*
-|* Ersterstellung MS 10.06.92
-|* Letzte Aenderung MA 13. Mar. 96
+|* Ersterstellung MS 10.06.92
+|* Letzte Aenderung MA 13. Mar. 96
|*
*************************************************************************/
@@ -722,7 +722,7 @@ long SwFEShell::EndDrag( const Point *, BOOL )
pView->EndDragObj();
// JP 18.08.95: DrawUndo-Action auf FlyFrames werden nicht gespeichert
- // Die Fly aendern das Flag
+ // Die Fly aendern das Flag
GetDoc()->SetNoDrawUndoObj( FALSE );
ChgAnchor( 0, TRUE );
@@ -743,10 +743,10 @@ long SwFEShell::EndDrag( const Point *, BOOL )
/*************************************************************************
|*
-|* SwFEShell::BreakDrag()
+|* SwFEShell::BreakDrag()
|*
-|* Ersterstellung OM 02. Okt. 95
-|* Letzte Aenderung OM 02. Okt. 95
+|* Ersterstellung OM 02. Okt. 95
+|* Letzte Aenderung OM 02. Okt. 95
|*
*************************************************************************/
@@ -760,12 +760,12 @@ void SwFEShell::BreakDrag()
/*************************************************************************
|*
-|* SwFEShell::SelFlyGrabCrsr()
+|* SwFEShell::SelFlyGrabCrsr()
|*
-|* Beschreibung Wenn ein Fly selektiert ist, zieht er den Crsr in
-|* den ersten CntntFrm
-|* Ersterstellung MA 11. Dec. 92
-|* Letzte Aenderung MA 07. Oct. 96
+|* Beschreibung Wenn ein Fly selektiert ist, zieht er den Crsr in
+|* den ersten CntntFrm
+|* Ersterstellung MA 11. Dec. 92
+|* Letzte Aenderung MA 07. Oct. 96
|*
*************************************************************************/
@@ -783,13 +783,13 @@ const SwFrmFmt* SwFEShell::SelFlyGrabCrsr()
SwCntntFrm *pCFrm = pFly->ContainsCntnt();
if ( pCFrm )
{
- SwCntntNode *pCNode = pCFrm->GetNode();
+ SwCntntNode *pCNode = pCFrm->GetNode();
// --> OD 2007-07-25 #126039#
// assure, that the cursor is consistent.
KillPams();
ClearMark();
// <--
- SwPaM *pCrsr = GetCrsr();
+ SwPaM *pCrsr = GetCrsr();
pCrsr->GetPoint()->nNode = *pCNode;
pCrsr->GetPoint()->nContent.Assign( pCNode, 0 );
@@ -808,12 +808,12 @@ const SwFrmFmt* SwFEShell::SelFlyGrabCrsr()
/*************************************************************************
|*
-|* SwFEShell::SelectionToTop(), SelectionToBottom()
+|* SwFEShell::SelectionToTop(), SelectionToBottom()
|*
-|* Beschreibung Selektion nach oben/unten (Z-Order)
+|* Beschreibung Selektion nach oben/unten (Z-Order)
|*
-|* Ersterstellung MA 05. Nov. 92
-|* Letzte Aenderung MA 03. Jun. 96
+|* Ersterstellung MA 05. Nov. 92
+|* Letzte Aenderung MA 03. Jun. 96
|*
*************************************************************************/
@@ -821,7 +821,7 @@ void lcl_NotifyNeighbours( const SdrMarkList *pLst )
{
//Die Regeln fuer die Ausweichmanoever haben sich veraendert.
//1. Die Umgebung des Fly und aller innenliegenden muss benachrichtigt
- // werden.
+ // werden.
//2. Der Inhalt des Rahmen selbst muss benachrichtigt werden.
//3. Rahmen die dem Rahmen ausweichen bzw. wichen muessen benachrichtigt werden.
//4. Auch Zeichenobjekte koennen Rahmen verdraengen
@@ -887,7 +887,7 @@ void lcl_NotifyNeighbours( const SdrMarkList *pLst )
{
const SwFmtHoriOrient &rH = pAct->GetFmt()->GetHoriOrient();
if ( rH.GetHoriOrient() == aHori &&
- pAct->Frm().Top() <= aRect.Bottom() &&
+ pAct->Frm().Top() <= aRect.Bottom() &&
pAct->Frm().Bottom() >= aRect.Top() )
{
pAct->InvalidatePos();
@@ -940,12 +940,12 @@ void SwFEShell::SelectionToBottom( BOOL bBottom )
/*************************************************************************
|*
-|* SwFEShell::GetLayerId()
+|* SwFEShell::GetLayerId()
|*
-|* Beschreibung Objekt ueber/unter dem Dokument?
-|* 2 Controls, 1 Heaven, 0 Hell, -1 Uneindeutig
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 20. Dec. 94
+|* Beschreibung Objekt ueber/unter dem Dokument?
+|* 2 Controls, 1 Heaven, 0 Hell, -1 Uneindeutig
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 20. Dec. 94
|*
*************************************************************************/
@@ -974,11 +974,11 @@ short SwFEShell::GetLayerId() const
/*************************************************************************
|*
-|* SwFEShell::SelectionToHeaven(), SelectionToHell()
+|* SwFEShell::SelectionToHeaven(), SelectionToHell()
|*
-|* Beschreibung Objekt ueber/unter dem Dokument
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung AMA 04. Jun. 98
+|* Beschreibung Objekt ueber/unter dem Dokument
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung AMA 04. Jun. 98
|*
*************************************************************************/
// OD 25.06.2003 #108784#
@@ -1034,10 +1034,10 @@ void SwFEShell::SelectionToHell()
/*************************************************************************
|*
-|* SwFEShell::IsObjSelected(), IsFrmSelected()
+|* SwFEShell::IsObjSelected(), IsFrmSelected()
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 17. Jan. 95
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 17. Jan. 95
|*
*************************************************************************/
@@ -1069,10 +1069,10 @@ sal_Bool SwFEShell::IsObjSelected( const SdrObject& rObj ) const
/*************************************************************************
|*
-|* SwFEShell::EndTextEdit()
+|* SwFEShell::EndTextEdit()
|*
-|* Ersterstellung MA 19. Feb. 96
-|* Letzte Aenderung MA 19. Feb. 96
+|* Ersterstellung MA 19. Feb. 96
+|* Letzte Aenderung MA 19. Feb. 96
|*
*************************************************************************/
@@ -1130,10 +1130,10 @@ void SwFEShell::EndTextEdit()
/*************************************************************************
|*
-|* SwFEShell::IsInsideSelectedObj()
+|* SwFEShell::IsInsideSelectedObj()
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 08. Nov. 96
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 08. Nov. 96
|*
*************************************************************************/
@@ -1154,10 +1154,10 @@ int SwFEShell::IsInsideSelectedObj( const Point &rPt )
/*************************************************************************
|*
-|* SwFEShell::IsObjSelectable()
+|* SwFEShell::IsObjSelectable()
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 02. Feb. 95
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 02. Feb. 95
|*
*************************************************************************/
@@ -1286,12 +1286,12 @@ sal_Bool SwFEShell::ShouldObjectBeSelected(const Point& rPt)
/*************************************************************************
|*
-|* SwFEShell::GotoObj()
+|* SwFEShell::GotoObj()
|*
-|* Beschreibung Wenn ein Obj selektiert ist, gehen wir von dessen
-|* TopLeft aus, andernfalls von der Mitte des aktuellen CharRects.
-|* Ersterstellung MA 01. Jun. 95
-|* Letzte Aenderung MA 30. Apr. 96
+|* Beschreibung Wenn ein Obj selektiert ist, gehen wir von dessen
+|* TopLeft aus, andernfalls von der Mitte des aktuellen CharRects.
+|* Ersterstellung MA 01. Jun. 95
+|* Letzte Aenderung MA 30. Apr. 96
|*
*************************************************************************/
/* -----------------23.09.98 10:29-------------------
@@ -1339,12 +1339,12 @@ const SdrObject* SwFEShell::GetBestObject( BOOL bNext, USHORT /*GOTOOBJ_...*/ eT
if( !Imp()->HasDrawView() )
return NULL;
- const SdrObject *pBest = 0,
- *pTop = 0;
+ const SdrObject *pBest = 0,
+ *pTop = 0;
const long nTmp = bNext ? LONG_MAX : 0;
Point aBestPos( nTmp, nTmp );
- Point aTopPos( nTmp, nTmp );
+ Point aTopPos( nTmp, nTmp );
Point aCurPos;
Point aPos;
BOOL bNoDraw = 0 == (GOTOOBJ_DRAW_ANY & eType);
@@ -1537,10 +1537,10 @@ BOOL SwFEShell::GotoObj( BOOL bNext, USHORT /*GOTOOBJ_...*/ eType )
/*************************************************************************
|*
-|* SwFEShell::BeginCreate()
+|* SwFEShell::BeginCreate()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 21. Mar. 95
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 21. Mar. 95
|*
*************************************************************************/
@@ -1588,10 +1588,10 @@ BOOL SwFEShell::BeginCreate( UINT16 /*SdrObjKind ?*/ eSdrObjectKind, UINT32 eOb
/*************************************************************************
|*
-|* SwFEShell::MoveCreate()
+|* SwFEShell::MoveCreate()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 24. Jan. 95
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 24. Jan. 95
|*
*************************************************************************/
@@ -1608,10 +1608,10 @@ void SwFEShell::MoveCreate( const Point &rPos )
/*************************************************************************
|*
-|* SwFEShell::EndCreate(), ImpEndCreate()
+|* SwFEShell::EndCreate(), ImpEndCreate()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 14. Oct. 96
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 14. Oct. 96
|*
*************************************************************************/
@@ -1652,7 +1652,7 @@ BOOL SwFEShell::ImpEndCreate()
if( rSdrObj.GetSnapRect().IsEmpty() )
{
//JP 10.04.95: das Object vergessen wir lieber, fuerht nur
- // zu Problemen
+ // zu Problemen
Imp()->GetDrawView()->DeleteMarked();
Imp()->GetDrawView()->UnmarkAll();
::FrameNotify( this, FLY_DRAG_END );
@@ -1797,7 +1797,7 @@ BOOL SwFEShell::ImpEndCreate()
aAnch.SetType( FLY_AT_PAGE );
aAnch.SetPageNum( pPage->GetPhyPageNum() );
- pAnch = pPage; // die Page wird jetzt zum Anker
+ pAnch = pPage; // die Page wird jetzt zum Anker
}
}
@@ -1835,9 +1835,9 @@ BOOL SwFEShell::ImpEndCreate()
if( OBJ_NONE == nIdent )
{
//Bei OBJ_NONE wird ein Fly eingefuegt.
- const long nWidth = rBound.Right() - rBound.Left();
- const long nHeight= rBound.Bottom() - rBound.Top();
- aSet.Put( SwFmtFrmSize( ATT_MIN_SIZE, Max( nWidth, long(MINFLY) ),
+ const long nWidth = rBound.Right() - rBound.Left();
+ const long nHeight= rBound.Bottom() - rBound.Top();
+ aSet.Put( SwFmtFrmSize( ATT_MIN_SIZE, Max( nWidth, long(MINFLY) ),
Max( nHeight, long(MINFLY) )));
SwFmtHoriOrient aHori( nXOffset, text::HoriOrientation::NONE, text::RelOrientation::FRAME );
@@ -1851,7 +1851,7 @@ BOOL SwFEShell::ImpEndCreate()
//Erzeugtes Object wegwerfen, so kann der Fly am elegentesten
//ueber vorhandene SS erzeugt werden.
- GetDoc()->SetNoDrawUndoObj( TRUE ); // siehe oben
+ GetDoc()->SetNoDrawUndoObj( TRUE ); // siehe oben
// --> OD 2005-08-08 #i52858# - method name changed
SdrPage *pPg = getIDocumentDrawModelAccess()->GetOrCreateDrawModel()->GetPage( 0 );
// <--
@@ -1986,10 +1986,10 @@ BOOL SwFEShell::ImpEndCreate()
/*************************************************************************
|*
-|* SwFEShell::BreakCreate()
+|* SwFEShell::BreakCreate()
|*
-|* Ersterstellung MA 20. Dec. 94
-|* Letzte Aenderung MA 09. Jan. 95
+|* Ersterstellung MA 20. Dec. 94
+|* Letzte Aenderung MA 09. Jan. 95
|*
*************************************************************************/
@@ -2002,10 +2002,10 @@ void SwFEShell::BreakCreate()
/*************************************************************************
|*
-|* SwFEShell::IsDrawCreate()
+|* SwFEShell::IsDrawCreate()
|*
-|* Ersterstellung OM 16. Mar. 95
-|* Letzte Aenderung OM 16. Mar. 95
+|* Ersterstellung OM 16. Mar. 95
+|* Letzte Aenderung OM 16. Mar. 95
|*
*************************************************************************/
@@ -2016,10 +2016,10 @@ BOOL SwFEShell::IsDrawCreate() const
/*************************************************************************
|*
-|* SwFEShell::BeginMark()
+|* SwFEShell::BeginMark()
|*
-|* Ersterstellung OM 07. Feb. 95
-|* Letzte Aenderung OM 07. Feb. 95
+|* Ersterstellung OM 07. Feb. 95
+|* Letzte Aenderung OM 07. Feb. 95
|*
*************************************************************************/
@@ -2043,10 +2043,10 @@ BOOL SwFEShell::BeginMark( const Point &rPos )
/*************************************************************************
|*
-|* SwFEShell::MoveMark()
+|* SwFEShell::MoveMark()
|*
-|* Ersterstellung OM 07. Feb. 95
-|* Letzte Aenderung OM 07. Feb. 95
+|* Ersterstellung OM 07. Feb. 95
+|* Letzte Aenderung OM 07. Feb. 95
|*
*************************************************************************/
@@ -2058,7 +2058,7 @@ void SwFEShell::MoveMark( const Point &rPos )
{
ScrollTo( rPos );
SwDrawView* pDView = Imp()->GetDrawView();
-// Imp()->GetDrawView()->MovMarkObj( rPos );
+// Imp()->GetDrawView()->MovMarkObj( rPos );
if (pDView->IsInsObjPoint())
pDView->MovInsObjPoint( rPos );
@@ -2071,10 +2071,10 @@ void SwFEShell::MoveMark( const Point &rPos )
/*************************************************************************
|*
-|* SwFEShell::EndMark()
+|* SwFEShell::EndMark()
|*
-|* Ersterstellung OM 07. Feb. 95
-|* Letzte Aenderung MA 08. Feb. 95
+|* Ersterstellung OM 07. Feb. 95
+|* Letzte Aenderung MA 08. Feb. 95
|*
*************************************************************************/
@@ -2108,7 +2108,7 @@ BOOL SwFEShell::EndMark()
bShowHdl = TRUE;
}
rMrkList.DeleteMark( i );
- --i; //keinen auslassen.
+ --i; //keinen auslassen.
}
}
@@ -2139,10 +2139,10 @@ BOOL SwFEShell::EndMark()
/*************************************************************************
|*
-|* SwFEShell::BreakSelect()
+|* SwFEShell::BreakSelect()
|*
-|* Ersterstellung OM 07. Feb. 95
-|* Letzte Aenderung OM 07. Feb. 95
+|* Ersterstellung OM 07. Feb. 95
+|* Letzte Aenderung OM 07. Feb. 95
|*
*************************************************************************/
@@ -2154,10 +2154,10 @@ void SwFEShell::BreakMark()
/*************************************************************************
|*
-|* SwFEShell::GetAnchorId()
+|* SwFEShell::GetAnchorId()
|*
-|* Ersterstellung MA 30. Jan. 95
-|* Letzte Aenderung MA 30. Jan. 95
+|* Ersterstellung MA 30. Jan. 95
+|* Letzte Aenderung MA 30. Jan. 95
|*
*************************************************************************/
@@ -2193,10 +2193,10 @@ short SwFEShell::GetAnchorId() const
/*************************************************************************
|*
-|* SwFEShell::ChgAnchor()
+|* SwFEShell::ChgAnchor()
|*
-|* Ersterstellung MA 10. Jan. 95
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 10. Jan. 95
+|* Letzte Aenderung MA 30. May. 96
|*
*************************************************************************/
@@ -2220,10 +2220,10 @@ void SwFEShell::ChgAnchor( int eAnchorId, BOOL bSameOnly, BOOL bPosCorr )
/*************************************************************************
|*
-|* SwFEShell::DelSelectedObj()
+|* SwFEShell::DelSelectedObj()
|*
-|* Ersterstellung MA 03. Nov. 92
-|* Letzte Aenderung MA 14. Nov. 95
+|* Ersterstellung MA 03. Nov. 92
+|* Letzte Aenderung MA 14. Nov. 95
|*
*************************************************************************/
@@ -2241,12 +2241,12 @@ void SwFEShell::DelSelectedObj()
/*************************************************************************
|*
-|* SwFEShell::GetObjSize(), GetAnchorObjDiff()
+|* SwFEShell::GetObjSize(), GetAnchorObjDiff()
|*
-|* Beschreibung Fuer die Statuszeile zum Erfragen der aktuellen
-|* Verhaeltnisse
-|* Ersterstellung MA 25. Apr. 95
-|* Letzte Aenderung MA 25. Apr. 95
+|* Beschreibung Fuer die Statuszeile zum Erfragen der aktuellen
+|* Verhaeltnisse
+|* Ersterstellung MA 25. Apr. 95
+|* Letzte Aenderung MA 25. Apr. 95
|*
*************************************************************************/
@@ -2302,10 +2302,10 @@ Point SwFEShell::GetObjAbsPos() const
/*************************************************************************
|*
-|* SwFEShell::IsGroupSelected()
+|* SwFEShell::IsGroupSelected()
|*
-|* Ersterstellung MA 30. Jan. 95
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 30. Jan. 95
+|* Letzte Aenderung MA 30. May. 96
|*
*************************************************************************/
@@ -2413,12 +2413,12 @@ bool SwFEShell::IsGroupAllowed() const
/*************************************************************************
|*
-|* SwFEShell::GroupSelection()
+|* SwFEShell::GroupSelection()
|*
-|* Beschreibung Die Gruppe bekommt den Anker und das Contactobjekt
-|* des ersten in der Selektion
-|* Ersterstellung MA 30. Jan. 95
-|* Letzte Aenderung MA 23. Apr. 95
+|* Beschreibung Die Gruppe bekommt den Anker und das Contactobjekt
+|* des ersten in der Selektion
+|* Ersterstellung MA 30. Jan. 95
+|* Letzte Aenderung MA 23. Apr. 95
|*
*************************************************************************/
@@ -2438,12 +2438,12 @@ void SwFEShell::GroupSelection()
/*************************************************************************
|*
-|* SwFEShell::UnGroupSelection()
+|* SwFEShell::UnGroupSelection()
|*
-|* Beschreibung Die Einzelobjekte bekommen eine Kopie vom Anker und
-|* Contactobjekt der Gruppe.
-|* Ersterstellung MA 30. Jan. 95
-|* Letzte Aenderung MA 01. Feb. 95
+|* Beschreibung Die Einzelobjekte bekommen eine Kopie vom Anker und
+|* Contactobjekt der Gruppe.
+|* Ersterstellung MA 30. Jan. 95
+|* Letzte Aenderung MA 01. Feb. 95
|*
*************************************************************************/
@@ -2463,10 +2463,10 @@ void SwFEShell::UnGroupSelection()
/*************************************************************************
|*
-|* SwFEShell::MirrorSelection()
+|* SwFEShell::MirrorSelection()
|*
-|* Ersterstellung MA 06. Aug. 95
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 06. Aug. 95
+|* Letzte Aenderung MA 06. Aug. 95
|*
*************************************************************************/
@@ -2488,10 +2488,10 @@ BOOL SwFEShell::GotoFly( const String& rName, FlyCntType eType, BOOL bSelFrm )
{
BOOL bRet = FALSE;
static BYTE __READONLY_DATA aChkArr[ 4 ] = {
- /* FLYCNTTYPE_ALL */ 0,
- /* FLYCNTTYPE_FRM */ ND_TEXTNODE,
- /* FLYCNTTYPE_GRF */ ND_GRFNODE,
- /* FLYCNTTYPE_OLE */ ND_OLENODE
+ /* FLYCNTTYPE_ALL */ 0,
+ /* FLYCNTTYPE_FRM */ ND_TEXTNODE,
+ /* FLYCNTTYPE_GRF */ ND_GRFNODE,
+ /* FLYCNTTYPE_OLE */ ND_OLENODE
};
const SwFlyFrmFmt* pFlyFmt = pDoc->FindFlyByName( rName, aChkArr[ eType]);
@@ -2517,7 +2517,7 @@ static BYTE __READONLY_DATA aChkArr[ 4 ] = {
SwCntntFrm *pCFrm = pFrm->ContainsCntnt();
if ( pCFrm )
{
- SwCntntNode *pCNode = pCFrm->GetNode();
+ SwCntntNode *pCNode = pCFrm->GetNode();
ClearMark();
SwPaM* pCrsr = GetCrsr();
@@ -2573,7 +2573,7 @@ BYTE SwFEShell::IsSelObjProtected( USHORT eType ) const
SdrObject *pObj = rMrkList.GetMark( --i )->GetMarkedSdrObj();
if( !bParent )
{
- nChk |= ( pObj->IsMoveProtect() ? FLYPROTECT_POS : 0 ) |
+ nChk |= ( pObj->IsMoveProtect() ? FLYPROTECT_POS : 0 ) |
( pObj->IsResizeProtect()? FLYPROTECT_SIZE : 0 );
if( FLYPROTECT_CONTENT & eType && pObj->ISA(SwVirtFlyDrawObj) )
@@ -2856,7 +2856,7 @@ void SwFEShell::HideChainMarker()
void SwFEShell::SetChainMarker()
{
BOOL bDelFrom = TRUE,
- bDelTo = TRUE;
+ bDelTo = TRUE;
if ( IsFrmSelected() )
{
SwFlyFrm *pFly = FindFlyFrm();
diff --git a/sw/source/core/frmedt/fetab.cxx b/sw/source/core/frmedt/fetab.cxx
index 0f25cea37c05..1e7dea335794 100644
--- a/sw/source/core/frmedt/fetab.cxx
+++ b/sw/source/core/frmedt/fetab.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -199,10 +199,10 @@ void SwFEShell::ParkCursorInTab()
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : InsertRow(), InsertCol
-#* Datum : MA 03. May. 93
-#* Update : MA 19. Apr. 95
+#* Class : SwFEShell
+#* Methoden : InsertRow(), InsertCol
+#* Datum : MA 03. May. 93
+#* Update : MA 19. Apr. 95
#***********************************************************************/
BOOL SwFEShell::InsertRow( USHORT nCnt, BOOL bBehind )
{
@@ -274,10 +274,10 @@ BOOL SwFEShell::InsertCol( USHORT nCnt, BOOL bBehind )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : DeleteRow(), DeleteCol()
-#* Datum : MA 03. May. 93
-#* Update : MA 19. Apr. 95
+#* Class : SwFEShell
+#* Methoden : DeleteRow(), DeleteCol()
+#* Datum : MA 03. May. 93
+#* Update : MA 19. Apr. 95
#***********************************************************************/
/**
@@ -373,9 +373,9 @@ BOOL SwFEShell::DeleteRow()
// die Crsr aus dem Loeschbereich entfernen.
// Der Cursor steht danach:
- // - es folgt noch eine Zeile, in dieser
- // - vorher steht noch eine Zeile, in dieser
- // - sonst immer dahinter
+ // - es folgt noch eine Zeile, in dieser
+ // - vorher steht noch eine Zeile, in dieser
+ // - sonst immer dahinter
{
SwTableNode* pTblNd = ((SwCntntFrm*)pFrm)->GetNode()->FindTableNode();
@@ -400,7 +400,7 @@ BOOL SwFEShell::DeleteRow()
{
_FndBox* pTmp = pFndBox->GetLines()[0]->GetBoxes()[0];
if( pTmp->GetBox()->GetSttNd() )
- break; // das ist sonst zu weit
+ break; // das ist sonst zu weit
pFndBox = pTmp;
}
@@ -420,7 +420,7 @@ BOOL SwFEShell::DeleteRow()
pNextBox->GetFrmFmt()->GetProtect().IsCntntProtected() )
pNextBox = pNextBox->FindNextBox( pTblNd->GetTable(), pNextBox );
- if( !pNextBox ) // keine nachfolgende? dann die vorhergehende
+ if( !pNextBox ) // keine nachfolgende? dann die vorhergehende
{
pDelLine = pFndBox->GetLines()[ 0 ]->GetLine();
pDelBox = pDelLine->GetTabBoxes()[ 0 ];
@@ -434,9 +434,9 @@ BOOL SwFEShell::DeleteRow()
}
ULONG nIdx;
- if( pNextBox ) // dann den Cursor hier hinein
+ if( pNextBox ) // dann den Cursor hier hinein
nIdx = pNextBox->GetSttIdx() + 1;
- else // ansonsten hinter die Tabelle
+ else // ansonsten hinter die Tabelle
nIdx = pTblNd->EndOfSectionIndex() + 1;
SwNodeIndex aIdx( GetDoc()->GetNodes(), nIdx );
@@ -449,7 +449,7 @@ BOOL SwFEShell::DeleteRow()
SwPaM* pPam = GetCrsr();
pPam->GetPoint()->nNode = aIdx;
pPam->GetPoint()->nContent.Assign( pCNd, 0 );
- pPam->SetMark(); // beide wollen etwas davon haben
+ pPam->SetMark(); // beide wollen etwas davon haben
pPam->DeleteMark();
}
}
@@ -467,10 +467,10 @@ BOOL SwFEShell::DeleteRow()
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : MergeTab(), SplitTab()
-#* Datum : MA 03. May. 93
-#* Update : MA 19. Apr. 95
+#* Class : SwFEShell
+#* Methoden : MergeTab(), SplitTab()
+#* Datum : MA 03. May. 93
+#* Update : MA 19. Apr. 95
#***********************************************************************/
USHORT SwFEShell::MergeTab()
@@ -549,10 +549,10 @@ BOOL SwFEShell::SplitTab( BOOL bVert, USHORT nCnt, BOOL bSameHeight )
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : _GetTabCols
-#* Datum : MA 30. Nov. 95
-#* Update : MA 08. Jan. 97
+#* Class : SwFEShell
+#* Methoden : _GetTabCols
+#* Datum : MA 30. Nov. 95
+#* Update : MA 08. Jan. 97
#***********************************************************************/
void SwFEShell::_GetTabCols( SwTabCols &rToFill, const SwFrm *pBox ) const
{
@@ -633,10 +633,10 @@ void SwFEShell::_GetTabCols( SwTabCols &rToFill, const SwFrm *pBox ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : _GetTabRows
-#* Datum : FME 2004-01-14
-#* Update :
+#* Class : SwFEShell
+#* Methoden : _GetTabRows
+#* Datum : FME 2004-01-14
+#* Update :
#***********************************************************************/
void SwFEShell::_GetTabRows( SwTabCols &rToFill, const SwFrm *pBox ) const
{
@@ -687,10 +687,10 @@ void SwFEShell::_GetTabRows( SwTabCols &rToFill, const SwFrm *pBox ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetTabCols(), GetTabCols()
-#* Datum : MA 03. May. 93
-#* Update : MA 18. May. 93
+#* Class : SwFEShell
+#* Methoden : SetTabCols(), GetTabCols()
+#* Datum : MA 03. May. 93
+#* Update : MA 18. May. 93
#***********************************************************************/
void SwFEShell::SetTabCols( const SwTabCols &rNew, BOOL bCurRowOnly )
{
@@ -715,7 +715,7 @@ void SwFEShell::GetTabCols( SwTabCols &rToFill ) const
if( !pFrm || !pFrm->IsInTab() )
return;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( !pFrm->IsCellFrm() );
_GetTabCols( rToFill, pFrm );
@@ -730,7 +730,7 @@ void SwFEShell::GetTabRows( SwTabCols &rToFill ) const
if( !pFrm || !pFrm->IsInTab() )
return;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( !pFrm->IsCellFrm() );
_GetTabRows( rToFill, pFrm );
@@ -799,10 +799,10 @@ void SwFEShell::GetRowSplit( SwFmtRowSplit*& rpSz ) const
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetRowHeight(), GetRowHeight()
-#* Datum : MA 17. May. 93
-#* Update : JP 29.04.98
+#* Class : SwFEShell
+#* Methoden : SetRowHeight(), GetRowHeight()
+#* Datum : MA 17. May. 93
+#* Update : JP 29.04.98
#***********************************************************************/
void SwFEShell::SetRowHeight( const SwFmtFrmSize &rNew )
@@ -814,7 +814,7 @@ void SwFEShell::SetRowHeight( const SwFmtFrmSize &rNew )
}
/******************************************************************************
- * SwTwips SwFEShell::GetRowHeight() const
+ * SwTwips SwFEShell::GetRowHeight() const
******************************************************************************/
void SwFEShell::GetRowHeight( SwFmtFrmSize *& rpSz ) const
{
@@ -833,7 +833,7 @@ BOOL SwFEShell::BalanceRowHeight( BOOL bTstOnly )
}
/******************************************************************************
- * void SwFEShell::SetRowBackground()
+ * void SwFEShell::SetRowBackground()
******************************************************************************/
void SwFEShell::SetRowBackground( const SvxBrushItem &rNew )
{
@@ -844,7 +844,7 @@ void SwFEShell::SetRowBackground( const SvxBrushItem &rNew )
}
/******************************************************************************
- * SwTwips SwFEShell::GetRowBackground() const
+ * SwTwips SwFEShell::GetRowBackground() const
******************************************************************************/
BOOL SwFEShell::GetRowBackground( SvxBrushItem &rToFill ) const
{
@@ -852,10 +852,10 @@ BOOL SwFEShell::GetRowBackground( SvxBrushItem &rToFill ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetTabBorders(), GetTabBorders()
-#* Datum : MA 18. May. 93
-#* Update : JP 29.04.98
+#* Class : SwFEShell
+#* Methoden : SetTabBorders(), GetTabBorders()
+#* Datum : MA 18. May. 93
+#* Update : JP 29.04.98
#***********************************************************************/
void SwFEShell::SetTabBorders( const SfxItemSet& rSet )
@@ -883,10 +883,10 @@ void SwFEShell::GetTabBorders( SfxItemSet& rSet ) const
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetBoxBackground(), GetBoxBackground()
-#* Datum : MA 01. Jun. 93
-#* Update : MA 03. Jul. 96
+#* Class : SwFEShell
+#* Methoden : SetBoxBackground(), GetBoxBackground()
+#* Datum : MA 01. Jun. 93
+#* Update : MA 03. Jul. 96
#***********************************************************************/
void SwFEShell::SetBoxBackground( const SvxBrushItem &rNew )
{
@@ -902,8 +902,8 @@ BOOL SwFEShell::GetBoxBackground( SvxBrushItem &rToFill ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetBoxDirection(), GetBoxDirection()
+#* Class : SwFEShell
+#* Methoden : SetBoxDirection(), GetBoxDirection()
#* Datum : FME 2004-02-03
#* Update : FME 2004-02-03
#***********************************************************************/
@@ -921,10 +921,10 @@ BOOL SwFEShell::GetBoxDirection( SvxFrameDirectionItem& rToFill ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetBoxAlign, SetBoxAlign
-#* Datum : MA 18. Dec. 96
-#* Update : JP 29.04.98
+#* Class : SwFEShell
+#* Methoden : SetBoxAlign, SetBoxAlign
+#* Datum : MA 18. Dec. 96
+#* Update : JP 29.04.98
#***********************************************************************/
void SwFEShell::SetBoxAlign( USHORT nAlign )
{
@@ -940,10 +940,10 @@ USHORT SwFEShell::GetBoxAlign() const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : SetTabBackground(), GetTabBackground()
-#* Datum : MA 08. Jul. 96
-#* Update : MA 08. Jul. 96
+#* Class : SwFEShell
+#* Methoden : SetTabBackground(), GetTabBackground()
+#* Datum : MA 08. Jul. 96
+#* Update : MA 08. Jul. 96
#***********************************************************************/
void SwFEShell::SetTabBackground( const SvxBrushItem &rNew )
{
@@ -954,7 +954,7 @@ void SwFEShell::SetTabBackground( const SvxBrushItem &rNew )
SET_CURR_SHELL( this );
StartAllAction();
GetDoc()->SetAttr( rNew, *pFrm->ImplFindTabFrm()->GetFmt() );
- EndAllAction(); //Kein Call, denn es veraendert sich nichts!
+ EndAllAction(); //Kein Call, denn es veraendert sich nichts!
GetDoc()->SetModified();
}
@@ -967,10 +967,10 @@ void SwFEShell::GetTabBackground( SvxBrushItem &rToFill ) const
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : HasWholeTabSelection()
-#* Datum : MA 18. May. 93
-#* Update : MA 20. Jul. 93
+#* Class : SwFEShell
+#* Methoden : HasWholeTabSelection()
+#* Datum : MA 18. May. 93
+#* Update : MA 20. Jul. 93
#***********************************************************************/
BOOL SwFEShell::HasWholeTabSelection() const
{
@@ -1000,8 +1000,8 @@ BOOL SwFEShell::HasBoxSelection() const
return TRUE;
SwPaM* pPam = GetCrsr();
// leere Boxen gelten auch ohne Selektion als selektiert
-// if( !pPam->HasMark() )
-// return FALSE;
+// if( !pPam->HasMark() )
+// return FALSE;
BOOL bChg = FALSE;
if( pPam->GetPoint() == pPam->End())
{
@@ -1035,10 +1035,10 @@ BOOL SwFEShell::HasBoxSelection() const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : ProtectCells(), UnProtectCells()
-#* Datum : MA 20. Jul. 93
-#* Update : JP 25. Sep. 93
+#* Class : SwFEShell
+#* Methoden : ProtectCells(), UnProtectCells()
+#* Datum : MA 20. Jul. 93
+#* Update : JP 25. Sep. 93
#***********************************************************************/
void SwFEShell::ProtectCells()
{
@@ -1250,10 +1250,10 @@ BOOL SwFEShell::CheckHeadline( bool bRepeat ) const
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : AdjustCellWidth()
-#* Datum : MA 20. Feb. 95
-#* Update : MA 27. Jul. 95
+#* Class : SwFEShell
+#* Methoden : AdjustCellWidth()
+#* Datum : MA 20. Feb. 95
+#* Update : MA 27. Jul. 95
#***********************************************************************/
void SwFEShell::AdjustCellWidth( BOOL bBalance )
@@ -1287,7 +1287,7 @@ BOOL SwFEShell::IsAdjustCellWidthAllowed( BOOL bBalance ) const
if ( !aBoxes.Count() )
{
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( !pFrm->IsCellFrm() );
SwTableBox *pBox = (SwTableBox*)((SwCellFrm*)pFrm)->GetTabBox();
aBoxes.Insert( pBox );
@@ -1324,7 +1324,7 @@ BOOL SwFEShell::SetTableAutoFmt( const SwTableAutoFmt& rNew )
SwSelBoxes aBoxes;
- if ( !IsTableMode() ) // falls Crsr noch nicht akt. sind
+ if ( !IsTableMode() ) // falls Crsr noch nicht akt. sind
GetCrsr();
// gesamte Tabelle oder nur auf die akt. Selektion
@@ -1363,7 +1363,7 @@ BOOL SwFEShell::GetTableAutoFmt( SwTableAutoFmt& rGet )
SwSelBoxes aBoxes;
- if ( !IsTableMode() ) // falls Crsr noch nicht akt. sind
+ if ( !IsTableMode() ) // falls Crsr noch nicht akt. sind
GetCrsr();
// gesamte Tabelle oder nur auf die akt. Selektion
@@ -1383,10 +1383,10 @@ BOOL SwFEShell::GetTableAutoFmt( SwTableAutoFmt& rGet )
}
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : DeleteTblSel()
-#* Datum : MA 03. May. 93
-#* Update : MA 19. Apr. 95
+#* Class : SwFEShell
+#* Methoden : DeleteTblSel()
+#* Datum : MA 03. May. 93
+#* Update : MA 19. Apr. 95
#***********************************************************************/
BOOL SwFEShell::DeleteTblSel()
{
@@ -1433,10 +1433,10 @@ BOOL SwFEShell::DeleteTblSel()
/*************************************************************************
|*
-|* SwFEShell::GetCurTabColNum()
+|* SwFEShell::GetCurTabColNum()
|*
-|* Ersterstellung MA 03. Feb. 95
-|* Letzte Aenderung MA 21. May. 95
+|* Ersterstellung MA 03. Feb. 95
+|* Letzte Aenderung MA 21. May. 95
|
|*************************************************************************/
USHORT SwFEShell::GetCurTabColNum() const
@@ -1450,8 +1450,8 @@ USHORT SwFEShell::GetCurTabColNum() const
// pruefe ob vom aktuellen Crsr der SPoint/Mark in einer Tabelle stehen
if( pFrm && pFrm->IsInTab() )
{
- do { // JP 26.09.95: warum mit dem CntntFrame und nicht mit
- // dem CellFrame vergleichen????
+ do { // JP 26.09.95: warum mit dem CntntFrame und nicht mit
+ // dem CellFrame vergleichen????
pFrm = pFrm->GetUpper();
} while ( !pFrm->IsCellFrm() );
SWRECTFN( pFrm )
@@ -1502,10 +1502,10 @@ USHORT SwFEShell::GetCurTabColNum() const
/*************************************************************************
|*
-|* SwFEShell::GetBox()
+|* SwFEShell::GetBox()
|*
-|* Ersterstellung MA 22. Jun. 95
-|* Letzte Aenderung MA 21. Nov. 96
+|* Ersterstellung MA 22. Jun. 95
+|* Letzte Aenderung MA 21. Nov. 96
|*
|*************************************************************************/
@@ -2025,7 +2025,7 @@ bool SwFEShell::SelTblRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag
|*
|* SwFEShell::WhichMouseTabCol()
|*
-|* Ersterstellung MA 22. Jun. 95
+|* Ersterstellung MA 22. Jun. 95
|* Last change AMA 12. Jun. 02
|
|*************************************************************************/
@@ -2170,10 +2170,10 @@ bool SwFEShell::IsVerticalModeAtNdAndPos( const SwTxtNode& _rTxtNode,
/*************************************************************************
|*
-|* SwFEShell::GetMouseTabCols()
+|* SwFEShell::GetMouseTabCols()
|*
-|* Ersterstellung MA 22. Jun. 95
-|* Letzte Aenderung MA 27. Aug. 96
+|* Ersterstellung MA 22. Jun. 95
+|* Letzte Aenderung MA 27. Aug. 96
|
|*************************************************************************/
void SwFEShell::GetMouseTabCols( SwTabCols &rToFill, const Point &rPt ) const
@@ -2198,10 +2198,10 @@ void SwFEShell::SetMouseTabCols( const SwTabCols &rNew, BOOL bCurRowOnly,
/*************************************************************************
|*
-|* SwFEShell::GetMouseColNum(), GetMouseTabColNum()
+|* SwFEShell::GetMouseColNum(), GetMouseTabColNum()
|*
-|* Ersterstellung MA 04. Jul. 95
-|* Letzte Aenderung MA 04. Jul. 95
+|* Ersterstellung MA 04. Jul. 95
+|* Letzte Aenderung MA 04. Jul. 95
|
|*************************************************************************/
USHORT SwFEShell::GetCurMouseColNum( const Point &rPt,
@@ -2248,10 +2248,10 @@ void ClearFEShellTabCols()
/*************************************************************************
|*
-|* SwFEShell::GetTblAttr(), SetTblAttr()
+|* SwFEShell::GetTblAttr(), SetTblAttr()
|*
-|* Ersterstellung MA 09. Dec. 96
-|* Letzte Aenderung MA 09. Dec. 96
+|* Ersterstellung MA 09. Dec. 96
+|* Letzte Aenderung MA 09. Dec. 96
|
|*************************************************************************/
void SwFEShell::GetTblAttr( SfxItemSet &rSet ) const
@@ -2425,7 +2425,7 @@ BOOL lcl_IsFormulaSelBoxes( const SwTable& rTbl, const SwTblBoxFormula& rFml,
USHORT i;
for( i = 0; i < rCells.Count(); ++i )
if( rCells[ i ]->GetTabBox() == pBox )
- break; // gefunden
+ break; // gefunden
if( i == rCells.Count() )
return FALSE;
@@ -2458,7 +2458,7 @@ BOOL SwFEShell::GetAutoSum( String& rFml ) const
if( !nW )
{
if( USHRT_MAX == nBoxW )
- continue; // leere am Anfang ueberspringen
+ continue; // leere am Anfang ueberspringen
rFml += '(';
nInsPos = rFml.Len();
@@ -2523,7 +2523,7 @@ BOOL SwFEShell::GetAutoSum( String& rFml ) const
else if( USHRT_MAX == nBoxW )
break;
else
- continue; // diese Boxen ignorieren
+ continue; // diese Boxen ignorieren
}
else
// alles andere beendet die Schleife
diff --git a/sw/source/core/frmedt/fews.cxx b/sw/source/core/frmedt/fews.cxx
index 286589256978..2ec641a1fdfa 100644
--- a/sw/source/core/frmedt/fews.cxx
+++ b/sw/source/core/frmedt/fews.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <tabfrm.hxx>
#include <cellfrm.hxx>
#include <flyfrms.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx> // SwTxtFrm
#include <mdiexp.hxx>
#include <edimp.hxx>
#include <pagedesc.hxx>
@@ -72,11 +72,11 @@ using namespace com::sun::star;
TYPEINIT1(SwFEShell,SwEditShell)
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : EndAllActionAndCall()
+#* Class : SwFEShell
+#* Methode : EndAllActionAndCall()
#*
-#* Datum : MA 03. May. 93
-#* Update : MA 31. Oct. 95
+#* Datum : MA 03. May. 93
+#* Update : MA 31. Oct. 95
#***********************************************************************/
void SwFEShell::EndAllActionAndCall()
@@ -95,11 +95,11 @@ void SwFEShell::EndAllActionAndCall()
/***********************************************************************
-#* Class : SwFEShell
-#* Methode : GetCntntPos
-#* Beschreibung: Ermitteln des Cntnt's der dem Punkt am naechsten liegt
-#* Datum : MA 02. Jun. 92
-#* Update : MA 02. May. 95
+#* Class : SwFEShell
+#* Methode : GetCntntPos
+#* Beschreibung: Ermitteln des Cntnt's der dem Punkt am naechsten liegt
+#* Datum : MA 02. Jun. 92
+#* Update : MA 02. May. 95
#***********************************************************************/
Point SwFEShell::GetCntntPos( const Point& rPoint, BOOL bNext ) const
@@ -134,19 +134,19 @@ const SwRect& SwFEShell::GetAnyCurRect( CurRectType eType, const Point* pPt,
if( !pFrm )
return GetLayout()->Frm();
- BOOL bFrm = TRUE;
+ BOOL bFrm = TRUE;
switch ( eType )
{
- case RECT_PAGE_PRT: bFrm = FALSE; /* no break */
- case RECT_PAGE : pFrm = pFrm->FindPageFrm();
+ case RECT_PAGE_PRT: bFrm = FALSE; /* no break */
+ case RECT_PAGE : pFrm = pFrm->FindPageFrm();
break;
- case RECT_PAGE_CALC: pFrm->Calc();
+ case RECT_PAGE_CALC: pFrm->Calc();
pFrm = pFrm->FindPageFrm();
pFrm->Calc();
break;
- case RECT_FLY_PRT_EMBEDDED: bFrm = FALSE; /* no break */
+ case RECT_FLY_PRT_EMBEDDED: bFrm = FALSE; /* no break */
case RECT_FLY_EMBEDDED: pFrm = xObj.is() ? FindFlyFrm( xObj )
: pFrm->IsFlyFrm()
? pFrm
@@ -161,7 +161,7 @@ const SwRect& SwFEShell::GetAnyCurRect( CurRectType eType, const Point* pPt,
}
/* KEIN BREAK */
case RECT_SECTION_PRT:
- case RECT_SECTION: if( pFrm->IsInSct() )
+ case RECT_SECTION: if( pFrm->IsInSct() )
pFrm = pFrm->FindSctFrm();
else {
OSL_ENSURE( FALSE, "Missing section" );
@@ -172,8 +172,8 @@ const SwRect& SwFEShell::GetAnyCurRect( CurRectType eType, const Point* pPt,
bFrm = FALSE;
break;
- case RECT_HEADERFOOTER_PRT: bFrm = FALSE; /* no break */
- case RECT_HEADERFOOTER: if( 0 == (pFrm = pFrm->FindFooterOrHeader()) )
+ case RECT_HEADERFOOTER_PRT: bFrm = FALSE; /* no break */
+ case RECT_HEADERFOOTER: if( 0 == (pFrm = pFrm->FindFooterOrHeader()) )
return GetLayout()->Frm();
break;
@@ -201,20 +201,20 @@ BOOL SwFEShell::GetPageNumber( long nYPos, BOOL bAtCrsrPos, USHORT& rPhyNum, USH
{
const SwFrm *pPage;
- if ( bAtCrsrPos ) //Seite vom Crsr besorgen
+ if ( bAtCrsrPos ) //Seite vom Crsr besorgen
{
pPage = GetCurrFrm( FALSE );
if ( pPage )
pPage = pPage->FindPageFrm();
}
- else if ( nYPos > -1 ) //Seite ueber die Positon ermitteln
+ else if ( nYPos > -1 ) //Seite ueber die Positon ermitteln
{
pPage = GetLayout()->Lower();
while( pPage && (pPage->Frm().Bottom() < nYPos ||
nYPos < pPage->Frm().Top() ) )
pPage = pPage->GetNext();
}
- else //Die erste sichtbare Seite
+ else //Die erste sichtbare Seite
{
pPage = Imp()->GetFirstVisPage();
if ( pPage && ((SwPageFrm*)pPage)->IsEmptyPage() )
@@ -248,10 +248,10 @@ bool SwFEShell::IsDirectlyInSection() const
/*************************************************************************
|*
-|* SwFEShell::GetFrmType()
+|* SwFEShell::GetFrmType()
|*
-|* Ersterstellung MA 12. Jan. 93
-|* Letzte Aenderung AMA 25. Nov. 98
+|* Ersterstellung MA 12. Jan. 93
+|* Letzte Aenderung AMA 25. Nov. 98
|*
*************************************************************************/
@@ -273,7 +273,7 @@ USHORT SwFEShell::GetFrmType( const Point *pPt, BOOL bStopAtFly ) const
{
switch ( pFrm->GetType() )
{
- case FRM_COLUMN: if( pFrm->GetUpper()->IsSctFrm() )
+ case FRM_COLUMN: if( pFrm->GetUpper()->IsSctFrm() )
{
// Check, if isn't not only a single column
// from a section with footnotes at the end.
@@ -285,16 +285,16 @@ USHORT SwFEShell::GetFrmType( const Point *pPt, BOOL bStopAtFly ) const
else // nur Seiten und Rahmenspalten
nReturn |= FRMTYPE_COLUMN;
break;
- case FRM_PAGE: nReturn |= FRMTYPE_PAGE;
- if( ((SwPageFrm*)pFrm)->IsFtnPage() )
+ case FRM_PAGE: nReturn |= FRMTYPE_PAGE;
+ if( ((SwPageFrm*)pFrm)->IsFtnPage() )
nReturn |= FRMTYPE_FTNPAGE;
break;
- case FRM_HEADER: nReturn |= FRMTYPE_HEADER; break;
- case FRM_FOOTER: nReturn |= FRMTYPE_FOOTER; break;
- case FRM_BODY: if( pFrm->GetUpper()->IsPageFrm() ) // nicht bei ColumnFrms
+ case FRM_HEADER: nReturn |= FRMTYPE_HEADER; break;
+ case FRM_FOOTER: nReturn |= FRMTYPE_FOOTER; break;
+ case FRM_BODY: if( pFrm->GetUpper()->IsPageFrm() ) // nicht bei ColumnFrms
nReturn |= FRMTYPE_BODY;
break;
- case FRM_FTN: nReturn |= FRMTYPE_FOOTNOTE; break;
+ case FRM_FTN: nReturn |= FRMTYPE_FOOTNOTE; break;
case FRM_FLY: if( ((SwFlyFrm*)pFrm)->IsFlyLayFrm() )
nReturn |= FRMTYPE_FLY_FREE;
else if ( ((SwFlyFrm*)pFrm)->IsFlyAtCntFrm() )
@@ -311,8 +311,8 @@ USHORT SwFEShell::GetFrmType( const Point *pPt, BOOL bStopAtFly ) const
break;
case FRM_TAB:
case FRM_ROW:
- case FRM_CELL: nReturn |= FRMTYPE_TABLE; break;
- default: /* do nothing */ break;
+ case FRM_CELL: nReturn |= FRMTYPE_TABLE; break;
+ default: /* do nothing */ break;
}
if ( pFrm->IsFlyFrm() )
pFrm = ((SwFlyFrm*)pFrm)->GetAnchorFrm();
@@ -324,10 +324,10 @@ USHORT SwFEShell::GetFrmType( const Point *pPt, BOOL bStopAtFly ) const
/*************************************************************************
|*
-|* SwFEShell::ShLooseFcs(), ShGetFcs()
+|* SwFEShell::ShLooseFcs(), ShGetFcs()
|*
-|* Ersterstellung MA 10. May. 93
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 10. May. 93
+|* Letzte Aenderung MA 09. Sep. 98
|*
*************************************************************************/
@@ -353,16 +353,16 @@ void SwFEShell::ShLooseFcs()
Imp()->GetDrawView()->hideMarkHandles();
FrameNotify( this, FLY_DRAG_END );
}
-// ::ResetShell();
+// ::ResetShell();
}
/*************************************************************************
|*
-|* SwFEShell::GetPhyPageNum()
-|* SwFEShell::GetVirtPageNum()
+|* SwFEShell::GetPhyPageNum()
+|* SwFEShell::GetVirtPageNum()
|*
-|* Ersterstellung OK 07.07.93 08:20
-|* Letzte Aenderung MA 03. Jan. 94
+|* Ersterstellung OK 07.07.93 08:20
+|* Letzte Aenderung MA 03. Jan. 94
|*
*************************************************************************/
@@ -384,13 +384,13 @@ USHORT SwFEShell::GetVirtPageNum( const BOOL bCalcFrm )
/*************************************************************************
|*
-|* void lcl_SetAPageOffset()
-|* void SwFEShell::SetNewPageOffset()
-|* void SwFEShell::SetPageOffset()
-|* USHORT SwFEShell::GetPageOffset() const
+|* void lcl_SetAPageOffset()
+|* void SwFEShell::SetNewPageOffset()
+|* void SwFEShell::SetPageOffset()
+|* USHORT SwFEShell::GetPageOffset() const
|*
-|* Ersterstellung OK 07.07.93 08:20
-|* Letzte Aenderung MA 30. Mar. 95
+|* Ersterstellung OK 07.07.93 08:20
+|* Letzte Aenderung MA 30. Mar. 95
|*
*************************************************************************/
@@ -465,10 +465,10 @@ USHORT SwFEShell::GetPageOffset() const
/*************************************************************************
|*
-|* SwFEShell::InsertLabel()
+|* SwFEShell::InsertLabel()
|*
-|* Ersterstellung MA 10. Feb. 94
-|* Letzte Aenderung MA 10. Feb. 94
+|* Ersterstellung MA 10. Feb. 94
+|* Letzte Aenderung MA 10. Feb. 94
|*
*************************************************************************/
@@ -496,7 +496,7 @@ void SwFEShell::InsertLabel( const SwLabelType eType, const String &rTxt, const
//Bei Flys den Index auf den StartNode herunterreichen.
nIdx = pCnt->FindFlyFrm()->
GetFmt()->GetCntnt().GetCntntIdx()->GetIndex();
-//warum?? Bug 61913 ParkCrsr( GetCrsr()->GetPoint()->nNode );
+//warum?? Bug 61913 ParkCrsr( GetCrsr()->GetPoint()->nNode );
}
break;
case LTYPE_TABLE:
@@ -563,10 +563,10 @@ void SwFEShell::InsertLabel( const SwLabelType eType, const String &rTxt, const
/***********************************************************************
-#* Class : SwFEShell
-#* Methoden : Sort
-#* Datum : ??
-#* Update : ??
+#* Class : SwFEShell
+#* Methoden : Sort
+#* Datum : ??
+#* Update : ??
#***********************************************************************/
BOOL SwFEShell::Sort(const SwSortOptions& rOpt)
@@ -585,7 +585,7 @@ BOOL SwFEShell::Sort(const SwSortOptions& rOpt)
OSL_ENSURE( pFrm->FindTabFrm(), "Crsr nicht in Tabelle." );
// lasse ueber das Layout die Boxen suchen
- SwSelBoxes aBoxes;
+ SwSelBoxes aBoxes;
GetTblSel(*this, aBoxes);
// die Crsr muessen noch aus dem Loesch Bereich entfernt
@@ -613,7 +613,7 @@ BOOL SwFEShell::Sort(const SwSortOptions& rOpt)
SwNodeIndex aPrevIdx( pStart->nNode, -1 );
ULONG nOffset = pEnd->nNode.GetIndex() - pStart->nNode.GetIndex();
- xub_StrLen nCntStt = pStart->nContent.GetIndex();
+ xub_StrLen nCntStt = pStart->nContent.GetIndex();
// Das Sortieren
bRet = pDoc->SortText(*pPam, rOpt);
@@ -641,10 +641,10 @@ BOOL SwFEShell::Sort(const SwSortOptions& rOpt)
/*************************************************************************
|*
-|* SwFEShell::GetCurColNum(), _GetColNum()
+|* SwFEShell::GetCurColNum(), _GetColNum()
|*
-|* Ersterstellung MA 03. Feb. 95
-|* Letzte Aenderung MA 20. Apr. 95
+|* Ersterstellung MA 03. Feb. 95
+|* Letzte Aenderung MA 20. Apr. 95
|
|*************************************************************************/
diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx
index b5c872fa0459..987edbbf9b0a 100644
--- a/sw/source/core/frmedt/tblsel.cxx
+++ b/sw/source/core/frmedt/tblsel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +61,17 @@
#define COLFUZZY 20L
// defines, die bestimmen, wie Tabellen Boxen gemergt werden:
-// - 1. alle leeren Zeilen entfernen, alle Boxen werden mit Blank,
-// alle Lines mit ParaBreak getrennt
-// - 2. alle leeren Zeilen und alle leeren Boxen am Anfang und Ende
-// entfernen, alle Boxen werden mit Blank,
-// alle Lines mit ParaBreak getrennt
-// - 3. alle leeren Boxen entfernen, alle Boxen werden mit Blank,
-// alle Lines mit ParaBreak getrennt
+// - 1. alle leeren Zeilen entfernen, alle Boxen werden mit Blank,
+// alle Lines mit ParaBreak getrennt
+// - 2. alle leeren Zeilen und alle leeren Boxen am Anfang und Ende
+// entfernen, alle Boxen werden mit Blank,
+// alle Lines mit ParaBreak getrennt
+// - 3. alle leeren Boxen entfernen, alle Boxen werden mit Blank,
+// alle Lines mit ParaBreak getrennt
-#undef DEL_ONLY_EMPTY_LINES
-#undef DEL_EMPTY_BOXES_AT_START_AND_END
-#define DEL_ALL_EMPTY_BOXES
+#undef DEL_ONLY_EMPTY_LINES
+#undef DEL_EMPTY_BOXES_AT_START_AND_END
+#define DEL_ALL_EMPTY_BOXES
_SV_IMPL_SORTAR_ALG( SwSelBoxes, SwTableBoxPtr )
@@ -259,7 +259,7 @@ void GetTblSel( const SwCursor& rCrsr, SwSelBoxes& rBoxes,
// pb: #i20193# if tableintable then nSttPos == nEndPos == USHRT_MAX
if ( nSttPos != USHRT_MAX && nEndPos != USHRT_MAX )
{
- if( nEndPos < nSttPos ) // vertauschen
+ if( nEndPos < nSttPos ) // vertauschen
{
USHORT nTmp = nSttPos; nSttPos = nEndPos; nEndPos = nTmp;
}
@@ -290,10 +290,10 @@ void GetTblSel( const SwCursor& rCrsr, SwSelBoxes& rBoxes,
}
const SwCntntNode *pCntNd = rCrsr.GetCntntNode();
const SwLayoutFrm *pStart = pCntNd ?
- pCntNd->GetFrm( &aPtPos )->GetUpper() : 0;
+ pCntNd->GetFrm( &aPtPos )->GetUpper() : 0;
pCntNd = rCrsr.GetCntntNode(FALSE);
const SwLayoutFrm *pEnd = pCntNd ?
- pCntNd->GetFrm( &aMkPos )->GetUpper() : 0;
+ pCntNd->GetFrm( &aMkPos )->GetUpper() : 0;
if( pStart && pEnd )
GetTblSel( pStart, pEnd, rBoxes, 0, eSearchType );
}
@@ -315,7 +315,7 @@ void GetTblSel( const SwLayoutFrm* pStart, const SwLayoutFrm* pEnd,
BOOL bTblIsValid;
// --> FME 2006-01-25 #i55421# Reduced value 10
- int nLoopMax = 10; //JP 28.06.99: max 100 loops - Bug 67292
+ int nLoopMax = 10; //JP 28.06.99: max 100 loops - Bug 67292
// <--
USHORT i;
@@ -525,7 +525,7 @@ BOOL ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd,
BOOL bTblIsValid, bValidChartSel;
// --> FME 2006-01-25 #i55421# Reduced value 10
- int nLoopMax = 10; //JP 28.06.99: max 100 loops - Bug 67292
+ int nLoopMax = 10; //JP 28.06.99: max 100 loops - Bug 67292
// <--
USHORT i = 0;
@@ -598,7 +598,7 @@ BOOL ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd,
const long nXFuzzy = bVert ? 0 : 20;
const long nYFuzzy = bVert ? 20 : 0;
- if( !( rUnion.Top() + nYFuzzy > nFrmBottom ||
+ if( !( rUnion.Top() + nYFuzzy > nFrmBottom ||
nUnionBottom < rFrmRect.Top() + nYFuzzy ||
rUnion.Left() + nXFuzzy > nFrmRight ||
nUnionRight < rFrmRect.Left() + nXFuzzy ))
@@ -608,14 +608,14 @@ BOOL ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd,
// wenn es aber nicht komplett in der Union liegt,
// dann ist es fuers Chart eine ungueltige
// Selektion.
- if( rUnion.Left() <= rFrmRect.Left() + nXFuzzy &&
- rFrmRect.Left() <= nUnionRight &&
- rUnion.Left() <= nFrmRight &&
- nFrmRight <= nUnionRight + nXFuzzy &&
- rUnion.Top() <= rFrmRect.Top() + nYFuzzy &&
- rFrmRect.Top() <= nUnionBottom &&
- rUnion.Top() <= nFrmBottom &&
- nFrmBottom <= nUnionBottom+ nYFuzzy )
+ if( rUnion.Left() <= rFrmRect.Left() + nXFuzzy &&
+ rFrmRect.Left() <= nUnionRight &&
+ rUnion.Left() <= nFrmRight &&
+ nFrmRight <= nUnionRight + nXFuzzy &&
+ rUnion.Top() <= rFrmRect.Top() + nYFuzzy &&
+ rFrmRect.Top() <= nUnionBottom &&
+ rUnion.Top() <= nFrmBottom &&
+ nFrmBottom <= nUnionBottom+ nYFuzzy )
aCellFrms.Insert(
_Sort_CellFrm( *(SwCellFrm*)pCell ),
@@ -657,7 +657,7 @@ BOOL ChkChartSel( const SwNode& rSttNd, const SwNode& rEndNd,
// neue Zeile
if( n )
{
- if( USHRT_MAX == nRowCells ) // 1. Zeilenwechsel
+ if( USHRT_MAX == nRowCells ) // 1. Zeilenwechsel
nRowCells = nCellCnt;
else if( nRowCells != nCellCnt )
{
@@ -777,7 +777,7 @@ BOOL GetAutoSumSel( const SwCrsrShell& rShell, SwCellFrms& rBoxes )
const SwLayoutFrm *pStart = pCrsr->GetCntntNode()->GetFrm(
&pCrsr->GetPtPos() )->GetUpper(),
- *pEnd = pCrsr->GetCntntNode(FALSE)->GetFrm(
+ *pEnd = pCrsr->GetCntntNode(FALSE)->GetFrm(
&pCrsr->GetMkPos() )->GetUpper();
const SwLayoutFrm* pSttCell = pStart;
@@ -1011,9 +1011,9 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
"Tabselection nicht auf Cnt." );
//JP 24.09.96: Merge mit wiederholenden TabellenHeadline funktioniert nicht
-// richtig. Warum nicht Point 0,0 benutzen? Dann ist garantiert,
-// das die 1. Headline mit drin ist.
-// Point aPt( rShell.GetCharRect().Pos() );
+// richtig. Warum nicht Point 0,0 benutzen? Dann ist garantiert,
+// das die 1. Headline mit drin ist.
+// Point aPt( rShell.GetCharRect().Pos() );
Point aPt( 0, 0 );
const SwLayoutFrm *pStart = rPam.GetCntntNode()->GetFrm(
&aPt )->GetUpper(),
@@ -1030,7 +1030,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
SwTableNode* pTblNd = (SwTableNode*)pTable->GetTabSortBoxes()[ 0 ]->
GetSttNd()->FindTableNode();
- _MergePos aPosArr; // Sort-Array mit den Positionen der Frames
+ _MergePos aPosArr; // Sort-Array mit den Positionen der Frames
long nWidth;
SwTableBox* pLastBox = 0;
@@ -1226,14 +1226,14 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
// Absaetze zusammengefasst
// 1. Loesung: gehe ueber das Array und
- // alle auf der gleichen Y-Ebene werden mit Blanks getrennt
- // alle anderen werden als Absaetze getrennt.
+ // alle auf der gleichen Y-Ebene werden mit Blanks getrennt
+ // alle anderen werden als Absaetze getrennt.
BOOL bCalcWidth = TRUE;
const SwTableBox* pFirstBox = aPosArr[ 0 ].pSelBox;
// JP 27.03.98: Optimierung - falls die Boxen einer Line leer sind,
- // dann werden jetzt dafuer keine Blanks und
- // kein Umbruch mehr eingefuegt.
+ // dann werden jetzt dafuer keine Blanks und
+ // kein Umbruch mehr eingefuegt.
//Block damit SwPaM, SwPosition vom Stack geloescht werden
{
SwPaM aPam( pDoc->GetNodes() );
@@ -1246,7 +1246,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
for( n = 0; n < aPosArr.Count(); ++n )
{
const _CmpLPt& rPt = aPosArr[ n ];
- if( n && aPosArr[ n - 1 ].Y() == rPt.Y() ) // gleiche Ebene ?
+ if( n && aPosArr[ n - 1 ].Y() == rPt.Y() ) // gleiche Ebene ?
{
if( bEmptyLine && !IsEmptyBox( *rPt.pSelBox, aPam ))
bEmptyLine = FALSE;
@@ -1256,7 +1256,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
else
{
if( bCalcWidth && n )
- bCalcWidth = FALSE; // eine Zeile fertig
+ bCalcWidth = FALSE; // eine Zeile fertig
if( bEmptyLine && nSttPos < n )
{
@@ -1291,15 +1291,15 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
for( n = 0; n < aPosArr.Count(); ++n )
{
const _CmpLPt& rPt = aPosArr[ n ];
- if( n && aPosArr[ n - 1 ].Y() == rPt.Y() ) // gleiche Ebene ?
+ if( n && aPosArr[ n - 1 ].Y() == rPt.Y() ) // gleiche Ebene ?
{
BOOL bEmptyBox = IsEmptyBox( *rPt.pSelBox, aPam );
if( bEmptyBox )
{
- if( nSEndPos == n ) // der Anfang ist leer
+ if( nSEndPos == n ) // der Anfang ist leer
nESttPos = ++nSEndPos;
}
- else // das Ende kann leer sein
+ else // das Ende kann leer sein
nESttPos = n+1;
if( bCalcWidth )
@@ -1308,7 +1308,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
else
{
if( bCalcWidth && n )
- bCalcWidth = FALSE; // eine Zeile fertig
+ bCalcWidth = FALSE; // eine Zeile fertig
// zuerst die vom Anfang
if( nSttPos < nSEndPos )
@@ -1389,7 +1389,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
if( nY == ( bVert ? rPt.X() : rPt.Y() ) ) // gleiche Ebene ?
nWidth += rPt.pSelBox->GetFrmFmt()->GetFrmSize().GetWidth();
else
- bCalcWidth = FALSE; // eine Zeile fertig
+ bCalcWidth = FALSE; // eine Zeile fertig
}
if( IsEmptyBox( *rPt.pSelBox, aPam ) )
@@ -1412,7 +1412,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
lcl_InsTblBox( pTblNd, pDoc, pTmpBox, nInsPos );
(*ppMergeBox) = pInsLine->GetTabBoxes()[ nInsPos ];
- pInsLine->GetTabBoxes().Remove( nInsPos ); // wieder austragen
+ pInsLine->GetTabBoxes().Remove( nInsPos ); // wieder austragen
(*ppMergeBox)->SetUpper( 0 );
(*ppMergeBox)->ClaimFrmFmt();
@@ -1468,7 +1468,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes,
// wo steht jetzt aInsPos ??
if( bCalcWidth )
- bCalcWidth = FALSE; // eine Zeile fertig
+ bCalcWidth = FALSE; // eine Zeile fertig
// den initialen TextNode ueberspringen
rInsPosNd.Assign( pDoc->GetNodes(),
@@ -1523,8 +1523,8 @@ USHORT CheckMergeSel( const SwPaM& rPam )
{
SwSelBoxes aBoxes;
//JP 24.09.96: Merge mit wiederholenden TabellenHeadline funktioniert nicht
-// richtig. Warum nicht Point 0,0 benutzen? Dann ist garantiert,
-// das die 1. Headline mit drin ist.
+// richtig. Warum nicht Point 0,0 benutzen? Dann ist garantiert,
+// das die 1. Headline mit drin ist.
Point aPt;
const SwLayoutFrm *pStart = rPam.GetCntntNode()->GetFrm(
&aPt )->GetUpper(),
@@ -1603,7 +1603,7 @@ SwTwips lcl_CalcWish( const SwLayoutFrm *pCell, long nWish,
return nRet;
}
-/* MA: 20. Sep. 93 wird nicht mehr gebraucht.
+/* MA: 20. Sep. 93 wird nicht mehr gebraucht.
static const SwLayoutFrm *GetPrevCell( const SwLayoutFrm *pCell )
{
const SwLayoutFrm *pLay = pCell->GetPrevLayoutLeaf();
@@ -1657,12 +1657,12 @@ void lcl_FindStartEndRow( const SwLayoutFrm *&rpStart,
if( aSttArr[ n ] != aEndArr[ n ] )
{
// first unequal line or box - all odds are
- if( n & 1 ) // 1, 3, 5, ... are boxes
+ if( n & 1 ) // 1, 3, 5, ... are boxes
{
rpStart = (SwLayoutFrm*)aSttArr[ n ];
rpEnd = (SwLayoutFrm*)aEndArr[ n ];
}
- else // 0, 2, 4, ... are lines
+ else // 0, 2, 4, ... are lines
{
// check if start & end line are the first & last Line of the
// box. If not return these cells.
@@ -1689,7 +1689,7 @@ void lcl_FindStartEndRow( const SwLayoutFrm *&rpStart,
break;
}
- if( !bChkProtected ) // geschuetzte Zellen beachten ?
+ if( !bChkProtected ) // geschuetzte Zellen beachten ?
return;
@@ -1808,7 +1808,7 @@ void lcl_FindStartEndCol( const SwLayoutFrm *&rpStart,
rpEnd = pTmpLeaf;
}
- if( !bChkProtected ) // geschuetzte Zellen beachten ?
+ if( !bChkProtected ) // geschuetzte Zellen beachten ?
return;
//Anfang und Ende duerfen nicht auf geschuetzten Zellen liegen.
@@ -2085,7 +2085,7 @@ BOOL CheckSplitCells( const SwCursor& rCrsr, USHORT nDiv,
}
const SwLayoutFrm *pStart = rCrsr.GetCntntNode()->GetFrm(
&aPtPos )->GetUpper(),
- *pEnd = rCrsr.GetCntntNode(FALSE)->GetFrm(
+ *pEnd = rCrsr.GetCntntNode(FALSE)->GetFrm(
&aMkPos )->GetUpper();
SWRECTFN( pStart->GetUpper() )
@@ -2523,8 +2523,8 @@ void _FndBox::MakeNewFrms( SwTable &rTable, const USHORT nNumber,
const BOOL bBehind )
{
//Frms fuer neu eingefuege Zeilen erzeugen.
- //bBehind == TRUE: vor pLineBehind
- // == FALSE: hinter pLineBefore
+ //bBehind == TRUE: vor pLineBehind
+ // == FALSE: hinter pLineBefore
const USHORT nBfPos = pLineBefore ?
rTable.GetTabLines().GetPos( (const SwTableLine*&)pLineBefore ) :
USHRT_MAX;
@@ -2533,7 +2533,7 @@ void _FndBox::MakeNewFrms( SwTable &rTable, const USHORT nNumber,
USHRT_MAX;
//nNumber: wie oft ist eingefuegt worden.
- //nCnt: wieviele sind nNumber mal eingefuegt worden.
+ //nCnt: wieviele sind nNumber mal eingefuegt worden.
const USHORT nCnt =
((nBhPos != USHRT_MAX ? nBhPos : rTable.GetTabLines().Count()) -
@@ -2547,7 +2547,7 @@ void _FndBox::MakeNewFrms( SwTable &rTable, const USHORT nNumber,
{
if( !pTable->IsFollow() )
{
- SwFrm *pSibling = 0;
+ SwFrm *pSibling = 0;
SwLayoutFrm *pUpperFrm = 0;
if ( bBehind )
{
@@ -2687,7 +2687,7 @@ BOOL _FndBox::AreLinesToRestore( const SwTable &rTable ) const
else
nBhPos = USHRT_MAX;
- if ( nBfPos == nBhPos ) //Duerfte eigentlich nie vorkommen.
+ if ( nBfPos == nBhPos ) //Duerfte eigentlich nie vorkommen.
{
OSL_ENSURE( FALSE, "Table, Loeschen auf keinem Bereich !?!" );
return FALSE;
diff --git a/sw/source/core/graphic/grfatr.cxx b/sw/source/core/graphic/grfatr.cxx
index 19e2c802d0ed..a904fa8f6454 100644
--- a/sw/source/core/graphic/grfatr.cxx
+++ b/sw/source/core/graphic/grfatr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ TYPEINIT1_AUTOFACTORY(SwCropGrf, SfxPoolItem)
TYPEINIT1_AUTOFACTORY(SwGammaGrf, SfxPoolItem)
/******************************************************************************
- * Implementierung class SwMirrorGrf
+ * Implementierung class SwMirrorGrf
******************************************************************************/
SfxPoolItem* SwMirrorGrf::Clone( SfxItemPool* ) const
@@ -164,7 +164,7 @@ bool SwMirrorGrf::PutValue( const uno::Any& rVal, BYTE nMemberId )
/******************************************************************************
- * Implementierung class SwCropGrf
+ * Implementierung class SwCropGrf
******************************************************************************/
SwCropGrf::SwCropGrf()
@@ -188,7 +188,7 @@ SfxPoolItem* SwRotationGrf::Clone( SfxItemPool * ) const
}
-int SwRotationGrf::operator==( const SfxPoolItem& rCmp ) const
+int SwRotationGrf::operator==( const SfxPoolItem& rCmp ) const
{
return SfxUInt16Item::operator==( rCmp ) &&
GetUnrotatedSize() == ((SwRotationGrf&)rCmp).GetUnrotatedSize();
@@ -261,7 +261,7 @@ SfxPoolItem* SwGammaGrf::Clone( SfxItemPool * ) const
return new SwGammaGrf( *this );
}
-int SwGammaGrf::operator==( const SfxPoolItem& rCmp ) const
+int SwGammaGrf::operator==( const SfxPoolItem& rCmp ) const
{
return SfxPoolItem::operator==( rCmp ) &&
nValue == ((SwGammaGrf&)rCmp).GetValue();
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index fcd56c239203..9d1a75c3a5cc 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ BOOL SwGrfNode::ReRead(
if( rGrfName.Len() )
{
// Besonderheit: steht im FltNamen DDE, handelt es sich um eine
- // DDE-gelinkte Grafik
+ // DDE-gelinkte Grafik
String sCmd( rGrfName );
if( rFltName.Len() )
{
@@ -183,7 +183,7 @@ BOOL SwGrfNode::ReRead(
refLink->SetLinkSourceName( sCmd );
}
- else // kein Name mehr, Link aufheben
+ else // kein Name mehr, Link aufheben
{
GetDoc()->GetLinkManager().Remove( refLink );
refLink.Clear();
@@ -301,7 +301,7 @@ BOOL SwGrfNode::ReRead(
}
// Bug 39281: Size nicht sofort loeschen - Events auf ImageMaps
- // sollten nicht beim Austauschen nicht ins "leere greifen"
+ // sollten nicht beim Austauschen nicht ins "leere greifen"
if( bSetTwipSize )
SetTwipSize( ::GetGraphicSizeTwip( aGrfObj.GetGraphic(), 0 ) );
@@ -416,7 +416,7 @@ BOOL SwGrfNode::ImportGraphic( SvStream& rStrm )
short SwGrfNode::SwapIn( BOOL bWaitForData )
{
- if( bInSwapIn ) // nicht rekuriv!!
+ if( bInSwapIn ) // nicht rekuriv!!
return !aGrfObj.IsSwappedOut();
short nRet = 0;
@@ -641,7 +641,7 @@ void SwGrfNode::ReleaseLink()
if( refLink.Is() )
{
// erst die Grafik reinswappen!
-// if( aGraphic.IsSwapOut() || !refLink->IsSynchron() )
+// if( aGraphic.IsSwapOut() || !refLink->IsSynchron() )
{
bInSwapIn = TRUE;
SwBaseLink* pLink = (SwBaseLink*)(::sfx2::SvBaseLink*) refLink;
@@ -1067,7 +1067,7 @@ GraphicAttr& SwGrfNode::GetGraphicAttr( GraphicAttr& rGA,
case RES_MIRROR_GRAPH_VERT: nMirror = BMP_MIRROR_NONE; break;
case RES_MIRROR_GRAPH_HOR: nMirror = BMP_MIRROR_HORZ|BMP_MIRROR_VERT;
break;
- default: nMirror = BMP_MIRROR_VERT; break;
+ default: nMirror = BMP_MIRROR_VERT; break;
}
}
else
@@ -1108,7 +1108,7 @@ GraphicAttr& SwGrfNode::GetGraphicAttr( GraphicAttr& rGA,
BOOL SwGrfNode::IsTransparent() const
{
BOOL bRet = aGrfObj.IsTransparent();
- if( !bRet ) // ask the attribut
+ if( !bRet ) // ask the attribut
bRet = 0 != GetSwAttrSet().GetTransparencyGrf().GetValue();
return bRet;
diff --git a/sw/source/core/inc/GetMetricVal.hxx b/sw/source/core/inc/GetMetricVal.hxx
index 610bd935dc86..6e0df29bae6b 100644
--- a/sw/source/core/inc/GetMetricVal.hxx
+++ b/sw/source/core/inc/GetMetricVal.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +30,18 @@
#include <tools/solar.h>
-#define CM_1 0 // 1 centimeter or 1/2 inch
-#define CM_05 1 // 0.5 centimeter or 1/4 inch
-#define CM_01 2 // 0.1 centimeter or 1/20 inch
+#define CM_1 0 // 1 centimeter or 1/2 inch
+#define CM_05 1 // 0.5 centimeter or 1/4 inch
+#define CM_01 2 // 0.1 centimeter or 1/20 inch
inline USHORT GetMetricVal( int n )
{
#ifdef USE_MEASUREMENT
USHORT nVal = MEASURE_METRIC == SvtSysLocale().GetLocaleData().getMeasurementSystemEnum()
- ? 567 // 1 cm
- : 770; // 1/2 Inch
+ ? 567 // 1 cm
+ : 770; // 1/2 Inch
#else
- USHORT nVal = 567; // 1 cm
+ USHORT nVal = 567; // 1 cm
#endif
if( CM_01 == n )
@@ -52,6 +52,6 @@ inline USHORT GetMetricVal( int n )
}
-#endif
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/MarkManager.hxx b/sw/source/core/inc/MarkManager.hxx
index 415b8e7b6a68..c415313e89f9 100644
--- a/sw/source/core/inc/MarkManager.hxx
+++ b/sw/source/core/inc/MarkManager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +45,12 @@ namespace sw { namespace mark
#endif
// IDocumentMarkAccess
virtual ::sw::mark::IMark* makeMark(const SwPaM& rPaM, const ::rtl::OUString& rName, IDocumentMarkAccess::MarkType eMark);
-
- virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM,
- const rtl::OUString& rName,
+
+ virtual sw::mark::IFieldmark* makeFieldBookmark( const SwPaM& rPaM,
+ const rtl::OUString& rName,
const rtl::OUString& rType);
- virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM,
- const rtl::OUString& rName,
+ virtual sw::mark::IFieldmark* makeNoTextFieldBookmark( const SwPaM& rPaM,
+ const rtl::OUString& rName,
const rtl::OUString& rType);
virtual ::sw::mark::IMark* getMarkForTxtNode(const SwTxtNode& rTxtNode, IDocumentMarkAccess::MarkType eMark);
@@ -67,13 +67,13 @@ namespace sw { namespace mark
virtual void deleteMark(const ::sw::mark::IMark* const pMark);
virtual void clearAllMarks();
- // marks
+ // marks
virtual const_iterator_t getMarksBegin() const;
virtual const_iterator_t getMarksEnd() const;
virtual sal_Int32 getMarksCount() const;
virtual const_iterator_t findMark(const ::rtl::OUString& rName) const;
- // bookmarks
+ // bookmarks
virtual const_iterator_t getBookmarksBegin() const;
virtual const_iterator_t getBookmarksEnd() const;
virtual sal_Int32 getBookmarksCount() const;
diff --git a/sw/source/core/inc/SwGrammarMarkUp.hxx b/sw/source/core/inc/SwGrammarMarkUp.hxx
index 0d831d3f0b2a..509d896b0db6 100644
--- a/sw/source/core/inc/SwGrammarMarkUp.hxx
+++ b/sw/source/core/inc/SwGrammarMarkUp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +26,15 @@
*
************************************************************************/
-#ifndef _SWGRAMMARMARKUP_HXX
-#define _SWGRAMMARMARKUP_HXX
+#ifndef _SWGRAMMARMARKUP_HXX
+#define _SWGRAMMARMARKUP_HXX
#include <wrong.hxx>
#include <vector>
/* SwGrammarMarkUp extends the functionality of a "normal" SwWrongList by memorizing
the start positions of sentences in the paragraph
-
+
The whole class is only a temporary solution without usage of virtual functions.
At the end the whole SwWrongList stuff should be reworked and replaced by interfaces
to deal with all the different wronglists like
diff --git a/sw/source/core/inc/SwPortionHandler.hxx b/sw/source/core/inc/SwPortionHandler.hxx
index 7830e59e46d8..fd9ce038165a 100644
--- a/sw/source/core/inc/SwPortionHandler.hxx
+++ b/sw/source/core/inc/SwPortionHandler.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 String;
* held by the corresponding SwTxtNode.
*
* The SwPortionHandler can be used with the
- * SwTextFrame::VisitPortions(...) method.
+ * SwTextFrame::VisitPortions(...) method.
*/
class SwPortionHandler
{
@@ -94,7 +94,7 @@ public:
) = 0;
/** end of paragraph. This method is to be called when all the
- * paragraph's portions have been processed.
+ * paragraph's portions have been processed.
*/
virtual void Finish() = 0;
};
diff --git a/sw/source/core/inc/SwXMLBlockExport.hxx b/sw/source/core/inc/SwXMLBlockExport.hxx
index 8d02e47a4e8f..d1da8ec86d0e 100644
--- a/sw/source/core/inc/SwXMLBlockExport.hxx
+++ b/sw/source/core/inc/SwXMLBlockExport.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ private:
SwXMLTextBlocks &rBlockList;
public:
// #110680#
- SwXMLBlockListExport(
+ SwXMLBlockListExport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
- SwXMLTextBlocks & rBlocks,
+ SwXMLTextBlocks & rBlocks,
const rtl::OUString &rFileName,
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
@@ -58,9 +58,9 @@ private:
SwXMLTextBlocks &rBlockList;
public:
// #110680#
- SwXMLTextBlockExport(
+ SwXMLTextBlockExport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
- SwXMLTextBlocks & rBlocks,
+ SwXMLTextBlocks & rBlocks,
const rtl::OUString &rFileName,
com::sun::star::uno::Reference< com::sun::star::xml::sax::XDocumentHandler> &rHandler);
diff --git a/sw/source/core/inc/SwXMLBlockImport.hxx b/sw/source/core/inc/SwXMLBlockImport.hxx
index 4d37e9b417ee..1cae68bb296b 100644
--- a/sw/source/core/inc/SwXMLBlockImport.hxx
+++ b/sw/source/core/inc/SwXMLBlockImport.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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:
String &m_rText;
// #110680#
- SwXMLTextBlockImport(
+ SwXMLTextBlockImport(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xServiceFactory,
SwXMLTextBlocks &rBlocks, String &rNewText, sal_Bool bNewTextOnly );
diff --git a/sw/source/core/inc/SwXMLBlockListContext.hxx b/sw/source/core/inc/SwXMLBlockListContext.hxx
index 64c9dbb8c0e9..f05a6e75ddb9 100644
--- a/sw/source/core/inc/SwXMLBlockListContext.hxx
+++ b/sw/source/core/inc/SwXMLBlockListContext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ private:
SwXMLBlockListImport & rLocalRef;
public:
SwXMLBlockListContext( SwXMLBlockListImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
~SwXMLBlockListContext ( void );
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
};
@@ -56,9 +56,9 @@ private:
SwXMLBlockListImport & rLocalRef;
public:
SwXMLBlockContext( SwXMLBlockListImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
~SwXMLBlockContext ( void );
};
@@ -69,13 +69,13 @@ private:
SwXMLTextBlockImport & rLocalRef;
public:
SwXMLTextBlockDocumentContext( SwXMLTextBlockImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
~SwXMLTextBlockDocumentContext ( void );
};
@@ -85,13 +85,13 @@ private:
SwXMLTextBlockImport & rLocalRef;
public:
SwXMLTextBlockBodyContext( SwXMLTextBlockImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
~SwXMLTextBlockBodyContext ( void );
};
@@ -101,13 +101,13 @@ private:
SwXMLTextBlockImport & rLocalRef;
public:
SwXMLTextBlockTextContext( SwXMLTextBlockImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
~SwXMLTextBlockTextContext ( void );
};
@@ -117,9 +117,9 @@ private:
SwXMLTextBlockImport & rLocalRef;
public:
SwXMLTextBlockParContext( SwXMLTextBlockImport& rImport,
- sal_uInt16 nPrefix,
+ sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
- const ::com::sun::star::uno::Reference<
+ const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList );
virtual void Characters( const ::rtl::OUString& rChars );
~SwXMLTextBlockParContext ( void );
diff --git a/sw/source/core/inc/SwXMLTextBlocks.hxx b/sw/source/core/inc/SwXMLTextBlocks.hxx
index 4e5cfac7544d..12d54899adfe 100644
--- a/sw/source/core/inc/SwXMLTextBlocks.hxx
+++ b/sw/source/core/inc/SwXMLTextBlocks.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,17 +37,17 @@ class SwDoc;
class SvxMacroTableDtor;
class SwImpBlocks;
-#define SWXML_CONVBLOCK 0x0001
-#define SWXML_NOROOTCOMMIT 0x0002
+#define SWXML_CONVBLOCK 0x0001
+#define SWXML_NOROOTCOMMIT 0x0002
class SwXMLTextBlocks : public SwImpBlocks
{
protected:
- BOOL bAutocorrBlock;
- BOOL bBlock;
+ BOOL bAutocorrBlock;
+ BOOL bBlock;
SfxObjectShellRef xDocShellRef;
- USHORT nFlags;
- String aPackageName;
+ USHORT nFlags;
+ String aPackageName;
SfxMediumRef xMedium;
void ReadInfo();
@@ -58,7 +58,7 @@ protected:
public:
com::sun::star::uno::Reference < com::sun::star::embed::XStorage > xBlkRoot;
com::sun::star::uno::Reference < com::sun::star::embed::XStorage > xRoot;
- short nCurBlk;
+ short nCurBlk;
SwXMLTextBlocks( const String& rFile );
SwXMLTextBlocks( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String& rFile );
void AddName( const String&, const String&, const String&, BOOL bOnlyTxt = FALSE );
diff --git a/sw/source/core/inc/SwXTextDefaults.hxx b/sw/source/core/inc/SwXTextDefaults.hxx
index 931ed54006bf..6e31d3734da6 100644
--- a/sw/source/core/inc/SwXTextDefaults.hxx
+++ b/sw/source/core/inc/SwXTextDefaults.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/acorrect.hxx b/sw/source/core/inc/acorrect.hxx
index 9031c7a98363..6896a3abd6b8 100644
--- a/sw/source/core/inc/acorrect.hxx
+++ b/sw/source/core/inc/acorrect.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ public:
// Dieser darf nicht leer sein!
// Gibt es diesen nicht oder gibt es davor nur Leere, dann returne 0
// Das Flag gibt an:
- // TRUE: den, vor der normalen Einfuegeposition (TRUE)
- // FALSE: den, in den das korrigierte Wort eingfuegt wurde.
- // (Muss nicht der gleiche Absatz sein!!!!)
+ // TRUE: den, vor der normalen Einfuegeposition (TRUE)
+ // FALSE: den, in den das korrigierte Wort eingfuegt wurde.
+ // (Muss nicht der gleiche Absatz sein!!!!)
virtual const String* GetPrevPara( BOOL bAtNormalPos );
virtual BOOL ChgAutoCorrWord( xub_StrLen& rSttPos, xub_StrLen nEndPos,
@@ -89,8 +89,8 @@ public:
const String** ppPara );
// wird nach dem austauschen der Zeichen von den Funktionen
- // - FnCptlSttWrd
- // - FnCptlSttSntnc
+ // - FnCptlSttWrd
+ // - FnCptlSttSntnc
// gerufen. Dann koennen die Worte ggfs. in die Ausnahmelisten
// aufgenommen werden.
virtual void SaveCpltSttWord( ULONG nFlag, xub_StrLen nPos,
@@ -114,7 +114,7 @@ public:
cChar(cChr), eLanguage(eLang), bDeleted(FALSE)
{}
- BOOL IsDeleted() const { return bDeleted; }
+ BOOL IsDeleted() const { return bDeleted; }
void CheckChar( const SwPosition& rPos, sal_Unicode cChar );
BOOL CheckDelChar( const SwPosition& rPos );
};
diff --git a/sw/source/core/inc/anchoredobjectposition.hxx b/sw/source/core/inc/anchoredobjectposition.hxx
index 5bb1bf9cf810..10a6c7b87d20 100644
--- a/sw/source/core/inc/anchoredobjectposition.hxx
+++ b/sw/source/core/inc/anchoredobjectposition.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/ascharanchoredobjectposition.hxx b/sw/source/core/inc/ascharanchoredobjectposition.hxx
index f83cdf6259c7..dd84145f2ff3 100644
--- a/sw/source/core/inc/ascharanchoredobjectposition.hxx
+++ b/sw/source/core/inc/ascharanchoredobjectposition.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/blink.hxx b/sw/source/core/inc/blink.hxx
index ad56ed7750ca..e432d5d32434 100644
--- a/sw/source/core/inc/blink.hxx
+++ b/sw/source/core/inc/blink.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +25,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _BLINK_HXX
-#define _BLINK_HXX
+#ifndef _BLINK_HXX
+#define _BLINK_HXX
class SwLinePortion;
class SwRootFrm;
@@ -40,8 +40,8 @@ class SwTxtFrm;
class SwBlinkPortion
{
Point aPos;
- const SwLinePortion *pPor;
- const SwRootFrm *pFrm;
+ const SwLinePortion *pPor;
+ const SwRootFrm *pFrm;
USHORT nDir;
public:
SwBlinkPortion( const SwLinePortion* pPortion, USHORT nDirection )
@@ -65,9 +65,9 @@ SV_DECL_PTRARR_SORT_DEL(SwBlinkList, SwBlinkPortionPtr, 0, 10)
class SwBlink
{
- SwBlinkList aList;
- AutoTimer aTimer;
- BOOL bVisible;
+ SwBlinkList aList;
+ AutoTimer aTimer;
+ BOOL bVisible;
public:
SwBlink();
~SwBlink();
diff --git a/sw/source/core/inc/bodyfrm.hxx b/sw/source/core/inc/bodyfrm.hxx
index 625011d17382..5694c0b118b1 100644
--- a/sw/source/core/inc/bodyfrm.hxx
+++ b/sw/source/core/inc/bodyfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +44,11 @@ protected:
public:
SwBodyFrm( SwFrmFmt* );
- virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
+ virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
DECL_FIXEDMEMPOOL_NEWDEL(SwBodyFrm)
};
-#endif //_BODYFRM_HXX
+#endif //_BODYFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/bookmrk.hxx b/sw/source/core/inc/bookmrk.hxx
index b495e987d404..88683ca2e8cc 100644
--- a/sw/source/core/inc/bookmrk.hxx
+++ b/sw/source/core/inc/bookmrk.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 com { namespace sun { namespace star {
namespace text { class XTextContent; }
} } }
-struct SwPosition; // fwd Decl. wg. UI
+struct SwPosition; // fwd Decl. wg. UI
class SwDoc;
namespace sw { namespace mark
diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx
index bd59b54e3530..1cb26b46abfd 100644
--- a/sw/source/core/inc/cntfrm.hxx
+++ b/sw/source/core/inc/cntfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ extern BOOL GetFrmInPage( const SwCntntFrm*, SwWhichPage, SwPosPage, SwPaM* );
class SwCntntFrm: public SwFrm, public SwFlowFrm
{
- friend void MakeNxt( SwFrm *pFrm, SwFrm *pNxt ); //ruft MakePrtArea
+ friend void MakeNxt( SwFrm *pFrm, SwFrm *pNxt ); //ruft MakePrtArea
// --> OD 2007-11-26 #b6614158#
// parameter <bObjsInNewUpper>, indicating that objects are existing in
@@ -73,32 +73,32 @@ protected:
public:
virtual ~SwCntntFrm();
- TYPEINFO(); //bereits in Basisklassen drin
+ TYPEINFO(); //bereits in Basisklassen drin
virtual void Cut();
virtual void Paste( SwFrm* pParent, SwFrm* pSibling = 0 );
- inline SwCntntNode *GetNode();
+ inline SwCntntNode *GetNode();
inline const SwCntntNode *GetNode() const;
- USHORT GetSectionLevel();
+ USHORT GetSectionLevel();
inline const SwCntntFrm *GetFollow() const;
- inline SwCntntFrm *GetFollow();
+ inline SwCntntFrm *GetFollow();
SwTxtFrm* FindMaster() const;
//Layoutabhaengiges Cursortravelling
- virtual BOOL LeftMargin( SwPaM * ) const;
- virtual BOOL RightMargin( SwPaM *, BOOL bAPI = FALSE ) const;
- virtual BOOL UnitUp( SwPaM *, const SwTwips nOffset = 0,
+ virtual BOOL LeftMargin( SwPaM * ) const;
+ virtual BOOL RightMargin( SwPaM *, BOOL bAPI = FALSE ) const;
+ virtual BOOL UnitUp( SwPaM *, const SwTwips nOffset = 0,
BOOL bSetInReadOnly = FALSE ) const;
- virtual BOOL UnitDown( SwPaM *, const SwTwips nOffset = 0,
+ virtual BOOL UnitDown( SwPaM *, const SwTwips nOffset = 0,
BOOL bSetInReadOnly = FALSE ) const;
- inline BOOL StartNextPage( SwPaM * ) const;
- inline BOOL StartPrevPage( SwPaM * ) const;
- inline BOOL StartCurrPage( SwPaM * ) const;
- inline BOOL EndCurrPage( SwPaM * ) const;
- inline BOOL EndNextPage( SwPaM * ) const;
- inline BOOL EndPrevPage( SwPaM * ) const;
+ inline BOOL StartNextPage( SwPaM * ) const;
+ inline BOOL StartPrevPage( SwPaM * ) const;
+ inline BOOL StartCurrPage( SwPaM * ) const;
+ inline BOOL EndCurrPage( SwPaM * ) const;
+ inline BOOL EndNextPage( SwPaM * ) const;
+ inline BOOL EndPrevPage( SwPaM * ) const;
// nMaxHeight is the required height
// bSplit indicates, that the paragraph has to be split
diff --git a/sw/source/core/inc/colfrm.hxx b/sw/source/core/inc/colfrm.hxx
index 011daf07fa74..fd8b2b80df10 100644
--- a/sw/source/core/inc/colfrm.hxx
+++ b/sw/source/core/inc/colfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,6 +40,6 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwColumnFrm)
};
-#endif //_COLFRM_HXX
+#endif //_COLFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/crossrefbookmark.hxx b/sw/source/core/inc/crossrefbookmark.hxx
index ef5f8933a81a..7c3623ce2d29 100644
--- a/sw/source/core/inc/crossrefbookmark.hxx
+++ b/sw/source/core/inc/crossrefbookmark.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/dbg_lay.hxx b/sw/source/core/inc/dbg_lay.hxx
index 141d55d41946..cda2de717990 100644
--- a/sw/source/core/inc/dbg_lay.hxx
+++ b/sw/source/core/inc/dbg_lay.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,35 +30,35 @@
#define _DBG_LAY_HXX
#define PROT_FILE_INIT 0x00000000
-#define PROT_INIT 0x00000001
-#define PROT_MAKEALL 0x00000002
-#define PROT_MOVE_FWD 0x00000004
-#define PROT_MOVE_BWD 0x00000008
-#define PROT_GROW 0x00000010
-#define PROT_SHRINK 0x00000020
-#define PROT_GROW_TST 0x00000040
-#define PROT_SHRINK_TST 0x00000080
-#define PROT_SIZE 0x00000100
-#define PROT_PRTAREA 0x00000200
-#define PROT_POS 0x00000400
-#define PROT_ADJUSTN 0x00000800
-#define PROT_SECTION 0x00001000
-#define PROT_CUT 0x00002000
-#define PROT_PASTE 0x00004000
-#define PROT_LEAF 0x00008000
-#define PROT_TESTFORMAT 0x00010000
-#define PROT_FRMCHANGES 0x00020000
+#define PROT_INIT 0x00000001
+#define PROT_MAKEALL 0x00000002
+#define PROT_MOVE_FWD 0x00000004
+#define PROT_MOVE_BWD 0x00000008
+#define PROT_GROW 0x00000010
+#define PROT_SHRINK 0x00000020
+#define PROT_GROW_TST 0x00000040
+#define PROT_SHRINK_TST 0x00000080
+#define PROT_SIZE 0x00000100
+#define PROT_PRTAREA 0x00000200
+#define PROT_POS 0x00000400
+#define PROT_ADJUSTN 0x00000800
+#define PROT_SECTION 0x00001000
+#define PROT_CUT 0x00002000
+#define PROT_PASTE 0x00004000
+#define PROT_LEAF 0x00008000
+#define PROT_TESTFORMAT 0x00010000
+#define PROT_FRMCHANGES 0x00020000
#define PROT_SNAPSHOT 0x00040000
-#define ACT_START 1
-#define ACT_END 2
+#define ACT_START 1
+#define ACT_END 2
#define ACT_CREATE_MASTER 3
#define ACT_CREATE_FOLLOW 4
-#define ACT_DEL_MASTER 5
-#define ACT_DEL_FOLLOW 6
-#define ACT_MERGE 7
-#define ACT_NEXT_SECT 8
-#define ACT_PREV_SECT 9
+#define ACT_DEL_MASTER 5
+#define ACT_DEL_FOLLOW 6
+#define ACT_MERGE 7
+#define ACT_NEXT_SECT 8
+#define ACT_PREV_SECT 9
#define SNAP_LOWER 0x00000001
#define SNAP_FLYFRAMES 0x00000002
@@ -99,7 +99,7 @@ public:
~SwEnterLeave() { if( pImpl ) Dtor(); }
};
-#define PROTOCOL( pFrm, nFunc, nAct, pPar ) { if( SwProtocol::Record( nFunc ) )\
+#define PROTOCOL( pFrm, nFunc, nAct, pPar ) { if( SwProtocol::Record( nFunc ) )\
SwProtocol::Record( pFrm, nFunc, nAct, pPar ); }
#define PROTOCOL_INIT SwProtocol::Init();
#define PROTOCOL_STOP SwProtocol::Stop();
diff --git a/sw/source/core/inc/dbgloop.hxx b/sw/source/core/inc/dbgloop.hxx
index da803ac9479b..c15eda62a7de 100644
--- a/sw/source/core/inc/dbgloop.hxx
+++ b/sw/source/core/inc/dbgloop.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +35,8 @@
class SvStream;
-#define DBG_MAX_STACK 20 // Verschachtelungstiefe
-#define DBG_MAX_LOOP 1000 // das Abbruchkriterium
+#define DBG_MAX_STACK 20 // Verschachtelungstiefe
+#define DBG_MAX_LOOP 1000 // das Abbruchkriterium
class DbgLoopStack
{
@@ -65,8 +65,8 @@ inline void PrintLoopStack( SvStream &rOS ) //$ ostream
DbgLoop::aDbgLoopStack.Print( rOS );
}
-#define DBG_LOOP DbgLoop aDbgLoop( (const void*)this );
-#define DBG_LOOP_RESET DbgLoop aDbgLoop( 0 );
+#define DBG_LOOP DbgLoop aDbgLoop( (const void*)this );
+#define DBG_LOOP_RESET DbgLoop aDbgLoop( 0 );
#else
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index f89947ee95b6..372e4b82ee63 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -26,19 +26,19 @@
*
************************************************************************/
#ifndef _DFLYOBJ_HXX
-#define _DFLYOBJ_HXX
+#define _DFLYOBJ_HXX
#include <svx/svdovirt.hxx>
class SwFlyFrm;
class SwFrmFmt;
class SdrObjMacroHitRec;
-const UINT32 SWGInventor = UINT32('S')*0x00000001+
+const UINT32 SWGInventor = UINT32('S')*0x00000001+
UINT32('W')*0x00000100+
UINT32('G')*0x00010000;
const UINT16 SwFlyDrawObjIdentifier = 0x0001;
-const UINT16 SwDrawFirst = 0x0001;
+const UINT16 SwDrawFirst = 0x0001;
//---------------------------------------
//SwFlyDrawObj, Die DrawObjekte fuer Flys.
@@ -61,9 +61,9 @@ public:
//Damit eine Instanz dieser Klasse beim laden erzeugt werden kann
//(per Factory).
- virtual UINT32 GetObjInventor() const;
- virtual UINT16 GetObjIdentifier() const;
- virtual UINT16 GetObjVersion() const;
+ virtual UINT32 GetObjInventor() const;
+ virtual UINT16 GetObjIdentifier() const;
+ virtual UINT16 GetObjVersion() const;
};
//---------------------------------------
@@ -97,33 +97,33 @@ public:
~SwVirtFlyDrawObj();
//Ueberladene Methoden der Basisklasse SdrVirtObj
- virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const;
+ virtual void TakeObjInfo( SdrObjTransformInfoRec& rInfo ) const;
//Wir nehemen die Groessenbehandlung vollstaendig selbst in die Hand.
virtual const Rectangle& GetCurrentBoundRect() const;
virtual const Rectangle& GetLastBoundRect() const;
- virtual void RecalcBoundRect();
- virtual void RecalcSnapRect();
- virtual const Rectangle& GetSnapRect() const;
- virtual void SetSnapRect(const Rectangle& rRect);
- virtual void NbcSetSnapRect(const Rectangle& rRect);
+ virtual void RecalcBoundRect();
+ virtual void RecalcSnapRect();
+ virtual const Rectangle& GetSnapRect() const;
+ virtual void SetSnapRect(const Rectangle& rRect);
+ virtual void NbcSetSnapRect(const Rectangle& rRect);
virtual const Rectangle& GetLogicRect() const;
- virtual void SetLogicRect(const Rectangle& rRect);
- virtual void NbcSetLogicRect(const Rectangle& rRect);
+ virtual void SetLogicRect(const Rectangle& rRect);
+ virtual void NbcSetLogicRect(const Rectangle& rRect);
virtual ::basegfx::B2DPolyPolygon TakeXorPoly() const;
- virtual void NbcMove (const Size& rSiz);
- virtual void NbcResize(const Point& rRef, const Fraction& xFact,
+ virtual void NbcMove (const Size& rSiz);
+ virtual void NbcResize(const Point& rRef, const Fraction& xFact,
const Fraction& yFact);
- virtual void Move (const Size& rSiz);
- virtual void Resize(const Point& rRef, const Fraction& xFact,
+ virtual void Move (const Size& rSiz);
+ virtual void Resize(const Point& rRef, const Fraction& xFact,
const Fraction& yFact);
const SwFrmFmt *GetFmt() const;
SwFrmFmt *GetFmt();
// Get Methoden fuer die Fly Verpointerung
- SwFlyFrm* GetFlyFrm() { return pFlyFrm; }
- const SwFlyFrm* GetFlyFrm() const { return pFlyFrm; }
+ SwFlyFrm* GetFlyFrm() { return pFlyFrm; }
+ const SwFlyFrm* GetFlyFrm() const { return pFlyFrm; }
void SetRect() const;
diff --git a/sw/source/core/inc/docfld.hxx b/sw/source/core/inc/docfld.hxx
index 891c6f2b02d7..5902e53ec616 100644
--- a/sw/source/core/inc/docfld.hxx
+++ b/sw/source/core/inc/docfld.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -28,7 +28,7 @@
#ifndef _DOCFLD_HXX
#define _DOCFLD_HXX
-#include <calc.hxx> // fuer SwHash
+#include <calc.hxx> // fuer SwHash
class SwTxtFld;
class SwIndex;
@@ -86,7 +86,7 @@ public:
_SetGetExpFld( const SwFlyFrmFmt& rFlyFmt, const SwPosition* pPos = 0 );
BOOL operator==( const _SetGetExpFld& rFld ) const
- { return nNode == rFld.nNode && nCntnt == rFld.nCntnt &&
+ { return nNode == rFld.nNode && nCntnt == rFld.nCntnt &&
( !CNTNT.pTxtFld || !rFld.CNTNT.pTxtFld ||
CNTNT.pTxtFld == rFld.CNTNT.pTxtFld ); }
BOOL operator<( const _SetGetExpFld& rFld ) const;
@@ -145,24 +145,24 @@ void LookString( SwHash** ppTbl, USHORT nSize, const String& rName,
// --------
-const int GETFLD_ALL = 3; // veroderte Flags !!
-const int GETFLD_CALC = 1;
-const int GETFLD_EXPAND = 2;
+const int GETFLD_ALL = 3; // veroderte Flags !!
+const int GETFLD_CALC = 1;
+const int GETFLD_EXPAND = 2;
class SwDocUpdtFld
{
- _SetGetExpFlds* pFldSortLst; // akt. Field-Liste zum Calculieren
+ _SetGetExpFlds* pFldSortLst; // akt. Field-Liste zum Calculieren
SwCalcFldType* aFldTypeTable[ TBLSZ ];
// noch eine weitere Optimierung - wird z.Z. nicht angesprochen!
- long nFldUpdtPos; // ab dieser Position mit Update starten
- SwCntntNode* pCNode; // der TxtNode zur UpdatePos.
+ long nFldUpdtPos; // ab dieser Position mit Update starten
+ SwCntntNode* pCNode; // der TxtNode zur UpdatePos.
- ULONG nNodes; // sollte die NodesAnzahl unterschiedlich sein
+ ULONG nNodes; // sollte die NodesAnzahl unterschiedlich sein
BYTE nFldLstGetMode;
- BOOL bInUpdateFlds : 1; // zur Zeit laeuft ein UpdateFlds,
- BOOL bFldsDirty : 1; // irgendwelche Felder sind ungueltig
+ BOOL bInUpdateFlds : 1; // zur Zeit laeuft ein UpdateFlds,
+ BOOL bFldsDirty : 1; // irgendwelche Felder sind ungueltig
void _MakeFldList( SwDoc& pDoc, int eGetMode );
void GetBodyNode( const SwTxtFld& , USHORT nFldWhich );
@@ -180,16 +180,16 @@ public:
void InsertFldType( const SwFieldType& rType );
void RemoveFldType( const SwFieldType& rType );
- BOOL IsInUpdateFlds() const { return bInUpdateFlds; }
- void SetInUpdateFlds( BOOL b ) { bInUpdateFlds = b; }
+ BOOL IsInUpdateFlds() const { return bInUpdateFlds; }
+ void SetInUpdateFlds( BOOL b ) { bInUpdateFlds = b; }
- BOOL IsFieldsDirty() const { return bFldsDirty; }
- void SetFieldsDirty( BOOL b ) { bFldsDirty = b; }
+ BOOL IsFieldsDirty() const { return bFldsDirty; }
+ void SetFieldsDirty( BOOL b ) { bFldsDirty = b; }
- SwHash** GetFldTypeTable() const { return (SwHash**)aFldTypeTable; }
+ SwHash** GetFldTypeTable() const { return (SwHash**)aFldTypeTable; }
};
-#endif // _DOCFLD_HXX
+#endif // _DOCFLD_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/docsort.hxx b/sw/source/core/inc/docsort.hxx
index f30d88d2d439..92d9ab90f012 100644
--- a/sw/source/core/inc/docsort.hxx
+++ b/sw/source/core/inc/docsort.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ namespace com { namespace sun { namespace star { namespace lang {
/*--------------------------------------------------------------------
Beschreibung: Liste aller sortierten Elemente
--------------------------------------------------------------------*/
-typedef const _FndBox* _FndBoxPtr;
-typedef SwSortElement* SwSortElementPtr;
-typedef const SwTableBox* SwMovedBoxPtr;
+typedef const _FndBox* _FndBoxPtr;
+typedef SwSortElement* SwSortElementPtr;
+typedef const SwTableBox* SwMovedBoxPtr;
SV_DECL_PTRARR_SORT(SwSortElements, SwSortElementPtr, 0, 1 )
-SV_DECL_PTRARR(SwMovedBoxes, SwMovedBoxPtr, 10, 10 )
+SV_DECL_PTRARR(SwMovedBoxes, SwMovedBoxPtr, 10, 10 )
/*--------------------------------------------------------------------
Beschreibung: Funktionen zum Moven von Boxen
@@ -76,21 +76,21 @@ void MoveCell(SwDoc* pDoc, const SwTableBox* pSource,
struct SwSortElement
{
- static SwSortOptions* pOptions;
- static SwDoc* pDoc;
- static const FlatFndBox* pBox;
- static CollatorWrapper* pSortCollator;
+ static SwSortOptions* pOptions;
+ static SwDoc* pDoc;
+ static const FlatFndBox* pBox;
+ static CollatorWrapper* pSortCollator;
static ::com::sun::star::lang::Locale* pLocale;
- static String* pLastAlgorithm;
- static LocaleDataWrapper* pLclData;
+ static String* pLastAlgorithm;
+ static LocaleDataWrapper* pLclData;
static void Init( SwDoc*, const SwSortOptions& rOpt, FlatFndBox* = 0 );
static void Finit();
virtual ~SwSortElement();
- virtual String GetKey(USHORT nKey ) const = 0;
- virtual double GetValue(USHORT nKey ) const;
+ virtual String GetKey(USHORT nKey ) const = 0;
+ virtual double GetValue(USHORT nKey ) const;
BOOL operator==(const SwSortElement& );
BOOL operator<(const SwSortElement& );
@@ -105,8 +105,8 @@ struct SwSortElement
struct SwSortTxtElement : public SwSortElement
{
// fuer Text
- ULONG nOrg;
- SwNodeIndex aPos;
+ ULONG nOrg;
+ SwNodeIndex aPos;
SwSortTxtElement( const SwNodeIndex& rPos );
virtual ~SwSortTxtElement();
@@ -120,13 +120,13 @@ struct SwSortTxtElement : public SwSortElement
struct SwSortBoxElement : public SwSortElement
{
- USHORT nRow;
+ USHORT nRow;
SwSortBoxElement( USHORT nRC );
virtual ~SwSortBoxElement();
virtual String GetKey( USHORT nKey ) const;
- virtual double GetValue( USHORT nKey ) const;
+ virtual double GetValue( USHORT nKey ) const;
};
@@ -141,39 +141,39 @@ public:
FlatFndBox(SwDoc* pDocPtr, const _FndBox& rBox);
~FlatFndBox();
- BOOL IsSymmetric() const { return bSym; }
- USHORT GetRows() const { return nRows; }
- USHORT GetCols() const { return nCols; }
+ BOOL IsSymmetric() const { return bSym; }
+ USHORT GetRows() const { return nRows; }
+ USHORT GetCols() const { return nCols; }
- const _FndBox* GetBox(USHORT nCol, USHORT nRow) const;
+ const _FndBox* GetBox(USHORT nCol, USHORT nRow) const;
- inline BOOL HasItemSets() const;
- const SfxItemSet* GetItemSet(USHORT nCol, USHORT nRow) const;
+ inline BOOL HasItemSets() const;
+ const SfxItemSet* GetItemSet(USHORT nCol, USHORT nRow) const;
private:
- BOOL CheckLineSymmetry(const _FndBox& rBox);
- BOOL CheckBoxSymmetry(const _FndLine& rLn);
- USHORT GetColCount(const _FndBox& rBox);
- USHORT GetRowCount(const _FndBox& rBox);
- void FillFlat(const _FndBox&, BOOL bLastBox=FALSE);
+ BOOL CheckLineSymmetry(const _FndBox& rBox);
+ BOOL CheckBoxSymmetry(const _FndLine& rLn);
+ USHORT GetColCount(const _FndBox& rBox);
+ USHORT GetRowCount(const _FndBox& rBox);
+ void FillFlat(const _FndBox&, BOOL bLastBox=FALSE);
- SwDoc* pDoc;
- const _FndBox& rBoxRef;
- _FndBoxPtr* pArr;
- SfxItemSet** ppItemSets;
+ SwDoc* pDoc;
+ const _FndBox& rBoxRef;
+ _FndBoxPtr* pArr;
+ SfxItemSet** ppItemSets;
- USHORT nRows;
- USHORT nCols;
+ USHORT nRows;
+ USHORT nCols;
- USHORT nRow;
- USHORT nCol;
+ USHORT nRow;
+ USHORT nCol;
- BOOL bSym;
+ BOOL bSym;
};
-inline BOOL FlatFndBox::HasItemSets() const { return 0 != ppItemSets; }
+inline BOOL FlatFndBox::HasItemSets() const { return 0 != ppItemSets; }
#endif // _NDSORT_HXX
diff --git a/sw/source/core/inc/doctxm.hxx b/sw/source/core/inc/doctxm.hxx
index a7431ea526f0..86637c7c0f49 100644
--- a/sw/source/core/inc/doctxm.hxx
+++ b/sw/source/core/inc/doctxm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -56,22 +56,22 @@ class SwTOXBaseSection : public SwTOXBase, public SwSection
{
SwTOXSortTabBases aSortArr;
- void UpdateMarks( const SwTOXInternational& rIntl,
+ void UpdateMarks( const SwTOXInternational& rIntl,
const SwTxtNode* pOwnChapterNode );
- void UpdateOutline( const SwTxtNode* pOwnChapterNode );
- void UpdateTemplate( const SwTxtNode* pOwnChapterNode );
- void UpdateCntnt( SwTOXElement eType,
+ void UpdateOutline( const SwTxtNode* pOwnChapterNode );
+ void UpdateTemplate( const SwTxtNode* pOwnChapterNode );
+ void UpdateCntnt( SwTOXElement eType,
const SwTxtNode* pOwnChapterNode );
- void UpdateTable( const SwTxtNode* pOwnChapterNode );
- void UpdateSequence( const SwTxtNode* pOwnChapterNode );
- void UpdateAuthorities( const SwTOXInternational& rIntl );
- void UpdateAll();
+ void UpdateTable( const SwTxtNode* pOwnChapterNode );
+ void UpdateSequence( const SwTxtNode* pOwnChapterNode );
+ void UpdateAuthorities( const SwTOXInternational& rIntl );
+ void UpdateAll();
// Sortiert einfuegen ins Array fuer die Generierung
- void InsertSorted(SwTOXSortTabBase* pBase);
+ void InsertSorted(SwTOXSortTabBase* pBase);
// Alpha-Trennzeichen bei der Generierung einfuegen
- void InsertAlphaDelimitter( const SwTOXInternational& rIntl );
+ void InsertAlphaDelimitter( const SwTOXInternational& rIntl );
// Textrumpf generieren
// OD 18.03.2003 #106329# - add parameter <_TOXSectNdIdx> and <_pDefaultPageDesc>
@@ -82,7 +82,7 @@ class SwTOXBaseSection : public SwTOXBase, public SwSection
const SwPageDesc* _pDefaultPageDesc );
// Seitennummerplatzhalter gegen aktuelle Nummern austauschen
- void _UpdatePageNum( SwTxtNode* pNd,
+ void _UpdatePageNum( SwTxtNode* pNd,
const SvUShorts& rNums,
const SvPtrarr &rDescs,
const SvUShorts* pMainEntryNums,
@@ -105,8 +105,8 @@ public:
// a table-of-content. Default value: false
void Update( const SfxItemSet* pAttr = 0,
const bool _bNewTOX = false ); // Formatieren
- void UpdatePageNum(); // Seitennummern einfuegen
- TYPEINFO(); // fuers rtti
+ void UpdatePageNum(); // Seitennummern einfuegen
+ TYPEINFO(); // fuers rtti
BOOL SetPosAtStartEnd( SwPosition& rPos, BOOL bAtStart = TRUE ) const;
};
@@ -145,6 +145,6 @@ struct SwDefTOXBase_Impl
};
-#endif // _DOCTXM_HXX
+#endif // _DOCTXM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/drawdev.hxx b/sw/source/core/inc/drawdev.hxx
index 5f5be7c02344..49da0d942969 100644
--- a/sw/source/core/inc/drawdev.hxx
+++ b/sw/source/core/inc/drawdev.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <vcl/outdev.hxx>
/*************************************************************************
- * class SwDrawDev
+ * class SwDrawDev
*
* Alle Draw-Methoden werden um den Offset *pPos verschoben.
*************************************************************************/
@@ -72,7 +72,7 @@ public:
};
/*************************************************************************
- * SwDrawDev::DrawText
+ * SwDrawDev::DrawText
*************************************************************************/
inline void SwDrawDev::DrawText( const Point& rStart, const String& rTxt,
@@ -85,7 +85,7 @@ inline void SwDrawDev::DrawText( const Point& rStart, const String& rTxt,
}
/*************************************************************************
- * SwDrawDev::DrawStretchText
+ * SwDrawDev::DrawStretchText
*************************************************************************/
inline void SwDrawDev::DrawStretchText( const Point& rStart, USHORT nWidth,
@@ -98,7 +98,7 @@ inline void SwDrawDev::DrawStretchText( const Point& rStart, USHORT nWidth,
}
/*************************************************************************
- * SwDrawDev::DrawTextArray
+ * SwDrawDev::DrawTextArray
*************************************************************************/
inline void SwDrawDev::DrawTextArray( const Point& rStart, const String& rTxt,
@@ -111,7 +111,7 @@ inline void SwDrawDev::DrawTextArray( const Point& rStart, const String& rTxt,
}
/*************************************************************************
- * SwDrawDev::DrawLine
+ * SwDrawDev::DrawLine
*************************************************************************/
inline void SwDrawDev::DrawLine( const Point& rStart, const Point& rEnd )
@@ -123,7 +123,7 @@ inline void SwDrawDev::DrawLine( const Point& rStart, const Point& rEnd )
}
/*************************************************************************
- * SwDrawDev::DrawRect
+ * SwDrawDev::DrawRect
*************************************************************************/
inline void SwDrawDev::DrawRect( const SwRect& rRect,
diff --git a/sw/source/core/inc/drawfont.hxx b/sw/source/core/inc/drawfont.hxx
index abc70caa34cb..bcbcf35e43e9 100644
--- a/sw/source/core/inc/drawfont.hxx
+++ b/sw/source/core/inc/drawfont.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +25,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _DRAWFONT_HXX
-#define _DRAWFONT_HXX
+#ifndef _DRAWFONT_HXX
+#define _DRAWFONT_HXX
#include <tools/solar.h>
#include <tools/string.hxx>
@@ -79,9 +79,9 @@ class SwDrawTextInfo
xub_StrLen nNumberOfBlanks;
BYTE nCursorBidiLevel;
BOOL bBullet : 1;
- BOOL bUpper : 1; // Fuer Kapitaelchen: Grossbuchstaben-Flag
- BOOL bDrawSpace : 1; // Fuer Kapitaelchen: Unter/Durchstreichung
- BOOL bGreyWave : 1; // Graue Wellenlinie beim extended TextInput
+ BOOL bUpper : 1; // Fuer Kapitaelchen: Grossbuchstaben-Flag
+ BOOL bDrawSpace : 1; // Fuer Kapitaelchen: Unter/Durchstreichung
+ BOOL bGreyWave : 1; // Graue Wellenlinie beim extended TextInput
BOOL bSpaceStop : 1; // For underlining we need to know, if a portion
// is right in front of a hole portion or a
// fix margin portion.
diff --git a/sw/source/core/inc/dview.hxx b/sw/source/core/inc/dview.hxx
index 90df8fd4ccbb..17916c50f6fa 100644
--- a/sw/source/core/inc/dview.hxx
+++ b/sw/source/core/inc/dview.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -26,7 +26,7 @@
*
************************************************************************/
#ifndef _DVIEW_HXX
-#define _DVIEW_HXX
+#define _DVIEW_HXX
#include <svx/fmview.hxx>
@@ -40,8 +40,8 @@ class SwAnchoredObject;
class SwDrawView : public FmFormView
{
//Fuer den Anker
- Point aAnchorPoint; //Ankerposition
- SwViewImp &rImp; //Die View gehoert immer zu einer Shell
+ Point aAnchorPoint; //Ankerposition
+ SwViewImp &rImp; //Die View gehoert immer zu einer Shell
const SwFrm *CalcAnchor();
@@ -104,14 +104,14 @@ public:
// Overload to resue edit background color in active text edit view (OutlinerView)
virtual void ModelHasChanged();
- virtual void ObjOrderChanged( SdrObject* pObj, ULONG nOldPos,
+ virtual void ObjOrderChanged( SdrObject* pObj, ULONG nOldPos,
ULONG nNewPos );
virtual BOOL TakeDragLimit(SdrDragMode eMode, Rectangle& rRect) const;
virtual void MakeVisible( const Rectangle&, Window &rWin );
virtual void CheckPossibilities();
const SwViewImp &Imp() const { return rImp; }
- SwViewImp &Imp() { return rImp; }
+ SwViewImp &Imp() { return rImp; }
//Anker und Xor fuer das Draggen.
void ShowDragAnchor();
diff --git a/sw/source/core/inc/environmentofanchoredobject.hxx b/sw/source/core/inc/environmentofanchoredobject.hxx
index e76a3604097a..87b6bfae4759 100644
--- a/sw/source/core/inc/environmentofanchoredobject.hxx
+++ b/sw/source/core/inc/environmentofanchoredobject.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/finalthreadmanager.hxx b/sw/source/core/inc/finalthreadmanager.hxx
index 19e902c53a37..87f82b0750e0 100644
--- a/sw/source/core/inc/finalthreadmanager.hxx
+++ b/sw/source/core/inc/finalthreadmanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/flowfrm.hxx b/sw/source/core/inc/flowfrm.hxx
index 1b4a5fd82968..aa18ceead560 100644
--- a/sw/source/core/inc/flowfrm.hxx
+++ b/sw/source/core/inc/flowfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,14 +124,14 @@ protected:
SwFlowFrm *pFollow;
- BOOL bIsFollow :1; //Ist's ein Follow
- BOOL bLockJoin :1; //Join (und damit deleten) verboten wenn TRUE!
+ BOOL bIsFollow :1; //Ist's ein Follow
+ BOOL bLockJoin :1; //Join (und damit deleten) verboten wenn TRUE!
BOOL bUndersized:1; // wir sind kleiner als gewuenscht
- BOOL bFtnAtEnd :1; // For sectionfrms only: footnotes at the end of section
- BOOL bEndnAtEnd :1; // " " " : endnotes at the end of section
- BOOL bCntntLock :1; // " " " : content locked
- BOOL bOwnFtnNum :1; // " " " : special numbering of footnotes
- BOOL bFtnLock :1; // " " " : ftn, don't leave this section bwd
+ BOOL bFtnAtEnd :1; // For sectionfrms only: footnotes at the end of section
+ BOOL bEndnAtEnd :1; // " " " : endnotes at the end of section
+ BOOL bCntntLock :1; // " " " : content locked
+ BOOL bOwnFtnNum :1; // " " " : special numbering of footnotes
+ BOOL bFtnLock :1; // " " " : ftn, don't leave this section bwd
BOOL bFlyLock :1; // Stop positioning of at-character flyframes
//Prueft ob Vorwaertsfluss noch Sinn macht Endloswanderschaften (unterbinden)
@@ -139,7 +139,7 @@ protected:
// --> OD 2005-03-08 #i44049# - method <CalcCntnt(..)> has to check this property.
friend void CalcCntnt( SwLayoutFrm *pLay, bool bNoColl, bool bNoCalcFollow );
// <--
- BOOL IsKeepFwdMoveAllowed(); //Wie oben, Move fuer Keep.
+ BOOL IsKeepFwdMoveAllowed(); //Wie oben, Move fuer Keep.
//Prueft ob ein Obj das Umlauf wuenscht ueberlappt.
//eine Null bedeutet, kein Objekt ueberlappt,
@@ -159,14 +159,14 @@ protected:
public:
SwFlowFrm( SwFrm &rFrm );
- const SwFrm *GetFrm() const { return &rThis; }
- SwFrm *GetFrm() { return &rThis; }
+ const SwFrm *GetFrm() const { return &rThis; }
+ SwFrm *GetFrm() { return &rThis; }
- static BOOL IsMoveBwdJump() { return bMoveBwdJump; }
+ static BOOL IsMoveBwdJump() { return bMoveBwdJump; }
static void SetMoveBwdJump( BOOL bNew ){ bMoveBwdJump = bNew; }
inline void SetUndersized( const BOOL bNew ) { bUndersized = bNew; }
- inline BOOL IsUndersized() const { return bUndersized; }
+ inline BOOL IsUndersized() const { return bUndersized; }
BOOL IsPrevObjMove() const;
@@ -174,18 +174,18 @@ public:
//neuen Parent Moven.
void MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling = 0 );
- BOOL HasFollow() const { return pFollow ? TRUE : FALSE; }
- BOOL IsFollow() const { return bIsFollow; }
- inline void _SetIsFollow( BOOL bSet ) { bIsFollow = bSet; }
- const SwFlowFrm *GetFollow() const { return pFollow; }
- SwFlowFrm *GetFollow() { return pFollow; }
- BOOL IsAnFollow( const SwFlowFrm *pFlow ) const;
- inline void SetFollow( SwFlowFrm *pNew ) { pFollow = pNew; }
+ BOOL HasFollow() const { return pFollow ? TRUE : FALSE; }
+ BOOL IsFollow() const { return bIsFollow; }
+ inline void _SetIsFollow( BOOL bSet ) { bIsFollow = bSet; }
+ const SwFlowFrm *GetFollow() const { return pFollow; }
+ SwFlowFrm *GetFollow() { return pFollow; }
+ BOOL IsAnFollow( const SwFlowFrm *pFlow ) const;
+ inline void SetFollow( SwFlowFrm *pNew ) { pFollow = pNew; }
sal_Bool IsJoinLocked() const { return bLockJoin; }
sal_Bool IsAnyJoinLocked() const { return bLockJoin || HasLockedFollow(); }
- BOOL IsFtnAtEnd() const { return bFtnAtEnd; }
- BOOL IsEndnAtEnd() const { return bEndnAtEnd; }
+ BOOL IsFtnAtEnd() const { return bFtnAtEnd; }
+ BOOL IsEndnAtEnd() const { return bEndnAtEnd; }
BOOL IsAnyNoteAtEnd() const { return bFtnAtEnd || bEndnAtEnd; }
BOOL AreNotesAtEnd() const { return bFtnAtEnd && bEndnAtEnd; }
@@ -249,17 +249,17 @@ public:
void CheckKeep();
void SetFtnLock( BOOL bNew ){ bFtnLock = bNew; }
- BOOL IsFtnLock() const { return bFtnLock; }
+ BOOL IsFtnLock() const { return bFtnLock; }
void SetFlyLock( BOOL bNew ){ bFlyLock = bNew; }
BOOL IsFlyLock() const { return bFlyLock; }
void SetOwnFtnNum( BOOL bNew ){ bOwnFtnNum = bNew; }
- BOOL IsOwnFtnNum() const { return bOwnFtnNum; }
+ BOOL IsOwnFtnNum() const { return bOwnFtnNum; }
void SetCntntLock( BOOL bNew ){ bCntntLock = bNew; }
- BOOL IsCntntLocked() const { return bCntntLock; }
+ BOOL IsCntntLocked() const { return bCntntLock; }
//casten einen Frm auf einen FlowFrm - wenns denn einer ist, sonst 0
//Diese Methoden muessen fuer neue Ableitungen geaendert werden!
- static SwFlowFrm *CastFlowFrm( SwFrm *pFrm );
+ static SwFlowFrm *CastFlowFrm( SwFrm *pFrm );
static const SwFlowFrm *CastFlowFrm( const SwFrm *pFrm );
};
diff --git a/sw/source/core/inc/flyfrm.hxx b/sw/source/core/inc/flyfrm.hxx
index 699d90d3816e..0a5cad49bc23 100644
--- a/sw/source/core/inc/flyfrm.hxx
+++ b/sw/source/core/inc/flyfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +63,8 @@ class SwFlyFrm : public SwLayoutFrm, public SwAnchoredObject
friend void Notify( SwFlyFrm *, SwPageFrm *pOld, const SwRect &rOld,
const SwRect* pOldPrt );
- void InitDrawObj( BOOL bNotify ); //Wird von den CToren gerufen.
- void FinitDrawObj(); //Wird vom CTor gerufen.
+ void InitDrawObj( BOOL bNotify ); //Wird von den CToren gerufen.
+ void FinitDrawObj(); //Wird vom CTor gerufen.
void _UpdateAttr( SfxPoolItem*, SfxPoolItem*, BYTE &,
SwAttrSetChg *pa = 0, SwAttrSetChg *pb = 0 );
@@ -74,13 +74,13 @@ class SwFlyFrm : public SwLayoutFrm, public SwAnchoredObject
protected:
SwFlyFrm *pPrevLink, // Vorgaenger/Nachfolger fuer Verkettung mit
- *pNextLink; // Textfluss
+ *pNextLink; // Textfluss
// OD 2004-05-27 #i26791# - moved to <SwAnchoredObject>
// Point aRelPos; //Die Relative Position zum Master
private:
- BOOL bLocked :1; //Cntnt-gebundene Flys muessen derart blockiert werden
+ BOOL bLocked :1; //Cntnt-gebundene Flys muessen derart blockiert werden
//koennen, dass sie nicht Formatiert werden; :MakeAll
//returnt dann sofort. Dies ist bei Seitenwechseln
//waehrend der Formatierung notwendig.
@@ -88,22 +88,22 @@ private:
//sonst der Anker formatiert wird obwohl die Root noch
//nicht korrekt an der Shell haengt und weil sonst
//initial zuviel Formatiert wuerde.
- BOOL bNotifyBack:1; //TRUE wenn am Ende eines MakeAll() der Background
+ BOOL bNotifyBack:1; //TRUE wenn am Ende eines MakeAll() der Background
//vom NotifyDTor benachrichtigt werden muss.
protected:
- BOOL bInvalid :1; //Pos, PrtArea od. SSize wurden Invalidiert, sie werden
+ BOOL bInvalid :1; //Pos, PrtArea od. SSize wurden Invalidiert, sie werden
//gleich wieder Validiert, denn sie muessen _immer_
//gueltig sein. Damit in LayAction korrekt gearbeitet
//werden kann muss hier festgehalten werden, dass sie
//invalidiert wurden. Ausnahmen bestaetigen die Regelt!
- BOOL bMinHeight:1; //TRUE wenn die vom Attribut vorgegebene Hoehe eine
+ BOOL bMinHeight:1; //TRUE wenn die vom Attribut vorgegebene Hoehe eine
//eine Minimalhoehe ist (der Frm also bei Bedarf
//darueberhinaus wachsen kann).
- BOOL bHeightClipped :1; //TRUE wenn der Fly nicht die Pos/Size anhand der Attrs
- BOOL bWidthClipped :1; //formatieren konnte, weil z.B. nicht genug Raum vorh.
+ BOOL bHeightClipped :1; //TRUE wenn der Fly nicht die Pos/Size anhand der Attrs
+ BOOL bWidthClipped :1; //formatieren konnte, weil z.B. nicht genug Raum vorh.
//war.
- BOOL bFormatHeightOnly :1; //Damit nach einer Anpassung der Breite
+ BOOL bFormatHeightOnly :1; //Damit nach einer Anpassung der Breite
//(CheckClip) nur das Format aufgerufen wird;
//nicht aber die Breite anhand der Attribute
//wieder bestimmt wird.
@@ -123,10 +123,10 @@ protected:
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
void MakePrtArea( const SwBorderAttrs &rAttrs );
- void Lock() { bLocked = TRUE; }
- void Unlock() { bLocked = FALSE; }
+ void Lock() { bLocked = TRUE; }
+ void Unlock() { bLocked = FALSE; }
- void SetMinHeight() { bMinHeight = TRUE; }
+ void SetMinHeight() { bMinHeight = TRUE; }
void ResetMinHeight(){ bMinHeight = FALSE; }
Size CalcRel( const SwFmtFrmSize &rSz ) const;
@@ -156,7 +156,7 @@ public:
TYPEINFO();
virtual ~SwFlyFrm();
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
// erfrage vom Client Informationen
virtual BOOL GetInfo( SfxPoolItem& ) const;
virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
@@ -172,14 +172,14 @@ public:
SwTwips _Shrink( SwTwips, BOOL bTst );
SwTwips _Grow ( SwTwips, BOOL bTst );
- void _Invalidate( SwPageFrm *pPage = 0 );
+ void _Invalidate( SwPageFrm *pPage = 0 );
BOOL FrmSizeChg( const SwFmtFrmSize & );
SwFlyFrm *GetPrevLink() const { return pPrevLink; }
SwFlyFrm *GetNextLink() const { return pNextLink; }
- static void ChainFrames( SwFlyFrm *pMaster, SwFlyFrm *pFollow );
+ static void ChainFrames( SwFlyFrm *pMaster, SwFlyFrm *pFollow );
static void UnchainFrames( SwFlyFrm *pMaster, SwFlyFrm *pFollow );
SwFlyFrm *FindChainNeighbour( SwFrmFmt &rFmt, SwFrm *pAnch = 0 );
@@ -194,26 +194,26 @@ public:
void Invalidate() const { ((SwFlyFrm*)this)->bInvalid = TRUE; }
void Validate() const { ((SwFlyFrm*)this)->bInvalid = FALSE; }
- BOOL IsMinHeight() const { return bMinHeight; }
- BOOL IsLocked() const { return bLocked; }
- BOOL IsAutoPos() const { return bAutoPosition; }
+ BOOL IsMinHeight() const { return bMinHeight; }
+ BOOL IsLocked() const { return bLocked; }
+ BOOL IsAutoPos() const { return bAutoPosition; }
BOOL IsFlyInCntFrm() const { return bInCnt; }
BOOL IsFlyFreeFrm() const { return bAtCnt || bLayout; }
BOOL IsFlyLayFrm() const { return bLayout; }
BOOL IsFlyAtCntFrm() const { return bAtCnt; }
- BOOL IsNotifyBack() const { return bNotifyBack; }
- void SetNotifyBack() { bNotifyBack = TRUE; }
- void ResetNotifyBack() { bNotifyBack = FALSE; }
+ BOOL IsNotifyBack() const { return bNotifyBack; }
+ void SetNotifyBack() { bNotifyBack = TRUE; }
+ void ResetNotifyBack() { bNotifyBack = FALSE; }
BOOL IsNoShrink() const { return bNoShrink; }
void SetNoShrink( BOOL bNew ) { bNoShrink = bNew; }
BOOL IsLockDeleteContent() const { return bLockDeleteContent; }
void SetLockDeleteContent( BOOL bNew ) { bLockDeleteContent = bNew; }
- BOOL IsClipped() const { return bHeightClipped || bWidthClipped; }
- BOOL IsHeightClipped() const { return bHeightClipped; }
- BOOL IsWidthClipped() const { return bWidthClipped; }
+ BOOL IsClipped() const { return bHeightClipped || bWidthClipped; }
+ BOOL IsHeightClipped() const { return bHeightClipped; }
+ BOOL IsWidthClipped() const { return bWidthClipped; }
BOOL IsLowerOf( const SwLayoutFrm* pUpper ) const;
inline BOOL IsUpperOf( const SwFlyFrm& _rLower ) const
diff --git a/sw/source/core/inc/flyfrms.hxx b/sw/source/core/inc/flyfrms.hxx
index 92ed657729f8..7ec9f1e8631d 100644
--- a/sw/source/core/inc/flyfrms.hxx
+++ b/sw/source/core/inc/flyfrms.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ public:
SwFlyLayFrm( SwFlyFrmFmt*, SwFrm *pAnchor );
SwFlyLayFrm( SwFlyLayFrm& );
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
};
@@ -162,7 +162,7 @@ public:
SwFlyAtCntFrm( SwFlyFrmFmt*, SwFrm *pAnchor );
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
void SetAbsPos( const Point &rNew );
@@ -188,7 +188,7 @@ class SwFlyInCntFrm : public SwFlyFrm
long nLine; //Zeilenhoehe, Ref.Y() - nLine == Zeilenanfang.
BOOL bInvalidLayout :1;
- BOOL bInvalidCntnt :1;
+ BOOL bInvalidCntnt :1;
protected:
virtual void NotifyBackground( SwPageFrm *pPage,
@@ -203,7 +203,7 @@ public:
virtual ~SwFlyInCntFrm();
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
void SetRefPoint( const Point& rPoint, const Point &rRelAttr,
const Point &rRelPos );
diff --git a/sw/source/core/inc/fntcache.hxx b/sw/source/core/inc/fntcache.hxx
index caca5826484a..9df70d757cb2 100644
--- a/sw/source/core/inc/fntcache.hxx
+++ b/sw/source/core/inc/fntcache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 Printer;
class OutputDevice;
class FontMetric;
class SwFntObj;
-class SwDrawTextInfo; // DrawText
+class SwDrawTextInfo; // DrawText
class ViewShell;
class SwSubFont;
class MapMode;
@@ -112,8 +112,8 @@ public:
virtual ~SwFntObj();
- inline Font *GetScrFont() { return pScrFont; }
- inline Font *GetFont() { return &aFont; }
+ inline Font *GetScrFont() { return pScrFont; }
+ inline Font *GetFont() { return &aFont; }
inline const Font *GetFont() const { return &aFont; }
inline USHORT GetGuessedLeading() const { return nGuessedLeading; }
@@ -127,9 +127,9 @@ public:
void SetDevFont( const ViewShell *pSh, OutputDevice& rOut );
inline OutputDevice* GetPrt() const { return pPrinter; }
- inline USHORT GetZoom() const { return nZoom; }
- inline USHORT GetPropWidth() const { return nPropWidth; }
- inline BOOL IsSymbol() const { return bSymbol; }
+ inline USHORT GetZoom() const { return nZoom; }
+ inline USHORT GetPropWidth() const { return nPropWidth; }
+ inline BOOL IsSymbol() const { return bSymbol; }
void DrawText( SwDrawTextInfo &rInf );
Size GetTextSize( SwDrawTextInfo &rInf );
diff --git a/sw/source/core/inc/frame.hxx b/sw/source/core/inc/frame.hxx
index 00f21add8b20..20aaf569b9db 100644
--- a/sw/source/core/inc/frame.hxx
+++ b/sw/source/core/inc/frame.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +29,9 @@
#define _FRAME_HXX
#include <svl/svarray.hxx>
#include <editeng/borderline.hxx>
-#include "swtypes.hxx" // fuer SwTwips
+#include "swtypes.hxx" // fuer SwTwips
#include "swrect.hxx"
-#include "calbck.hxx" // fuer SwClient
+#include "calbck.hxx" // fuer SwClient
#if OSL_DEBUG_LEVEL > 1
#include <libxml/encoding.h>
@@ -73,46 +73,46 @@ class SwAnchoredObject;
//sie abgeleitet ist.
//Der Frm hat in der Basisklasse einen Member der von den CToren der
//einzelnen Frms entsprechend gesetzt werden muss.
-#define FRM_ROOT 0x0001
-#define FRM_PAGE 0x0002
-#define FRM_COLUMN 0x0004
-#define FRM_HEADER 0x0008
-#define FRM_FOOTER 0x0010
-#define FRM_FTNCONT 0x0020
-#define FRM_FTN 0x0040
-#define FRM_BODY 0x0080
-#define FRM_FLY 0x0100
-#define FRM_SECTION 0x0200
-#define FRM_UNUSED 0x0400
-#define FRM_TAB 0x0800
-#define FRM_ROW 0x1000
-#define FRM_CELL 0x2000
-#define FRM_TXT 0x4000
-#define FRM_NOTXT 0x8000
+#define FRM_ROOT 0x0001
+#define FRM_PAGE 0x0002
+#define FRM_COLUMN 0x0004
+#define FRM_HEADER 0x0008
+#define FRM_FOOTER 0x0010
+#define FRM_FTNCONT 0x0020
+#define FRM_FTN 0x0040
+#define FRM_BODY 0x0080
+#define FRM_FLY 0x0100
+#define FRM_SECTION 0x0200
+#define FRM_UNUSED 0x0400
+#define FRM_TAB 0x0800
+#define FRM_ROW 0x1000
+#define FRM_CELL 0x2000
+#define FRM_TXT 0x4000
+#define FRM_NOTXT 0x8000
//Fuer den internen Gebrauch ein paar gebraeuchliche Verknuepfungen.
-#define FRM_LAYOUT 0x3FFF
-#define FRM_CNTNT 0xC000
-#define FRM_FTNBOSS 0x0006
+#define FRM_LAYOUT 0x3FFF
+#define FRM_CNTNT 0xC000
+#define FRM_FTNBOSS 0x0006
#define FRM_ACCESSIBLE (FRM_HEADER|FRM_FOOTER|FRM_FTN|FRM_TXT|FRM_ROOT|FRM_FLY|FRM_TAB|FRM_CELL|FRM_PAGE)
//Weils so schon ist das ganze als Bitfeld....
-//0000 0000 0000 0001 ROOT
-//0000 0000 0000 0010 PAGE
-//0000 0000 0000 0100 COLUMN
-//0000 0000 0000 1000 HEADER
-//0000 0000 0001 0000 FOOTER
-//0000 0000 0010 0000 FTNCONT
-//0000 0000 0100 0000 FTN
-//0000 0000 1000 0000 BODY
-//0000 0001 0000 0000 FLY
-//0000 0010 0000 0000 SECTION
-//0000 0100 0000 0000 UNUSED
-//0000 1000 0000 0000 TAB
-//0001 0000 0000 0000 ROW
-//0010 0000 0000 0000 CELL
-//0100 0000 0000 0000 TXT
-//1000 0000 0000 0000 NOTXT
+//0000 0000 0000 0001 ROOT
+//0000 0000 0000 0010 PAGE
+//0000 0000 0000 0100 COLUMN
+//0000 0000 0000 1000 HEADER
+//0000 0000 0001 0000 FOOTER
+//0000 0000 0010 0000 FTNCONT
+//0000 0000 0100 0000 FTN
+//0000 0000 1000 0000 BODY
+//0000 0001 0000 0000 FLY
+//0000 0010 0000 0000 SECTION
+//0000 0100 0000 0000 UNUSED
+//0000 1000 0000 0000 TAB
+//0001 0000 0000 0000 ROW
+//0010 0000 0000 0000 CELL
+//0100 0000 0000 0000 TXT
+//1000 0000 0000 0000 NOTXT
// The type of the frame is internal represented by the 4-bit value nType,
// which can expanded to the types above by shifting a bit (0x1 << nType)
@@ -235,11 +235,11 @@ extern SwRectFn fnRectHori, fnRectVert, fnRectB2T, fnRectVL2R;
//Fuer GetNextLeaf/GetPrevLeaf.
enum MakePageType
{
- MAKEPAGE_NONE, //Keine Seite bzw. Fussnote anlegen
- MAKEPAGE_APPEND, //Nur ggf. Seite anhaengen
- MAKEPAGE_INSERT, //Seite ggf. anhaengen oder einfuegen.
- MAKEPAGE_FTN, //Fussnote ggf. einfuegen.
- MAKEPAGE_NOSECTION // Don't create section frames
+ MAKEPAGE_NONE, //Keine Seite bzw. Fussnote anlegen
+ MAKEPAGE_APPEND, //Nur ggf. Seite anhaengen
+ MAKEPAGE_INSERT, //Seite ggf. anhaengen oder einfuegen.
+ MAKEPAGE_FTN, //Fussnote ggf. einfuegen.
+ MAKEPAGE_NOSECTION // Don't create section frames
};
// OD 2004-05-06 #i28701# - replaced by new class <SwSortedObjs>
@@ -250,7 +250,7 @@ class SwFrm: public SwClient
{
//Der verkappte Frm
friend class SwFlowFrm;
- friend class SwLayoutFrm; // Sw3FrameIo: fuer pNext, pPrev
+ friend class SwLayoutFrm; // Sw3FrameIo: fuer pNext, pPrev
friend class SwLooping; // LoopControlling (layouter.cxx)
//Hebt die Lower waehrend eines Spaltenumbaus auf.
@@ -267,7 +267,7 @@ class SwFrm: public SwClient
// Implementiert in text/txtftn.cxx, verhindert Ftn-Oszillation
friend void ValidateTxt( SwFrm *pFrm );
-// friend void CalcAnchorAndKeep( SwFlyFrm * );
+// friend void CalcAnchorAndKeep( SwFlyFrm * );
friend void MakeNxt( SwFrm *pFrm, SwFrm *pNxt );
@@ -354,15 +354,15 @@ class SwFrm: public SwClient
SwFrm* _GetIndNext();
void SetDirFlags( BOOL bVert );
- SwFrm( SwFrm & ); //Kopieren ist nicht erlaubt.
+ SwFrm( SwFrm & ); //Kopieren ist nicht erlaubt.
const SwLayoutFrm* ImplGetNextLayoutLeaf( bool bFwd ) const;
protected:
SwSortedObjs* pDrawObjs; //Hier haengen die DrawObjs, kann 0 sein
- SwRect aFrm; //Absolute Dokumentposition und groesse des Frm
- SwRect aPrt; //Position der PrtArea rel zum Frm und groesse der PrtArea
+ SwRect aFrm; //Absolute Dokumentposition und groesse des Frm
+ SwRect aPrt; //Position der PrtArea rel zum Frm und groesse der PrtArea
USHORT bFlag01: 1;
USHORT bFlag02: 1;
@@ -379,32 +379,32 @@ protected:
USHORT bVertical: 1;
USHORT nType: 4; //Who am I?
- BOOL bValidPos: 1;
- BOOL bValidPrtArea: 1;
- BOOL bValidSize: 1;
- BOOL bValidLineNum: 1;
+ BOOL bValidPos: 1;
+ BOOL bValidPrtArea: 1;
+ BOOL bValidSize: 1;
+ BOOL bValidLineNum: 1;
BOOL bFixSize: 1;
BOOL bUnUsed1: 1;
- BOOL bCompletePaint: 1; //Frame wird ganz gepaintet wenn TRUE, auch
+ BOOL bCompletePaint: 1; //Frame wird ganz gepaintet wenn TRUE, auch
//wenn der Inhalt nur teilw. veraendert ist;
//Bei CntntFrms wird ausschliesslich wenn TRUE
//der Border (von Action) gemalt.
- BOOL bRetouche: 1; //Der Frame ist fuer Retusche verantwortlich
+ BOOL bRetouche: 1; //Der Frame ist fuer Retusche verantwortlich
//wenn TRUE.
public:
BOOL bUnUsed2: 1;
protected:
- BOOL bInfInvalid: 1; //InfoFlags sind Invalid.
- BOOL bInfBody: 1; //Frm steht im DokumentBody.
- BOOL bInfTab: 1; //Frm steht in einer Tabelle.
- BOOL bInfFly: 1; //Frm steht in einem Fly.
- BOOL bInfFtn: 1; //Frm steht in einer Fussnote.
- BOOL bInfSct: 1; //Frm steht in einem Bereich.
- BOOL bColLocked: 1; //Grow/Shrink sperren bei spaltigen Section-
+ BOOL bInfInvalid: 1; //InfoFlags sind Invalid.
+ BOOL bInfBody: 1; //Frm steht im DokumentBody.
+ BOOL bInfTab: 1; //Frm steht in einer Tabelle.
+ BOOL bInfFly: 1; //Frm steht in einem Fly.
+ BOOL bInfFtn: 1; //Frm steht in einer Fussnote.
+ BOOL bInfSct: 1; //Frm steht in einem Bereich.
+ BOOL bColLocked: 1; //Grow/Shrink sperren bei spaltigen Section-
//oder Fly-Frames, wird im Format gesetzt
- void ColLock() { bColLocked = TRUE; }
- void ColUnlock() { bColLocked = FALSE; }
+ void ColLock() { bColLocked = TRUE; }
+ void ColUnlock() { bColLocked = FALSE; }
SwPageFrm *InsertPage( SwPageFrm *pSibling, BOOL bFtn );
void PrepareMake();
@@ -425,8 +425,8 @@ protected:
virtual SwTwips ShrinkFrm( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE ) = 0;
virtual SwTwips GrowFrm ( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE ) = 0;
- SwModify *GetDep() { return pRegisteredIn; }
- const SwModify *GetDep() const { return pRegisteredIn; }
+ SwModify *GetDep() { return pRegisteredIn; }
+ const SwModify *GetDep() const { return pRegisteredIn; }
SwFrm( SwModify* );
@@ -465,13 +465,13 @@ protected:
void PaintShadow( const SwRect&, SwRect&, const SwBorderAttrs& ) const;
public:
- TYPEINFO(); //Bereits in Basisklasse Client drin.
+ TYPEINFO(); //Bereits in Basisklasse Client drin.
USHORT GetType() const { return 0x1 << nType; }
- static SwCache &GetCache() { return *pCache; }
- static SwCache *GetCachePtr() { return pCache; }
- static void SetCache( SwCache *pNew ) { pCache = pNew; }
+ static SwCache &GetCache() { return *pCache; }
+ static SwCache *GetCachePtr() { return pCache; }
+ static void SetCache( SwCache *pNew ) { pCache = pNew; }
//Aendern die PrtArea-SSize und die FrmSize.
SwTwips Shrink( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE );
@@ -520,7 +520,7 @@ public:
void InvalidateObjs( const bool _bInvaPosOnly,
const bool _bNoInvaOfAsCharAnchoredObjs = true );
- virtual void PaintBorder( const SwRect&, const SwPageFrm *pPage,
+ virtual void PaintBorder( const SwRect&, const SwPageFrm *pPage,
const SwBorderAttrs & ) const;
void PaintBaBo( const SwRect&, const SwPageFrm *pPage = 0,
const BOOL bLowerBorder = FALSE ) const;
@@ -547,10 +547,10 @@ public:
inline void ResetRetouche() const;
inline BOOL IsRetouche() const { return bRetouche; }
- void SetInfFlags(); //Setzen der InfoFlags
+ void SetInfFlags(); //Setzen der InfoFlags
inline void InvalidateInfFlags() { bInfInvalid = TRUE; }
- inline BOOL IsInDocBody() const; //Benutzen die InfoFlags.
- inline BOOL IsInFtn() const; //ggf. werden die Flags ermittelt.
+ inline BOOL IsInDocBody() const; //Benutzen die InfoFlags.
+ inline BOOL IsInFtn() const; //ggf. werden die Flags ermittelt.
inline BOOL IsInTab() const;
inline BOOL IsInFly() const;
inline BOOL IsInSct() const;
@@ -605,14 +605,14 @@ public:
//Fussnote einzufuegen (nicht z.B. in wiederholten TabellenHeadlines).
BOOL IsFtnAllowed() const;
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
virtual void CheckDirection( BOOL bVert );
void ReinitializeFrmSizeAttrFlags();
- const SwAttrSet *GetAttrSet() const;
+ const SwAttrSet *GetAttrSet() const;
inline BOOL HasFixSize() const { return bFixSize; }
inline void SetFixSize( BOOL bNew ) { bFixSize = bNew; }
@@ -625,32 +625,32 @@ public:
static void CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields = TRUE );
//Koennen 0 liefern, einmal const einmal nicht
- SwFrm *GetNext() { return pNext; }
- SwFrm *GetPrev() { return pPrev; }
- SwLayoutFrm *GetUpper() { return pUpper; }
- SwRootFrm *FindRootFrm();
- SwPageFrm *FindPageFrm();
- SwFrm *FindColFrm();
- SwRowFrm *FindRowFrm();
- SwFtnBossFrm *FindFtnBossFrm( BOOL bFootnotes = FALSE );
- SwTabFrm *ImplFindTabFrm();
- SwFtnFrm *ImplFindFtnFrm();
- SwFlyFrm *ImplFindFlyFrm();
- SwSectionFrm *ImplFindSctFrm();
- SwFrm *FindFooterOrHeader();
- SwFrm *GetLower();
- const SwFrm *GetNext() const { return pNext; }
- const SwFrm *GetPrev() const { return pPrev; }
- const SwLayoutFrm *GetUpper() const { return pUpper; }
- inline SwTabFrm *FindTabFrm();
- inline SwFtnFrm *FindFtnFrm();
- inline SwFlyFrm *FindFlyFrm();
- inline SwSectionFrm *FindSctFrm();
- inline SwFrm *FindNext();
+ SwFrm *GetNext() { return pNext; }
+ SwFrm *GetPrev() { return pPrev; }
+ SwLayoutFrm *GetUpper() { return pUpper; }
+ SwRootFrm *FindRootFrm();
+ SwPageFrm *FindPageFrm();
+ SwFrm *FindColFrm();
+ SwRowFrm *FindRowFrm();
+ SwFtnBossFrm *FindFtnBossFrm( BOOL bFootnotes = FALSE );
+ SwTabFrm *ImplFindTabFrm();
+ SwFtnFrm *ImplFindFtnFrm();
+ SwFlyFrm *ImplFindFlyFrm();
+ SwSectionFrm *ImplFindSctFrm();
+ SwFrm *FindFooterOrHeader();
+ SwFrm *GetLower();
+ const SwFrm *GetNext() const { return pNext; }
+ const SwFrm *GetPrev() const { return pPrev; }
+ const SwLayoutFrm *GetUpper() const { return pUpper; }
+ inline SwTabFrm *FindTabFrm();
+ inline SwFtnFrm *FindFtnFrm();
+ inline SwFlyFrm *FindFlyFrm();
+ inline SwSectionFrm *FindSctFrm();
+ inline SwFrm *FindNext();
// --> OD 2005-12-01 #i27138# - add parameter <_bInSameFtn>
inline SwCntntFrm* FindNextCnt( const bool _bInSameFtn = false );
// <--
- inline SwFrm *FindPrev();
+ inline SwFrm *FindPrev();
inline const SwPageFrm *FindPageFrm() const;
inline const SwRootFrm *FindRootFrm() const;
inline const SwFtnBossFrm *FindFtnBossFrm( BOOL bFtn = FALSE ) const;
@@ -660,12 +660,12 @@ public:
inline const SwFtnFrm *FindFtnFrm() const;
inline const SwFlyFrm *FindFlyFrm() const;
inline const SwSectionFrm *FindSctFrm() const;
- inline const SwFrm *FindNext() const;
+ inline const SwFrm *FindNext() const;
// --> OD 2005-12-01 #i27138# - add parameter <_bInSameFtn>
inline const SwCntntFrm* FindNextCnt( const bool _bInSameFtn = false ) const;
// <--
- inline const SwFrm *FindPrev() const;
- const SwFrm *GetLower() const;
+ inline const SwFrm *FindPrev() const;
+ const SwFrm *GetLower() const;
/** inline wrapper method for <_FindPrevCnt(..)>
@@ -705,8 +705,8 @@ public:
{ return ( pNext || !IsInSct() ) ? pNext : _GetIndNext(); }
const SwFrm* GetIndNext() const { return ((SwFrm*)this)->GetIndNext(); }
- USHORT GetPhyPageNum() const; //Seitennummer ohne Offset
- USHORT GetVirtPageNum() const; //Seitenummer mit Offset
+ USHORT GetPhyPageNum() const; //Seitennummer ohne Offset
+ USHORT GetVirtPageNum() const; //Seitenummer mit Offset
BOOL OnRightPage() const { return 0 != GetPhyPageNum() % 2; };
BOOL WannaRightPage() const;
@@ -745,9 +745,9 @@ public:
void ValidateLineNum() { bValidLineNum = TRUE; }
- BOOL GetValidPosFlag() const { return bValidPos; }
+ BOOL GetValidPosFlag() const { return bValidPos; }
BOOL GetValidPrtAreaFlag()const { return bValidPrtArea; }
- BOOL GetValidSizeFlag() const { return bValidSize; }
+ BOOL GetValidSizeFlag() const { return bValidSize; }
BOOL GetValidLineNumFlag()const { return bValidLineNum; }
BOOL IsValid() const { return bValidPos && bValidSize && bValidPrtArea; }
@@ -826,11 +826,11 @@ public:
virtual bool FillSelection( SwSelectionList& rList, const SwRect& rRect ) const;
- virtual BOOL GetCrsrOfst( SwPosition *, Point&,
+ virtual BOOL GetCrsrOfst( SwPosition *, Point&,
SwCrsrMoveState* = 0 ) const;
- virtual BOOL GetCharRect( SwRect &, const SwPosition&,
+ virtual BOOL GetCharRect( SwRect &, const SwPosition&,
SwCrsrMoveState* = 0 ) const;
- virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
+ virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
// der "kurze Dienstweg" zwischen den Frames und der Formatierung.
// Wer den void* falsch Casted ist selbst schuld!
@@ -849,7 +849,7 @@ public:
inline BOOL IsFtnContFrm() const;
inline BOOL IsFtnFrm() const;
inline BOOL IsBodyFrm() const;
- inline BOOL IsColBodyFrm() const; // in layfrm.hxx implementiert, BodyFrm unterhalb ColumnFrm
+ inline BOOL IsColBodyFrm() const; // in layfrm.hxx implementiert, BodyFrm unterhalb ColumnFrm
inline BOOL IsPageBodyFrm() const; // in layfrm.hxx implementiert, BodyFrm unterhalb PageFrm
inline BOOL IsFlyFrm() const;
inline BOOL IsSctFrm() const;
@@ -859,20 +859,20 @@ public:
inline BOOL IsCntntFrm() const;
inline BOOL IsTxtFrm() const;
inline BOOL IsNoTxtFrm() const;
- inline BOOL IsFlowFrm() const; //Frms deren PrtArea von den Nachbarn
+ inline BOOL IsFlowFrm() const; //Frms deren PrtArea von den Nachbarn
//abhaengen und die halt im Inhaltsfluss
//stehen.
- inline BOOL IsRetoucheFrm() const; //Frms die Retouchefaehig sind bzw. die
+ inline BOOL IsRetoucheFrm() const; //Frms die Retouchefaehig sind bzw. die
//u.U. hinter sich Retouchieren muessen.
inline BOOL IsAccessibleFrm() const;
- void PrepareCrsr(); //Die CrsrShell darf.
+ void PrepareCrsr(); //Die CrsrShell darf.
//Ist der Frm (bzw. die Section in der er steht) geschuetzt?
//Auch Fly in Fly in ... und Fussnoten
BOOL IsProtected() const;
- BOOL IsColLocked() const { return bColLocked; }
+ BOOL IsColLocked() const { return bColLocked; }
virtual ~SwFrm();
@@ -928,13 +928,13 @@ public:
bool IsCollapse() const;
};
-inline BOOL SwFrm::IsInDocBody() const
+inline BOOL SwFrm::IsInDocBody() const
{
if ( bInfInvalid )
((SwFrm*)this)->SetInfFlags();
return bInfBody;
}
-inline BOOL SwFrm::IsInFtn() const
+inline BOOL SwFrm::IsInFtn() const
{
if ( bInfInvalid )
((SwFrm*)this)->SetInfFlags();
diff --git a/sw/source/core/inc/frminf.hxx b/sw/source/core/inc/frminf.hxx
index b965dabd816f..de1f5f0d8ef0 100644
--- a/sw/source/core/inc/frminf.hxx
+++ b/sw/source/core/inc/frminf.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +30,13 @@
#include "swtypes.hxx"
-class SwTxtFrm; // SwTxtFrmInfo
-class SwPaM; // SwTxtFrmInfo
-class SwTxtCursor; // SwTxtFrmInfo
+class SwTxtFrm; // SwTxtFrmInfo
+class SwPaM; // SwTxtFrmInfo
+class SwTxtCursor; // SwTxtFrmInfo
/*************************************************************************
- * class SwTxtFrmInfo
+ * class SwTxtFrmInfo
*************************************************************************/
class SwTxtFrmInfo
diff --git a/sw/source/core/inc/frmtool.hxx b/sw/source/core/inc/frmtool.hxx
index d91d77a5425d..844fbbfe5bc9 100644
--- a/sw/source/core/inc/frmtool.hxx
+++ b/sw/source/core/inc/frmtool.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ struct SwFindRowSpanCacheObj;
#define MA_FASTCALL
#endif
-#define WEIT_WECH LONG_MAX - 20000 //Initale Position der Flys.
+#define WEIT_WECH LONG_MAX - 20000 //Initale Position der Flys.
#define BROWSE_HEIGHT 56700L * 10L //10 Meter
//#define BROWSE_HEIGHT 1440L * 45L // 45 inch, maximum size for pdf files
@@ -107,7 +107,7 @@ extern BOOL bSetCompletePaintOnInvalidate;
//Fuer Tabelleneinstellung per Tastatur.
long MA_FASTCALL CalcRowRstHeight( SwLayoutFrm *pRow );
-long MA_FASTCALL CalcHeightWidthFlys( const SwFrm *pFrm ); //MA_FLY_HEIGHT
+long MA_FASTCALL CalcHeightWidthFlys( const SwFrm *pFrm ); //MA_FLY_HEIGHT
//Neue Seite einsetzen
SwPageFrm * MA_FASTCALL InsertNewPage( SwPageDesc &rDesc, SwFrm *pUpper,
@@ -138,7 +138,7 @@ BOOL IsFrmInSameKontext( const SwFrm *pInnerFrm, const SwFrm *pFrm );
const SwFrm * MA_FASTCALL FindPage( const SwRect &rRect, const SwFrm *pPage );
// JP 07.05.98: wird von SwCntntNode::GetFrm und von SwFlyFrm::GetFrm
-// gerufen
+// gerufen
SwFrm* GetFrmOfModify( SwModify const&, USHORT const nFrmType, const Point* = 0,
const SwPosition *pPos = 0,
const BOOL bCalcFrm = FALSE );
@@ -164,8 +164,8 @@ protected:
SwTwips mnFlyAnchorOfst;
SwTwips mnFlyAnchorOfstNoWrap;
BOOL bHadFollow;
- BOOL bInvaKeep;
- BOOL bValidSize;
+ BOOL bInvaKeep;
+ BOOL bValidSize;
protected:
// --> OD 2005-07-29 #i49383#
bool mbFrmDeleted;
@@ -196,7 +196,7 @@ public:
~SwLayNotify();
void SetLowersComplete( BOOL b ) { bLowersComplete = b; }
- BOOL IsLowersComplete() { return bLowersComplete; }
+ BOOL IsLowersComplete() { return bLowersComplete; }
};
class SwFlyNotify : public SwLayNotify
@@ -251,32 +251,32 @@ public:
// the stuff that belongs to it.
class SwBorderAttrs : public SwCacheObj
{
- const SwAttrSet &rAttrSet;
+ const SwAttrSet &rAttrSet;
const SvxULSpaceItem &rUL;
// --> OD 2008-12-04 #i96772#
SvxLRSpaceItem rLR;
// <--
- const SvxBoxItem &rBox;
+ const SvxBoxItem &rBox;
const SvxShadowItem &rShadow;
- const Size aFrmSize; //Die FrmSize
+ const Size aFrmSize; //Die FrmSize
- BOOL bBorderDist :1; //Ist's ein Frm der auch ohne Linie
+ BOOL bBorderDist :1; //Ist's ein Frm der auch ohne Linie
//einen Abstand haben kann?
//Mit den Folgenden Bools werden die gecache'ten Werte fuer UNgueltig
//erklaert - bis sie einmal berechnet wurden.
- BOOL bTopLine :1;
- BOOL bBottomLine :1;
- BOOL bLeftLine :1;
- BOOL bRightLine :1;
- BOOL bTop :1;
- BOOL bBottom :1;
- BOOL bLine :1;
-
- BOOL bIsLine :1; //Umrandung an mind. einer Kante?
-
- BOOL bCacheGetLine :1; //GetTopLine(), GetBottomLine() cachen?
- BOOL bCachedGetTopLine :1; //GetTopLine() gecached?
+ BOOL bTopLine :1;
+ BOOL bBottomLine :1;
+ BOOL bLeftLine :1;
+ BOOL bRightLine :1;
+ BOOL bTop :1;
+ BOOL bBottom :1;
+ BOOL bLine :1;
+
+ BOOL bIsLine :1; //Umrandung an mind. einer Kante?
+
+ BOOL bCacheGetLine :1; //GetTopLine(), GetBottomLine() cachen?
+ BOOL bCachedGetTopLine :1; //GetTopLine() gecached?
BOOL bCachedGetBottomLine :1; //GetBottomLine() gecached?
// OD 21.05.2003 #108789# - booleans indicating, if values <bJoinedWithPrev>
// and <bJoinedWithNext> are cached and valid.
@@ -343,11 +343,11 @@ public:
SwBorderAttrs( const SwModify *pOwner, const SwFrm *pConstructor );
~SwBorderAttrs();
- inline const SwAttrSet &GetAttrSet() const { return rAttrSet; }
- inline const SvxULSpaceItem &GetULSpace() const { return rUL; }
- inline const SvxLRSpaceItem &GetLRSpace() const { return rLR; }
- inline const SvxBoxItem &GetBox() const { return rBox; }
- inline const SvxShadowItem &GetShadow() const { return rShadow; }
+ inline const SwAttrSet &GetAttrSet() const { return rAttrSet; }
+ inline const SvxULSpaceItem &GetULSpace() const { return rUL; }
+ inline const SvxLRSpaceItem &GetLRSpace() const { return rLR; }
+ inline const SvxBoxItem &GetBox() const { return rBox; }
+ inline const SvxShadowItem &GetShadow() const { return rShadow; }
inline USHORT CalcTopLine() const;
inline USHORT CalcBottomLine() const;
@@ -360,7 +360,7 @@ public:
inline BOOL IsLine() const;
- inline const Size &GetSize() const { return aFrmSize; }
+ inline const Size &GetSize() const { return aFrmSize; }
inline BOOL IsBorderDist() const { return bBorderDist; }
@@ -371,7 +371,7 @@ public:
inline USHORT GetTopLine ( const SwFrm& _rFrm,
const SwFrm* _pPrevFrm = 0L ) const;
inline USHORT GetBottomLine( const SwFrm& _rFrm ) const;
- inline void SetGetCacheLine( BOOL bNew ) const;
+ inline void SetGetCacheLine( BOOL bNew ) const;
// OD 21.05.2003 #108789# - accessors for cached values <bJoinedWithPrev>
// and <bJoinedWithPrev>
// OD 2004-02-26 #i25029# - add optional 2nd parameter <_pPrevFrm>
@@ -384,7 +384,7 @@ public:
class SwBorderAttrAccess : public SwCacheAccess
{
- const SwFrm *pConstructor; //opt: Zur weitergabe an SwBorderAttrs
+ const SwFrm *pConstructor; //opt: Zur weitergabe an SwBorderAttrs
protected:
virtual SwCacheObj *NewObj();
@@ -407,8 +407,8 @@ class SwOrderIter
public:
SwOrderIter( const SwPageFrm *pPage, BOOL bFlysOnly = TRUE );
- void Current( const SdrObject *pNew ) { pCurrent = pNew; }
- const SdrObject *Current() const { return pCurrent; }
+ void Current( const SdrObject *pNew ) { pCurrent = pNew; }
+ const SdrObject *Current() const { return pCurrent; }
const SdrObject *operator()() const { return pCurrent; }
const SdrObject *Top();
const SdrObject *Bottom();
@@ -433,8 +433,8 @@ public:
StackHack::bLocked = FALSE;
}
- static BOOL IsLocked() { return StackHack::bLocked; }
- static BYTE Count() { return StackHack::nCnt; }
+ static BOOL IsLocked() { return StackHack::bLocked; }
+ static BYTE Count() { return StackHack::nCnt; }
};
@@ -457,7 +457,7 @@ inline USHORT SwBorderAttrs::GetBottomLine( const SwFrm& _rFrm ) const
const_cast<SwBorderAttrs*>(this)->_GetBottomLine( _rFrm );
return nGetBottomLine;
}
-inline void SwBorderAttrs::SetGetCacheLine( BOOL bNew ) const
+inline void SwBorderAttrs::SetGetCacheLine( BOOL bNew ) const
{
((SwBorderAttrs*)this)->bCacheGetLine = bNew;
((SwBorderAttrs*)this)->bCachedGetBottomLine =
diff --git a/sw/source/core/inc/ftnboss.hxx b/sw/source/core/inc/ftnboss.hxx
index 427673fdeb20..c732011dd109 100644
--- a/sw/source/core/inc/ftnboss.hxx
+++ b/sw/source/core/inc/ftnboss.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -64,12 +64,12 @@ class SwFtnBossFrm: public SwLayoutFrm
SwTwips nMaxFtnHeight;
SwFtnContFrm *MakeFtnCont();
- SwFtnFrm *FindFirstFtn();
+ SwFtnFrm *FindFirstFtn();
BYTE _NeighbourhoodAdjustment( const SwFrm* pFrm ) const;
protected:
- void InsertFtn( SwFtnFrm * );
- static void ResetFtn( const SwFtnFrm *pAssumed );
+ void InsertFtn( SwFtnFrm * );
+ static void ResetFtn( const SwFtnFrm *pAssumed );
public:
inline SwFtnBossFrm( SwFrmFmt* pFmt) : SwLayoutFrm( pFmt ) {}
@@ -80,10 +80,10 @@ public:
//Fussnotenschnittstelle
void AppendFtn( SwCntntFrm *, SwTxtFtn * );
void RemoveFtn( const SwCntntFrm *, const SwTxtFtn *, BOOL bPrep = TRUE );
- static SwFtnFrm *FindFtn( const SwCntntFrm *, const SwTxtFtn * );
+ static SwFtnFrm *FindFtn( const SwCntntFrm *, const SwTxtFtn * );
SwFtnContFrm *FindFtnCont();
inline const SwFtnContFrm *FindFtnCont() const;
- const SwFtnFrm *FindFirstFtn( SwCntntFrm* ) const;
+ const SwFtnFrm *FindFirstFtn( SwCntntFrm* ) const;
SwFtnContFrm *FindNearestFtnCont( BOOL bDontLeave = FALSE );
void ChangeFtnRef( const SwCntntFrm *pOld, const SwTxtFtn *,
@@ -93,7 +93,7 @@ public:
//SS damit der Textformatierer Temporaer die Fussnotenhoehe begrenzen
//kann. DeadLine in Dokumentkoordinaten.
- void SetFtnDeadLine( const SwTwips nDeadLine );
+ void SetFtnDeadLine( const SwTwips nDeadLine );
SwTwips GetMaxFtnHeight() const { return nMaxFtnHeight; }
//Liefert den Wert, der noch uebrig ist, bis der Body seine minimale
@@ -118,8 +118,8 @@ public:
SwFtnBossFrm* _pOld,
SvPtrarr& _rFtnArr,
const sal_Bool _bCollectOnlyPreviousFtns = sal_False );
- void _MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc = FALSE );
- void MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
+ void _MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc = FALSE );
+ void MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
SwTxtFtn *pAttr );
// Sollte AdjustNeighbourhood gerufen werden (oder Grow/Shrink)?
BYTE NeighbourhoodAdjustment( const SwFrm* pFrm ) const
@@ -135,6 +135,6 @@ inline const SwFtnContFrm *SwFtnBossFrm::FindFtnCont() const
return ((SwFtnBossFrm*)this)->FindFtnCont();
}
-#endif //_FTNBOSS_HXX
+#endif //_FTNBOSS_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/ftnfrm.hxx b/sw/source/core/inc/ftnfrm.hxx
index b1543e5c4383..b171dce38c4b 100644
--- a/sw/source/core/inc/ftnfrm.hxx
+++ b/sw/source/core/inc/ftnfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwFtnFrm: public SwLayoutFrm
// 0 wenn kein Follow vorhanden,
// this beim letzten
// der Follow sonst.
- SwFtnFrm *pFollow;
- SwFtnFrm *pMaster; //Der FtnFrm dessen Follow ich bin.
- SwCntntFrm *pRef; //In diesem CntntFrm steht die Fussnotenref.
- SwTxtFtn *pAttr; //Fussnotenattribut (zum wiedererkennen)
+ SwFtnFrm *pFollow;
+ SwFtnFrm *pMaster; //Der FtnFrm dessen Follow ich bin.
+ SwCntntFrm *pRef; //In diesem CntntFrm steht die Fussnotenref.
+ SwTxtFtn *pAttr; //Fussnotenattribut (zum wiedererkennen)
BOOL bBackMoveLocked : 1; //Absaetze in dieser Fussnote duerfen derzeit
//nicht rueckwaerts fliessen.
@@ -93,20 +93,20 @@ public:
const SwCntntFrm *GetRef() const;
SwCntntFrm *GetRef();
#else
- const SwCntntFrm *GetRef() const { return pRef; }
- SwCntntFrm *GetRef() { return pRef; }
+ const SwCntntFrm *GetRef() const { return pRef; }
+ SwCntntFrm *GetRef() { return pRef; }
#endif
const SwCntntFrm *GetRefFromAttr() const;
SwCntntFrm *GetRefFromAttr();
- const SwFtnFrm *GetFollow() const { return pFollow; }
- SwFtnFrm *GetFollow() { return pFollow; }
+ const SwFtnFrm *GetFollow() const { return pFollow; }
+ SwFtnFrm *GetFollow() { return pFollow; }
- const SwFtnFrm *GetMaster() const { return pMaster; }
- SwFtnFrm *GetMaster() { return pMaster; }
+ const SwFtnFrm *GetMaster() const { return pMaster; }
+ SwFtnFrm *GetMaster() { return pMaster; }
- const SwTxtFtn *GetAttr() const { return pAttr; }
- SwTxtFtn *GetAttr() { return pAttr; }
+ const SwTxtFtn *GetAttr() const { return pAttr; }
+ SwTxtFtn *GetAttr() { return pAttr; }
void SetFollow( SwFtnFrm *pNew ) { pFollow = pNew; }
void SetMaster( SwFtnFrm *pNew ) { pMaster = pNew; }
@@ -114,13 +114,13 @@ public:
void InvalidateNxtFtnCnts( SwPageFrm* pPage );
- void LockBackMove() { bBackMoveLocked = TRUE; }
+ void LockBackMove() { bBackMoveLocked = TRUE; }
void UnlockBackMove() { bBackMoveLocked = FALSE;}
BOOL IsBackMoveLocked() { return bBackMoveLocked; }
// Verhindert, dass der letzte Inhalt den SwFtnFrm mitloescht (Cut())
- inline void ColLock() { bColLocked = TRUE; }
- inline void ColUnlock() { bColLocked = FALSE; }
+ inline void ColLock() { bColLocked = TRUE; }
+ inline void ColUnlock() { bColLocked = FALSE; }
// --> OD 2005-05-18 #i49383#
inline void UnlockPosOfLowerObjs()
@@ -148,6 +148,6 @@ public:
SwCntntFrm* FindLastCntnt();
};
-#endif //_FTNFRM_HXX
+#endif //_FTNFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/hffrm.hxx b/sw/source/core/inc/hffrm.hxx
index 50b41717a3f9..2b1570a1a9e8 100644
--- a/sw/source/core/inc/hffrm.hxx
+++ b/sw/source/core/inc/hffrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ protected:
public:
SwHeadFootFrm(SwFrmFmt * pFrm, USHORT aType);
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
- virtual SwTwips GrowFrm( SwTwips,
+ virtual SwTwips GrowFrm( SwTwips,
BOOL bTst = FALSE, BOOL bInfo = FALSE );
- virtual SwTwips ShrinkFrm( SwTwips,
+ virtual SwTwips ShrinkFrm( SwTwips,
BOOL bTst = FALSE, BOOL bInfo = FALSE );
};
@@ -64,6 +64,6 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwFooterFrm)
};
-#endif //_HFFRM_HXX
+#endif //_HFFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/ifinishedthreadlistener.hxx b/sw/source/core/inc/ifinishedthreadlistener.hxx
index fbf6099f8456..ecba5e554684 100644
--- a/sw/source/core/inc/ifinishedthreadlistener.hxx
+++ b/sw/source/core/inc/ifinishedthreadlistener.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/ithreadlistenerowner.hxx b/sw/source/core/inc/ithreadlistenerowner.hxx
index 8ba165774ee7..224844465189 100644
--- a/sw/source/core/inc/ithreadlistenerowner.hxx
+++ b/sw/source/core/inc/ithreadlistenerowner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/layact.hxx b/sw/source/core/inc/layact.hxx
index 2a0a01be4461..65247852f9f6 100644
--- a/sw/source/core/inc/layact.hxx
+++ b/sw/source/core/inc/layact.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SfxProgress;
class SwLayAction
{
SwRootFrm *pRoot;
- SwViewImp *pImp; //Hier Meldet sich die Action an und ab.
+ SwViewImp *pImp; //Hier Meldet sich die Action an und ab.
//Zur Optimierung, damit die Tabellen etwas besser am Crsr kleben beim
//Return/Backspace davor.
@@ -74,33 +74,33 @@ class SwLayAction
//hier ein. Die Steuerung der InternalAction kann dann geeignet reagieren.
USHORT nPreInvaPage;
- ULONG nStartTicks; //Startzeitpunkt der Aktion, vergeht zu viel Zeit kann
+ ULONG nStartTicks; //Startzeitpunkt der Aktion, vergeht zu viel Zeit kann
//der WaitCrsr per CheckWaitCrsr() eingeschaltet werden.
- USHORT nInputType; //Bei welchem Input soll die Verarbeitung abgebrochen
+ USHORT nInputType; //Bei welchem Input soll die Verarbeitung abgebrochen
//werden?
- USHORT nEndPage; //StatBar Steuerung.
+ USHORT nEndPage; //StatBar Steuerung.
USHORT nCheckPageNum; //CheckPageDesc() wurde verzoegert wenn != USHRT_MAX
//ab dieser Seite Checken.
- BOOL bPaint; //Painten oder nur Formatieren?
- BOOL bComplete; //Alles bis zum sichtbaren Bereich Formatieren oder
+ BOOL bPaint; //Painten oder nur Formatieren?
+ BOOL bComplete; //Alles bis zum sichtbaren Bereich Formatieren oder
//oder nur den sichtbaren Bereich?
- BOOL bCalcLayout; //Vollstaendige Reformatierung?
- BOOL bAgain; //Zur automatisch wiederholten Action wenn Seiten
+ BOOL bCalcLayout; //Vollstaendige Reformatierung?
+ BOOL bAgain; //Zur automatisch wiederholten Action wenn Seiten
//geloscht werden.
- BOOL bNextCycle; //Wiederaufsetzen bei der ersten Ungueltigen Seite.
- BOOL bInput; //Zum Abbrechen der Verarbeitung wenn ein Input anliegt.
- BOOL bIdle; //True wenn die Layaction vom Idler ausgeloest wurde.
- BOOL bReschedule; //Soll das Reschedule - abhaengig vom Progress -
+ BOOL bNextCycle; //Wiederaufsetzen bei der ersten Ungueltigen Seite.
+ BOOL bInput; //Zum Abbrechen der Verarbeitung wenn ein Input anliegt.
+ BOOL bIdle; //True wenn die Layaction vom Idler ausgeloest wurde.
+ BOOL bReschedule; //Soll das Reschedule - abhaengig vom Progress -
//gerufen werden?
BOOL bCheckPages; //CheckPageDescs() ausfuehren oder verzoegern.
BOOL bUpdateExpFlds;//Wird gesetzt wenn nach dem Formatierien noch eine
//Runde fuer den ExpFld laufen muss.
BOOL bBrowseActionStop; //Action fruehzeitig beenden (per bInput) und den
//Rest dem Idler ueberlassen.
- BOOL bWaitAllowed; //Wartecursor erlaubt?
- BOOL bPaintExtraData; //Anzeige von Zeilennumerierung o. ae. eingeschaltet?
+ BOOL bWaitAllowed; //Wartecursor erlaubt?
+ BOOL bPaintExtraData; //Anzeige von Zeilennumerierung o. ae. eingeschaltet?
BOOL bActionInProgress; // wird in Action() anfangs gesetzt und zum Schluss geloescht
// OD 14.04.2003 #106346# - new flag for content formatting on interrupt.
@@ -140,52 +140,52 @@ public:
~SwLayAction();
#ifdef _LAYACT_CXX
- void SetIdle ( BOOL bNew ) { bIdle = bNew; }
- void SetCheckPages ( BOOL bNew ) { bCheckPages = bNew; }
- void SetBrowseActionStop(BOOL bNew ) { bBrowseActionStop = bNew; }
- void SetNextCycle ( BOOL bNew ) { bNextCycle = bNew; }
-
- BOOL IsWaitAllowed() const { return bWaitAllowed; }
- BOOL IsNextCycle() const { return bNextCycle; }
- BOOL IsInput() const { return bInput; }
- BOOL IsWait() const { return 0 != pWait; }
- BOOL IsPaint() const { return bPaint; }
- BOOL IsIdle() const { return bIdle; }
- BOOL IsReschedule() const { return bReschedule; }
- BOOL IsPaintExtraData() const { return bPaintExtraData;}
+ void SetIdle ( BOOL bNew ) { bIdle = bNew; }
+ void SetCheckPages ( BOOL bNew ) { bCheckPages = bNew; }
+ void SetBrowseActionStop(BOOL bNew ) { bBrowseActionStop = bNew; }
+ void SetNextCycle ( BOOL bNew ) { bNextCycle = bNew; }
+
+ BOOL IsWaitAllowed() const { return bWaitAllowed; }
+ BOOL IsNextCycle() const { return bNextCycle; }
+ BOOL IsInput() const { return bInput; }
+ BOOL IsWait() const { return 0 != pWait; }
+ BOOL IsPaint() const { return bPaint; }
+ BOOL IsIdle() const { return bIdle; }
+ BOOL IsReschedule() const { return bReschedule; }
+ BOOL IsPaintExtraData() const { return bPaintExtraData;}
BOOL IsStopPrt() const;
BOOL IsInterrupt() const { return IsInput() || IsStopPrt(); }
- USHORT GetInputType() const { return nInputType; }
+ USHORT GetInputType() const { return nInputType; }
#endif
//Einstellen der Action auf das gewuenschte Verhalten.
- void SetPaint ( BOOL bNew ) { bPaint = bNew; }
- void SetComplete ( BOOL bNew ) { bComplete = bNew; }
- void SetStatBar ( BOOL bNew );
- void SetInputType ( USHORT nNew ) { nInputType = nNew; }
- void SetCalcLayout ( BOOL bNew ) { bCalcLayout = bNew; }
- void SetReschedule ( BOOL bNew ) { bReschedule = bNew; }
- void SetWaitAllowed ( BOOL bNew ) { bWaitAllowed = bNew; }
-
- void SetAgain() { bAgain = TRUE; }
- void SetUpdateExpFlds() {bUpdateExpFlds = TRUE; }
+ void SetPaint ( BOOL bNew ) { bPaint = bNew; }
+ void SetComplete ( BOOL bNew ) { bComplete = bNew; }
+ void SetStatBar ( BOOL bNew );
+ void SetInputType ( USHORT nNew ) { nInputType = nNew; }
+ void SetCalcLayout ( BOOL bNew ) { bCalcLayout = bNew; }
+ void SetReschedule ( BOOL bNew ) { bReschedule = bNew; }
+ void SetWaitAllowed ( BOOL bNew ) { bWaitAllowed = bNew; }
+
+ void SetAgain() { bAgain = TRUE; }
+ void SetUpdateExpFlds() {bUpdateExpFlds = TRUE; }
void SetProgress(SfxProgress * _pProgress = NULL)
{ pProgress = _pProgress; }
inline void SetCheckPageNum( USHORT nNew );
inline void SetCheckPageNumDirect( USHORT nNew ) { nCheckPageNum = nNew; }
- void Action(); //Jetzt gehts loos...
- void Reset(); //Zurueck auf CTor-Defaults.
+ void Action(); //Jetzt gehts loos...
+ void Reset(); //Zurueck auf CTor-Defaults.
- BOOL IsAgain() const { return bAgain; }
- BOOL IsComplete() const { return bComplete; }
- BOOL IsExpFlds() const { return bUpdateExpFlds; }
+ BOOL IsAgain() const { return bAgain; }
+ BOOL IsComplete() const { return bComplete; }
+ BOOL IsExpFlds() const { return bUpdateExpFlds; }
BOOL IsCalcLayout() const { return bCalcLayout; }
BOOL IsCheckPages() const { return bCheckPages; }
- BOOL IsBrowseActionStop() const { return bBrowseActionStop; }
- BOOL IsActionInProgress() const { return bActionInProgress; }
+ BOOL IsBrowseActionStop() const { return bBrowseActionStop; }
+ BOOL IsActionInProgress() const { return bActionInProgress; }
USHORT GetCheckPageNum() const { return nCheckPageNum; }
@@ -204,11 +204,11 @@ class SwLayIdle
{
SwRootFrm *pRoot;
- SwViewImp *pImp; // Hier Meldet sich der Idler an und ab.
- SwCntntNode *pCntntNode; // Hier wird die aktuelle Cursorposition
- xub_StrLen nTxtPos; // zwischengespeichert.
- BOOL bPageValid; // Konnte die Seite alles validiert werden?
- BOOL bAllValid; // Konnte alles validiert werden?
+ SwViewImp *pImp; // Hier Meldet sich der Idler an und ab.
+ SwCntntNode *pCntntNode; // Hier wird die aktuelle Cursorposition
+ xub_StrLen nTxtPos; // zwischengespeichert.
+ BOOL bPageValid; // Konnte die Seite alles validiert werden?
+ BOOL bAllValid; // Konnte alles validiert werden?
#if OSL_DEBUG_LEVEL > 1
BOOL bIndicator;
@@ -237,6 +237,6 @@ inline void SwLayAction::SetCheckPageNum( USHORT nNew )
nCheckPageNum = nNew;
}
-#endif //_LAYACT_HXX
+#endif //_LAYACT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/laycache.hxx b/sw/source/core/inc/laycache.hxx
index 71a2ec530196..894550be3e29 100644
--- a/sw/source/core/inc/laycache.hxx
+++ b/sw/source/core/inc/laycache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/layfrm.hxx b/sw/source/core/inc/layfrm.hxx
index a832464c1f8d..f4684e56f06d 100644
--- a/sw/source/core/inc/layfrm.hxx
+++ b/sw/source/core/inc/layfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ protected:
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
virtual void MakeAll();
- SwFrm *pLower;
+ SwFrm *pLower;
virtual SwTwips ShrinkFrm( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE );
virtual SwTwips GrowFrm ( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE );
@@ -106,7 +106,7 @@ public:
SwLayoutFrm( SwFrmFmt* );
~SwLayoutFrm();
- virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
+ virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
const SwFrm *Lower() const { return pLower; }
SwFrm *Lower() { return pLower; }
const SwCntntFrm *ContainsCntnt() const;
@@ -125,8 +125,8 @@ public:
BOOL IsAnLower( const SwFrm * ) const;
const SwFrmFmt *GetFmt() const { return (const SwFrmFmt*)GetDep(); }
- SwFrmFmt *GetFmt() { return (SwFrmFmt*)GetDep(); }
- void SetFrmFmt( SwFrmFmt* );
+ SwFrmFmt *GetFmt() { return (SwFrmFmt*)GetDep(); }
+ void SetFrmFmt( SwFrmFmt* );
//Verschieben der Ftns aller Lower - ab dem StartCntnt.
//TRUE wenn mindestens eine Ftn verschoben wurde.
@@ -207,6 +207,6 @@ inline SwFrm* SwLayoutFrm::GetLastLower()
return const_cast<SwFrm*>(static_cast<const SwLayoutFrm*>(this)->GetLastLower());
}
-#endif //_LAYFRM_HXX
+#endif //_LAYFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/layouter.hxx b/sw/source/core/inc/layouter.hxx
index 3c4da1a97046..8e19f9a128bc 100644
--- a/sw/source/core/inc/layouter.hxx
+++ b/sw/source/core/inc/layouter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx b/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
index 6e4f55e228b7..83a594a748ca 100644
--- a/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
+++ b/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/mvsave.hxx b/sw/source/core/inc/mvsave.hxx
index ec9b4dcebbb5..da9a4389d56b 100644
--- a/sw/source/core/inc/mvsave.hxx
+++ b/sw/source/core/inc/mvsave.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +133,15 @@ class SwDataChanged
SwDoc* pDoc;
ULONG nNode;
xub_StrLen nCntnt;
- USHORT nType; // Insert/Move/Delete/... (UndoIds)
+ USHORT nType; // Insert/Move/Delete/... (UndoIds)
public:
SwDataChanged( const SwPaM& rPam, USHORT nType );
SwDataChanged( SwDoc* pDoc, const SwPosition& rPos, USHORT nType );
~SwDataChanged();
- ULONG GetNode() const { return nNode; }
- xub_StrLen GetCntnt() const { return nCntnt; }
+ ULONG GetNode() const { return nNode; }
+ xub_StrLen GetCntnt() const { return nCntnt; }
};
@@ -196,8 +196,8 @@ public:
int operator<( const _ZSortFly& rCmp ) const
{ return nOrdNum < rCmp.nOrdNum; }
- const SwFrmFmt* GetFmt() const { return pFmt; }
- const SwFmtAnchor* GetAnchor() const { return pAnchor; }
+ const SwFrmFmt* GetFmt() const { return pFmt; }
+ const SwFmtAnchor* GetAnchor() const { return pAnchor; }
};
SV_DECL_VARARR_SORT( _ZSortFlys, _ZSortFly, 0, 10 )
@@ -226,6 +226,6 @@ public:
};
-#endif // _MVSAVE_HXX
+#endif // _MVSAVE_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/node2lay.hxx b/sw/source/core/inc/node2lay.hxx
index 4b02278e5a40..c74e8b632502 100644
--- a/sw/source/core/inc/node2lay.hxx
+++ b/sw/source/core/inc/node2lay.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -46,10 +46,10 @@
* je nach Aufgabenstellung.
* Die Aufgabenstellung wird durch die Wahl des Ctors bestimmt.
* 1. Das Einsammeln der UpperFrms, damit spaeter RestoreUpperFrms wird,
- * wird von MakeFrms gerufen, wenn es keinen PrevNext gibt, vor/hinter den
- * die Frames gehaengt werden koennen.
+ * wird von MakeFrms gerufen, wenn es keinen PrevNext gibt, vor/hinter den
+ * die Frames gehaengt werden koennen.
* 2. Die Lieferung der Frames hinter/vor die die neuen Frames eines Nodes
- * gehaengt werden muessen, ebenfalls von MakeFrms gerufen.
+ * gehaengt werden muessen, ebenfalls von MakeFrms gerufen.
* --------------------------------------------------*/
class SwNode2LayImpl;
diff --git a/sw/source/core/inc/noteurl.hxx b/sw/source/core/inc/noteurl.hxx
index 66e5ac515a3e..f07009e2ef18 100644
--- a/sw/source/core/inc/noteurl.hxx
+++ b/sw/source/core/inc/noteurl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
*
************************************************************************/
-#ifndef _NOTEURL_HXX
-#define _NOTEURL_HXX
+#ifndef _NOTEURL_HXX
+#define _NOTEURL_HXX
#include <svl/svarray.hxx>
@@ -46,9 +46,9 @@ public:
SwURLNote( const String& rURL, const String& rTarget, const SwRect& rRect )
: aURL( rURL ), aTarget( rTarget ), aRect( rRect )
{}
- const String& GetURL() const { return aURL; }
- const String& GetTarget() const { return aTarget; }
- const SwRect& GetRect() const { return aRect; }
+ const String& GetURL() const { return aURL; }
+ const String& GetTarget() const { return aTarget; }
+ const SwRect& GetRect() const { return aRect; }
BOOL operator==( const SwURLNote& rSwURLNote ) const
{ return aRect == rSwURLNote.aRect; }
};
diff --git a/sw/source/core/inc/notxtfrm.hxx b/sw/source/core/inc/notxtfrm.hxx
index 4353b90a52f8..394149a5d85f 100644
--- a/sw/source/core/inc/notxtfrm.hxx
+++ b/sw/source/core/inc/notxtfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwNoTxtFrm: public SwCntntFrm
{
friend void _FrmFinit();
- short nWeight; // "Wichtigkeit" der Grafik
+ short nWeight; // "Wichtigkeit" der Grafik
const Size& GetSize() const;
@@ -63,7 +63,7 @@ public:
BOOL GetCrsrOfst(SwPosition* pPos, Point& aPoint,
SwCrsrMoveState* = 0) const;
- const Size &GetGrfSize() const { return GetSize(); }
+ const Size &GetGrfSize() const { return GetSize(); }
void GetGrfArea( SwRect &rRect, SwRect * = 0, BOOL bMirror = TRUE ) const;
BOOL IsTransparent() const;
diff --git a/sw/source/core/inc/objectformatter.hxx b/sw/source/core/inc/objectformatter.hxx
index 551d01f6d10f..6fccce3ef11b 100644
--- a/sw/source/core/inc/objectformatter.hxx
+++ b/sw/source/core/inc/objectformatter.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/observablethread.hxx b/sw/source/core/inc/observablethread.hxx
index e51a06e76420..b2c11c8b2da6 100644
--- a/sw/source/core/inc/observablethread.hxx
+++ b/sw/source/core/inc/observablethread.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/pagefrm.hxx b/sw/source/core/inc/pagefrm.hxx
index 28ec5b7e5bdf..61a4bcdd2d8e 100644
--- a/sw/source/core/inc/pagefrm.hxx
+++ b/sw/source/core/inc/pagefrm.hxx
@@ -67,17 +67,17 @@ class SwPageFrm: public SwFtnBossFrm
// OD 2004-05-07 #i28701# - use <SwSortedObjs>
SwSortedObjs *pSortedObjs;
- SwPageDesc *pDesc; //PageDesc der die Seite beschreibt.
+ SwPageDesc *pDesc; //PageDesc der die Seite beschreibt.
- USHORT nPhyPageNum; //Physikalische Seitennummer.
+ USHORT nPhyPageNum; //Physikalische Seitennummer.
- BOOL bInvalidCntnt :1;
- BOOL bInvalidLayout :1;
- BOOL bInvalidFlyCntnt :1;
- BOOL bInvalidFlyLayout :1;
- BOOL bInvalidFlyInCnt :1;
- BOOL bFtnPage :1; //Diese Seite ist fuer Dokumentende-Fussnoten.
- BOOL bEmptyPage :1; //Dies ist eine explizite Leerseite
+ BOOL bInvalidCntnt :1;
+ BOOL bInvalidLayout :1;
+ BOOL bInvalidFlyCntnt :1;
+ BOOL bInvalidFlyLayout :1;
+ BOOL bInvalidFlyInCnt :1;
+ BOOL bFtnPage :1; //Diese Seite ist fuer Dokumentende-Fussnoten.
+ BOOL bEmptyPage :1; //Dies ist eine explizite Leerseite
BOOL bEndNotePage :1; //'Fussnotenseite' fuer Endnoten
BOOL bInvalidSpelling :1; //Das Online-Spelling ist gefordert
BOOL bInvalidSmartTags :1; //checking for smarttags is needed // SMARTTAGS
@@ -201,7 +201,7 @@ public:
//public, damit die ViewShell beim Umschalten vom BrowseMode darauf
//zugreifen kann.
- void PrepareHeader(); //Kopf-/Fusszeilen anlegen/entfernen.
+ void PrepareHeader(); //Kopf-/Fusszeilen anlegen/entfernen.
void PrepareFooter();
const SwSortedObjs *GetSortedObjs() const { return pSortedObjs; }
@@ -222,7 +222,7 @@ public:
SwPageDesc *FindPageDesc();
SwCntntFrm *FindLastBodyCntnt();
- inline SwCntntFrm *FindFirstBodyCntnt();
+ inline SwCntntFrm *FindFirstBodyCntnt();
inline const SwCntntFrm *FindFirstBodyCntnt() const;
inline const SwCntntFrm *FindLastBodyCntnt() const;
@@ -231,7 +231,7 @@ public:
BOOL IsEmptyPage() const { return bEmptyPage; } //explizite Leerseite.
- void UpdateFtnNum();
+ void UpdateFtnNum();
//Immer nach dem Paste rufen. Erzeugt die Seitengeb. Rahmen und Formatiert
//generischen Inhalt.
@@ -270,33 +270,33 @@ public:
void RefreshSubsidiary( const SwRect& ) const;
//Fussnotenschnittstelle
- BOOL IsFtnPage() const { return bFtnPage; }
- BOOL IsEndNotePage() const { return bEndNotePage; }
- void SetFtnPage( BOOL b ) { bFtnPage = b; }
- void SetEndNotePage( BOOL b ) { bEndNotePage = b; }
+ BOOL IsFtnPage() const { return bFtnPage; }
+ BOOL IsEndNotePage() const { return bEndNotePage; }
+ void SetFtnPage( BOOL b ) { bFtnPage = b; }
+ void SetEndNotePage( BOOL b ) { bEndNotePage = b; }
- inline USHORT GetPhyPageNum() const { return nPhyPageNum;}
- inline void SetPhyPageNum( USHORT nNum ) { nPhyPageNum = nNum;}
- inline void DecrPhyPageNum() { --nPhyPageNum; }
- inline void IncrPhyPageNum() { ++nPhyPageNum; }
+ inline USHORT GetPhyPageNum() const { return nPhyPageNum;}
+ inline void SetPhyPageNum( USHORT nNum ) { nPhyPageNum = nNum;}
+ inline void DecrPhyPageNum() { --nPhyPageNum; }
+ inline void IncrPhyPageNum() { ++nPhyPageNum; }
//Validieren, invalidieren und abfragen des Status der Seite.
//Layout/Cntnt und jeweils Fly/nicht Fly werden getrennt betrachtet.
inline void InvalidateFlyLayout() const;
inline void InvalidateFlyCntnt() const;
inline void InvalidateFlyInCnt() const;
- inline void InvalidateLayout() const;
- inline void InvalidateCntnt() const;
- inline void InvalidateSpelling() const;
+ inline void InvalidateLayout() const;
+ inline void InvalidateCntnt() const;
+ inline void InvalidateSpelling() const;
inline void InvalidateSmartTags() const;
- inline void InvalidateAutoCompleteWords() const;
+ inline void InvalidateAutoCompleteWords() const;
inline void InvalidateWordCount() const;
inline void ValidateFlyLayout() const;
inline void ValidateFlyCntnt() const;
inline void ValidateFlyInCnt() const;
- inline void ValidateLayout() const;
- inline void ValidateCntnt() const;
- inline void ValidateSpelling() const;
+ inline void ValidateLayout() const;
+ inline void ValidateCntnt() const;
+ inline void ValidateSpelling() const;
inline void ValidateSmartTags() const; // SMARTTAGS
inline void ValidateAutoCompleteWords() const;
inline void ValidateWordCount() const;
@@ -446,11 +446,11 @@ inline const SwCntntFrm *SwPageFrm::FindLastBodyCntnt() const
{
return ((SwPageFrm*)this)->FindLastBodyCntnt();
}
-inline void SwPageFrm::InvalidateFlyLayout() const
+inline void SwPageFrm::InvalidateFlyLayout() const
{
((SwPageFrm*)this)->bInvalidFlyLayout = TRUE;
}
-inline void SwPageFrm::InvalidateFlyCntnt() const
+inline void SwPageFrm::InvalidateFlyCntnt() const
{
((SwPageFrm*)this)->bInvalidFlyCntnt = TRUE;
}
@@ -458,15 +458,15 @@ inline void SwPageFrm::InvalidateFlyInCnt() const
{
((SwPageFrm*)this)->bInvalidFlyInCnt = TRUE;
}
-inline void SwPageFrm::InvalidateLayout() const
+inline void SwPageFrm::InvalidateLayout() const
{
((SwPageFrm*)this)->bInvalidLayout = TRUE;
}
-inline void SwPageFrm::InvalidateCntnt() const
+inline void SwPageFrm::InvalidateCntnt() const
{
((SwPageFrm*)this)->bInvalidCntnt = TRUE;
}
-inline void SwPageFrm::InvalidateSpelling() const
+inline void SwPageFrm::InvalidateSpelling() const
{
((SwPageFrm*)this)->bInvalidSpelling = TRUE;
}
@@ -475,7 +475,7 @@ inline void SwPageFrm::InvalidateSmartTags() const
{
((SwPageFrm*)this)->bInvalidSmartTags = TRUE;
}
-inline void SwPageFrm::InvalidateAutoCompleteWords() const
+inline void SwPageFrm::InvalidateAutoCompleteWords() const
{
((SwPageFrm*)this)->bInvalidAutoCmplWrds = TRUE;
}
@@ -483,11 +483,11 @@ inline void SwPageFrm::InvalidateWordCount() const
{
((SwPageFrm*)this)->bInvalidWordCount = TRUE;
}
-inline void SwPageFrm::ValidateFlyLayout() const
+inline void SwPageFrm::ValidateFlyLayout() const
{
((SwPageFrm*)this)->bInvalidFlyLayout = FALSE;
}
-inline void SwPageFrm::ValidateFlyCntnt() const
+inline void SwPageFrm::ValidateFlyCntnt() const
{
((SwPageFrm*)this)->bInvalidFlyCntnt = FALSE;
}
@@ -495,15 +495,15 @@ inline void SwPageFrm::ValidateFlyInCnt() const
{
((SwPageFrm*)this)->bInvalidFlyInCnt = FALSE;
}
-inline void SwPageFrm::ValidateLayout() const
+inline void SwPageFrm::ValidateLayout() const
{
((SwPageFrm*)this)->bInvalidLayout = FALSE;
}
-inline void SwPageFrm::ValidateCntnt() const
+inline void SwPageFrm::ValidateCntnt() const
{
((SwPageFrm*)this)->bInvalidCntnt = FALSE;
}
-inline void SwPageFrm::ValidateSpelling() const
+inline void SwPageFrm::ValidateSpelling() const
{
((SwPageFrm*)this)->bInvalidSpelling = FALSE;
}
@@ -540,6 +540,6 @@ inline BOOL SwPageFrm::IsInvalidFly() const
-#endif //_PAGEFRM_HXX
+#endif //_PAGEFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/pamtyp.hxx b/sw/source/core/inc/pamtyp.hxx
index 9b4367feb4b0..96118218c8ef 100644
--- a/sw/source/core/inc/pamtyp.hxx
+++ b/sw/source/core/inc/pamtyp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ typedef void (SwNodes:: *MvSection)( SwNodeIndex * ) const;
struct SwMoveFnCollection
{
- GoNd fnNd;
- GoNds fnNds;
- GoDoc fnDoc;
+ GoNd fnNd;
+ GoNds fnNds;
+ GoDoc fnDoc;
GoSection fnSections;
- CmpOp fnCmpOp;
+ CmpOp fnCmpOp;
GetHint fnGetHint;
SearchTxt fnSearch;
MvSection fnSection;
diff --git a/sw/source/core/inc/ptqueue.hxx b/sw/source/core/inc/ptqueue.hxx
index 9ef7c2017822..84768311ad91 100644
--- a/sw/source/core/inc/ptqueue.hxx
+++ b/sw/source/core/inc/ptqueue.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/retrievedinputstreamdata.hxx b/sw/source/core/inc/retrievedinputstreamdata.hxx
index 652e14633061..96eec31b72a8 100644
--- a/sw/source/core/inc/retrievedinputstreamdata.hxx
+++ b/sw/source/core/inc/retrievedinputstreamdata.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/retrieveinputstream.hxx b/sw/source/core/inc/retrieveinputstream.hxx
index 29e0fb532bca..eeaae8558a36 100644
--- a/sw/source/core/inc/retrieveinputstream.hxx
+++ b/sw/source/core/inc/retrieveinputstream.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/retrieveinputstreamconsumer.hxx b/sw/source/core/inc/retrieveinputstreamconsumer.hxx
index 8bcd72022345..5c2171c1f1b7 100644
--- a/sw/source/core/inc/retrieveinputstreamconsumer.hxx
+++ b/sw/source/core/inc/retrieveinputstreamconsumer.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/rootfrm.hxx b/sw/source/core/inc/rootfrm.hxx
index 266d669e91cf..2d85886f09fc 100644
--- a/sw/source/core/inc/rootfrm.hxx
+++ b/sw/source/core/inc/rootfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +45,17 @@ class SwSelectionList;
struct SwPosition;
struct SwCrsrMoveState;
-#define HACK_TABLEMODE_INIT 0
-#define HACK_TABLEMODE_LOCKLINES 1
-#define HACK_TABLEMODE_PAINTLINES 2
-#define HACK_TABLEMODE_UNLOCKLINES 3
-#define HACK_TABLEMODE_EXIT 4
-
-#define INV_SIZE 1
-#define INV_PRTAREA 2
-#define INV_POS 4
-#define INV_TABLE 8
-#define INV_SECTION 16
+#define HACK_TABLEMODE_INIT 0
+#define HACK_TABLEMODE_LOCKLINES 1
+#define HACK_TABLEMODE_PAINTLINES 2
+#define HACK_TABLEMODE_UNLOCKLINES 3
+#define HACK_TABLEMODE_EXIT 4
+
+#define INV_SIZE 1
+#define INV_PRTAREA 2
+#define INV_POS 4
+#define INV_TABLE 8
+#define INV_SECTION 16
#define INV_LINENUM 32
#define INV_DIRECTION 64
@@ -70,8 +70,8 @@ class SwRootFrm: public SwLayoutFrm
friend inline void SetLastPage( SwPageFrm* );
// Fuer das Anlegen und Zerstoeren des virtuellen Outputdevice-Managers
- friend void _FrmInit(); //erzeugt pVout
- friend void _FrmFinit(); //loescht pVout
+ friend void _FrmInit(); //erzeugt pVout
+ friend void _FrmFinit(); //loescht pVout
// PAGES01
std::vector<SwRect> maPageRects;// returns the current rectangle for each page frame
@@ -86,20 +86,20 @@ class SwRootFrm: public SwLayoutFrm
bool mbNeedGrammarCheck; // true when sth needs to be checked (not necessarily started yet!)
- static SwLayVout *pVout;
- static BOOL bInPaint; //Schutz gegen doppelte Paints.
- static BOOL bNoVirDev; //Bei SystemPaints kein virt. Device
-
- BOOL bCheckSuperfluous :1; //Leere Seiten suchen?
- BOOL bIdleFormat :1; //Idle-Formatierer anwerfen?
- BOOL bBrowseWidthValid :1; //Ist nBrowseWidth gueltig?
- BOOL bDummy2 :1; //Unbenutzt
- BOOL bTurboAllowed :1;
- BOOL bAssertFlyPages :1; //Ggf. weitere Seiten fuer Flys einfuegen?
- BOOL bDummy :1; //Unbenutzt
- BOOL bIsVirtPageNum :1; //gibt es eine virtuelle Seitennummer ?
- BOOL bIsNewLayout :1; //Layout geladen oder neu erzeugt.
- BOOL bCallbackActionEnabled:1; //Keine Action in Benachrichtung erwuenscht
+ static SwLayVout *pVout;
+ static BOOL bInPaint; //Schutz gegen doppelte Paints.
+ static BOOL bNoVirDev; //Bei SystemPaints kein virt. Device
+
+ BOOL bCheckSuperfluous :1; //Leere Seiten suchen?
+ BOOL bIdleFormat :1; //Idle-Formatierer anwerfen?
+ BOOL bBrowseWidthValid :1; //Ist nBrowseWidth gueltig?
+ BOOL bDummy2 :1; //Unbenutzt
+ BOOL bTurboAllowed :1;
+ BOOL bAssertFlyPages :1; //Ggf. weitere Seiten fuer Flys einfuegen?
+ BOOL bDummy :1; //Unbenutzt
+ BOOL bIsVirtPageNum :1; //gibt es eine virtuelle Seitennummer ?
+ BOOL bIsNewLayout :1; //Layout geladen oder neu erzeugt.
+ BOOL bCallbackActionEnabled:1; //Keine Action in Benachrichtung erwuenscht
//siehe dcontact.cxx, ::Changed()
//Fuer den BrowseMode. nBrowseWidth ist die Aeussere Kante des am weitesten
@@ -148,7 +148,7 @@ class SwRootFrm: public SwLayoutFrm
SwDestroyList* pDestroy;
- USHORT nPhyPageNums; //Anzahl der Seiten.
+ USHORT nPhyPageNums; //Anzahl der Seiten.
sal_uInt16 nAccessibleShells; // Number of accessible shells
void ImplCalcBrowseWidth();
@@ -192,8 +192,8 @@ public:
void UnoRestoreAllActions();
const SdrPage* GetDrawPage() const { return pDrawPage; }
- SdrPage* GetDrawPage() { return pDrawPage; }
- void SetDrawPage( SdrPage* pNew ){ pDrawPage = pNew; }
+ SdrPage* GetDrawPage() { return pDrawPage; }
+ void SetDrawPage( SdrPage* pNew ){ pDrawPage = pNew; }
virtual BOOL GetCrsrOfst( SwPosition *, Point&,
SwCrsrMoveState* = 0 ) const;
@@ -242,20 +242,20 @@ public:
void InvalidateAllObjPos();
//Ueberfluessige Seiten entfernen.
- void SetSuperfluous() { bCheckSuperfluous = TRUE; }
+ void SetSuperfluous() { bCheckSuperfluous = TRUE; }
BOOL IsSuperfluous() const { return bCheckSuperfluous; }
void RemoveSuperfluous();
//abfragen/setzen der aktuellen Seite und der Gesamtzahl der Seiten.
//Es wird soweit wie notwendig Formatiert.
- USHORT GetCurrPage( const SwPaM* ) const;
- USHORT SetCurrPage( SwCursor*, USHORT nPageNum );
- Point GetPagePos( USHORT nPageNum ) const;
- USHORT GetPageNum() const { return nPhyPageNums; }
- void DecrPhyPageNums() { --nPhyPageNums; }
- void IncrPhyPageNums() { ++nPhyPageNums; }
- BOOL IsVirtPageNum() const { return bIsVirtPageNum; }
- inline void SetVirtPageNum( const BOOL bOf ) const;
+ USHORT GetCurrPage( const SwPaM* ) const;
+ USHORT SetCurrPage( SwCursor*, USHORT nPageNum );
+ Point GetPagePos( USHORT nPageNum ) const;
+ USHORT GetPageNum() const { return nPhyPageNums; }
+ void DecrPhyPageNums() { --nPhyPageNums; }
+ void IncrPhyPageNums() { ++nPhyPageNums; }
+ BOOL IsVirtPageNum() const { return bIsVirtPageNum; }
+ inline void SetVirtPageNum( const BOOL bOf ) const;
BOOL IsDummyPage( USHORT nPageNum ) const;
// Point rPt: The point that should be used to find the page
@@ -281,7 +281,7 @@ public:
const SwCntntFrm *GetTurbo() { return pTurbo; }
//Fussnotennummern aller Seiten auf den neuesten Stand bringen.
- void UpdateFtnNums(); //nur bei Seitenweiser Nummerierung!
+ void UpdateFtnNums(); //nur bei Seitenweiser Nummerierung!
//Alle Fussnoten (nicht etwa die Referenzen) entfernen.
void RemoveFtns( SwPageFrm *pPage = 0, BOOL bPageOnly = FALSE,
@@ -289,7 +289,7 @@ public:
void CheckFtnPageDescs( BOOL bEndNote );
const SwPageFrm *GetLastPage() const { return pLastPage; }
- SwPageFrm *GetLastPage() { return pLastPage; }
+ SwPageFrm *GetLastPage() { return pLastPage; }
static BOOL IsInPaint() { return bInPaint; }
@@ -304,7 +304,7 @@ public:
#endif
BOOL IsNewLayout() const { return bIsNewLayout; }
- void ResetNewLayout() { bIsNewLayout = FALSE;}
+ void ResetNewLayout() { bIsNewLayout = FALSE;}
// Hier werden leere SwSectionFrms zur Zerstoerung angemeldet
// und spaeter zerstoert oder wieder abgemeldet
@@ -318,7 +318,7 @@ public:
void SetCallbackActionEnabled( BOOL b ) { bCallbackActionEnabled = b; }
- BOOL IsCallbackActionEnabled() const { return bCallbackActionEnabled; }
+ BOOL IsCallbackActionEnabled() const { return bCallbackActionEnabled; }
sal_Bool IsAnyShellAccessible() const { return nAccessibleShells > 0; }
void AddAccessibleShell() { ++nAccessibleShells; }
@@ -361,11 +361,11 @@ inline void SwRootFrm::InvalidateBrowseWidth()
ImplInvalidateBrowseWidth();
}
-inline void SwRootFrm::SetVirtPageNum( const BOOL bOf) const
+inline void SwRootFrm::SetVirtPageNum( const BOOL bOf) const
{
((SwRootFrm*)this)->bIsVirtPageNum = bOf;
}
-#endif //_ROOTFRM_HXX
+#endif //_ROOTFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/rowfrm.hxx b/sw/source/core/inc/rowfrm.hxx
index 659e3ee6c28d..fbf39a2d99ef 100644
--- a/sw/source/core/inc/rowfrm.hxx
+++ b/sw/source/core/inc/rowfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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:
~SwRowFrm();
virtual void Cut();
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
//Zum Anmelden der Flys nachdem eine Zeile erzeugt _und_ eingefuegt wurde.
//Muss vom Erzeuger gerufen werden, denn erst nach dem Konstruieren wird
diff --git a/sw/source/core/inc/scriptinfo.hxx b/sw/source/core/inc/scriptinfo.hxx
index 71eea577f4e3..5b46b8d078fe 100644
--- a/sw/source/core/inc/scriptinfo.hxx
+++ b/sw/source/core/inc/scriptinfo.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ typedef std::list< xub_StrLen > PositionList;
#define SPACING_PRECISION_FACTOR 100
/*************************************************************************
- * class SwScanner
+ * class SwScanner
* Hilfsklasse, die beim Spellen die Worte im gewuenschten Bereich
* nacheinander zur Verfuegung stellt.
*************************************************************************/
@@ -91,7 +91,7 @@ public:
};
/*************************************************************************
- * class SwScriptInfo
+ * class SwScriptInfo
*
* encapsultes information about script changes
*************************************************************************/
diff --git a/sw/source/core/inc/sectfrm.hxx b/sw/source/core/inc/sectfrm.hxx
index 7cf0b8b43659..16e16c05c558 100644
--- a/sw/source/core/inc/sectfrm.hxx
+++ b/sw/source/core/inc/sectfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ protected:
virtual BOOL ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL bHead, BOOL &rReformat );
virtual void Format( const SwBorderAttrs *pAttrs = 0 );
public:
- SwSectionFrm( SwSection & ); //Inhalt wird nicht erzeugt!
+ SwSectionFrm( SwSection & ); //Inhalt wird nicht erzeugt!
SwSectionFrm( SwSectionFrm &, BOOL bMaster );//_Nur_ zum Erzeugen von Master/Follows
~SwSectionFrm();
@@ -70,18 +70,18 @@ public:
virtual void Cut();
virtual void Paste( SwFrm* pParent, SwFrm* pSibling = 0 );
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
inline const SwSectionFrm *GetFollow() const;
- inline SwSectionFrm *GetFollow();
+ inline SwSectionFrm *GetFollow();
SwSectionFrm* FindMaster() const;
SwCntntFrm *FindLastCntnt( BYTE nMode = 0 );
inline const SwCntntFrm *FindLastCntnt( BYTE nMode = 0 ) const;
inline SwSection* GetSection() { return pSection; }
inline const SwSection* GetSection() const { return pSection; }
- inline void ColLock() { bColLocked = TRUE; }
- inline void ColUnlock() { bColLocked = FALSE; }
+ inline void ColLock() { bColLocked = TRUE; }
+ inline void ColUnlock() { bColLocked = FALSE; }
void CalcFtnCntnt();
void SimpleFormat();
@@ -91,8 +91,8 @@ public:
//Zerlegt den pFrm umgebenden SectionFrm in zwei Teile,
//pFrm an den Anfang des 2. Teils
BOOL SplitSect( SwFrm* pFrm, BOOL bApres );
- void DelEmpty( BOOL bRemove ); // wie Cut(), Follow-Verkettung wird aber mitgepflegt
- BOOL IsToIgnore() const // Keine Groesse, kein Inhalt, muss ignoriert werden
+ void DelEmpty( BOOL bRemove ); // wie Cut(), Follow-Verkettung wird aber mitgepflegt
+ BOOL IsToIgnore() const // Keine Groesse, kein Inhalt, muss ignoriert werden
{ return !Frm().Height() && !ContainsCntnt(); }
SwFtnContFrm* ContainsFtnCont( const SwFtnContFrm* pCont = NULL ) const;
BOOL Growable() const;
@@ -104,7 +104,7 @@ public:
// if bCheckFollow is set.
BOOL ToMaximize( BOOL bCheckFollow ) const;
inline BOOL _ToMaximize() const
- { if( !pSection ) return FALSE; return ToMaximize( FALSE ); }
+ { if( !pSection ) return FALSE; return ToMaximize( FALSE ); }
BOOL MoveAllowed( const SwFrm* ) const;
BOOL CalcMinDiff( SwTwips& rMinDiff ) const;
// Uebergibt man kein bOverSize bzw. FALSE, so ist der Returnwert
@@ -146,6 +146,6 @@ inline const SwCntntFrm *SwSectionFrm::FindLastCntnt( BYTE nMode ) const
}
-#endif //_SECTFRM_HXX
+#endif //_SECTFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/setmapvirtdev.hxx b/sw/source/core/inc/setmapvirtdev.hxx
index c3b6cdf7fea7..6e4b4ed675ee 100644
--- a/sw/source/core/inc/setmapvirtdev.hxx
+++ b/sw/source/core/inc/setmapvirtdev.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/sortedobjs.hxx b/sw/source/core/inc/sortedobjs.hxx
index 7afd6ecb5619..e4fe2713c96a 100644
--- a/sw/source/core/inc/sortedobjs.hxx
+++ b/sw/source/core/inc/sortedobjs.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/sortedobjsimpl.hxx b/sw/source/core/inc/sortedobjsimpl.hxx
index 1b23cd194ac9..e46f2266eba4 100644
--- a/sw/source/core/inc/sortedobjsimpl.hxx
+++ b/sw/source/core/inc/sortedobjsimpl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx
index 4d70cfc75e45..bdc1ccd7af7d 100644
--- a/sw/source/core/inc/swblocks.hxx
+++ b/sw/source/core/inc/swblocks.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwBlockName
{
friend class SwImpBlocks;
friend class Sw2TextBlocks;
- USHORT nHashS, nHashL; // Hash-Codes zum Checken
- long nPos; // Dateiposition (SW2-Format)
+ USHORT nHashS, nHashL; // Hash-Codes zum Checken
+ long nPos; // Dateiposition (SW2-Format)
public:
- String aShort; // Short name
- String aLong; // Long name
- String aPackageName; // Package name
- BOOL bIsOnlyTxtFlagInit : 1; // ist das Flag gueltig?
- BOOL bIsOnlyTxt : 1; // unformatted text
- BOOL bInPutMuchBlocks : 1; // put serveral block entries
+ String aShort; // Short name
+ String aLong; // Long name
+ String aPackageName; // Package name
+ BOOL bIsOnlyTxtFlagInit : 1; // ist das Flag gueltig?
+ BOOL bIsOnlyTxt : 1; // unformatted text
+ BOOL bInPutMuchBlocks : 1; // put serveral block entries
SwBlockName( const String& rShort, const String& rLong, long n );
SwBlockName( const String& rShort, const String& rLong, const String& rPackageName );
@@ -70,48 +70,48 @@ class SwImpBlocks
{
friend class SwTextBlocks;
protected:
- String aFile; // physikalischer Dateiname
- String aName; // logischer Name der Datei
- String aCur; // aktueller Text
- String aShort, aLong; // Kurz- und Langname (PutDoc)
+ String aFile; // physikalischer Dateiname
+ String aName; // logischer Name der Datei
+ String aCur; // aktueller Text
+ String aShort, aLong; // Kurz- und Langname (PutDoc)
String sBaseURL; // base URL - has to be set at the Readers and Writers
- SwBlockNames aNames; // Liste aller Bausteine
- Date aDateModified; // fuers abgleichen bei den Aktionen
+ SwBlockNames aNames; // Liste aller Bausteine
+ Date aDateModified; // fuers abgleichen bei den Aktionen
Time aTimeModified;
- SwDoc* pDoc; // Austauschdokument
- USHORT nCur; // aktueller Index
+ SwDoc* pDoc; // Austauschdokument
+ USHORT nCur; // aktueller Index
BOOL bReadOnly : 1;
- BOOL bInPutMuchBlocks : 1; // put serveral block entries
- BOOL bInfoChanged : 1; // any Info of TextBlock is changed
+ BOOL bInPutMuchBlocks : 1; // put serveral block entries
+ BOOL bInfoChanged : 1; // any Info of TextBlock is changed
SwImpBlocks( const String&, BOOL = FALSE );
virtual ~SwImpBlocks();
static short GetFileType( const String& );
virtual short GetFileType() const = 0;
-#define SWBLK_NO_FILE 0 // nicht da
-#define SWBLK_NONE 1 // keine TB-Datei
-#define SWBLK_SW2 2 // SW2-Datei
-#define SWBLK_SW3 3 // SW3-Datei
-#define SWBLK_XML 4 // XML Block List
-
- virtual void ClearDoc(); // Doc-Inhalt loeschen
- SwPaM* MakePaM(); // PaM ueber Doc aufspannen
+#define SWBLK_NO_FILE 0 // nicht da
+#define SWBLK_NONE 1 // keine TB-Datei
+#define SWBLK_SW2 2 // SW2-Datei
+#define SWBLK_SW3 3 // SW3-Datei
+#define SWBLK_XML 4 // XML Block List
+
+ virtual void ClearDoc(); // Doc-Inhalt loeschen
+ SwPaM* MakePaM(); // PaM ueber Doc aufspannen
virtual void AddName( const String&, const String&, BOOL bOnlyTxt = FALSE );
BOOL IsFileChanged() const;
void Touch();
public:
- static USHORT Hash( const String& ); // Hashcode fuer Blocknamen
- USHORT GetCount() const; // Anzahl Textbausteine ermitteln
- USHORT GetIndex( const String& ) const; // Index fuer Kurznamen ermitteln
- USHORT GetLongIndex( const String& ) const; //Index fuer Langnamen ermitteln
- const String& GetShortName( USHORT ) const; // Kurzname fuer Index zurueck
- const String& GetLongName( USHORT ) const; // Langname fuer Index zurueck
- const String& GetPackageName( USHORT ) const; // Langname fuer Index zurueck
-
- const String& GetFileName() const {return aFile;} // phys. Dateinamen liefern
- void SetName( const String& rName ) // logic name
+ static USHORT Hash( const String& ); // Hashcode fuer Blocknamen
+ USHORT GetCount() const; // Anzahl Textbausteine ermitteln
+ USHORT GetIndex( const String& ) const; // Index fuer Kurznamen ermitteln
+ USHORT GetLongIndex( const String& ) const; //Index fuer Langnamen ermitteln
+ const String& GetShortName( USHORT ) const; // Kurzname fuer Index zurueck
+ const String& GetLongName( USHORT ) const; // Langname fuer Index zurueck
+ const String& GetPackageName( USHORT ) const; // Langname fuer Index zurueck
+
+ const String& GetFileName() const {return aFile;} // phys. Dateinamen liefern
+ void SetName( const String& rName ) // logic name
{ aName = rName; bInfoChanged = TRUE; }
const String & GetName( void )
{ return aName; }
@@ -162,17 +162,17 @@ class SwSwgReader;
class Sw2TextBlocks : public SwImpBlocks
{
- SvPersistRef refPersist; // Fuer OLE-Objekte
- SwSwgReader* pRdr; // Lese-Routinen
- SfxMedium* pMed; // der logische Input-Stream
- String* pText; // String fuer GetText()
- long nDocStart; // Beginn des Doc-Records
- long nDocSize; // Laenge des Doc-Records
- long nStart; // Beginn des CONTENTS-Records
- long nSize; // Laenge des CONTENTS-Records
- USHORT nNamedFmts; // benannte Formate
- USHORT nColls; // Text-Collections
- USHORT nBlks; // Anzahl Elemente im CONTENTS-Record
+ SvPersistRef refPersist; // Fuer OLE-Objekte
+ SwSwgReader* pRdr; // Lese-Routinen
+ SfxMedium* pMed; // der logische Input-Stream
+ String* pText; // String fuer GetText()
+ long nDocStart; // Beginn des Doc-Records
+ long nDocSize; // Laenge des Doc-Records
+ long nStart; // Beginn des CONTENTS-Records
+ long nSize; // Laenge des CONTENTS-Records
+ USHORT nNamedFmts; // benannte Formate
+ USHORT nColls; // Text-Collections
+ USHORT nBlks; // Anzahl Elemente im CONTENTS-Record
public:
Sw2TextBlocks( const String& );
virtual ~Sw2TextBlocks();
@@ -191,7 +191,7 @@ public:
virtual ULONG OpenFile( BOOL bReadOnly = TRUE );
virtual void CloseFile();
- void StatLineStartPercent(); // zum Anzeigen des Prozessbars
+ void StatLineStartPercent(); // zum Anzeigen des Prozessbars
};
class Sw3Io;
@@ -199,9 +199,9 @@ class Sw3IoImp;
class Sw3TextBlocks : public SwImpBlocks
{
- Sw3Io* pIo3;
+ Sw3Io* pIo3;
Sw3IoImp* pImp;
- BOOL bAutocorrBlock;
+ BOOL bAutocorrBlock;
public:
Sw3TextBlocks( const String& );
diff --git a/sw/source/core/inc/swcache.hxx b/sw/source/core/inc/swcache.hxx
index 48cc9ef8a284..56e3b20eadd2 100644
--- a/sw/source/core/inc/swcache.hxx
+++ b/sw/source/core/inc/swcache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,40 +73,40 @@ SV_DECL_PTRARR_DEL(SwCacheObjArr,SwCacheObj*,1,1)
class SwCache : public SwCacheObjArr
{
- SvUShorts aFreePositions; //Freie Positionen fuer das Insert wenn
+ SvUShorts aFreePositions; //Freie Positionen fuer das Insert wenn
//die Maximalgrenze nicht erreicht ist.
//Immer wenn ein Objekt ausgetragen wird,
//so wird seine Position hier eingetragen.
- SwCacheObj *pRealFirst; //_immer_ der echte LRU-erste
- SwCacheObj *pFirst; //der virtuelle erste.
+ SwCacheObj *pRealFirst; //_immer_ der echte LRU-erste
+ SwCacheObj *pFirst; //der virtuelle erste.
SwCacheObj *pLast;
- const USHORT nMax; //Mehr sollen nicht aufgenommen werden,
+ const USHORT nMax; //Mehr sollen nicht aufgenommen werden,
//der Cache kann aber dynamisch um jeweils
//nMax vergroessert werden.
- USHORT nCurMax; //Mehr werden nicht aufgenommen.
+ USHORT nCurMax; //Mehr werden nicht aufgenommen.
void DeleteObj( SwCacheObj *pObj );
#if OSL_DEBUG_LEVEL > 1
ByteString aName;
- long nAppend; //Anzahl der Eintragungen durch Erweiterung.
- long nInsertFree; //Anzahl der Eintragungen auf freie Plaetze.
- long nReplace; //Anzahl der Ersetzungen durch ein neues Objekt
- long nGetSuccess; //Anzahl der Erfolgreichen Get's
- long nGetFail; //Anzahl der nicht Erfolgreichen Get's
- long nToTop; //Anzahl der Umsortierungen (LRU)
- long nDelete; //Anzahl der Loeschungen (von Aussen)
- long nGetSeek; //Anzahl der Get's ohne Index
- long nAverageSeekCnt; //Anzahl der Seek's fuer alle Get's ohne Index
- long nFlushCnt; //Anzahl von Flush-Aufrufen.
- long nFlushedObjects; //Anzahl der wg. Flush vernichteten Objekte
- long nIncreaseMax; //Anzahl Cache-Erweiterungen
- long nDecreaseMax; //Anzahl Cache-Verkleinerungen
-
- void Check(); //Wird bei swcache.cxx mit DEBUG aktiv!
+ long nAppend; //Anzahl der Eintragungen durch Erweiterung.
+ long nInsertFree; //Anzahl der Eintragungen auf freie Plaetze.
+ long nReplace; //Anzahl der Ersetzungen durch ein neues Objekt
+ long nGetSuccess; //Anzahl der Erfolgreichen Get's
+ long nGetFail; //Anzahl der nicht Erfolgreichen Get's
+ long nToTop; //Anzahl der Umsortierungen (LRU)
+ long nDelete; //Anzahl der Loeschungen (von Aussen)
+ long nGetSeek; //Anzahl der Get's ohne Index
+ long nAverageSeekCnt; //Anzahl der Seek's fuer alle Get's ohne Index
+ long nFlushCnt; //Anzahl von Flush-Aufrufen.
+ long nFlushedObjects; //Anzahl der wg. Flush vernichteten Objekte
+ long nIncreaseMax; //Anzahl Cache-Erweiterungen
+ long nDecreaseMax; //Anzahl Cache-Verkleinerungen
+
+ void Check(); //Wird bei swcache.cxx mit DEBUG aktiv!
#endif
public:
@@ -130,9 +130,9 @@ public:
BOOL Insert( SwCacheObj *pNew );
void Delete( const void *pOwner );
-// void Delete( const void *pOwner, const USHORT nIndex );
+// void Delete( const void *pOwner, const USHORT nIndex );
- void SetLRUOfst( const USHORT nOfst ); //nOfst sagt wieviele unangetastet
+ void SetLRUOfst( const USHORT nOfst ); //nOfst sagt wieviele unangetastet
//bleiben sollen.
void ResetLRUOfst() { pFirst = pRealFirst; }
@@ -150,9 +150,9 @@ class SwSaveSetLRUOfst
SwCache &rCache;
public:
SwSaveSetLRUOfst( SwCache &rC, const USHORT nOfst )
- : rCache( rC ) { rCache.SetLRUOfst( nOfst ); }
+ : rCache( rC ) { rCache.SetLRUOfst( nOfst ); }
- ~SwSaveSetLRUOfst() { rCache.ResetLRUOfst(); }
+ ~SwSaveSetLRUOfst() { rCache.ResetLRUOfst(); }
};
//Das allgemeine CacheObjekt. Anwender des Cache muessen eine Klasse vom
@@ -160,18 +160,18 @@ public:
class SwCacheObj
{
- friend class SwCache; //Der darf alles
+ friend class SwCache; //Der darf alles
- SwCacheObj *pNext; //Fuer die LRU-Verkettung.
+ SwCacheObj *pNext; //Fuer die LRU-Verkettung.
SwCacheObj *pPrev;
- USHORT nCachePos; //Position im Cache-Array.
+ USHORT nCachePos; //Position im Cache-Array.
- BYTE nLock;
+ BYTE nLock;
inline SwCacheObj *GetNext() { return pNext; }
inline SwCacheObj *GetPrev() { return pPrev; }
- inline void SetNext( SwCacheObj *pNew ) { pNext = pNew; }
+ inline void SetNext( SwCacheObj *pNew ) { pNext = pNew; }
inline void SetPrev( SwCacheObj *pNew ) { pPrev = pNew; }
inline void SetCachePos( const USHORT nNew ) { nCachePos = nNew; }
@@ -189,7 +189,7 @@ public:
inline BOOL IsOwner( const void *pNew ) const;
inline USHORT GetCachePos() const { return nCachePos; }
- inline void Invalidate() { pOwner = 0; }
+ inline void Invalidate() { pOwner = 0; }
inline BOOL IsLocked() const { return 0 != nLock; }
@@ -223,7 +223,7 @@ class SwCacheAccess
protected:
SwCacheObj *pObj;
- const void *pOwner; //Kann ggf. in NewObj benutzt werden.
+ const void *pOwner; //Kann ggf. in NewObj benutzt werden.
virtual SwCacheObj *NewObj() = 0;
diff --git a/sw/source/core/inc/swfntcch.hxx b/sw/source/core/inc/swfntcch.hxx
index e57b6f7b1a41..beb5f640f178 100644
--- a/sw/source/core/inc/swfntcch.hxx
+++ b/sw/source/core/inc/swfntcch.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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:
virtual ~SwFontObj();
- inline SwFont *GetFont() { return &aSwFont; }
+ inline SwFont *GetFont() { return &aSwFont; }
inline const SwFont *GetFont() const { return &aSwFont; }
inline const SfxPoolItem** GetDefault() { return pDefaultArray; }
};
diff --git a/sw/source/core/inc/swfont.hxx b/sw/source/core/inc/swfont.hxx
index 9e8d2e15fd5b..898f2fbe0ae5 100644
--- a/sw/source/core/inc/swfont.hxx
+++ b/sw/source/core/inc/swfont.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,38 +26,38 @@
*
************************************************************************/
#ifndef _SWFONT_HXX
-#define _SWFONT_HXX
+#define _SWFONT_HXX
#include <i18npool/lang.h>
#include <tools/color.hxx>
#include <tools/stream.hxx>
#include <editeng/svxfont.hxx>
#include <swtypes.hxx>
-#include <drawfont.hxx> // SwDrawTextInfo
+#include <drawfont.hxx> // SwDrawTextInfo
class SfxItemSet;
class SwAttrSet;
-class SwDoCapitals; // DoCapitals
+class SwDoCapitals; // DoCapitals
class SwDrawTextInfo; // _DrawText
class SwScriptInfo; // _GetTxtSize
class ViewShell;
class IDocumentSettingAccess;
-const xub_Unicode CH_BLANK = ' '; // ' ' Leerzeichen
-const xub_Unicode CH_BREAK = 0x0A; //
-const xub_Unicode CH_TAB = '\t'; // \t
-const xub_Unicode CH_PAR = 0xB6; // Paragraph
-const xub_Unicode CH_BULLET = 0xB7; // mittiger Punkt
+const xub_Unicode CH_BLANK = ' '; // ' ' Leerzeichen
+const xub_Unicode CH_BREAK = 0x0A; //
+const xub_Unicode CH_TAB = '\t'; // \t
+const xub_Unicode CH_PAR = 0xB6; // Paragraph
+const xub_Unicode CH_BULLET = 0xB7; // mittiger Punkt
class SwSubFont : public SvxFont
{
friend class SwFont;
- const void *pMagic; // "MagicNumber" innerhalb des Fontcaches
- Size aSize; // Fremde kriegen nur diese Size zu sehen
- USHORT nFntIndex; // Index im Fontcache
- USHORT nOrgHeight; // Hoehe inkl. Escapement/Proportion
- USHORT nOrgAscent; // Ascent inkl. Escapement/Proportion
- USHORT nPropWidth; // proportional width
+ const void *pMagic; // "MagicNumber" innerhalb des Fontcaches
+ Size aSize; // Fremde kriegen nur diese Size zu sehen
+ USHORT nFntIndex; // Index im Fontcache
+ USHORT nOrgHeight; // Hoehe inkl. Escapement/Proportion
+ USHORT nOrgAscent; // Ascent inkl. Escapement/Proportion
+ USHORT nPropWidth; // proportional width
inline SwSubFont() : aSize(0,0)
{ pMagic = NULL; nFntIndex = nOrgHeight = nOrgAscent = 0; nPropWidth =100; }
@@ -131,30 +131,30 @@ public:
class SwFont
{ // CJK == Chinese, Japanese, Korean
// CTL == Complex text layout ( Hebrew, Arabic )
- SwSubFont aSub[SW_SCRIPTS]; // Latin-, CJK- and CTL-font
- Color* pBackColor; // background color (i.e. at character styles)
- Color aUnderColor; // color of the underlining
- Color aOverColor; // color of the overlining
- BYTE nToxCnt; // Zaehlt die Schachtelungstiefe der Tox
- BYTE nRefCnt; // Zaehlt die Schachtelungstiefe der Refs
+ SwSubFont aSub[SW_SCRIPTS]; // Latin-, CJK- and CTL-font
+ Color* pBackColor; // background color (i.e. at character styles)
+ Color aUnderColor; // color of the underlining
+ Color aOverColor; // color of the overlining
+ BYTE nToxCnt; // Zaehlt die Schachtelungstiefe der Tox
+ BYTE nRefCnt; // Zaehlt die Schachtelungstiefe der Refs
BYTE m_nMetaCount; // count META/METAFIELD
- BYTE nActual; // actual font (Latin, CJK or CTL)
+ BYTE nActual; // actual font (Latin, CJK or CTL)
// Schalter fuer die Font-Extensions
- BOOL bNoHyph :1; // SwTxtNoHyphenHere: keine Trennstelle
- BOOL bBlink :1; // blinkender Font
+ BOOL bNoHyph :1; // SwTxtNoHyphenHere: keine Trennstelle
+ BOOL bBlink :1; // blinkender Font
BOOL bPaintBlank :1; // Blanks nicht mit DrawRect
- BOOL bFntChg :1;
- BOOL bOrgChg :1; // nOrgHeight/Ascent sind invalid
- BOOL bURL :1;
- BOOL bPaintWrong :1; // Flag fuer Rechtschreibfehler
- BOOL bGreyWave :1; // Fuers extended TextInput: Graue Wellenlinie
+ BOOL bFntChg :1;
+ BOOL bOrgChg :1; // nOrgHeight/Ascent sind invalid
+ BOOL bURL :1;
+ BOOL bPaintWrong :1; // Flag fuer Rechtschreibfehler
+ BOOL bGreyWave :1; // Fuers extended TextInput: Graue Wellenlinie
BOOL bNoColReplace :1; // Replacement without colormanipulation
BOOL operator==( const SwFont &rFnt ) const;
protected:
- inline SwFont() { pBackColor = NULL; nActual = SW_LATIN; }
+ inline SwFont() { pBackColor = NULL; nActual = SW_LATIN; }
public:
SwFont( const SwAttrSet* pSet, const IDocumentSettingAccess* pIDocumentSettingAccess );
@@ -167,7 +167,7 @@ public:
SwFont& operator=( const SwFont &rFont );
- inline BYTE GetActual() const { return nActual; }
+ inline BYTE GetActual() const { return nActual; }
inline void SetActual( BYTE nNew );
inline const SvxFont& GetActualFont() const { return aSub[nActual]; }
@@ -287,7 +287,7 @@ public:
const XubString& GetStyleName() const {return aSub[nActual].GetStyleName();}
FontFamily GetFamily() const { return aSub[nActual].GetFamily(); }
FontPitch GetPitch() const { return aSub[nActual].GetPitch(); }
- rtl_TextEncoding GetCharSet() const { return aSub[nActual].GetCharSet(); }
+ rtl_TextEncoding GetCharSet() const { return aSub[nActual].GetCharSet(); }
long GetHeight() const { return aSub[nActual].GetSize().Height(); }
FontWeight GetWeight() const { return aSub[nActual].GetWeight(); }
FontEmphasisMark GetEmphasisMark() const
@@ -841,7 +841,7 @@ public:
/*************************************************************************
- * class SvStatistics
+ * class SvStatistics
*************************************************************************/
#if OSL_DEBUG_LEVEL > 1
@@ -882,17 +882,17 @@ inline void SvStatistics::PrintOn( SvStream &rOS ) const //$ ostream
if( IsEmpty() )
return;
- rOS << "{ SV called:" << '\n';
+ rOS << "{ SV called:" << '\n';
if( nGetTextSize )
- rOS << "\tnGetTextSize: " << nGetTextSize << '\n'; if( nDrawText )
- rOS << "\tnDrawText: " << nDrawText << '\n'; if( nGetStretchTextSize )
- rOS << "\tnGetStretchTextSize: " << nGetStretchTextSize << '\n'; if( nDrawStretchText )
- rOS << "\tnDrawStretchText: " << nDrawStretchText << '\n'; if( nChangeFont )
- rOS << "\tnChangeFont: " << nChangeFont << '\n'; if( nGetFontMetric )
- rOS << "\tnGetFontMetric: " << nGetFontMetric << '\n'; rOS << "}" << '\n'; }
+ rOS << "\tnGetTextSize: " << nGetTextSize << '\n'; if( nDrawText )
+ rOS << "\tnDrawText: " << nDrawText << '\n'; if( nGetStretchTextSize )
+ rOS << "\tnGetStretchTextSize: " << nGetStretchTextSize << '\n'; if( nDrawStretchText )
+ rOS << "\tnDrawStretchText: " << nDrawStretchText << '\n'; if( nChangeFont )
+ rOS << "\tnChangeFont: " << nChangeFont << '\n'; if( nGetFontMetric )
+ rOS << "\tnGetFontMetric: " << nGetFontMetric << '\n'; rOS << "}" << '\n'; }
#else
#define SV_STAT(nWhich)
-#endif /* DEBUG */
+#endif /* DEBUG */
#endif
diff --git a/sw/source/core/inc/swselectionlist.hxx b/sw/source/core/inc/swselectionlist.hxx
index a3deb52ce66f..0263d658cccc 100644
--- a/sw/source/core/inc/swselectionlist.hxx
+++ b/sw/source/core/inc/swselectionlist.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwFrm;
/** This class is used as parameter for creation of a block cursor selection
- This class will be created by a block cursor. Its responsibility is
+ This class will be created by a block cursor. Its responsibility is
to collect a group of selected text portions which are part of a common
context.
Definition of context:
@@ -95,6 +95,6 @@ public:
bool checkContext( const SwFrm* pCheck );
};
-#endif //_SWSELECTIONLIST_HXX
+#endif //_SWSELECTIONLIST_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/swthreadjoiner.hxx b/sw/source/core/inc/swthreadjoiner.hxx
index e997e6dadc26..950479f865af 100644
--- a/sw/source/core/inc/swthreadjoiner.hxx
+++ b/sw/source/core/inc/swthreadjoiner.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/swthreadmanager.hxx b/sw/source/core/inc/swthreadmanager.hxx
index 57f8ba4497d2..21db2cccc5e2 100644
--- a/sw/source/core/inc/swthreadmanager.hxx
+++ b/sw/source/core/inc/swthreadmanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/tabfrm.hxx b/sw/source/core/inc/tabfrm.hxx
index 3ec749617aba..fda31c5f3b4e 100644
--- a/sw/source/core/inc/tabfrm.hxx
+++ b/sw/source/core/inc/tabfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +48,19 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm
SwTable* pTable;
- BOOL bComplete :1; //Eintrage als Repaint ohne das CompletePaint
+ BOOL bComplete :1; //Eintrage als Repaint ohne das CompletePaint
//der Basisklasse gesetzt werden muss. Damit
//sollen unertraegliche Tabellen-Repaints
//vermieden werden.
- BOOL bCalcLowers :1; //Im MakeAll auf jedenfall auch fuer Stabilitaet
+ BOOL bCalcLowers :1; //Im MakeAll auf jedenfall auch fuer Stabilitaet
//des Inhaltes sorgen.
- BOOL bLowersFormatted :1;//Kommunikation zwischen MakeAll und Layact
- BOOL bLockBackMove :1; //BackMove-Test hat der Master erledigt.
- BOOL bResizeHTMLTable :1; //Resize des HTMLTableLayout rufen im MakeAll
+ BOOL bLowersFormatted :1;//Kommunikation zwischen MakeAll und Layact
+ BOOL bLockBackMove :1; //BackMove-Test hat der Master erledigt.
+ BOOL bResizeHTMLTable :1; //Resize des HTMLTableLayout rufen im MakeAll
//Zur Optimierung, damit dies nicht im
//CntntFrm::Grow gerufen werden muss, denn dann
//wird es ggf. fuer jede Zelle gerufen #47483#
- BOOL bONECalcLowers :1; //Primaer fuer die StarONE-SS. Beim MakeAll werden
+ BOOL bONECalcLowers :1; //Primaer fuer die StarONE-SS. Beim MakeAll werden
//die Cntnts auf jedenfall per Calc() formatiert.
//es finden keine zusaetzlichen Invalidierungen
//statt und dieser Weg kann auch kaum garantien
@@ -114,21 +114,21 @@ protected:
//Aendert nur die Framesize, nicht die PrtArea-SSize
virtual SwTwips GrowFrm ( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE );
public:
- SwTabFrm( SwTable & ); //Immer nach dem erzeugen _und_ pasten das
+ SwTabFrm( SwTable & ); //Immer nach dem erzeugen _und_ pasten das
//Regist Flys rufen!
- SwTabFrm( SwTabFrm & ); //_Nur_ zum erzeugen von Follows
+ SwTabFrm( SwTabFrm & ); //_Nur_ zum erzeugen von Follows
~SwTabFrm();
- void JoinAndDelFollows(); //Fuer DelFrms des TableNodes!
+ void JoinAndDelFollows(); //Fuer DelFrms des TableNodes!
//Ruft das RegistFlys der Zeilen.
void RegistFlys();
inline const SwTabFrm *GetFollow() const;
- inline SwTabFrm *GetFollow();
+ inline SwTabFrm *GetFollow();
SwTabFrm* FindMaster( bool bFirstMaster = false ) const;
- virtual void Modify( SfxPoolItem*, SfxPoolItem* );
+ virtual void Modify( SfxPoolItem*, SfxPoolItem* );
virtual BOOL GetInfo( SfxPoolItem &rHnt ) const;
virtual void Paint( const SwRect&, const SwPrtOptions *pPrintData = NULL ) const;
virtual void CheckDirection( BOOL bVert );
@@ -143,18 +143,18 @@ public:
inline const SwCntntFrm *FindLastCntnt() const;
const SwTable *GetTable() const { return pTable; }
- SwTable *GetTable() { return pTable; }
+ SwTable *GetTable() { return pTable; }
BOOL IsComplete() { return bComplete; }
void SetComplete() { bComplete = TRUE; }
void ResetComplete() { bComplete = FALSE; }
- BOOL IsLowersFormatted() const { return bLowersFormatted; }
- void SetLowersFormatted( BOOL b ) { bLowersFormatted = b; }
+ BOOL IsLowersFormatted() const { return bLowersFormatted; }
+ void SetLowersFormatted( BOOL b ) { bLowersFormatted = b; }
- void SetCalcLowers() { bCalcLowers = TRUE; } //Sparsam einsetzen!
+ void SetCalcLowers() { bCalcLowers = TRUE; } //Sparsam einsetzen!
void SetResizeHTMLTable() { bResizeHTMLTable = TRUE; } //dito
- void SetONECalcLowers() { bONECalcLowers = TRUE; }
+ void SetONECalcLowers() { bONECalcLowers = TRUE; }
//
// Start: New stuff for breaking table rows
@@ -231,6 +231,6 @@ inline SwTabFrm *SwTabFrm::GetFollow()
return (SwTabFrm*)SwFlowFrm::GetFollow();
}
-#endif //_TABFRM_HXX
+#endif //_TABFRM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/tblrwcl.hxx b/sw/source/core/inc/tblrwcl.hxx
index d4dae4dc4435..d558c1547e1d 100644
--- a/sw/source/core/inc/tblrwcl.hxx
+++ b/sw/source/core/inc/tblrwcl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ public:
const SwTableBox* GetBoxOfPos( const SwTableBox& rBox );
void AddToUndoHistory( const SwCntntNode& rNd );
- USHORT Count() const { return aBoxes.Count(); }
+ USHORT Count() const { return aBoxes.Count(); }
const SwTableBox& GetBox( USHORT nPos, USHORT* pWidth = 0 ) const
{
// hier wird die EndPos der Spalte benoetigt!
@@ -115,11 +115,11 @@ public:
return *aBoxes[ nPos ];
}
- BOOL IsGetFromTop() const { return bGetFromTop; }
- BOOL IsGetValues() const { return bGetValues; }
+ BOOL IsGetFromTop() const { return bGetFromTop; }
+ BOOL IsGetValues() const { return bGetValues; }
- USHORT GetMode() const { return nMode; }
- void SetValues( BOOL bFlag ) { bGetValues = FALSE; nWidth = 0;
+ USHORT GetMode() const { return nMode; }
+ void SetValues( BOOL bFlag ) { bGetValues = FALSE; nWidth = 0;
bGetFromTop = bFlag; }
BOOL Resize( USHORT nOffset, USHORT nWidth );
};
diff --git a/sw/source/core/inc/textapi.hxx b/sw/source/core/inc/textapi.hxx
index 5692c7ae3c7f..ddcc5daeb63c 100644
--- a/sw/source/core/inc/textapi.hxx
+++ b/sw/source/core/inc/textapi.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,20 +41,20 @@ class SwTextAPIEditSource : public SvxEditSource
{
SwTextAPIEditSource_Impl* pImpl;
- virtual SvxEditSource* Clone() const;
- virtual SvxTextForwarder* GetTextForwarder();
- virtual void UpdateData();
- explicit SwTextAPIEditSource( const SwTextAPIEditSource& rSource );
+ virtual SvxEditSource* Clone() const;
+ virtual SvxTextForwarder* GetTextForwarder();
+ virtual void UpdateData();
+ explicit SwTextAPIEditSource( const SwTextAPIEditSource& rSource );
public:
SwTextAPIEditSource(SwDoc* pDoc);
- virtual ~SwTextAPIEditSource();
+ virtual ~SwTextAPIEditSource();
- void Dispose();
- void SetText( OutlinerParaObject& rText );
- void SetString( const String& rText );
+ void Dispose();
+ void SetText( OutlinerParaObject& rText );
+ void SetString( const String& rText );
OutlinerParaObject* CreateText();
- String GetText();
+ String GetText();
};
class SwTextAPIObject : public SvxUnoText
@@ -62,12 +62,12 @@ class SwTextAPIObject : public SvxUnoText
SwTextAPIEditSource* pSource;
public:
SwTextAPIObject( SwTextAPIEditSource* p);
- virtual ~SwTextAPIObject() throw();
- void DisposeEditSource() { pSource->Dispose(); }
+ virtual ~SwTextAPIObject() throw();
+ void DisposeEditSource() { pSource->Dispose(); }
OutlinerParaObject* CreateText() { return pSource->CreateText(); }
- void SetString( const String& rText ) { pSource->SetString( rText ); }
- void SetText( OutlinerParaObject& rText ) { pSource->SetText( rText ); }
- String GetText() { return pSource->GetText(); }
+ void SetString( const String& rText ) { pSource->SetString( rText ); }
+ void SetText( OutlinerParaObject& rText ) { pSource->SetText( rText ); }
+ String GetText() { return pSource->GetText(); }
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/threadlistener.hxx b/sw/source/core/inc/threadlistener.hxx
index f6bc5edf8895..8100353bef3c 100644
--- a/sw/source/core/inc/threadlistener.hxx
+++ b/sw/source/core/inc/threadlistener.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/threadmanager.hxx b/sw/source/core/inc/threadmanager.hxx
index 53ea5f7c689f..326447b3bd5f 100644
--- a/sw/source/core/inc/threadmanager.hxx
+++ b/sw/source/core/inc/threadmanager.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/tocntntanchoredobjectposition.hxx b/sw/source/core/inc/tocntntanchoredobjectposition.hxx
index 38ced251596b..32a632110514 100644
--- a/sw/source/core/inc/tocntntanchoredobjectposition.hxx
+++ b/sw/source/core/inc/tocntntanchoredobjectposition.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/tolayoutanchoredobjectposition.hxx b/sw/source/core/inc/tolayoutanchoredobjectposition.hxx
index 20f942b708a3..9f8001028bba 100644
--- a/sw/source/core/inc/tolayoutanchoredobjectposition.hxx
+++ b/sw/source/core/inc/tolayoutanchoredobjectposition.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/toxhlp.hxx b/sw/source/core/inc/toxhlp.hxx
index d3739196ddcd..c6e1c0d3746e 100644
--- a/sw/source/core/inc/toxhlp.hxx
+++ b/sw/source/core/inc/toxhlp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/txmsrt.hxx b/sw/source/core/inc/txmsrt.hxx
index dc65ace860f8..f6459b4b55fd 100644
--- a/sw/source/core/inc/txmsrt.hxx
+++ b/sw/source/core/inc/txmsrt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +137,15 @@ struct SwTOXSortTabBase
const ::com::sun::star::lang::Locale* pLocale = NULL );
virtual ~SwTOXSortTabBase() {}
- USHORT GetType() const { return nType; }
- USHORT GetOptions() const { return nOpt; }
+ USHORT GetType() const { return nType; }
+ USHORT GetOptions() const { return nOpt; }
- virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0) const;
- virtual USHORT GetLevel() const = 0;
- virtual BOOL operator==( const SwTOXSortTabBase& );
- virtual BOOL operator<( const SwTOXSortTabBase& );
+ virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0) const;
+ virtual USHORT GetLevel() const = 0;
+ virtual BOOL operator==( const SwTOXSortTabBase& );
+ virtual BOOL operator<( const SwTOXSortTabBase& );
- virtual String GetURL() const;
+ virtual String GetURL() const;
inline void GetTxt( String&, String& ) const;
inline const ::com::sun::star::lang::Locale& GetLocale() const;
@@ -189,15 +189,15 @@ struct SwTOXIndex : public SwTOXSortTabBase
virtual ~SwTOXIndex() {}
- virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
+ virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
virtual USHORT GetLevel() const;
- virtual BOOL operator==( const SwTOXSortTabBase& );
- virtual BOOL operator<( const SwTOXSortTabBase& );
+ virtual BOOL operator==( const SwTOXSortTabBase& );
+ virtual BOOL operator<( const SwTOXSortTabBase& );
private:
virtual void _GetText( String&, String& );
- BYTE nKeyLevel;
+ BYTE nKeyLevel;
};
struct SwTOXCustom : public SwTOXSortTabBase
@@ -229,7 +229,7 @@ struct SwTOXContent : public SwTOXSortTabBase
const SwTOXInternational& rIntl );
virtual ~SwTOXContent() {}
- virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
+ virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
virtual USHORT GetLevel() const;
private:
virtual void _GetText( String&, String& );
@@ -241,13 +241,13 @@ struct SwTOXPara : public SwTOXSortTabBase
SwTOXPara( const SwCntntNode&, SwTOXElement, USHORT nLevel = FORM_ALPHA_DELIMITTER );
virtual ~SwTOXPara() {}
- void SetStartIndex( xub_StrLen nSet) { nStartIndex = nSet;}
- void SetEndIndex( xub_StrLen nSet ) { nEndIndex = nSet;}
+ void SetStartIndex( xub_StrLen nSet) { nStartIndex = nSet;}
+ void SetEndIndex( xub_StrLen nSet ) { nEndIndex = nSet;}
- virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
+ virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
virtual USHORT GetLevel() const;
- virtual String GetURL() const;
+ virtual String GetURL() const;
private:
virtual void _GetText( String&, String& );
@@ -262,11 +262,11 @@ struct SwTOXTable : public SwTOXSortTabBase
SwTOXTable( const SwCntntNode& rNd );
virtual ~SwTOXTable() {}
- void SetLevel(USHORT nSet){nLevel = nSet;}
+ void SetLevel(USHORT nSet){nLevel = nSet;}
virtual USHORT GetLevel() const;
- virtual String GetURL() const;
+ virtual String GetURL() const;
private:
virtual void _GetText( String&, String& );
@@ -277,7 +277,7 @@ struct SwTOXAuthority : public SwTOXSortTabBase
{
private:
SwFmtFld& m_rField;
- virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
+ virtual void FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT nAuthField = 0 ) const;
virtual void _GetText( String&, String& );
public:
@@ -286,8 +286,8 @@ public:
SwFmtFld& GetFldFmt() {return m_rField;}
- virtual BOOL operator==( const SwTOXSortTabBase& );
- virtual BOOL operator<( const SwTOXSortTabBase& );
+ virtual BOOL operator==( const SwTOXSortTabBase& );
+ virtual BOOL operator<( const SwTOXSortTabBase& );
virtual USHORT GetLevel() const;
};
diff --git a/sw/source/core/inc/txtfrm.hxx b/sw/source/core/inc/txtfrm.hxx
index 3ff4c6d47332..475278a0833f 100644
--- a/sw/source/core/inc/txtfrm.hxx
+++ b/sw/source/core/inc/txtfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwParaPortion;
class WidowsAndOrphans;
class SwBodyFrm;
class SwTxtFtn;
-class SwInterHyphInfo; // Hyphenate()
+class SwInterHyphInfo; // Hyphenate()
class SwCache;
class SwBorderAttrs;
class SwFrmFmt;
@@ -65,15 +65,15 @@ class SwTxtFrm: public SwCntntFrm
friend class SwTxtIter;
friend class SwTestFormat;
friend class WidowsAndOrphans;
- friend class SwTxtFrmLocker; // duerfen Lock()/Unlock()
+ friend class SwTxtFrmLocker; // duerfen Lock()/Unlock()
friend sal_Bool lcl_ChangeOffset( SwTxtFrm* pFrm, USHORT nNew );
- static SwCache *pTxtCache; //Pointer auf den Line-Cache
- static long nMinPrtLine; //Diese Linie darf beim Drucken nicht
+ static SwCache *pTxtCache; //Pointer auf den Line-Cache
+ static long nMinPrtLine; //Diese Linie darf beim Drucken nicht
//unterschritten werden, Hack fuer Tabellenzellen ueber mehrere Seiten
- ULONG nAllLines :24;//Anzahl der Zeilen fuer das Paint (inkl. nThisLines)
- ULONG nThisLines :8; //Anzahl der Zeilen dieses Frames
+ ULONG nAllLines :24;//Anzahl der Zeilen fuer das Paint (inkl. nThisLines)
+ ULONG nThisLines :8; //Anzahl der Zeilen dieses Frames
// The x position for flys anchored at this paragraph.
// These values are calculated in SwTxtFrm::CalcBaseOfstForFly()
@@ -93,9 +93,9 @@ class SwTxtFrm: public SwCntntFrm
// <--
- xub_StrLen nOfst; //nOfst gibt den Offset im Cntnt (Anzahl Zeichen) an.
+ xub_StrLen nOfst; //nOfst gibt den Offset im Cntnt (Anzahl Zeichen) an.
- USHORT nCacheIdx; //Index in den Cache, USHRT_MAX wenn definitiv
+ USHORT nCacheIdx; //Index in den Cache, USHRT_MAX wenn definitiv
//kein passendes Objekt im Cache steht.
//Teilt den Master ab und erzeugt einen Follow oder passt die
@@ -109,7 +109,7 @@ class SwTxtFrm: public SwCntntFrm
//entsprechend dem Attribut ein.
void CalcLineSpace();
- void InitCtor(); // Wird in beiden Ctoren gerufen
+ void InitCtor(); // Wird in beiden Ctoren gerufen
// Wird nur in Format gerufen:
void AdjustFrm( const SwTwips nChgHeight, sal_Bool bHasToFit = sal_False );
@@ -124,17 +124,17 @@ class SwTxtFrm: public SwCntntFrm
void FormatAdjust( SwTxtFormatter &rLine, WidowsAndOrphans &rFrmBreak,
const xub_StrLen nStrLen, const sal_Bool bDummy );
- sal_Bool bLocked : 1; // im Format?
- sal_Bool bFormatted : 1; // nach Format auf sal_True
- sal_Bool bWidow : 1; // sind wir ein Widow
- sal_Bool bJustWidow : 1; // haben wir soeben Widow angefordert
- sal_Bool bEmpty : 1; // sind wir ein leerer Absatz
- sal_Bool bInFtnConnect : 1; // Steht gerade im Connect
- sal_Bool bFtn : 1; // Hat mindestens eine Fussnote
- sal_Bool bRepaint : 1; // TxtFrm: Repaint steht zur Abholung bereit
- sal_Bool bBlinkPor : 1; // enthaelt Blink-Portions
- sal_Bool bFieldFollow : 1; // beginne mit Feldrest des Masters
- sal_Bool bHasAnimation : 1; // enthaelt animierte SwGrfNumPortion
+ sal_Bool bLocked : 1; // im Format?
+ sal_Bool bFormatted : 1; // nach Format auf sal_True
+ sal_Bool bWidow : 1; // sind wir ein Widow
+ sal_Bool bJustWidow : 1; // haben wir soeben Widow angefordert
+ sal_Bool bEmpty : 1; // sind wir ein leerer Absatz
+ sal_Bool bInFtnConnect : 1; // Steht gerade im Connect
+ sal_Bool bFtn : 1; // Hat mindestens eine Fussnote
+ sal_Bool bRepaint : 1; // TxtFrm: Repaint steht zur Abholung bereit
+ sal_Bool bBlinkPor : 1; // enthaelt Blink-Portions
+ sal_Bool bFieldFollow : 1; // beginne mit Feldrest des Masters
+ sal_Bool bHasAnimation : 1; // enthaelt animierte SwGrfNumPortion
sal_Bool bIsSwapped : 1; // during text formatting we swap the
// width and height for vertical formatting
// OD 14.03.2003 #i11760# - flag to control, if follow is formatted in
@@ -288,7 +288,7 @@ public:
// GetKeyCrsrOfst sorgt dafuer, dass der Frame nicht gewechselt wird
// (z.B. Wechsel in den zeichengebundenen Frame).
- inline sal_Bool GetKeyCrsrOfst(SwPosition *pPos, const Point &rPoint ) const
+ inline sal_Bool GetKeyCrsrOfst(SwPosition *pPos, const Point &rPoint ) const
{ return _GetCrsrOfst( pPos, rPoint, sal_False ); }
void PaintExtraData( const SwRect & rRect ) const; //Seitennummer usw.
@@ -319,10 +319,10 @@ public:
// Methoden zur Verwaltung von FolgeFrames
SwCntntFrm *SplitFrm( const xub_StrLen nTxtPos );
SwCntntFrm *JoinFrm();
- inline USHORT GetOfst() const { return nOfst; }
- void _SetOfst( const USHORT nNewOfst );
- inline void SetOfst ( const USHORT nNewOfst );
- inline void ManipOfst ( const USHORT nNewOfst ){ nOfst = nNewOfst; }
+ inline USHORT GetOfst() const { return nOfst; }
+ void _SetOfst( const USHORT nNewOfst );
+ inline void SetOfst ( const USHORT nNewOfst );
+ inline void ManipOfst ( const USHORT nNewOfst ){ nOfst = nNewOfst; }
SwTxtFrm *GetFrmAtPos ( const SwPosition &rPos);
inline const SwTxtFrm *GetFrmAtPos ( const SwPosition &rPos) const;
// OD 07.10.2003 #110978# - return <reference> instead of <pointer>
@@ -379,13 +379,13 @@ public:
DECL_FIXEDMEMPOOL_NEWDEL(SwTxtFrm)
// Locking
- inline sal_Bool IsLocked() const { return bLocked; }
- inline sal_Bool IsFormatted() const { return bFormatted; }
+ inline sal_Bool IsLocked() const { return bLocked; }
+ inline sal_Bool IsFormatted() const { return bFormatted; }
- inline sal_Bool IsWidow() const { return bWidow; }
- inline sal_Bool IsJustWidow() const { return bJustWidow; }
- inline sal_Bool IsEmpty() const { return bEmpty; }
- inline sal_Bool HasFtn() const { return bFtn; }
+ inline sal_Bool IsWidow() const { return bWidow; }
+ inline sal_Bool IsJustWidow() const { return bJustWidow; }
+ inline sal_Bool IsEmpty() const { return bEmpty; }
+ inline sal_Bool HasFtn() const { return bFtn; }
inline sal_Bool IsInFtnConnect()const { return bInFtnConnect;}
inline sal_Bool IsFieldFollow() const { return bFieldFollow;}
@@ -409,8 +409,8 @@ public:
#endif
// Hidden
- sal_Bool IsHiddenNow() const; // bHidden && pOut == pPrt
- void HideHidden(); // Anhaengsel entfernen wenn Hidden
+ sal_Bool IsHiddenNow() const; // bHidden && pOut == pPrt
+ void HideHidden(); // Anhaengsel entfernen wenn Hidden
void HideFootnotes( xub_StrLen nStart, xub_StrLen nEnd );
/** method to hide/show objects
@@ -451,7 +451,7 @@ public:
// Liefert die Resthoehe zurueck
inline SwTwips GetRstHeight() const;
- inline SwTxtFrm *GetFollow();
+ inline SwTxtFrm *GetFollow();
inline const SwTxtFrm *GetFollow() const;
// Suche die Seitennummer von ErgoSum und QuoVadis
@@ -478,13 +478,13 @@ public:
{ return HasPara() ? _GetDropRect( rRect ) : sal_False; }
static SwCache *GetTxtCache() { return pTxtCache; }
- static void SetTxtCache( SwCache *pNew ) { pTxtCache = pNew; }
+ static void SetTxtCache( SwCache *pNew ) { pTxtCache = pNew; }
static long GetMinPrtLine() { return nMinPrtLine; }
- static void SetMinPrtLine( long nNew ) { nMinPrtLine = nNew; }
+ static void SetMinPrtLine( long nNew ) { nMinPrtLine = nNew; }
inline USHORT GetCacheIdx() const { return nCacheIdx; }
- inline void SetCacheIdx( const USHORT nNew ) { nCacheIdx = nNew; }
+ inline void SetCacheIdx( const USHORT nNew ) { nCacheIdx = nNew; }
//Entfert die Line-Informationen aus dem Cache.
void ClearPara();
@@ -534,7 +534,7 @@ public:
sal_Bool FillRegister( SwTwips& rRegStart, USHORT& rRegDiff );
- USHORT GetLineCount( USHORT nPos ); //Ermittelt die Zeilenanzahl
+ USHORT GetLineCount( USHORT nPos ); //Ermittelt die Zeilenanzahl
//Fuer die Anzeige der Zeilennummern.
ULONG GetAllLines() const { return nAllLines; }
@@ -617,7 +617,7 @@ public:
};
/*************************************************************************
- * class SwTxtFrmLocker
+ * class SwTxtFrmLocker
*************************************************************************/
class SwTxtFrmLocker
@@ -632,7 +632,7 @@ public:
};
/*************************************************************************
- * Inline-Implementierung
+ * Inline-Implementierung
*************************************************************************/
inline const SwParaPortion *SwTxtFrm::GetPara() const
@@ -745,8 +745,8 @@ inline void SwTxtFrm::ResetBlinkPor() const
class SwLinguStatistik
{
public:
- long nWords; // gepruefte Worte
- long nFlushCnt; // zaehlt die Messungen
+ long nWords; // gepruefte Worte
+ long nFlushCnt; // zaehlt die Messungen
long nWrong; // als falsch erkannt
long nAlter; // Alternativvorschlaege
diff --git a/sw/source/core/inc/txttypes.hxx b/sw/source/core/inc/txttypes.hxx
index 748ea9334a62..df403278a509 100644
--- a/sw/source/core/inc/txttypes.hxx
+++ b/sw/source/core/inc/txttypes.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,68 +39,68 @@
#define KSHRT_MAX USHRT_MAX
// Portiontypen
-#define POR_LIN 0x0000
-#define POR_FLYCNT 0x0001
-
-#define POR_HOLE 0x0080
-#define POR_TMPEND 0x0081
-#define POR_BRK 0x0082
-#define POR_KERN 0x0083
-#define POR_ARROW 0x0084
-#define POR_MULTI 0x0085
+#define POR_LIN 0x0000
+#define POR_FLYCNT 0x0001
+
+#define POR_HOLE 0x0080
+#define POR_TMPEND 0x0081
+#define POR_BRK 0x0082
+#define POR_KERN 0x0083
+#define POR_ARROW 0x0084
+#define POR_MULTI 0x0085
#define POR_HIDDEN_TXT 0x0086
#define POR_CONTROLCHAR 0x0087
-#define POR_TXT 0x8000
-#define POR_LAY 0x8001
-#define POR_PARA 0x8002
-#define POR_URL 0x8003
-#define POR_HNG 0x8004
-
-#define POR_DROP 0x8080
-#define POR_TOX 0x8089
-#define POR_ISOTOX 0x808a
-#define POR_REF 0x808b
-#define POR_ISOREF 0x808c
+#define POR_TXT 0x8000
+#define POR_LAY 0x8001
+#define POR_PARA 0x8002
+#define POR_URL 0x8003
+#define POR_HNG 0x8004
+
+#define POR_DROP 0x8080
+#define POR_TOX 0x8089
+#define POR_ISOTOX 0x808a
+#define POR_REF 0x808b
+#define POR_ISOREF 0x808c
#define POR_META 0x808d
-#define POR_EXP 0xc080
-#define POR_BLANK 0xc081
+#define POR_EXP 0xc080
+#define POR_BLANK 0xc081
#define POR_POSTITS 0xc082
-#define POR_HYPH 0xd080
-#define POR_HYPHSTR 0xd081
-#define POR_SOFTHYPH 0xd082
-#define POR_SOFTHYPHSTR 0xd083
+#define POR_HYPH 0xd080
+#define POR_HYPHSTR 0xd081
+#define POR_SOFTHYPH 0xd082
+#define POR_SOFTHYPHSTR 0xd083
#define POR_SOFTHYPH_COMP 0xd084
-#define POR_FLD 0xe080
-#define POR_HIDDEN 0xe081
-#define POR_QUOVADIS 0xe082
-#define POR_ERGOSUM 0xe083
-#define POR_COMBINED 0xe084
+#define POR_FLD 0xe080
+#define POR_HIDDEN 0xe081
+#define POR_QUOVADIS 0xe082
+#define POR_ERGOSUM 0xe083
+#define POR_COMBINED 0xe084
#define POR_FTN 0xe085
-#define POR_FTNNUM 0xe880
-#define POR_NUMBER 0xe881
-#define POR_BULLET 0xe882
-#define POR_GRFNUM 0xe883
+#define POR_FTNNUM 0xe880
+#define POR_NUMBER 0xe881
+#define POR_BULLET 0xe882
+#define POR_GRFNUM 0xe883
-#define POR_GLUE 0x0480
+#define POR_GLUE 0x0480
-#define POR_MARGIN 0x04c0
+#define POR_MARGIN 0x04c0
-#define POR_FIX 0x06c0
-#define POR_FLY 0x06c1
+#define POR_FIX 0x06c0
+#define POR_FLY 0x06c1
-#define POR_TAB 0x0750
+#define POR_TAB 0x0750
-#define POR_TABRIGHT 0x07d0
-#define POR_TABCENTER 0x07d1
-#define POR_TABDECIMAL 0x07d2
+#define POR_TABRIGHT 0x07d0
+#define POR_TABCENTER 0x07d1
+#define POR_TABDECIMAL 0x07d2
-#define POR_TABLEFT 0x0740
+#define POR_TABLEFT 0x0740
-#endif //_TXTTYPES_HXX
+#endif //_TXTTYPES_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/inc/undoflystrattr.hxx b/sw/source/core/inc/undoflystrattr.hxx
index c0fe45013246..30bf165e9a81 100644
--- a/sw/source/core/inc/undoflystrattr.hxx
+++ b/sw/source/core/inc/undoflystrattr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/unofldmid.h b/sw/source/core/inc/unofldmid.h
index 09c91e4021b4..7e61c50c22ab 100644
--- a/sw/source/core/inc/unofldmid.h
+++ b/sw/source/core/inc/unofldmid.h
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,24 +39,24 @@ namespace com { namespace sun { namespace star { namespace uno {
*
******************************************************************************/
//Abbildung der Properties auf den Descriptor
-#define FIELD_PROP_PAR1 10
+#define FIELD_PROP_PAR1 10
#define FIELD_PROP_PAR2 11
#define FIELD_PROP_PAR3 12
#define FIELD_PROP_FORMAT 13
#define FIELD_PROP_SUBTYPE 14
-#define FIELD_PROP_BOOL1 15
-#define FIELD_PROP_BOOL2 16
-#define FIELD_PROP_DATE 17
+#define FIELD_PROP_BOOL1 15
+#define FIELD_PROP_BOOL2 16
+#define FIELD_PROP_DATE 17
#define FIELD_PROP_USHORT1 18
#define FIELD_PROP_USHORT2 19
-#define FIELD_PROP_BYTE1 20
+#define FIELD_PROP_BYTE1 20
#define FIELD_PROP_DOUBLE 21
-#define FIELD_PROP_BOOL3 22
+#define FIELD_PROP_BOOL3 22
#define FIELD_PROP_PAR4 23
#define FIELD_PROP_SHORT1 24
-#define FIELD_PROP_DATE_TIME 25
-#define FIELD_PROP_PROP_SEQ 26
-#define FIELD_PROP_LOCALE 27
+#define FIELD_PROP_DATE_TIME 25
+#define FIELD_PROP_PROP_SEQ 26
+#define FIELD_PROP_LOCALE 27
#define FIELD_PROP_BOOL4 28
#define FIELD_PROP_STRINGS 29
#define FIELD_PROP_PAR5 30
diff --git a/sw/source/core/inc/unometa.hxx b/sw/source/core/inc/unometa.hxx
index 391515bcf267..b7c73f793092 100644
--- a/sw/source/core/inc/unometa.hxx
+++ b/sw/source/core/inc/unometa.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx
index 5a1bec7803ea..c235c2f61c7d 100644
--- a/sw/source/core/inc/viewimp.hxx
+++ b/sw/source/core/inc/viewimp.hxx
@@ -64,40 +64,40 @@ class SwViewImp
{
friend class ViewShell;
- friend class SwLayAction; //Lay- und IdleAction tragen sich ein und aus.
+ friend class SwLayAction; //Lay- und IdleAction tragen sich ein und aus.
friend class SwLayIdle;
// OD 12.12.2002 #103492# - for paint of page preview
friend class SwPagePreviewLayout;
- ViewShell *pSh; //Falls jemand einen Imp durchreicht und doch
+ ViewShell *pSh; //Falls jemand einen Imp durchreicht und doch
//mal eine ViewShell braucht hier die
//Rueckwaertsverkettung.
- SwDrawView *pDrawView; //Unsere DrawView
- SdrPageView *pSdrPageView; //Genau eine Seite fuer unsere DrawView
+ SwDrawView *pDrawView; //Unsere DrawView
+ SdrPageView *pSdrPageView; //Genau eine Seite fuer unsere DrawView
- SwPageFrm *pFirstVisPage;//Zeigt immer auf die erste sichtbare Seite.
+ SwPageFrm *pFirstVisPage;//Zeigt immer auf die erste sichtbare Seite.
SwRegionRects *pRegion; //Sammler fuer Paintrects aus der LayAction.
- SwLayAction *pLayAct; //Ist gesetzt wenn ein Action-Objekt existiert
+ SwLayAction *pLayAct; //Ist gesetzt wenn ein Action-Objekt existiert
//Wird vom SwLayAction-CTor ein- und vom DTor
//ausgetragen.
- SwLayIdle *pIdleAct; //Analog zur SwLayAction fuer SwLayIdle.
+ SwLayIdle *pIdleAct; //Analog zur SwLayAction fuer SwLayIdle.
- SwAccessibleMap *pAccMap; // Accessible Wrappers
+ SwAccessibleMap *pAccMap; // Accessible Wrappers
mutable const SdrObject * pSdrObjCached;
mutable String sSdrObjCachedComment;
- BOOL bFirstPageInvalid :1; //Pointer auf erste Seite ungueltig?
+ BOOL bFirstPageInvalid :1; //Pointer auf erste Seite ungueltig?
//BOOL bResetXorVisibility:1; //StartAction/EndAction
- //HMHBOOL bShowHdlPaint :1; //LockPaint/UnlockPaint
+ //HMHBOOL bShowHdlPaint :1; //LockPaint/UnlockPaint
BOOL bResetHdlHiddenPaint:1;// -- "" --
- BOOL bSmoothUpdate :1; //Meber fuer SmoothScroll
- BOOL bStopSmooth :1;
+ BOOL bSmoothUpdate :1; //Meber fuer SmoothScroll
+ BOOL bStopSmooth :1;
BOOL bStopPrt :1; // Stop Printing
USHORT nRestoreActions ; //Die Anzahl der zu restaurierenden Actions (UNO)
@@ -127,11 +127,11 @@ class SwViewImp
*/
void ResetStopPrt() { bStopPrt = FALSE; }
- void SetFirstVisPage(); //Neue Ermittlung der ersten sichtbaren Seite
+ void SetFirstVisPage(); //Neue Ermittlung der ersten sichtbaren Seite
- void StartAction(); //Henkel Anzeigen und verstecken.
- void EndAction(); //gerufen von ViewShell::ImplXXXAction
- void LockPaint(); //dito, gerufen von ViewShell::ImplLockPaint
+ void StartAction(); //Henkel Anzeigen und verstecken.
+ void EndAction(); //gerufen von ViewShell::ImplXXXAction
+ void LockPaint(); //dito, gerufen von ViewShell::ImplLockPaint
void UnlockPaint();
private:
@@ -182,27 +182,27 @@ private:
public:
SwViewImp( ViewShell * );
~SwViewImp();
- void Init( const SwViewOption * ); //nur fuer ViewShell::Init()
+ void Init( const SwViewOption * ); //nur fuer ViewShell::Init()
const ViewShell *GetShell() const { return pSh; }
- ViewShell *GetShell() { return pSh; }
+ ViewShell *GetShell() { return pSh; }
Color GetRetoucheColor() const;
//Verwaltung zur ersten sichtbaren Seite
inline const SwPageFrm *GetFirstVisPage() const;
- inline SwPageFrm *GetFirstVisPage();
+ inline SwPageFrm *GetFirstVisPage();
void SetFirstVisPageInvalid() { bFirstPageInvalid = TRUE; }
BOOL AddPaintRect( const SwRect &rRect );
- SwRegionRects *GetRegion() { return pRegion; }
+ SwRegionRects *GetRegion() { return pRegion; }
void DelRegion();
// neues Interface fuer StarView Drawing
inline BOOL HasDrawView() const { return 0 != pDrawView; }
- SwDrawView* GetDrawView() { return pDrawView; }
+ SwDrawView* GetDrawView() { return pDrawView; }
const SwDrawView* GetDrawView() const { return pDrawView; }
- SdrPageView*GetPageView() { return pSdrPageView; }
+ SdrPageView*GetPageView() { return pSdrPageView; }
const SdrPageView*GetPageView() const { return pSdrPageView; }
void MakeDrawView();
@@ -231,23 +231,23 @@ public:
void NotifySizeChg( const Size &rNewSz );
//SS Fuer die Lay- bzw. IdleAction und verwandtes
- BOOL IsAction() const { return pLayAct != 0; }
- BOOL IsIdleAction() const { return pIdleAct != 0; }
- SwLayAction &GetLayAction() { return *pLayAct; }
+ BOOL IsAction() const { return pLayAct != 0; }
+ BOOL IsIdleAction() const { return pIdleAct != 0; }
+ SwLayAction &GetLayAction() { return *pLayAct; }
const SwLayAction &GetLayAction() const { return *pLayAct; }
- SwLayIdle &GetIdleAction() { return *pIdleAct;}
+ SwLayIdle &GetIdleAction() { return *pIdleAct;}
const SwLayIdle &GetIdleAction() const { return *pIdleAct;}
//Wenn eine Aktion laueft wird diese gebeten zu pruefen ob es
//an der zeit ist den WaitCrsr einzuschalten.
void CheckWaitCrsr();
- BOOL IsCalcLayoutProgress() const; //Fragt die LayAction wenn vorhanden.
+ BOOL IsCalcLayoutProgress() const; //Fragt die LayAction wenn vorhanden.
//TRUE wenn eine LayAction laeuft, dort wird dann auch das Flag fuer
//ExpressionFields gesetzt.
BOOL IsUpdateExpFlds();
- void SetRestoreActions(USHORT nSet){nRestoreActions = nSet;}
- USHORT GetRestoreActions() const{return nRestoreActions;}
+ void SetRestoreActions(USHORT nSet){nRestoreActions = nSet;}
+ USHORT GetRestoreActions() const{return nRestoreActions;}
// OD 12.12.2002 #103492#
void InitPagePreviewLayout();
diff --git a/sw/source/core/inc/visiturl.hxx b/sw/source/core/inc/visiturl.hxx
index b0d63c2baa9c..c5a50cc37bdb 100644
--- a/sw/source/core/inc/visiturl.hxx
+++ b/sw/source/core/inc/visiturl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
*
************************************************************************/
-#ifndef _VISITURL_HXX
-#define _VISITURL_HXX
+#ifndef _VISITURL_HXX
+#define _VISITURL_HXX
#include <svl/lstner.hxx>
diff --git a/sw/source/core/inc/wrong.hxx b/sw/source/core/inc/wrong.hxx
index 1de852514a74..4341af9b3c5c 100644
--- a/sw/source/core/inc/wrong.hxx
+++ b/sw/source/core/inc/wrong.hxx
@@ -26,8 +26,8 @@
*
************************************************************************/
-#ifndef _WRONG_HXX
-#define _WRONG_HXX
+#ifndef _WRONG_HXX
+#define _WRONG_HXX
#include <com/sun/star/container/XStringKeyMap.hpp>
diff --git a/sw/source/core/layout/anchoreddrawobject.cxx b/sw/source/core/layout/anchoreddrawobject.cxx
index 501511f14f33..dee2376219b5 100644
--- a/sw/source/core/layout/anchoreddrawobject.cxx
+++ b/sw/source/core/layout/anchoreddrawobject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/anchoredobject.cxx b/sw/source/core/layout/anchoredobject.cxx
index ebbe5e4f3e0d..9370ed76254c 100644
--- a/sw/source/core/layout/anchoredobject.cxx
+++ b/sw/source/core/layout/anchoredobject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 91c653d7cb99..290f1d673889 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ TYPEINIT2(SwFmtPageDesc, SfxPoolItem, SwClient );
TYPEINIT1_AUTOFACTORY(SwFmtLineNumber, SfxPoolItem);
/* -----------------19.05.98 09:26-------------------
- * Umwandlung fuer QueryValue
+ * Umwandlung fuer QueryValue
* --------------------------------------------------*/
sal_Int16 lcl_RelToINT(sal_Int16 eRelation)
{
@@ -256,8 +256,8 @@ void DelHFFormat( SwClient *pToRemove, SwFrmFmt *pFmt )
}
}
-// class SwFmtFrmSize
-// Implementierung teilweise inline im hxx
+// class SwFmtFrmSize
+// Implementierung teilweise inline im hxx
SwFmtFrmSize::SwFmtFrmSize( SwFrmSize eSize, SwTwips nWidth, SwTwips nHeight )
: SfxPoolItem( RES_FRM_SIZE ),
@@ -283,9 +283,9 @@ int SwFmtFrmSize::operator==( const SfxPoolItem& rAttr ) const
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
return( eFrmHeightType == ((SwFmtFrmSize&)rAttr).eFrmHeightType &&
eFrmWidthType == ((SwFmtFrmSize&)rAttr).eFrmWidthType &&
- aSize == ((SwFmtFrmSize&)rAttr).GetSize()&&
- nWidthPercent == ((SwFmtFrmSize&)rAttr).GetWidthPercent() &&
- nHeightPercent == ((SwFmtFrmSize&)rAttr).GetHeightPercent() );
+ aSize == ((SwFmtFrmSize&)rAttr).GetSize()&&
+ nWidthPercent == ((SwFmtFrmSize&)rAttr).GetWidthPercent() &&
+ nHeightPercent == ((SwFmtFrmSize&)rAttr).GetHeightPercent() );
}
SfxPoolItem* SwFmtFrmSize::Clone( SfxItemPool* ) const
@@ -487,8 +487,8 @@ bool SwFmtFrmSize::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtFillOrder
-// Implementierung teilweise inline im hxx
+// class SwFmtFillOrder
+// Implementierung teilweise inline im hxx
SwFmtFillOrder::SwFmtFillOrder( SwFillOrder nFO )
: SfxEnumItem( RES_FILL_ORDER, sal_uInt16(nFO) )
@@ -504,8 +504,8 @@ sal_uInt16 SwFmtFillOrder::GetValueCount() const
return SW_FILL_ORDER_END - SW_FILL_ORDER_BEGIN;
}
-// class SwFmtHeader
-// Implementierung teilweise inline im hxx
+// class SwFmtHeader
+// Implementierung teilweise inline im hxx
SwFmtHeader::SwFmtHeader( SwFrmFmt *pHeaderFmt )
: SfxPoolItem( RES_HEADER ),
@@ -546,8 +546,8 @@ SfxPoolItem* SwFmtHeader::Clone( SfxItemPool* ) const
return new SwFmtHeader( *this );
}
-// class SwFmtFooter
-// Implementierung teilweise inline im hxx
+// class SwFmtFooter
+// Implementierung teilweise inline im hxx
SwFmtFooter::SwFmtFooter( SwFrmFmt *pFooterFmt )
: SfxPoolItem( RES_FOOTER ),
@@ -588,8 +588,8 @@ SfxPoolItem* SwFmtFooter::Clone( SfxItemPool* ) const
return new SwFmtFooter( *this );
}
-// class SwFmtCntnt
-// Implementierung teilweise inline im hxx
+// class SwFmtCntnt
+// Implementierung teilweise inline im hxx
SwFmtCntnt::SwFmtCntnt( const SwFmtCntnt &rCpy )
: SfxPoolItem( RES_CNTNT )
@@ -630,8 +630,8 @@ SfxPoolItem* SwFmtCntnt::Clone( SfxItemPool* ) const
return new SwFmtCntnt( *this );
}
-// class SwFmtPageDesc
-// Implementierung teilweise inline im hxx
+// class SwFmtPageDesc
+// Implementierung teilweise inline im hxx
SwFmtPageDesc::SwFmtPageDesc( const SwFmtPageDesc &rCpy )
: SfxPoolItem( RES_PAGEDESC ),
@@ -656,7 +656,7 @@ SwFmtPageDesc::SwFmtPageDesc( const SwPageDesc *pDesc )
int SwFmtPageDesc::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return ( pDefinedIn == ((SwFmtPageDesc&)rAttr).pDefinedIn ) &&
+ return ( pDefinedIn == ((SwFmtPageDesc&)rAttr).pDefinedIn ) &&
( nNumOffset == ((SwFmtPageDesc&)rAttr).nNumOffset ) &&
( GetPageDesc() == ((SwFmtPageDesc&)rAttr).GetPageDesc() );
}
@@ -707,7 +707,7 @@ bool SwFmtPageDesc::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
{
// hier wird immer konvertiert!
nMemberId &= ~CONVERT_TWIPS;
- bool bRet = true;
+ bool bRet = true;
switch ( nMemberId )
{
case MID_PAGEDESC_PAGENUMOFFSET:
@@ -764,8 +764,8 @@ bool SwFmtPageDesc::PutValue( const uno::Any& rVal, BYTE nMemberId )
}
-// class SwFmtCol
-// Implementierung teilweise inline im hxx
+// class SwFmtCol
+// Implementierung teilweise inline im hxx
SwColumn::SwColumn() :
nWish ( 0 ),
@@ -808,10 +808,10 @@ SwFmtCol& SwFmtCol::operator=( const SwFmtCol& rCpy )
{
nLineWidth = rCpy.nLineWidth;
aLineColor = rCpy.aLineColor;
- nLineHeight = rCpy.GetLineHeight();
- eAdj = rCpy.GetLineAdj();
- nWidth = rCpy.GetWishWidth();
- bOrtho = rCpy.IsOrtho();
+ nLineHeight = rCpy.GetLineHeight();
+ eAdj = rCpy.GetLineAdj();
+ nWidth = rCpy.GetWishWidth();
+ bOrtho = rCpy.IsOrtho();
if ( aColumns.Count() )
aColumns.DeleteAndDestroy( 0, aColumns.Count() );
@@ -837,12 +837,12 @@ int SwFmtCol::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
const SwFmtCol &rCmp = (const SwFmtCol&)rAttr;
- if( !(nLineWidth == rCmp.nLineWidth &&
- aLineColor == rCmp.aLineColor &&
- nLineHeight == rCmp.GetLineHeight() &&
- eAdj == rCmp.GetLineAdj() &&
- nWidth == rCmp.GetWishWidth() &&
- bOrtho == rCmp.IsOrtho() &&
+ if( !(nLineWidth == rCmp.nLineWidth &&
+ aLineColor == rCmp.aLineColor &&
+ nLineHeight == rCmp.GetLineHeight() &&
+ eAdj == rCmp.GetLineAdj() &&
+ nWidth == rCmp.GetWishWidth() &&
+ bOrtho == rCmp.IsOrtho() &&
aColumns.Count() == rCmp.GetNumCols()) )
return 0;
@@ -880,7 +880,7 @@ sal_uInt16 SwFmtCol::GetGutterWidth( sal_Bool bMin ) const
}
}
else
- { bSet = sal_True;
+ { bSet = sal_True;
nRet = nTmp;
}
}
@@ -896,7 +896,7 @@ void SwFmtCol::SetGutterWidth( sal_uInt16 nNew, sal_uInt16 nAct )
{
sal_uInt16 nHalf = nNew / 2;
for ( sal_uInt16 i = 0; i < aColumns.Count(); ++i )
- { SwColumn *pCol = aColumns[i];
+ { SwColumn *pCol = aColumns[i];
pCol->SetLeft ( nHalf );
pCol->SetRight( nHalf );
if ( i == 0 )
@@ -915,7 +915,7 @@ void SwFmtCol::Init( sal_uInt16 nNumCols, sal_uInt16 nGutterWidth, sal_uInt16 nA
if ( aColumns.Count() )
aColumns.DeleteAndDestroy( 0, aColumns.Count() );
for ( sal_uInt16 i = 0; i < nNumCols; ++i )
- { SwColumn *pCol = new SwColumn;
+ { SwColumn *pCol = new SwColumn;
aColumns.Insert( pCol, i );
}
bOrtho = sal_True;
@@ -1081,9 +1081,9 @@ bool SwFmtCol::PutValue( const uno::Any& rVal, BYTE nMemberId )
eAdj = COLADJ_NONE;
else switch(pSwColums->GetSepLineVertAlign())
{
- case 0: eAdj = COLADJ_TOP; break; //VerticalAlignment_TOP
+ case 0: eAdj = COLADJ_TOP; break; //VerticalAlignment_TOP
case 1: eAdj = COLADJ_CENTER;break; //VerticalAlignment_MIDDLE
- case 2: eAdj = COLADJ_BOTTOM;break; //VerticalAlignment_BOTTOM
+ case 2: eAdj = COLADJ_BOTTOM;break; //VerticalAlignment_BOTTOM
default: OSL_ENSURE( !this, "unknown alignment" ); break;
}
}
@@ -1093,8 +1093,8 @@ bool SwFmtCol::PutValue( const uno::Any& rVal, BYTE nMemberId )
}
-// class SwFmtSurround
-// Implementierung teilweise inline im hxx
+// class SwFmtSurround
+// Implementierung teilweise inline im hxx
SwFmtSurround::SwFmtSurround( SwSurround eFly ) :
SfxEnumItem( RES_SURROUND, sal_uInt16( eFly ) )
@@ -1200,8 +1200,8 @@ bool SwFmtSurround::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtVertOrient
-// Implementierung teilweise inline im hxx
+// class SwFmtVertOrient
+// Implementierung teilweise inline im hxx
SwFmtVertOrient::SwFmtVertOrient( SwTwips nY, sal_Int16 eVert,
sal_Int16 eRel )
@@ -1312,8 +1312,8 @@ bool SwFmtVertOrient::PutValue( const uno::Any& rVal, BYTE nMemberId )
-// class SwFmtHoriOrient
-// Implementierung teilweise inline im hxx
+// class SwFmtHoriOrient
+// Implementierung teilweise inline im hxx
SwFmtHoriOrient::SwFmtHoriOrient( SwTwips nX, sal_Int16 eHori,
sal_Int16 eRel, sal_Bool bPos )
@@ -1438,8 +1438,8 @@ bool SwFmtHoriOrient::PutValue( const uno::Any& rVal, BYTE nMemberId )
-// class SwFmtAnchor
-// Implementierung teilweise inline im hxx
+// class SwFmtAnchor
+// Implementierung teilweise inline im hxx
SwFmtAnchor::SwFmtAnchor( RndStdIds nRnd, sal_uInt16 nPage )
: SfxPoolItem( RES_ANCHOR ),
@@ -1586,7 +1586,7 @@ bool SwFmtAnchor::PutValue( const uno::Any& rVal, BYTE nMemberId )
{
case MID_ANCHOR_ANCHORTYPE:
{
- RndStdIds eAnchor;
+ RndStdIds eAnchor;
switch( SWUnoHelper::GetEnumAsInt32( rVal ) )
{
case text::TextContentAnchorType_AS_CHARACTER:
@@ -1647,8 +1647,8 @@ bool SwFmtAnchor::PutValue( const uno::Any& rVal, BYTE nMemberId )
return bRet;
}
-// class SwFmtURL
-// Implementierung teilweise inline im hxx
+// class SwFmtURL
+// Implementierung teilweise inline im hxx
SwFmtURL::SwFmtURL() :
SfxPoolItem( RES_URL ),
@@ -1677,10 +1677,10 @@ int SwFmtURL::operator==( const SfxPoolItem &rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
const SwFmtURL &rCmp = (SwFmtURL&)rAttr;
- sal_Bool bRet = bIsServerMap == rCmp.IsServerMap() &&
- sURL == rCmp.GetURL() &&
+ sal_Bool bRet = bIsServerMap == rCmp.IsServerMap() &&
+ sURL == rCmp.GetURL() &&
sTargetFrameName == rCmp.GetTargetFrameName() &&
- sName == rCmp.GetName();
+ sName == rCmp.GetName();
if ( bRet )
{
if ( pMap && rCmp.GetMap() )
@@ -1877,7 +1877,7 @@ bool SwFmtFtnEndAtTxtEnd::QueryValue( uno::Any& rVal, BYTE nMemberId ) const
nMemberId &= ~CONVERT_TWIPS;
switch(nMemberId)
{
- case MID_COLLECT :
+ case MID_COLLECT :
{
sal_Bool bVal = GetValue() >= FTNEND_ATTXTEND;
rVal.setValue(&bVal, ::getBooleanCppuType());
@@ -1910,7 +1910,7 @@ bool SwFmtFtnEndAtTxtEnd::PutValue( const uno::Any& rVal, BYTE nMemberId )
nMemberId &= ~CONVERT_TWIPS;
switch(nMemberId)
{
- case MID_COLLECT :
+ case MID_COLLECT :
{
sal_Bool bVal = *(sal_Bool*)rVal.getValue();
if(!bVal && GetValue() >= FTNEND_ATTXTEND)
@@ -2082,8 +2082,8 @@ int SwFmtLineNumber::operator==( const SfxPoolItem &rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return nStartValue == ((SwFmtLineNumber&)rAttr).GetStartValue() &&
- bCountLines == ((SwFmtLineNumber&)rAttr).IsCount();
+ return nStartValue == ((SwFmtLineNumber&)rAttr).GetStartValue() &&
+ bCountLines == ((SwFmtLineNumber&)rAttr).IsCount();
}
SfxPoolItem* SwFmtLineNumber::Clone( SfxItemPool* ) const
@@ -2423,8 +2423,8 @@ void SwTextGridItem::Init()
//if grid type change.
//if(SvtCJKOptions().IsAsianTypographyEnabled())
//{
- // bDisplayGrid = 0;
- // eGridType = GRID_LINES_ONLY;
+ // bDisplayGrid = 0;
+ // eGridType = GRID_LINES_ONLY;
//}
}
}
@@ -2437,7 +2437,7 @@ SfxPoolItem* SwHeaderAndFooterEatSpacingItem::Clone( SfxItemPool* ) const
// class SwFrmFmt
-// Implementierung teilweise inline im hxx
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwFrmFmt, SwFmt );
IMPL_FIXEDMEMPOOL_NEWDEL_DLL( SwFrmFmt, 20, 20 )
@@ -2462,20 +2462,20 @@ void SwFrmFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
pF = (SwFmtFooter*)pNew;
if( pH && pH->IsActive() && !pH->GetHeaderFmt() )
- { //Hat er keinen, mach ich ihm einen
+ { //Hat er keinen, mach ich ihm einen
SwFrmFmt *pFmt = GetDoc()->MakeLayoutFmt( RND_STD_HEADER, 0 );
pFmt->Add( pH );
}
if( pF && pF->IsActive() && !pF->GetFooterFmt() )
- { //Hat er keinen, mach ich ihm einen
+ { //Hat er keinen, mach ich ihm einen
SwFrmFmt *pFmt = GetDoc()->MakeLayoutFmt( RND_STD_FOOTER, 0 );
pFmt->Add( pF );
}
// MIB 24.3.98: Modify der Basisklasse muss immer gerufen werden, z.B.
// wegen RESET_FMTWRITTEN.
-// if ( GetDepends() )
+// if ( GetDepends() )
SwFmt::Modify( pOld, pNew );
if (pOld && (RES_REMOVE_UNO_OBJECT == pOld->Which()))
@@ -2528,7 +2528,7 @@ SwRect SwFrmFmt::FindLayoutRect( const sal_Bool bPrtArea, const Point* pPoint,
// noch implementier werden, in dem sich vom Ende noch
// der entsprechende frame::Frame besorgt wird.
// PROBLEM: was passiert bei SectionFrames, die auf unter-
- // schiedlichen Seiten stehen??
+ // schiedlichen Seiten stehen??
if( bPrtArea )
aRet = pFrm->Prt();
else
@@ -2536,7 +2536,7 @@ SwRect SwFrmFmt::FindLayoutRect( const sal_Bool bPrtArea, const Point* pPoint,
aRet = pFrm->Frm();
--aRet.Pos().Y();
}
- pFrm = 0; // das Rect ist ja jetzt fertig
+ pFrm = 0; // das Rect ist ja jetzt fertig
}
}
}
@@ -2668,11 +2668,11 @@ String SwFrmFmt::GetDescription() const
return SW_RES(STR_FRAME);
}
-// class SwFlyFrmFmt
-// Implementierung teilweise inline im hxx
+// class SwFlyFrmFmt
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwFlyFrmFmt, SwFrmFmt );
-IMPL_FIXEDMEMPOOL_NEWDEL( SwFlyFrmFmt, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwFlyFrmFmt, 10, 10 )
SwFlyFrmFmt::~SwFlyFrmFmt()
{
@@ -3121,11 +3121,11 @@ SwHandleAnchorNodeChg::~SwHandleAnchorNodeChg()
}
}
// <--
-// class SwDrawFrmFmt
-// Implementierung teilweise inline im hxx
+// class SwDrawFrmFmt
+// Implementierung teilweise inline im hxx
TYPEINIT1( SwDrawFrmFmt, SwFrmFmt );
-IMPL_FIXEDMEMPOOL_NEWDEL( SwDrawFrmFmt, 10, 10 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwDrawFrmFmt, 10, 10 )
SwDrawFrmFmt::~SwDrawFrmFmt()
{
diff --git a/sw/source/core/layout/calcmove.cxx b/sw/source/core/layout/calcmove.cxx
index 21fa4b60cf39..93827189fa1a 100644
--- a/sw/source/core/layout/calcmove.cxx
+++ b/sw/source/core/layout/calcmove.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -67,16 +67,16 @@
#include <ndtxt.hxx>
//------------------------------------------------------------------------
-// Move-Methoden
+// Move-Methoden
//------------------------------------------------------------------------
/*************************************************************************
|*
-|* SwCntntFrm::ShouldBwdMoved()
+|* SwCntntFrm::ShouldBwdMoved()
|*
-|* Beschreibung Returnwert sagt, ob der Frm verschoben werden sollte.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm verschoben werden sollte.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -241,26 +241,26 @@ BOOL SwCntntFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL & )
}
//------------------------------------------------------------------------
-// Calc-Methoden
+// Calc-Methoden
//------------------------------------------------------------------------
/*************************************************************************
|*
-|* SwFrm::Prepare()
+|* SwFrm::Prepare()
|*
-|* Beschreibung Bereitet den Frm auf die 'Formatierung' (MakeAll())
-|* vor. Diese Methode dient dazu auf dem Stack Platz einzusparen,
-|* denn zur Positionsberechnung des Frm muss sichergestellt sein, dass
-|* die Position von Upper und Prev gueltig sind, mithin also ein
-|* rekursiver Aufruf (Schleife waere relativ teuer, da selten notwendig).
-|* Jeder Aufruf von MakeAll verbraucht aber ca. 500Byte Stack -
-|* das Ende ist leicht abzusehen. _Prepare benoetigt nur wenig Stack,
-|* deshalb solle der Rekursive Aufruf hier kein Problem sein.
-|* Ein weiterer Vorteil ist, das eines schoenen Tages das _Prepare und
-|* damit die Formatierung von Vorgaengern umgangen werden kann.
-|* So kann evtl. mal 'schnell' an's Dokumentende gesprungen werden.
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 13. Dec. 93
+|* Beschreibung Bereitet den Frm auf die 'Formatierung' (MakeAll())
+|* vor. Diese Methode dient dazu auf dem Stack Platz einzusparen,
+|* denn zur Positionsberechnung des Frm muss sichergestellt sein, dass
+|* die Position von Upper und Prev gueltig sind, mithin also ein
+|* rekursiver Aufruf (Schleife waere relativ teuer, da selten notwendig).
+|* Jeder Aufruf von MakeAll verbraucht aber ca. 500Byte Stack -
+|* das Ende ist leicht abzusehen. _Prepare benoetigt nur wenig Stack,
+|* deshalb solle der Rekursive Aufruf hier kein Problem sein.
+|* Ein weiterer Vorteil ist, das eines schoenen Tages das _Prepare und
+|* damit die Formatierung von Vorgaengern umgangen werden kann.
+|* So kann evtl. mal 'schnell' an's Dokumentende gesprungen werden.
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 13. Dec. 93
|*
|*************************************************************************/
//Zwei kleine Freundschaften werden hier zu einem Geheimbund.
@@ -454,7 +454,7 @@ void SwFrm::PrepareCrsr()
{
OSL_ENSURE( pFrm, ":-( Layoutgeruest wackelig (this not found)." );
if ( !pFrm )
- return; //Oioioioi ...
+ return; //Oioioioi ...
if ( !pFrm->IsValid() )
{
@@ -498,10 +498,10 @@ void SwFrm::PrepareCrsr()
/*************************************************************************
|*
-|* SwFrm::MakePos()
+|* SwFrm::MakePos()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 24. May. 93
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 24. May. 93
|*
|*************************************************************************/
@@ -547,7 +547,7 @@ void SwFrm::MakePos()
!pPrv->GetAttrSet()->GetKeep().GetValue()
)
{
- pPrv->Calc(); //hierbei kann der Prev verschwinden!
+ pPrv->Calc(); //hierbei kann der Prev verschwinden!
}
else if ( pPrv->Frm().Top() == 0 )
{
@@ -662,10 +662,10 @@ void SwFrm::MakePos()
/*************************************************************************
|*
-|* SwPageFrm::MakeAll()
+|* SwPageFrm::MakeAll()
|*
-|* Ersterstellung MA 23. Feb. 93
-|* Letzte Aenderung MA 20. Jul. 98
+|* Ersterstellung MA 23. Feb. 93
+|* Letzte Aenderung MA 20. Jul. 98
|*
|*************************************************************************/
// --> OD 2004-07-01 #i28701# - new type <SwSortedObjs>
@@ -705,8 +705,8 @@ void SwPageFrm::MakeAll()
{
PROTOCOL_ENTER( this, PROT_MAKEALL, 0, 0 )
- const SwRect aOldRect( Frm() ); //Anpassung der Root-Groesse
- const SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
+ const SwRect aOldRect( Frm() ); //Anpassung der Root-Groesse
+ const SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
SwBorderAttrAccess *pAccess = 0;
const SwBorderAttrs*pAttrs = 0;
@@ -835,7 +835,7 @@ void SwPageFrm::MakeAll()
bValidSize = bValidPrtArea = TRUE;
}
else
- { //FixSize einstellen, bei Seiten nicht vom Upper sondern vom
+ { //FixSize einstellen, bei Seiten nicht vom Upper sondern vom
//Attribut vorgegeben.
Frm().SSize( pAttrs->GetSize() );
Format( pAttrs );
@@ -861,10 +861,10 @@ void SwPageFrm::MakeAll()
/*************************************************************************
|*
-|* SwLayoutFrm::MakeAll()
+|* SwLayoutFrm::MakeAll()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 28. Nov. 95
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 28. Nov. 95
|*
|*************************************************************************/
@@ -949,10 +949,10 @@ void SwLayoutFrm::MakeAll()
/*************************************************************************
|*
-|* SwCntntFrm::MakePrtArea()
+|* SwCntntFrm::MakePrtArea()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 03. Mar. 96
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 03. Mar. 96
|*
|*************************************************************************/
bool SwTxtNode::IsCollapse() const
@@ -1083,7 +1083,7 @@ BOOL SwCntntFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
//1. Der erste einer Kette hat keinen Rand nach oben
//2. Nach unten gibt es nie einen Rand
//3. Der Rand nach oben ist das Maximum aus dem Abstand des
- // Prev nach unten und dem eigenen Abstand nach oben.
+ // Prev nach unten und dem eigenen Abstand nach oben.
//Die drei Regeln werden auf die Berechnung der Freiraeume, die von
//UL- bzw. LRSpace vorgegeben werden, angewand. Es gibt in alle
//Richtungen jedoch ggf. trotzdem einen Abstand; dieser wird durch
@@ -1130,10 +1130,10 @@ BOOL SwCntntFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
/*************************************************************************
|*
-|* SwCntntFrm::MakeAll()
+|* SwCntntFrm::MakeAll()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 16. Dec. 96
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 16. Dec. 96
|*
|*************************************************************************/
@@ -1197,33 +1197,33 @@ void SwCntntFrm::MakeAll()
//uebernimmt im DTor die Benachrichtigung
SwCntntNotify *pNotify = new SwCntntNotify( this );
- BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
+ BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
//angelegt werden (genau einmal)
- BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
- BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
+ BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
+ BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
//fliessen (solange, bis er einmal
//vorwaerts ge'moved wurde).
- BOOL bFormatted = FALSE; //Fuer die Witwen und Waisen Regelung
+ BOOL bFormatted = FALSE; //Fuer die Witwen und Waisen Regelung
//wird der letzte CntntFrm einer Kette
//u.U. zum Formatieren angeregt, dies
//braucht nur einmal zu passieren.
//Immer wenn der Frm gemoved wird muss
//das Flag zurueckgesetzt werden.
- BOOL bMustFit = FALSE; //Wenn einmal die Notbremse gezogen wurde,
+ BOOL bMustFit = FALSE; //Wenn einmal die Notbremse gezogen wurde,
//werden keine anderen Prepares mehr
//abgesetzt.
- BOOL bFitPromise = FALSE; //Wenn ein Absatz nicht passte, mit WouldFit
+ BOOL bFitPromise = FALSE; //Wenn ein Absatz nicht passte, mit WouldFit
//aber verspricht, dass er sich passend
//einstellt wird dieses Flag gesetzt.
//Wenn er dann sein Versprechen nicht haelt,
//kann kontrolliert verfahren werden.
BOOL bMoveable;
- const BOOL bFly = IsInFly();
+ const BOOL bFly = IsInFly();
const BOOL bTab = IsInTab();
const BOOL bFtn = IsInFtn();
const BOOL bSct = IsInSct();
- Point aOldFrmPos; //Damit bei Turnarounds jew. mit der
- Point aOldPrtPos; //letzten Pos verglichen und geprueft
+ Point aOldFrmPos; //Damit bei Turnarounds jew. mit der
+ Point aOldPrtPos; //letzten Pos verglichen und geprueft
//werden kann, ob ein Prepare sinnvoll ist.
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
@@ -1445,7 +1445,7 @@ void SwCntntFrm::MakeAll()
// bValidSize wird FALSE und das Format() wird gerufen.
Prepare( PREP_POS_CHGD, (const void*)&bFormatted, FALSE );
if ( bWidow && GetFollow() )
- { Prepare( PREP_WIDOWS_ORPHANS, 0, FALSE );
+ { Prepare( PREP_WIDOWS_ORPHANS, 0, FALSE );
bValidSize = FALSE;
}
}
@@ -1750,8 +1750,8 @@ void SwCntntFrm::MakeAll()
/* MA 13. Oct. 98: Was soll das denn sein!?
* AMA 14. Dec 98: Wenn ein spaltiger Bereich keinen Platz mehr fuer seinen ersten ContentFrm
- * bietet, so soll dieser nicht nur in die naechste Spalte, sondern ggf. bis zur naechsten
- * Seite wandern und dort einen Section-Follow erzeugen.
+ * bietet, so soll dieser nicht nur in die naechste Spalte, sondern ggf. bis zur naechsten
+ * Seite wandern und dort einen Section-Follow erzeugen.
*/
if( IsInSct() && bMovedFwd && bMakePage && pOldUp->IsColBodyFrm() &&
pOldUp->GetUpper()->GetUpper()->IsSctFrm() &&
@@ -1795,7 +1795,7 @@ void SwCntntFrm::MakeAll()
#endif
}
if ( bMovedBwd && GetUpper() )
- { //Unuetz gewordene Invalidierungen zuruecknehmen.
+ { //Unuetz gewordene Invalidierungen zuruecknehmen.
GetUpper()->ResetCompletePaint();
if( pPre && !pPre->IsSctFrm() )
::ValidateSz( pPre );
@@ -1840,10 +1840,10 @@ void SwCntntFrm::MakeAll()
/*************************************************************************
|*
-|* SwCntntFrm::_WouldFit()
+|* SwCntntFrm::_WouldFit()
|*
-|* Ersterstellung MA 28. Feb. 95
-|* Letzte Aenderung AMA 15. Feb. 99
+|* Ersterstellung MA 28. Feb. 95
+|* Letzte Aenderung AMA 15. Feb. 99
|*
|*************************************************************************/
@@ -1893,8 +1893,8 @@ void MakeNxt( SwFrm *pFrm, SwFrm *pNxt )
pNxt->Format( &rAttrs );
}
- pFrm->bValidPos = bOldPos;
- pFrm->bValidSize = bOldSz;
+ pFrm->bValidPos = bOldPos;
+ pFrm->bValidSize = bOldSz;
pFrm->bValidPrtArea = bOldPrt;
}
diff --git a/sw/source/core/layout/colfrm.cxx b/sw/source/core/layout/colfrm.cxx
index e40fd45a5065..9ae58a45aae1 100644
--- a/sw/source/core/layout/colfrm.cxx
+++ b/sw/source/core/layout/colfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +43,9 @@
#include "frmtool.hxx"
#include "colfrm.hxx"
#include "pagefrm.hxx"
-#include "bodyfrm.hxx" // ColumnFrms jetzt mit BodyFrm
+#include "bodyfrm.hxx" // ColumnFrms jetzt mit BodyFrm
#include "rootfrm.hxx" // wg. RemoveFtns
-#include "sectfrm.hxx" // wg. FtnAtEnd-Flag
+#include "sectfrm.hxx" // wg. FtnAtEnd-Flag
// ftnfrm.cxx:
void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes );
@@ -53,10 +53,10 @@ void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes );
/*************************************************************************
|*
-|* SwColumnFrm::SwColumnFrm()
+|* SwColumnFrm::SwColumnFrm()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung AMA 30. Oct 98
+|* Ersterstellung MA ??
+|* Letzte Aenderung AMA 30. Oct 98
|*
|*************************************************************************/
SwColumnFrm::SwColumnFrm( SwFrmFmt *pFmt ):
@@ -83,10 +83,10 @@ SwColumnFrm::~SwColumnFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::ChgColumns()
+|* SwLayoutFrm::ChgColumns()
|*
-|* Ersterstellung MA 11. Feb. 93
-|* Letzte Aenderung MA 12. Oct. 98
+|* Ersterstellung MA 11. Feb. 93
+|* Letzte Aenderung MA 12. Oct. 98
|*
|*************************************************************************/
@@ -107,7 +107,7 @@ void MA_FASTCALL lcl_RemoveColumns( SwLayoutFrm *pCont, USHORT nCnt )
{
SwColumnFrm *pTmp = (SwColumnFrm*)pColumn->GetPrev();
pColumn->Cut();
- delete pColumn; //Format wird ggf. im DTor mit vernichtet.
+ delete pColumn; //Format wird ggf. im DTor mit vernichtet.
pColumn = pTmp;
}
}
@@ -220,7 +220,7 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
}
// <--
- USHORT nNewNum, nOldNum = 1;
+ USHORT nNewNum, nOldNum = 1;
if( Lower() && Lower()->IsColumnFrm() )
{
SwFrm* pCol = Lower();
@@ -288,9 +288,9 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
if ( !bAdjustAttributes )
{
- if ( rOld.GetLineWidth() != rNew.GetLineWidth() ||
- rOld.GetWishWidth() != rNew.GetWishWidth() ||
- rOld.IsOrtho() != rNew.IsOrtho() )
+ if ( rOld.GetLineWidth() != rNew.GetLineWidth() ||
+ rOld.GetWishWidth() != rNew.GetWishWidth() ||
+ rOld.IsOrtho() != rNew.IsOrtho() )
bAdjustAttributes = TRUE;
else
{
@@ -321,10 +321,10 @@ void SwLayoutFrm::ChgColumns( const SwFmtCol &rOld, const SwFmtCol &rNew,
/*************************************************************************
|*
-|* SwLayoutFrm::AdjustColumns()
+|* SwLayoutFrm::AdjustColumns()
|*
-|* Ersterstellung MA 19. Jan. 99
-|* Letzte Aenderung MA 19. Jan. 99
+|* Ersterstellung MA 19. Jan. 99
+|* Letzte Aenderung MA 19. Jan. 99
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/dbg_lay.cxx b/sw/source/core/layout/dbg_lay.cxx
index 8ab8220de3fe..eeff8a954e83 100644
--- a/sw/source/core/layout/dbg_lay.cxx
+++ b/sw/source/core/layout/dbg_lay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,67 +37,67 @@
* bei denen auch das Verlassen der Methode mitprotokolliert werden soll, ein PROTOCOL_ENTER(...)-Makro
* stehen.
* Die Parameter der PROTOCOL-Makros sind
- * 1. Ein Pointer auf einen SwFrm, also meist "this" oder "rThis"
- * 2. Die Funktionsgruppe z.B. PROT_MAKEALL, hierueber wird (inline) entschieden, ob dies
- * zur Zeit protokolliert werden soll oder nicht.
- * 3. Die Aktion, im Normalfall 0, aber z.B. ein ACT_START bewirkt eine Einrueckung in der
- * Ausgabedatei, ein ACT_END nimmt dies wieder zurueck. Auf diese Art wird z.B. durch
- * PROTOCOL_ENTER am Anfang einer Methode eingerueckt und beim Verlassen wieder zurueck.
- * 4. Der vierte Parameter ist ein void-Pointer, damit man irgendetwas uebergeben kann,
- * was in das Protokoll einfliessen kann, typesches Beispiel bei PROT_GROW muss man
- * einen Pointer auf den Wert, um den gegrowt werden soll, uebergeben.
+ * 1. Ein Pointer auf einen SwFrm, also meist "this" oder "rThis"
+ * 2. Die Funktionsgruppe z.B. PROT_MAKEALL, hierueber wird (inline) entschieden, ob dies
+ * zur Zeit protokolliert werden soll oder nicht.
+ * 3. Die Aktion, im Normalfall 0, aber z.B. ein ACT_START bewirkt eine Einrueckung in der
+ * Ausgabedatei, ein ACT_END nimmt dies wieder zurueck. Auf diese Art wird z.B. durch
+ * PROTOCOL_ENTER am Anfang einer Methode eingerueckt und beim Verlassen wieder zurueck.
+ * 4. Der vierte Parameter ist ein void-Pointer, damit man irgendetwas uebergeben kann,
+ * was in das Protokoll einfliessen kann, typesches Beispiel bei PROT_GROW muss man
+ * einen Pointer auf den Wert, um den gegrowt werden soll, uebergeben.
*
*
* Das Protokoll ist die Datei "dbg_lay.out" im aktuellen (BIN-)Verzeichnis.
* Es enthaelt Zeilen mit FrmId, Funktionsgruppe sowie weiteren Infos.
*
* Was genau protokolliert wird, kann auf folgende Arten eingestellt werden:
- * 1. Die statische Variable SwProtokoll::nRecord enthaelt die Funktionsgruppen,
- * die aufgezeichnet werden sollen.
- * Ein Wert von z.B. PROT_GROW bewirkt, das Aufrufe von SwFrm::Grow dokumentiert werden,
- * PROT_MAKEALL protokolliert Aufrufe von xxx::MakeAll.
- * Die PROT_XY-Werte koennen oderiert werden.
- * Default ist Null, es wird keine Methode aufgezeichnet.
- * 2. In der SwImplProtocol-Klasse gibt es einen Filter fuer Frame-Typen,
- * nur die Methodenaufrufe von Frame-Typen, die dort gesetzt sind, werden protokolliert.
- * Der Member nTypes kann auf Werte wie FRM_PAGE, FRM_SECTION gesetzt und oderiert werden.
- * Default ist 0xFFFF, d.h. alle Frame-Typen.
- * 3. In der SwImplProtocol-Klasse gibt es einen ArrayPointer auf FrmIds, die zu ueberwachen sind.
- * Ist der Pointer Null, so werden alle Frames protokolliert, ansonsten nur Frames,
- * die in dem Array vermerkt sind.
+ * 1. Die statische Variable SwProtokoll::nRecord enthaelt die Funktionsgruppen,
+ * die aufgezeichnet werden sollen.
+ * Ein Wert von z.B. PROT_GROW bewirkt, das Aufrufe von SwFrm::Grow dokumentiert werden,
+ * PROT_MAKEALL protokolliert Aufrufe von xxx::MakeAll.
+ * Die PROT_XY-Werte koennen oderiert werden.
+ * Default ist Null, es wird keine Methode aufgezeichnet.
+ * 2. In der SwImplProtocol-Klasse gibt es einen Filter fuer Frame-Typen,
+ * nur die Methodenaufrufe von Frame-Typen, die dort gesetzt sind, werden protokolliert.
+ * Der Member nTypes kann auf Werte wie FRM_PAGE, FRM_SECTION gesetzt und oderiert werden.
+ * Default ist 0xFFFF, d.h. alle Frame-Typen.
+ * 3. In der SwImplProtocol-Klasse gibt es einen ArrayPointer auf FrmIds, die zu ueberwachen sind.
+ * Ist der Pointer Null, so werden alle Frames protokolliert, ansonsten nur Frames,
+ * die in dem Array vermerkt sind.
*
* Eine Aufzeichnung in Gang zu setzen, erfordert entweder Codemanipulation, z.B. in
* SwProtocol::Init() einen anderen Default fuer nRecord setzen oder Debuggermanipulation.
* Im Debugger gibt verschiedene, sich anbietende Stellen:
- * 1. In SwProtocol::Init() einen Breakpoint setzen und dort nRecord manipulieren, ggf.
- * FrmIds eintragen, dann beginnt die Aufzeichnung bereits beim Programmstart.
- * 2. Waehrend des Programmlaufs einen Breakpoint vor irgendein PROTOCOL oder PROTOCOL_ENTER-
- * Makro setzen, dann am SwProtocol::nRecord das unterste Bit setzen (PROT_INIT). Dies
- * bewirkt, dass die Funktionsgruppe des folgenden Makros aktiviert und in Zukunft
- * protokolliert wird.
- * 3. Spezialfall von 2.: Wenn man 2. in der Methode SwRootFrm::Paint(..) anwendet, werden
- * die Aufzeichnungseinstellung aus der Datei "dbg_lay.ini" ausgelesen!
- * In dieser INI-Datei kann es Kommentarzeilen geben, diese beginnen mit '#', dann
- * sind die Sektionen "[frmid]", "[frmtype]" und "[record]" relevant.
- * Nach [frmid] koennen die FrameIds der zu protokollierenden Frames folgen. Gibt es
- * dort keine Eintraege, werden alle Frames aufgezeichnet.
- * Nach [frmtype] koennen FrameTypen folgen, die aufgezeichnet werden sollen, da der
- * Default hier allerdings USHRT_MAX ist, werden sowieso alle aufgezeichnet. Man kann
- * allerdings auch Typen entfernen, in dem man ein '!' vor den Wert setzt, z.B.
- * !0xC000 nimmt die SwCntntFrms aus der Aufzeichnung heraus.
- * Nach [record] folgen die Funktionsgruppen, die aufgezeichnet werden sollen, Default
- * ist hier 0, also keine. Auch hier kann man mit einem vorgestellten '!' Funktionen
- * wieder entfernen.
- * Hier mal ein Beispiel fuer eine INI-Datei:
- * ------------------------------------------
- * #Funktionen: Alle, ausser PRTAREA
- * [record] 0xFFFFFFE !0x200
- * [frmid]
- * #folgende FrmIds:
- * 1 2 12 13 14 15
- * #keine Layoutframes ausser ColumnFrms
- * [frmtype] !0x3FFF 0x4
- * ------------------------------------------
+ * 1. In SwProtocol::Init() einen Breakpoint setzen und dort nRecord manipulieren, ggf.
+ * FrmIds eintragen, dann beginnt die Aufzeichnung bereits beim Programmstart.
+ * 2. Waehrend des Programmlaufs einen Breakpoint vor irgendein PROTOCOL oder PROTOCOL_ENTER-
+ * Makro setzen, dann am SwProtocol::nRecord das unterste Bit setzen (PROT_INIT). Dies
+ * bewirkt, dass die Funktionsgruppe des folgenden Makros aktiviert und in Zukunft
+ * protokolliert wird.
+ * 3. Spezialfall von 2.: Wenn man 2. in der Methode SwRootFrm::Paint(..) anwendet, werden
+ * die Aufzeichnungseinstellung aus der Datei "dbg_lay.ini" ausgelesen!
+ * In dieser INI-Datei kann es Kommentarzeilen geben, diese beginnen mit '#', dann
+ * sind die Sektionen "[frmid]", "[frmtype]" und "[record]" relevant.
+ * Nach [frmid] koennen die FrameIds der zu protokollierenden Frames folgen. Gibt es
+ * dort keine Eintraege, werden alle Frames aufgezeichnet.
+ * Nach [frmtype] koennen FrameTypen folgen, die aufgezeichnet werden sollen, da der
+ * Default hier allerdings USHRT_MAX ist, werden sowieso alle aufgezeichnet. Man kann
+ * allerdings auch Typen entfernen, in dem man ein '!' vor den Wert setzt, z.B.
+ * !0xC000 nimmt die SwCntntFrms aus der Aufzeichnung heraus.
+ * Nach [record] folgen die Funktionsgruppen, die aufgezeichnet werden sollen, Default
+ * ist hier 0, also keine. Auch hier kann man mit einem vorgestellten '!' Funktionen
+ * wieder entfernen.
+ * Hier mal ein Beispiel fuer eine INI-Datei:
+ * ------------------------------------------
+ * #Funktionen: Alle, ausser PRTAREA
+ * [record] 0xFFFFFFE !0x200
+ * [frmid]
+ * #folgende FrmIds:
+ * 1 2 12 13 14 15
+ * #keine Layoutframes ausser ColumnFrms
+ * [frmtype] !0x3FFF 0x4
+ * ------------------------------------------
*
* Wenn die Aufzeichnung erstmal laeuft, kann man in SwImplProtocol::_Record(...) mittels
* Debugger vielfaeltige Manipulationen vornehmen, z.B. bezueglich FrameTypen oder FrmIds.
@@ -149,15 +149,15 @@ ULONG lcl_GetFrameId( const SwFrm* pFrm )
class SwImplProtocol
{
- SvFileStream *pStream; // Ausgabestream
- SvUShortsSort *pFrmIds; // welche FrmIds sollen aufgezeichnet werden ( NULL == alle )
+ SvFileStream *pStream; // Ausgabestream
+ SvUShortsSort *pFrmIds; // welche FrmIds sollen aufgezeichnet werden ( NULL == alle )
SvLongs *pVar; // Variables
ByteString aLayer; // Einrueckung der Ausgabe (" " pro Start/End)
- USHORT nTypes; // welche Typen sollen aufgezeichnet werden
- USHORT nLineCount; // Ausgegebene Zeilen
- USHORT nMaxLines; // Maximal auszugebende Zeilen
- BYTE nInitFile; // Bereich (FrmId,FrmType,Record) beim Einlesen der INI-Datei
- BYTE nTestMode; // Special fuer Testformatierung, es wird ggf. nur
+ USHORT nTypes; // welche Typen sollen aufgezeichnet werden
+ USHORT nLineCount; // Ausgegebene Zeilen
+ USHORT nMaxLines; // Maximal auszugebende Zeilen
+ BYTE nInitFile; // Bereich (FrmId,FrmType,Record) beim Einlesen der INI-Datei
+ BYTE nTestMode; // Special fuer Testformatierung, es wird ggf. nur
// innerhalb einer Testformatierung aufgezeichnet.
void _Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam );
BOOL NewStream();
@@ -169,9 +169,9 @@ public:
// Aufzeichnen
void Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{ if( pStream ) _Record( pFrm, nFunction, nAct, pParam ); }
- BOOL InsertFrm( USHORT nFrmId ); // FrmId aufnehmen zum Aufzeichnen
- BOOL DeleteFrm( USHORT nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
- void FileInit(); // Auslesen der INI-Datei
+ BOOL InsertFrm( USHORT nFrmId ); // FrmId aufnehmen zum Aufzeichnen
+ BOOL DeleteFrm( USHORT nFrmId ); // FrmId entfernen, diesen nicht mehr Aufzeichnen
+ void FileInit(); // Auslesen der INI-Datei
void ChkStream() { if( !pStream ) NewStream(); }
void SnapShot( const SwFrm* pFrm, ULONG nFlags );
void GetVar( const USHORT nNo, long& rVar )
@@ -196,14 +196,14 @@ public:
class SwImplEnterLeave
{
protected:
- const SwFrm* pFrm; // Der Frame,
- ULONG nFunction, nAction; // die Funktion, ggf. die Aktion
- void* pParam; // und weitere Parameter
+ const SwFrm* pFrm; // Der Frame,
+ ULONG nFunction, nAction; // die Funktion, ggf. die Aktion
+ void* pParam; // und weitere Parameter
public:
SwImplEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: pFrm( pF ), nFunction( nFunct ), nAction( nAct ), pParam( pPar ) {}
- virtual void Enter(); // Ausgabe beim Eintritt
- virtual void Leave(); // Ausgabe beim Verlassen
+ virtual void Enter(); // Ausgabe beim Eintritt
+ virtual void Leave(); // Ausgabe beim Verlassen
};
class SwSizeEnterLeave : public SwImplEnterLeave
@@ -212,7 +212,7 @@ class SwSizeEnterLeave : public SwImplEnterLeave
public:
SwSizeEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrmHeight( pF->Frm().Height() ) {}
- virtual void Leave(); // Ausgabe der Groessenaenderung
+ virtual void Leave(); // Ausgabe der Groessenaenderung
};
class SwUpperEnterLeave : public SwImplEnterLeave
@@ -221,8 +221,8 @@ class SwUpperEnterLeave : public SwImplEnterLeave
public:
SwUpperEnterLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), nFrmId( 0 ) {}
- virtual void Enter(); // Ausgabe
- virtual void Leave(); // Ausgabe der FrmId des Uppers
+ virtual void Enter(); // Ausgabe
+ virtual void Leave(); // Ausgabe der FrmId des Uppers
};
class SwFrmChangesLeave : public SwImplEnterLeave
@@ -231,29 +231,29 @@ class SwFrmChangesLeave : public SwImplEnterLeave
public:
SwFrmChangesLeave( const SwFrm* pF, ULONG nFunct, ULONG nAct, void* pPar )
: SwImplEnterLeave( pF, nFunct, nAct, pPar ), aFrm( pF->Frm() ) {}
- virtual void Enter(); // keine Ausgabe
- virtual void Leave(); // Ausgabe bei Aenderung der Frm-Area
+ virtual void Enter(); // keine Ausgabe
+ virtual void Leave(); // Ausgabe bei Aenderung der Frm-Area
};
void SwProtocol::Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{
if( Start() )
- { // Hier landen wir, wenn im Debugger SwProtocol::nRecord mit PROT_INIT(0x1) oderiert wurde
+ { // Hier landen wir, wenn im Debugger SwProtocol::nRecord mit PROT_INIT(0x1) oderiert wurde
BOOL bFinit = FALSE; // Dies bietet im Debugger die Moeglichkeit,
- if( bFinit ) // die Aufzeichnung dieser Action zu beenden
+ if( bFinit ) // die Aufzeichnung dieser Action zu beenden
{
- nRecord &= ~nFunction; // Diese Funktion nicht mehr aufzeichnen
- nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
+ nRecord &= ~nFunction; // Diese Funktion nicht mehr aufzeichnen
+ nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
return;
}
- nRecord |= nFunction; // Aufzeichnung dieser Funktion freischalten
- nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
+ nRecord |= nFunction; // Aufzeichnung dieser Funktion freischalten
+ nRecord &= ~PROT_INIT; // PROT_INIT stets zuruecksetzen
if( pImpl )
pImpl->ChkStream();
}
- if( !pImpl ) // Impl-Object anlegen, wenn noetig
+ if( !pImpl ) // Impl-Object anlegen, wenn noetig
pImpl = new SwImplProtocol();
- pImpl->Record( pFrm, nFunction, nAct, pParam ); // ...und Aufzeichnen
+ pImpl->Record( pFrm, nFunction, nAct, pParam ); // ...und Aufzeichnen
}
// Die folgende Funktion wird beim Anziehen der Writer-DLL durch TxtInit(..) aufgerufen
@@ -339,13 +339,13 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
{
rLine = rLine.ToLowerAscii(); // Gross/Kleinschreibung ist einerlei
while( STRING_LEN > rLine.SearchAndReplace( '\t', ' ' ) )
- ; //nothing // Tabs werden durch Blanks ersetzt
- if( '#' == rLine.GetChar(0) ) // Kommentarzeilen beginnen mit '#'
+ ; //nothing // Tabs werden durch Blanks ersetzt
+ if( '#' == rLine.GetChar(0) ) // Kommentarzeilen beginnen mit '#'
return;
- if( '[' == rLine.GetChar(0) ) // Bereiche: FrmIds, Typen oder Funktionen
+ if( '[' == rLine.GetChar(0) ) // Bereiche: FrmIds, Typen oder Funktionen
{
ByteString aTmp = rLine.GetToken( 0, ']' );
- if( "[frmid" == aTmp ) // Bereich FrmIds
+ if( "[frmid" == aTmp ) // Bereich FrmIds
{
nInitFile = 1;
delete pFrmIds;
@@ -354,7 +354,7 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
else if( "[frmtype" == aTmp )// Bereich Typen
{
nInitFile = 2;
- nTypes = USHRT_MAX; // Default: Alle FrmaeTypen aufzeichnen
+ nTypes = USHRT_MAX; // Default: Alle FrmaeTypen aufzeichnen
}
else if( "[record" == aTmp )// Bereich Funktionen
{
@@ -378,17 +378,17 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
pVar = new SvLongs( 5, 5 );
}
else
- nInitFile = 0; // Nanu: Unbekannter Bereich?
+ nInitFile = 0; // Nanu: Unbekannter Bereich?
rLine.Erase( 0, aTmp.Len() + 1 );
}
- USHORT nToks = rLine.GetTokenCount( ' ' ); // Blanks (oder Tabs) sind die Trenner
+ USHORT nToks = rLine.GetTokenCount( ' ' ); // Blanks (oder Tabs) sind die Trenner
for( USHORT i=0; i < nToks; ++i )
{
ByteString aTok = rLine.GetToken( i, ' ' );
BOOL bNo = FALSE;
if( '!' == aTok.GetChar(0) )
{
- bNo = TRUE; // Diese(n) Funktion/Typ entfernen
+ bNo = TRUE; // Diese(n) Funktion/Typ entfernen
aTok.Erase( 0, 1 );
}
if( aTok.Len() )
@@ -397,31 +397,31 @@ void SwImplProtocol::CheckLine( ByteString& rLine )
sscanf( aTok.GetBuffer(), "%li", &nVal );
switch ( nInitFile )
{
- case 1: InsertFrm( USHORT( nVal ) ); // FrmId aufnehmen
+ case 1: InsertFrm( USHORT( nVal ) ); // FrmId aufnehmen
break;
case 2: {
USHORT nNew = (USHORT)nVal;
if( bNo )
- nTypes &= ~nNew; // Typ entfernen
+ nTypes &= ~nNew; // Typ entfernen
else
- nTypes |= nNew; // Typ aufnehmen
+ nTypes |= nNew; // Typ aufnehmen
}
break;
case 3: {
ULONG nOld = SwProtocol::Record();
if( bNo )
- nOld &= ~nVal; // Funktion entfernen
+ nOld &= ~nVal; // Funktion entfernen
else
- nOld |= nVal; // Funktion aufnehmen
+ nOld |= nVal; // Funktion aufnehmen
SwProtocol::SetRecord( nOld );
}
break;
case 4: {
BYTE nNew = (BYTE)nVal;
if( bNo )
- nTestMode &= ~nNew; // TestMode zuruecksetzen
+ nTestMode &= ~nNew; // TestMode zuruecksetzen
else
- nTestMode |= nNew; // TestMode setzen
+ nTestMode |= nNew; // TestMode setzen
}
break;
case 5: nMaxLines = (USHORT)nVal;
@@ -449,19 +449,19 @@ void SwImplProtocol::FileInit()
{
sal_Char c;
aStream >> c;
- if( '\n' == c || '\r' == c ) // Zeilenende
+ if( '\n' == c || '\r' == c ) // Zeilenende
{
aLine.EraseLeadingChars();
aLine.EraseTrailingChars();
if( aLine.Len() )
- CheckLine( aLine ); // Zeile auswerten
+ CheckLine( aLine ); // Zeile auswerten
aLine.Erase();
}
else
aLine += c;
}
if( aLine.Len() )
- CheckLine( aLine ); // letzte Zeile auswerten
+ CheckLine( aLine ); // letzte Zeile auswerten
}
aStream.Close();
}
@@ -562,7 +562,7 @@ void lcl_FrameType( ByteString& rOut, const SwFrm* pFrm )
void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, void* pParam )
{
USHORT nSpecial = 0;
- if( nSpecial ) // Debugger-Manipulationsmoeglichkeit
+ if( nSpecial ) // Debugger-Manipulationsmoeglichkeit
{
USHORT nId = USHORT(lcl_GetFrameId( pFrm ));
switch ( nSpecial )
@@ -589,12 +589,12 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
ByteString aOut = aLayer;
aOut += ByteString::CreateFromInt64( lcl_GetFrameId( pFrm ) );
aOut += ' ';
- lcl_FrameType( aOut, pFrm ); // dann den FrameType
- switch ( nFunction ) // und die Funktion
+ lcl_FrameType( aOut, pFrm ); // dann den FrameType
+ switch ( nFunction ) // und die Funktion
{
case PROT_SNAPSHOT: lcl_Flags( aOut, pFrm );
break;
- case PROT_MAKEALL: aOut += "MakeAll";
+ case PROT_MAKEALL: aOut += "MakeAll";
lcl_Start( aOut, aLayer, nAct );
if( nAct == ACT_START )
lcl_Flags( aOut, pFrm );
@@ -618,7 +618,7 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
case PROT_ADJUSTN :
case PROT_SHRINK: bTmp = TRUE; // NoBreak
- case PROT_GROW: aOut += !bTmp ? "Grow" :
+ case PROT_GROW: aOut += !bTmp ? "Grow" :
( nFunction == PROT_SHRINK ? "Shrink" : "AdjustNgbhd" );
lcl_Start( aOut, aLayer, nAct );
if( pParam )
@@ -627,16 +627,16 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
aOut += ByteString::CreateFromInt64( *((long*)pParam) );
}
break;
- case PROT_POS: break;
- case PROT_PRTAREA: aOut += "PrtArea";
+ case PROT_POS: break;
+ case PROT_PRTAREA: aOut += "PrtArea";
lcl_Start( aOut, aLayer, nAct );
break;
- case PROT_SIZE: aOut += "Size";
+ case PROT_SIZE: aOut += "Size";
lcl_Start( aOut, aLayer, nAct );
aOut += ' ';
aOut += ByteString::CreateFromInt64( pFrm->Frm().Height() );
break;
- case PROT_LEAF: aOut += "Prev/NextLeaf";
+ case PROT_LEAF: aOut += "Prev/NextLeaf";
lcl_Start( aOut, aLayer, nAct );
aOut += ' ';
if( pParam )
@@ -650,8 +650,8 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
case PROT_SECTION: SectFunc( aOut, pFrm, nAct, pParam );
break;
- case PROT_CUT: bTmp = TRUE; // NoBreak
- case PROT_PASTE: aOut += bTmp ? "Cut from " : "Paste to ";
+ case PROT_CUT: bTmp = TRUE; // NoBreak
+ case PROT_PASTE: aOut += bTmp ? "Cut from " : "Paste to ";
aOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
case PROT_TESTFORMAT: aOut += "Test";
@@ -695,8 +695,8 @@ void SwImplProtocol::_Record( const SwFrm* pFrm, ULONG nFunction, ULONG nAct, vo
break;
}
}
- *pStream << aOut.GetBuffer() << endl; // Ausgabe
- pStream->Flush(); // Gleich auf die Platte, damit man mitlesen kann
+ *pStream << aOut.GetBuffer() << endl; // Ausgabe
+ pStream->Flush(); // Gleich auf die Platte, damit man mitlesen kann
if( ++nLineCount >= nMaxLines ) // Maximale Ausgabe erreicht?
SwProtocol::SetRecord( 0 ); // => Ende der Aufzeichnung
}
@@ -711,7 +711,7 @@ void SwImplProtocol::SectFunc( ByteString &rOut, const SwFrm* , ULONG nAct, void
BOOL bTmp = FALSE;
switch( nAct )
{
- case ACT_MERGE: rOut += "Merge Section ";
+ case ACT_MERGE: rOut += "Merge Section ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
case ACT_CREATE_MASTER: bTmp = TRUE; // NoBreak
@@ -719,8 +719,8 @@ void SwImplProtocol::SectFunc( ByteString &rOut, const SwFrm* , ULONG nAct, void
rOut += bTmp ? "Master to " : "Follow from ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
- case ACT_DEL_MASTER: bTmp = TRUE; // NoBreak
- case ACT_DEL_FOLLOW: rOut += "Delete Section ";
+ case ACT_DEL_MASTER: bTmp = TRUE; // NoBreak
+ case ACT_DEL_FOLLOW: rOut += "Delete Section ";
rOut += bTmp ? "Master to " : "Follow from ";
rOut += ByteString::CreateFromInt64( lcl_GetFrameId( (SwFrm*)pParam ) );
break;
diff --git a/sw/source/core/layout/findfrm.cxx b/sw/source/core/layout/findfrm.cxx
index 9944ccce1a4b..34a715952cbe 100644
--- a/sw/source/core/layout/findfrm.cxx
+++ b/sw/source/core/layout/findfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +53,12 @@
/*************************************************************************
|*
-|* FindBodyCont, FindLastBodyCntnt()
+|* FindBodyCont, FindLastBodyCntnt()
|*
-|* Beschreibung Sucht den ersten/letzten CntntFrm im BodyText unterhalb
-|* der Seite.
-|* Ersterstellung MA 15. Feb. 93
-|* Letzte Aenderung MA 18. Apr. 94
+|* Beschreibung Sucht den ersten/letzten CntntFrm im BodyText unterhalb
+|* der Seite.
+|* Ersterstellung MA 15. Feb. 93
+|* Letzte Aenderung MA 18. Apr. 94
|*
|*************************************************************************/
SwLayoutFrm *SwFtnBossFrm::FindBodyCont()
@@ -74,7 +74,7 @@ SwCntntFrm *SwPageFrm::FindLastBodyCntnt()
SwCntntFrm *pRet = FindFirstBodyCntnt();
SwCntntFrm *pNxt = pRet;
while ( pNxt && pNxt->IsInDocBody() && IsAnLower( pNxt ) )
- { pRet = pNxt;
+ { pRet = pNxt;
pNxt = pNxt->FindNextCnt();
}
return pRet;
@@ -82,14 +82,14 @@ SwCntntFrm *SwPageFrm::FindLastBodyCntnt()
/*************************************************************************
|*
-|* SwLayoutFrm::ContainsCntnt
+|* SwLayoutFrm::ContainsCntnt
|*
-|* Beschreibung Prueft, ob der Frame irgendwo in seiner
-|* untergeordneten Struktur einen oder mehrere CntntFrm's enthaelt;
-|* Falls ja wird der erste gefundene CntntFrm zurueckgegeben.
+|* Beschreibung Prueft, ob der Frame irgendwo in seiner
+|* untergeordneten Struktur einen oder mehrere CntntFrm's enthaelt;
+|* Falls ja wird der erste gefundene CntntFrm zurueckgegeben.
|*
-|* Ersterstellung MA 13. May. 92
-|* Letzte Aenderung MA 20. Apr. 94
+|* Ersterstellung MA 13. May. 92
+|* Letzte Aenderung MA 20. Apr. 94
|*
|*************************************************************************/
@@ -137,14 +137,14 @@ const SwCntntFrm *SwLayoutFrm::ContainsCntnt() const
/*************************************************************************
|*
-|* SwLayoutFrm::FirstCell
+|* SwLayoutFrm::FirstCell
|*
-|* Beschreibung ruft zunaechst ContainsAny auf, um in die innerste Zelle
-|* hineinzukommen. Dort hangelt es sich wieder hoch zum
-|* ersten SwCellFrm, seit es SectionFrms gibt, reicht kein
-|* ContainsCntnt()->GetUpper() mehr...
-|* Ersterstellung AMA 17. Mar. 99
-|* Letzte Aenderung AMA 17. Mar. 99
+|* Beschreibung ruft zunaechst ContainsAny auf, um in die innerste Zelle
+|* hineinzukommen. Dort hangelt es sich wieder hoch zum
+|* ersten SwCellFrm, seit es SectionFrms gibt, reicht kein
+|* ContainsCntnt()->GetUpper() mehr...
+|* Ersterstellung AMA 17. Mar. 99
+|* Letzte Aenderung AMA 17. Mar. 99
|*
|*************************************************************************/
@@ -158,12 +158,12 @@ const SwCellFrm *SwLayoutFrm::FirstCell() const
/*************************************************************************
|*
-|* SwLayoutFrm::ContainsAny
+|* SwLayoutFrm::ContainsAny
|*
-|* Beschreibung wie ContainsCntnt, nur dass nicht nur CntntFrms, sondern auch
-|* Bereiche und Tabellen zurueckgegeben werden.
-|* Ersterstellung AMA 10. Mar. 99
-|* Letzte Aenderung AMA 10. Mar. 99
+|* Beschreibung wie ContainsCntnt, nur dass nicht nur CntntFrms, sondern auch
+|* Bereiche und Tabellen zurueckgegeben werden.
+|* Ersterstellung AMA 10. Mar. 99
+|* Letzte Aenderung AMA 10. Mar. 99
|*
|*************************************************************************/
@@ -215,10 +215,10 @@ const SwFrm *SwLayoutFrm::ContainsAny( const bool _bInvestigateFtnForSections )
/*************************************************************************
|*
-|* SwFrm::GetLower()
+|* SwFrm::GetLower()
|*
-|* Ersterstellung MA 27. Jul. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Ersterstellung MA 27. Jul. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
const SwFrm* SwFrm::GetLower() const
@@ -233,10 +233,10 @@ SwFrm* SwFrm::GetLower()
/*************************************************************************
|*
-|* SwLayoutFrm::IsAnLower()
+|* SwLayoutFrm::IsAnLower()
|*
-|* Ersterstellung MA 18. Mar. 93
-|* Letzte Aenderung MA 18. Mar. 93
+|* Ersterstellung MA 18. Mar. 93
+|* Letzte Aenderung MA 18. Mar. 93
|*
|*************************************************************************/
BOOL SwLayoutFrm::IsAnLower( const SwFrm *pAssumed ) const
@@ -462,11 +462,11 @@ const SwCntntFrm* SwCntntFrm::ImplGetNextCntntFrm( bool bFwd ) const
/*************************************************************************
|*
-|* SwFrm::FindRootFrm(), FindTabFrm(), FindFtnFrm(), FindFlyFrm(),
-|* FindPageFrm(), FindColFrm()
+|* SwFrm::FindRootFrm(), FindTabFrm(), FindFtnFrm(), FindFlyFrm(),
+|* FindPageFrm(), FindColFrm()
|*
-|* Ersterstellung ??
-|* Letzte Aenderung MA 05. Sep. 93
+|* Ersterstellung ??
+|* Letzte Aenderung MA 05. Sep. 93
|*
|*************************************************************************/
SwRootFrm* SwFrm::FindRootFrm()
@@ -592,7 +592,7 @@ SwFrm *SwFrm::FindColFrm()
{
SwFrm *pFrm = this;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( pFrm && !pFrm->IsColumnFrm() );
return pFrm;
}
@@ -601,7 +601,7 @@ SwRowFrm *SwFrm::FindRowFrm()
{
SwFrm *pFrm = this;
do
- { pFrm = pFrm->GetUpper();
+ { pFrm = pFrm->GetUpper();
} while ( pFrm && !pFrm->IsRowFrm() );
return dynamic_cast< SwRowFrm* >( pFrm );
}
@@ -610,7 +610,7 @@ SwFrm* SwFrm::FindFooterOrHeader()
{
SwFrm* pRet = this;
do
- { if ( pRet->GetType() & 0x0018 ) //Header und Footer
+ { if ( pRet->GetType() & 0x0018 ) //Header und Footer
return pRet;
else if ( pRet->GetUpper() )
pRet = pRet->GetUpper();
@@ -674,10 +674,10 @@ const SwPageFrm* SwRootFrm::GetPageAtPos( const Point& rPt, const Size* pSize, b
/*************************************************************************
|*
-|* SwFrmFrm::GetAttrSet()
+|* SwFrmFrm::GetAttrSet()
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung MA 02. Aug. 93
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung MA 02. Aug. 93
|*
|*************************************************************************/
const SwAttrSet* SwFrm::GetAttrSet() const
@@ -690,24 +690,24 @@ const SwAttrSet* SwFrm::GetAttrSet() const
/*************************************************************************
|*
-|* SwFrm::_FindNext(), _FindPrev(), InvalidateNextPos()
-|* _FindNextCnt() geht in Tabellen und Bereiche hineinund liefert
+|* SwFrm::_FindNext(), _FindPrev(), InvalidateNextPos()
+|* _FindNextCnt() geht in Tabellen und Bereiche hineinund liefert
|* nur SwCntntFrms.
|*
-|* Beschreibung Invalidiert die Position des Naechsten Frames.
-|* Dies ist der direkte Nachfolger, oder bei CntntFrm's der naechste
-|* CntntFrm der im gleichen Fluss liegt wie ich:
-|* - Body,
-|* - Fussnoten,
-|* - Bei Kopf-/Fussbereichen ist die Benachrichtigung nur innerhalb des
-|* Bereiches weiterzuleiten.
-|* - dito fuer Flys.
-|* - Cntnts in Tabs halten sich ausschliesslich innerhalb ihrer Zelle
-|* auf.
-|* - Tabellen verhalten sich prinzipiell analog zu den Cntnts
-|* - Bereiche ebenfalls
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung AMA 10. Mar. 99
+|* Beschreibung Invalidiert die Position des Naechsten Frames.
+|* Dies ist der direkte Nachfolger, oder bei CntntFrm's der naechste
+|* CntntFrm der im gleichen Fluss liegt wie ich:
+|* - Body,
+|* - Fussnoten,
+|* - Bei Kopf-/Fussbereichen ist die Benachrichtigung nur innerhalb des
+|* Bereiches weiterzuleiten.
+|* - dito fuer Flys.
+|* - Cntnts in Tabs halten sich ausschliesslich innerhalb ihrer Zelle
+|* auf.
+|* - Tabellen verhalten sich prinzipiell analog zu den Cntnts
+|* - Bereiche ebenfalls
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung AMA 10. Mar. 99
|*
|*************************************************************************/
@@ -843,7 +843,7 @@ SwFrm *SwFrm::_FindNext()
pRet = pNxtCnt->IsInTab() ? pNxtCnt->FindTabFrm()
: (SwFrm*)pNxtCnt;
}
- else //Fuss-/oder Kopfbereich
+ else //Fuss-/oder Kopfbereich
{
const SwFrm *pUp = pThis->GetUpper();
const SwFrm *pCntUp = pNxtCnt->GetUpper();
@@ -920,7 +920,7 @@ SwCntntFrm *SwFrm::_FindNextCnt( const bool _bInSameFtn )
while ( pNxtCnt )
{
if ( (bBody && pNxtCnt->IsInDocBody()) ||
- (bFtn && pNxtCnt->IsInFtn()) )
+ (bFtn && pNxtCnt->IsInFtn()) )
return pNxtCnt;
pNxtCnt = pNxtCnt->GetNextCntntFrm();
}
@@ -1171,7 +1171,7 @@ SwFrm *SwFrm::_FindPrev()
while ( pPrvCnt )
{
if ( (bBody && pPrvCnt->IsInDocBody()) ||
- (bFtn && pPrvCnt->IsInFtn()) )
+ (bFtn && pPrvCnt->IsInFtn()) )
{
pRet = pPrvCnt->IsInTab() ? pPrvCnt->FindTabFrm()
: (SwFrm*)pPrvCnt;
@@ -1186,7 +1186,7 @@ SwFrm *SwFrm::_FindPrev()
: (SwFrm*)pPrvCnt;
return pRet;
}
- else //Fuss-/oder Kopfbereich oder Fly
+ else //Fuss-/oder Kopfbereich oder Fly
{
const SwFrm *pUp = pThis->GetUpper();
const SwFrm *pCntUp = pPrvCnt->GetUpper();
@@ -1304,9 +1304,9 @@ void SwFrm::InvalidateNextPrtArea()
/*************************************************************************
|*
-|* lcl_IsInColSect()
-|* liefert nur TRUE, wenn der Frame _direkt_ in einem spaltigen Bereich steht,
-|* nicht etwa, wenn er in einer Tabelle steht, die in einem spaltigen Bereich ist.
+|* lcl_IsInColSect()
+|* liefert nur TRUE, wenn der Frame _direkt_ in einem spaltigen Bereich steht,
+|* nicht etwa, wenn er in einer Tabelle steht, die in einem spaltigen Bereich ist.
|*
|*************************************************************************/
@@ -1328,10 +1328,10 @@ BOOL lcl_IsInColSct( const SwFrm *pUp )
/*************************************************************************
|*
-|* SwFrm::IsMoveable();
+|* SwFrm::IsMoveable();
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 05. May. 95
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 05. May. 95
|*
|*************************************************************************/
/** determine, if frame is moveable in given environment
@@ -1409,16 +1409,16 @@ bool SwFrm::IsMoveable( const SwLayoutFrm* _pLayoutFrm ) const
/*************************************************************************
|*
-|* SwFrm::SetInfFlags();
+|* SwFrm::SetInfFlags();
|*
-|* Ersterstellung MA 05. Apr. 94
-|* Letzte Aenderung MA 05. Apr. 94
+|* Ersterstellung MA 05. Apr. 94
+|* Letzte Aenderung MA 05. Apr. 94
|*
|*************************************************************************/
void SwFrm::SetInfFlags()
{
if ( !IsFlyFrm() && !GetUpper() ) //noch nicht gepastet, keine Informationen
- return; //lieferbar
+ return; //lieferbar
bInfInvalid = bInfBody = bInfTab = bInfFly = bInfFtn = bInfSct = FALSE;
@@ -1689,7 +1689,7 @@ const SwCellFrm& SwCellFrm::FindStartEndOfRowSpanCell( bool bStart, bool bCurren
if ( bStart )
{
// do not enter a repeated headline:
- if ( bDoNotEnterHeadline && pTableFrm->IsFollow() &&
+ if ( bDoNotEnterHeadline && pTableFrm->IsFollow() &&
pTableFrm->IsInHeadline( *pCurrentRow->GetPrev() ) )
break;
diff --git a/sw/source/core/layout/flowfrm.cxx b/sw/source/core/layout/flowfrm.cxx
index 89c7a26d7e5f..aefff7ebe3f6 100644
--- a/sw/source/core/layout/flowfrm.cxx
+++ b/sw/source/core/layout/flowfrm.cxx
@@ -77,10 +77,10 @@ BOOL SwFlowFrm::bMoveBwdJump = FALSE;
/*************************************************************************
|*
-|* SwFlowFrm::SwFlowFrm()
+|* SwFlowFrm::SwFlowFrm()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -115,10 +115,10 @@ sal_Bool SwFlowFrm::HasLockedFollow() const
/*************************************************************************
|*
-|* SwFlowFrm::IsKeepFwdMoveAllowed()
+|* SwFlowFrm::IsKeepFwdMoveAllowed()
|*
-|* Ersterstellung MA 20. Jul. 94
-|* Letzte Aenderung MA 16. May. 95
+|* Ersterstellung MA 20. Jul. 94
+|* Letzte Aenderung MA 16. May. 95
|*
|*************************************************************************/
@@ -131,7 +131,7 @@ BOOL SwFlowFrm::IsKeepFwdMoveAllowed()
SwFrm *pFrm = &rThis;
if ( !pFrm->IsInFtn() )
do
- { if ( pFrm->GetAttrSet()->GetKeep().GetValue() )
+ { if ( pFrm->GetAttrSet()->GetKeep().GetValue() )
pFrm = pFrm->GetIndPrev();
else
return TRUE;
@@ -146,11 +146,11 @@ BOOL SwFlowFrm::IsKeepFwdMoveAllowed()
/*************************************************************************
|*
-|* SwFlowFrm::CheckKeep()
+|* SwFlowFrm::CheckKeep()
|*
-|* Beschreibung
-|* Ersterstellung MA 20. Jun. 95
-|* Letzte Aenderung MA 09. Apr. 97
+|* Beschreibung
+|* Ersterstellung MA 20. Jun. 95
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -189,10 +189,10 @@ void SwFlowFrm::CheckKeep()
/*************************************************************************
|*
-|* SwFlowFrm::IsKeep()
+|* SwFlowFrm::IsKeep()
|*
-|* Ersterstellung MA 09. Apr. 97
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 09. Apr. 97
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -289,10 +289,10 @@ BOOL SwFlowFrm::IsKeep( const SwAttrSet& rAttrs, bool bCheckIfLastRowShouldKeep
/*************************************************************************
|*
-|* SwFlowFrm::BwdMoveNecessary()
+|* SwFlowFrm::BwdMoveNecessary()
|*
-|* Ersterstellung MA 20. Jul. 94
-|* Letzte Aenderung MA 02. May. 96
+|* Ersterstellung MA 20. Jul. 94
+|* Letzte Aenderung MA 02. May. 96
|*
|*************************************************************************/
@@ -405,13 +405,13 @@ BYTE SwFlowFrm::BwdMoveNecessary( const SwPageFrm *pPage, const SwRect &rRect )
/*************************************************************************
|*
-|* SwFlowFrm::CutTree(), PasteTree(), MoveSubTree()
+|* SwFlowFrm::CutTree(), PasteTree(), MoveSubTree()
|*
-|* Beschreibung Eine Spezialisierte Form des Cut() und Paste(), die
-|* eine ganze Kette umhaengt (naehmlich this und folgende). Dabei werden
-|* nur minimale Operationen und Benachrichtigungen ausgefuehrt.
-|* Ersterstellung MA 18. Mar. 93
-|* Letzte Aenderung MA 18. May. 95
+|* Beschreibung Eine Spezialisierte Form des Cut() und Paste(), die
+|* eine ganze Kette umhaengt (naehmlich this und folgende). Dabei werden
+|* nur minimale Operationen und Benachrichtigungen ausgefuehrt.
+|* Ersterstellung MA 18. Mar. 93
+|* Letzte Aenderung MA 18. May. 95
|*
|*************************************************************************/
@@ -549,7 +549,7 @@ BOOL SwFlowFrm::PasteTree( SwFrm *pStart, SwLayoutFrm *pParent, SwFrm *pSibling,
SWRECTFN( pParent )
SwTwips nGrowVal = 0;
do
- { pFloat->pUpper = pParent;
+ { pFloat->pUpper = pParent;
pFloat->_InvalidateAll();
pFloat->CheckDirChange();
@@ -558,7 +558,7 @@ BOOL SwFlowFrm::PasteTree( SwFrm *pStart, SwLayoutFrm *pParent, SwFrm *pSibling,
if ( pFloat->IsTxtFrm() )
{
if ( ((SwTxtFrm*)pFloat)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pFloat)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pFloat)->Init(); //Ich bin sein Freund.
}
else
bRet = TRUE;
@@ -625,7 +625,7 @@ void SwFlowFrm::MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling )
pPre->InvalidatePage();
}
else
- { rThis.GetUpper()->SetCompletePaint();
+ { rThis.GetUpper()->SetCompletePaint();
rThis.GetUpper()->InvalidatePage();
}
}
@@ -685,10 +685,10 @@ void SwFlowFrm::MoveSubTree( SwLayoutFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwFlowFrm::IsAnFollow()
+|* SwFlowFrm::IsAnFollow()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -697,7 +697,7 @@ BOOL SwFlowFrm::IsAnFollow( const SwFlowFrm *pAssumed ) const
{
const SwFlowFrm *pFoll = this;
do
- { if ( pAssumed == pFoll )
+ { if ( pAssumed == pFoll )
return TRUE;
pFoll = pFoll->GetFollow();
} while ( pFoll );
@@ -707,10 +707,10 @@ BOOL SwFlowFrm::IsAnFollow( const SwFlowFrm *pAssumed ) const
/*************************************************************************
|*
-|* SwFlowFrm::FindMaster()
+|* SwFlowFrm::FindMaster()
|*
-|* Ersterstellung MA 26. Apr. 95
-|* Letzte Aenderung MA 26. Apr. 95
+|* Ersterstellung MA 26. Apr. 95
+|* Letzte Aenderung MA 26. Apr. 95
|*
|*************************************************************************/
@@ -806,14 +806,14 @@ SwTabFrm* SwTabFrm::FindMaster( bool bFirstMaster ) const
/*************************************************************************
|*
-|* SwFrm::GetLeaf()
+|* SwFrm::GetLeaf()
|*
-|* Beschreibung Liefert das naechste/vorhergehende LayoutBlatt,
-|* das _nicht_ unterhalb von this liegt (oder gar this selbst ist).
-|* Ausserdem muss dieses LayoutBlatt im gleichen Textfluss wie
-|* pAnch Ausgangsfrm liegen (Body, Ftn)
-|* Ersterstellung MA 25. Nov. 92
-|* Letzte Aenderung MA 25. Apr. 95
+|* Beschreibung Liefert das naechste/vorhergehende LayoutBlatt,
+|* das _nicht_ unterhalb von this liegt (oder gar this selbst ist).
+|* Ausserdem muss dieses LayoutBlatt im gleichen Textfluss wie
+|* pAnch Ausgangsfrm liegen (Body, Ftn)
+|* Ersterstellung MA 25. Nov. 92
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -829,13 +829,13 @@ const SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd,
BOOL bFound = FALSE;
do
- { pLeaf = ((SwFrm*)pLeaf)->GetLeaf( eMakePage, bFwd );
+ { pLeaf = ((SwFrm*)pLeaf)->GetLeaf( eMakePage, bFwd );
if ( pLeaf &&
(!IsLayoutFrm() || !((SwLayoutFrm*)this)->IsAnLower( pLeaf )))
{
if ( pAnch->IsInDocBody() == pLeaf->IsInDocBody() &&
- pAnch->IsInFtn() == pLeaf->IsInFtn() )
+ pAnch->IsInFtn() == pLeaf->IsInFtn() )
{
bFound = TRUE;
}
@@ -847,12 +847,12 @@ const SwLayoutFrm *SwFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd,
/*************************************************************************
|*
-|* SwFrm::GetLeaf()
+|* SwFrm::GetLeaf()
|*
-|* Beschreibung Ruft Get[Next|Prev]Leaf
+|* Beschreibung Ruft Get[Next|Prev]Leaf
|*
-|* Ersterstellung MA 20. Mar. 93
-|* Letzte Aenderung MA 25. Apr. 95
+|* Ersterstellung MA 20. Mar. 93
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -971,13 +971,13 @@ BOOL SwFrm::WrongPageDesc( SwPageFrm* pNew )
/*************************************************************************
|*
-|* SwFrm::GetNextLeaf()
+|* SwFrm::GetNextLeaf()
|*
-|* Beschreibung Liefert das naechste LayoutBlatt in den das
-|* Frame gemoved werden kann.
+|* Beschreibung Liefert das naechste LayoutBlatt in den das
+|* Frame gemoved werden kann.
|*
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 05. Dec. 96
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -986,7 +986,7 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
OSL_ENSURE( !IsInFtn(), "GetNextLeaf(), don't call me for Ftn." );
OSL_ENSURE( !IsInSct(), "GetNextLeaf(), don't call me for Sections." );
- const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
+ const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
//Will ich auch im Body landen.
// Bei Flys macht es keinen Sinn, Seiten einzufuegen, wir wollen lediglich
@@ -1007,10 +1007,10 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
if ( !pLayLeaf )
pLayLeaf = GetNextLayoutLeaf();
- SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
+ SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
//nicht wieder vom Anfang gesucht
//wird.
- BOOL bNewPg = FALSE; //nur einmal eine neue Seite einfuegen.
+ BOOL bNewPg = FALSE; //nur einmal eine neue Seite einfuegen.
while ( TRUE )
{
@@ -1021,7 +1021,7 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
//Dazu braucht er nur von der gleichen Art wie mein Ausgangspunkt
//sein (DocBody bzw. Footnote.)
if ( pLayLeaf->FindPageFrm()->IsFtnPage() )
- { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
+ { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
pLayLeaf = 0;
continue;
}
@@ -1115,12 +1115,12 @@ SwLayoutFrm *SwFrm::GetNextLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevLeaf()
+|* SwFrm::GetPrevLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung MA 25. Apr. 95
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
@@ -1129,7 +1129,7 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
{
OSL_ENSURE( !IsInFtn(), "GetPrevLeaf(), don't call me for Ftn." );
- const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
+ const BOOL bBody = IsInDocBody(); //Wenn ich aus dem DocBody komme
//will ich auch im Body landen.
const BOOL bFly = IsInFly();
@@ -1138,8 +1138,8 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
while ( pLayLeaf )
{
- if ( pLayLeaf->IsInTab() || //In Tabellen geht's niemals hinein.
- pLayLeaf->IsInSct() ) //In Bereiche natuerlich auch nicht!
+ if ( pLayLeaf->IsInTab() || //In Tabellen geht's niemals hinein.
+ pLayLeaf->IsInSct() ) //In Bereiche natuerlich auch nicht!
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
else if ( bBody && pLayLeaf->IsInDocBody() )
{
@@ -1151,7 +1151,7 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
SwFlowFrm::SetMoveBwdJump( TRUE );
}
else if ( bFly )
- break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein.
+ break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein.
else
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
}
@@ -1160,10 +1160,10 @@ SwLayoutFrm *SwFrm::GetPrevLeaf( MakePageType )
/*************************************************************************
|*
-|* SwFlowFrm::IsPrevObjMove()
+|* SwFlowFrm::IsPrevObjMove()
|*
-|* Ersterstellung MA 20. Feb. 96
-|* Letzte Aenderung MA 22. Feb. 96
+|* Ersterstellung MA 20. Feb. 96
+|* Letzte Aenderung MA 22. Feb. 96
|*
|*************************************************************************/
@@ -1181,8 +1181,8 @@ BOOL SwFlowFrm::IsPrevObjMove() const
if ( pPre && pPre->GetDrawObjs() )
{
- OSL_ENSURE( SwFlowFrm::CastFlowFrm( pPre ), "new flowfrm?" );
- if( SwFlowFrm::CastFlowFrm( pPre )->IsAnFollow( this ) )
+ OSL_ENSURE( SwFlowFrm::CastFlowFrm( pPre ), "new flowfrm?" );
+ if( SwFlowFrm::CastFlowFrm( pPre )->IsAnFollow( this ) )
return FALSE;
SwLayoutFrm* pPreUp = pPre->GetUpper();
// Wenn der Upper ein SectionFrm oder die Spalte eines SectionFrms ist,
@@ -1228,24 +1228,24 @@ BOOL SwFlowFrm::IsPrevObjMove() const
/*************************************************************************
|*
-|* BOOL SwFlowFrm::IsPageBreak()
+|* BOOL SwFlowFrm::IsPageBreak()
|*
-|* Beschreibung Wenn vor dem Frm ein harter Seitenumbruch steht UND
-|* es einen Vorgaenger auf der gleichen Seite gibt, wird TRUE
-|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
-|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
-|* zurueck, wenn ein PageBreak besteht.
-|* Fuer Follows wird der harte Seitenumbruch natuerlich nicht
-|* ausgewertet.
-|* Der Seitenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
-|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger auf der Seite
-|* gibt ist jede weitere Ueberlegung ueberfluessig.
-|* Ein Seitenumbruch (oder der Bedarf) liegt auch dann vor, wenn
-|* im FrmFmt ein PageDesc angegeben wird.
-|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
-|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung Wenn vor dem Frm ein harter Seitenumbruch steht UND
+|* es einen Vorgaenger auf der gleichen Seite gibt, wird TRUE
+|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
+|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
+|* zurueck, wenn ein PageBreak besteht.
+|* Fuer Follows wird der harte Seitenumbruch natuerlich nicht
+|* ausgewertet.
+|* Der Seitenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
+|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger auf der Seite
+|* gibt ist jede weitere Ueberlegung ueberfluessig.
+|* Ein Seitenumbruch (oder der Bedarf) liegt auch dann vor, wenn
+|* im FrmFmt ein PageDesc angegeben wird.
+|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
+|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
@@ -1268,11 +1268,11 @@ BOOL SwFlowFrm::IsPageBreak( BOOL bAct ) const
{
OSL_ENSURE( pPrev->IsInDocBody(), "IsPageBreak: Not in DocBody?" );
if ( bAct )
- { if ( rThis.FindPageFrm() == pPrev->FindPageFrm() )
+ { if ( rThis.FindPageFrm() == pPrev->FindPageFrm() )
return FALSE;
}
else
- { if ( rThis.FindPageFrm() != pPrev->FindPageFrm() )
+ { if ( rThis.FindPageFrm() != pPrev->FindPageFrm() )
return FALSE;
}
@@ -1294,22 +1294,22 @@ BOOL SwFlowFrm::IsPageBreak( BOOL bAct ) const
/*************************************************************************
|*
-|* BOOL SwFlowFrm::IsColBreak()
+|* BOOL SwFlowFrm::IsColBreak()
|*
-|* Beschreibung Wenn vor dem Frm ein harter Spaltenumbruch steht UND
-|* es einen Vorgaenger in der gleichen Spalte gibt, wird TRUE
-|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
-|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
-|* zurueck, wenn ein ColBreak besteht.
-|* Fuer Follows wird der harte Spaltenumbruch natuerlich nicht
-|* ausgewertet.
-|* Der Spaltenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
-|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger in der Spalte
-|* gibt ist jede weitere Ueberlegung ueberfluessig.
-|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
-|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
-|* Ersterstellung MA 11. Jun. 93
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung Wenn vor dem Frm ein harter Spaltenumbruch steht UND
+|* es einen Vorgaenger in der gleichen Spalte gibt, wird TRUE
+|* zurueckgeliefert (es muss ein PageBreak erzeugt werden) FALSE sonst.
+|* Wenn in bAct TRUE uebergeben wird, gibt die Funktion dann TRUE
+|* zurueck, wenn ein ColBreak besteht.
+|* Fuer Follows wird der harte Spaltenumbruch natuerlich nicht
+|* ausgewertet.
+|* Der Spaltenumbruch steht im eigenen FrmFmt (BEFORE) oder im FrmFmt
+|* des Vorgaengers (AFTER). Wenn es keinen Vorgaenger in der Spalte
+|* gibt ist jede weitere Ueberlegung ueberfluessig.
+|* Die Implementierung arbeitet zuaechst nur auf CntntFrms!
+|* -->Fuer LayoutFrms ist die Definition des Vorgaengers unklar.
+|* Ersterstellung MA 11. Jun. 93
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
@@ -1329,11 +1329,11 @@ BOOL SwFlowFrm::IsColBreak( BOOL bAct ) const
if ( pPrev )
{
if ( bAct )
- { if ( pCol == pPrev->FindColFrm() )
+ { if ( pCol == pPrev->FindColFrm() )
return FALSE;
}
else
- { if ( pCol != pPrev->FindColFrm() )
+ { if ( pCol != pPrev->FindColFrm() )
return FALSE;
}
@@ -1843,12 +1843,12 @@ SwTwips SwFlowFrm::CalcAddLowerSpaceAsLastInTableCell(
/*************************************************************************
|*
-|* BOOL SwFlowFrm::CheckMoveFwd()
+|* BOOL SwFlowFrm::CheckMoveFwd()
|*
-|* Beschreibung Moved den Frm vorwaerts wenn es durch die aktuellen
-|* Bedingungen und Attribute notwendig erscheint.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 09. Mar. 98
+|* Beschreibung Moved den Frm vorwaerts wenn es durch die aktuellen
+|* Bedingungen und Attribute notwendig erscheint.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 09. Mar. 98
|*
|*************************************************************************/
@@ -1919,7 +1919,7 @@ BOOL SwFlowFrm::CheckMoveFwd( BOOL &rbMakePage, BOOL bKeep, BOOL )
const SwPageFrm *pPage = rThis.FindPageFrm();
SwFrm *pCol = rThis.FindColFrm();
do
- { MoveFwd( rbMakePage, FALSE );
+ { MoveFwd( rbMakePage, FALSE );
SwFrm *pTmp = rThis.FindColFrm();
if( pTmp != pCol )
{
@@ -1939,11 +1939,11 @@ BOOL SwFlowFrm::CheckMoveFwd( BOOL &rbMakePage, BOOL bKeep, BOOL )
/*************************************************************************
|*
-|* BOOL SwFlowFrm::MoveFwd()
+|* BOOL SwFlowFrm::MoveFwd()
|*
-|* Beschreibung Returnwert sagt, ob der Frm die Seite gewechselt hat.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm die Seite gewechselt hat.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -2145,13 +2145,13 @@ BOOL SwFlowFrm::MoveFwd( BOOL bMakePage, BOOL bPageBreak, BOOL bMoveAlways )
/*************************************************************************
|*
-|* BOOL SwFlowFrm::MoveBwd()
+|* BOOL SwFlowFrm::MoveBwd()
|*
-|* Beschreibung Returnwert sagt, ob der Frm die Seite wechseln soll.
-|* Sollte von abgeleiteten Klassen gerufen werden.
-|* Das moven selbst muessen die abgeleiteten uebernehmen.
-|* Ersterstellung MA 05. Dec. 96
-|* Letzte Aenderung MA 05. Dec. 96
+|* Beschreibung Returnwert sagt, ob der Frm die Seite wechseln soll.
+|* Sollte von abgeleiteten Klassen gerufen werden.
+|* Das moven selbst muessen die abgeleiteten uebernehmen.
+|* Ersterstellung MA 05. Dec. 96
+|* Letzte Aenderung MA 05. Dec. 96
|*
|*************************************************************************/
@@ -2221,7 +2221,7 @@ BOOL SwFlowFrm::MoveBwd( BOOL &rbReformat )
)
pNewUpper = rThis.GetLeaf( MAKEPAGE_FTN, FALSE );
}
- else if ( IsPageBreak( TRUE ) ) //PageBreak zu beachten?
+ else if ( IsPageBreak( TRUE ) ) //PageBreak zu beachten?
{
//Wenn auf der vorhergehenden Seite kein Frm im Body steht,
//so ist das Zurueckfliessen trotz Pagebreak sinnvoll
@@ -2707,10 +2707,10 @@ BOOL SwFlowFrm::MoveBwd( BOOL &rbReformat )
/*************************************************************************
|*
-|* SwFlowFrm::CastFlowFrm
+|* SwFlowFrm::CastFlowFrm
|*
-|* Ersterstellung MA 03. May. 95
-|* Letzte Aenderung AMA 02. Dec. 97
+|* Ersterstellung MA 03. May. 95
+|* Letzte Aenderung AMA 02. Dec. 97
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/fly.cxx b/sw/source/core/layout/fly.cxx
index 03607d8a3ad0..7543804483ff 100644
--- a/sw/source/core/layout/fly.cxx
+++ b/sw/source/core/layout/fly.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include "ndindex.hxx" // GetGrfArea
#include "sectfrm.hxx"
#include <vcl/svapp.hxx>
-#include <vcl/salbtype.hxx> // FRound
+#include <vcl/salbtype.hxx> // FRound
using namespace ::com::sun::star;
@@ -108,10 +108,10 @@ TYPEINIT2(SwFlyFrm,SwLayoutFrm,SwAnchoredObject);
/*************************************************************************
|*
-|* SwFlyFrm::SwFlyFrm()
+|* SwFlyFrm::SwFlyFrm()
|*
-|* Ersterstellung MA 28. Sep. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 28. Sep. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -277,10 +277,10 @@ void SwFlyFrm::InsertCnt()
/*************************************************************************
|*
-|* SwFlyFrm::~SwFlyFrm()
+|* SwFlyFrm::~SwFlyFrm()
|*
-|* Ersterstellung MA 28. Sep. 92
-|* Letzte Aenderung MA 07. Jul. 95
+|* Ersterstellung MA 28. Sep. 92
+|* Letzte Aenderung MA 07. Jul. 95
|*
|*************************************************************************/
@@ -377,10 +377,10 @@ void SwFlyFrm::DeleteCnt()
/*************************************************************************
|*
-|* SwFlyFrm::InitDrawObj()
+|* SwFlyFrm::InitDrawObj()
|*
-|* Ersterstellung MA 02. Dec. 94
-|* Letzte Aenderung MA 30. Nov. 95
+|* Ersterstellung MA 02. Dec. 94
+|* Letzte Aenderung MA 30. Nov. 95
|*
|*************************************************************************/
void SwFlyFrm::InitDrawObj( BOOL bNotify )
@@ -417,10 +417,10 @@ void SwFlyFrm::InitDrawObj( BOOL bNotify )
/*************************************************************************
|*
-|* SwFlyFrm::FinitDrawObj()
+|* SwFlyFrm::FinitDrawObj()
|*
-|* Ersterstellung MA 12. Dec. 94
-|* Letzte Aenderung MA 15. May. 95
+|* Ersterstellung MA 12. Dec. 94
+|* Letzte Aenderung MA 15. May. 95
|*
|*************************************************************************/
@@ -437,7 +437,7 @@ void SwFlyFrm::FinitDrawObj()
{
ViewShell *pSh = p1St;
do
- { //z.Zt. kann das Drawing nur ein Unmark auf alles, weil das
+ { //z.Zt. kann das Drawing nur ein Unmark auf alles, weil das
//Objekt bereits Removed wurde.
if( pSh->HasDrawView() )
pSh->Imp()->GetDrawView()->UnmarkAll();
@@ -475,17 +475,17 @@ void SwFlyFrm::FinitDrawObj()
pMyContact->GetMaster()->SetUserCall( 0 );
}
GetVirtDrawObj()->SetUserCall( 0 ); //Ruft sonst Delete des ContactObj
- delete GetVirtDrawObj(); //Meldet sich selbst beim Master ab.
+ delete GetVirtDrawObj(); //Meldet sich selbst beim Master ab.
if ( pMyContact )
- delete pMyContact; //zerstoert den Master selbst.
+ delete pMyContact; //zerstoert den Master selbst.
}
/*************************************************************************
|*
-|* SwFlyFrm::ChainFrames()
+|* SwFlyFrm::ChainFrames()
|*
-|* Ersterstellung MA 29. Oct. 97
-|* Letzte Aenderung MA 20. Jan. 98
+|* Ersterstellung MA 29. Oct. 97
+|* Letzte Aenderung MA 20. Jan. 98
|*
|*************************************************************************/
@@ -578,10 +578,10 @@ void SwFlyFrm::UnchainFrames( SwFlyFrm *pMaster, SwFlyFrm *pFollow )
/*************************************************************************
|*
-|* SwFlyFrm::FindChainNeighbour()
+|* SwFlyFrm::FindChainNeighbour()
|*
-|* Ersterstellung MA 11. Nov. 97
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 11. Nov. 97
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -590,7 +590,7 @@ SwFlyFrm *SwFlyFrm::FindChainNeighbour( SwFrmFmt &rChain, SwFrm *pAnch )
//Wir suchen denjenigen Fly, der in dem selben Bereich steht.
//Bereiche koennen zunaechst nur Kopf-/Fusszeilen oder Flys sein.
- if ( !pAnch ) //Wenn ein Anchor uebergeben Wurde zaehlt dieser: Ctor!
+ if ( !pAnch ) //Wenn ein Anchor uebergeben Wurde zaehlt dieser: Ctor!
pAnch = AnchorFrm();
SwLayoutFrm *pLay;
@@ -634,10 +634,10 @@ SwFlyFrm *SwFlyFrm::FindChainNeighbour( SwFrmFmt &rChain, SwFrm *pAnch )
/*************************************************************************
|*
-|* SwFlyFrm::FindLastLower()
+|* SwFlyFrm::FindLastLower()
|*
-|* Ersterstellung MA 29. Oct. 97
-|* Letzte Aenderung MA 29. Oct. 97
+|* Ersterstellung MA 29. Oct. 97
+|* Letzte Aenderung MA 29. Oct. 97
|*
|*************************************************************************/
@@ -648,7 +648,7 @@ SwFrm *SwFlyFrm::FindLastLower()
pRet = pRet->FindTabFrm();
SwFrm *pNxt = pRet;
while ( pNxt && IsAnLower( pNxt ) )
- { pRet = pNxt;
+ { pRet = pNxt;
pNxt = pNxt->FindNext();
}
return pRet;
@@ -657,10 +657,10 @@ SwFrm *SwFlyFrm::FindLastLower()
/*************************************************************************
|*
-|* SwFlyFrm::FrmSizeChg()
+|* SwFlyFrm::FrmSizeChg()
|*
-|* Ersterstellung MA 17. Dec. 92
-|* Letzte Aenderung MA 24. Jul. 96
+|* Ersterstellung MA 17. Dec. 92
+|* Letzte Aenderung MA 24. Jul. 96
|*
|*************************************************************************/
@@ -692,7 +692,7 @@ BOOL SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize )
if ( Lower()->IsColumnFrm() )
{
const SwRect aOld( GetObjRectWithSpaces() );
- const Size aOldSz( Prt().SSize() );
+ const Size aOldSz( Prt().SSize() );
const SwTwips nDiffWidth = Frm().Width() - rFrmSize.GetWidth();
aFrm.Height( aFrm.Height() - nDiffHeight );
aFrm.Width ( aFrm.Width() - nDiffWidth );
@@ -717,10 +717,10 @@ BOOL SwFlyFrm::FrmSizeChg( const SwFmtFrmSize &rFrmSize )
/*************************************************************************
|*
-|* SwFlyFrm::Modify()
+|* SwFlyFrm::Modify()
|*
-|* Ersterstellung MA 17. Dec. 92
-|* Letzte Aenderung MA 17. Jan. 97
+|* Ersterstellung MA 17. Dec. 92
+|* Letzte Aenderung MA 17. Jan. 97
|*
|*************************************************************************/
@@ -895,7 +895,7 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
USHORT nCol = 0;
SwFrm *pTmp = Lower();
do
- { ++nCol;
+ { ++nCol;
pTmp = pTmp->GetNext();
} while ( pTmp );
aCol.Init( nCol, 0, 1000 );
@@ -1096,11 +1096,11 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwFlyFrm::GetInfo()
+|* SwFlyFrm::GetInfo()
|*
-|* Beschreibung erfragt Informationen
-|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Beschreibung erfragt Informationen
+|* Ersterstellung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
@@ -1108,16 +1108,16 @@ void SwFlyFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
BOOL SwFlyFrm::GetInfo( SfxPoolItem & rInfo ) const
{
if( RES_AUTOFMT_DOCNODE == rInfo.Which() )
- return FALSE; // es gibt einen FlyFrm also wird er benutzt
- return TRUE; // weiter suchen
+ return FALSE; // es gibt einen FlyFrm also wird er benutzt
+ return TRUE; // weiter suchen
}
/*************************************************************************
|*
-|* SwFlyFrm::_Invalidate()
+|* SwFlyFrm::_Invalidate()
|*
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 26. Jun. 96
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 26. Jun. 96
|*
|*************************************************************************/
@@ -1154,12 +1154,12 @@ void SwFlyFrm::_Invalidate( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwFlyFrm::ChgRelPos()
+|* SwFlyFrm::ChgRelPos()
|*
-|* Beschreibung Aenderung der relativen Position, die Position wird
-|* damit automatisch Fix, das Attribut wird entprechend angepasst.
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Aug. 95
+|* Beschreibung Aenderung der relativen Position, die Position wird
+|* damit automatisch Fix, das Attribut wird entprechend angepasst.
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Aug. 95
|*
|*************************************************************************/
@@ -1279,12 +1279,12 @@ void SwFlyFrm::ChgRelPos( const Point &rNewPos )
}
/*************************************************************************
|*
-|* SwFlyFrm::Format()
+|* SwFlyFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 14. Jun. 93
-|* Letzte Aenderung MA 13. Jun. 96
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 14. Jun. 93
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
@@ -1409,7 +1409,7 @@ void SwFlyFrm::Format( const SwBorderAttrs *pAttrs )
}
else
{
- bValidSize = TRUE; //Fixe Frms formatieren sich nicht.
+ bValidSize = TRUE; //Fixe Frms formatieren sich nicht.
//Flys stellen ihre Groesse anhand des Attr ein.
SwTwips nNewSize = bVert ? aRelSize.Width() : aRelSize.Height();
nNewSize -= nUL;
@@ -1790,10 +1790,10 @@ void CalcCntnt( SwLayoutFrm *pLay,
/*************************************************************************
|*
-|* SwFlyFrm::MakeFlyPos()
+|* SwFlyFrm::MakeFlyPos()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 14. Nov. 96
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 14. Nov. 96
|*
|*************************************************************************/
// OD 2004-03-23 #i26791#
@@ -1826,10 +1826,10 @@ void SwFlyFrm::MakeObjPos()
/*************************************************************************
|*
-|* SwFlyFrm::MakePrtArea()
+|* SwFlyFrm::MakePrtArea()
|*
-|* Ersterstellung MA 23. Jun. 93
-|* Letzte Aenderung MA 23. Jun. 93
+|* Ersterstellung MA 23. Jun. 93
+|* Letzte Aenderung MA 23. Jun. 93
|*
|*************************************************************************/
void SwFlyFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
@@ -1850,10 +1850,10 @@ void SwFlyFrm::MakePrtArea( const SwBorderAttrs &rAttrs )
/*************************************************************************
|*
-|* SwFlyFrm::_Grow(), _Shrink()
+|* SwFlyFrm::_Grow(), _Shrink()
|*
-|* Ersterstellung MA 05. Oct. 92
-|* Letzte Aenderung MA 05. Sep. 96
+|* Ersterstellung MA 05. Oct. 92
+|* Letzte Aenderung MA 05. Sep. 96
|*
|*************************************************************************/
@@ -1870,7 +1870,7 @@ SwTwips SwFlyFrm::_Grow( SwTwips nDist, BOOL bTst )
return 0L;
if ( Lower()->IsColumnFrm() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
{
@@ -1957,7 +1957,7 @@ SwTwips SwFlyFrm::_Shrink( SwTwips nDist, BOOL bTst )
return 0L;
if ( Lower()->IsColumnFrm() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
{
@@ -2041,10 +2041,10 @@ SwTwips SwFlyFrm::_Shrink( SwTwips nDist, BOOL bTst )
/*************************************************************************
|*
-|* SwFlyFrm::ChgSize()
+|* SwFlyFrm::ChgSize()
|*
-|* Ersterstellung MA 05. Oct. 92
-|* Letzte Aenderung MA 04. Sep. 96
+|* Ersterstellung MA 05. Oct. 92
+|* Letzte Aenderung MA 04. Sep. 96
|*
|*************************************************************************/
@@ -2094,10 +2094,10 @@ Size SwFlyFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwFlyFrm::IsLowerOf()
+|* SwFlyFrm::IsLowerOf()
|*
-|* Ersterstellung MA 27. Dec. 93
-|* Letzte Aenderung MA 27. Dec. 93
+|* Ersterstellung MA 27. Dec. 93
+|* Letzte Aenderung MA 27. Dec. 93
|*
|*************************************************************************/
@@ -2118,10 +2118,10 @@ BOOL SwFlyFrm::IsLowerOf( const SwLayoutFrm* pUpperFrm ) const
/*************************************************************************
|*
-|* SwFlyFrm::Cut()
+|* SwFlyFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
@@ -2131,10 +2131,10 @@ void SwFlyFrm::Cut()
/*************************************************************************
|*
-|* SwFrm::AppendFly(), RemoveFly()
+|* SwFrm::AppendFly(), RemoveFly()
|*
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
@@ -2223,7 +2223,7 @@ void SwFrm::RemoveFly( SwFlyFrm *pToRemove )
/*************************************************************************
|*
-|* SwFrm::AppendDrawObj(), RemoveDrawObj()
+|* SwFrm::AppendDrawObj(), RemoveDrawObj()
|*
|* --> OD 2004-07-06 #i28701# - new methods
|*
@@ -2271,7 +2271,7 @@ void SwFrm::AppendDrawObj( SwAnchoredObject& _rNewObj )
_rNewObj.DrawObj()->SetLayer(aInvisibleControlLayerID);
}
else
- {
+ {
_rNewObj.DrawObj()->SetLayer(aControlLayerID);
}
}
@@ -2321,8 +2321,8 @@ void SwFrm::RemoveDrawObj( SwAnchoredObject& _rToRemoveObj )
|*
|* SwFrm::InvalidateObjs()
|*
-|* Ersterstellung MA 29. Nov. 96
-|* Letzte Aenderung MA 29. Nov. 96
+|* Ersterstellung MA 29. Nov. 96
+|* Letzte Aenderung MA 29. Nov. 96
|*
|*************************************************************************/
// --> OD 2004-07-01 #i28701# - change purpose of method and adjust its name
@@ -2486,10 +2486,10 @@ void SwLayoutFrm::NotifyLowerObjs( const bool _bUnlockPosOfObjs )
/*************************************************************************
|*
-|* SwFlyFrm::NotifyDrawObj()
+|* SwFlyFrm::NotifyDrawObj()
|*
-|* Ersterstellung OK 22. Nov. 94
-|* Letzte Aenderung MA 10. Jan. 97
+|* Ersterstellung OK 22. Nov. 94
+|* Letzte Aenderung MA 10. Jan. 97
|*
|*************************************************************************/
@@ -2508,8 +2508,8 @@ void SwFlyFrm::NotifyDrawObj()
|*
|* SwFlyFrm::CalcRel()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 10. Oct. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 10. Oct. 96
|*
|*************************************************************************/
@@ -2631,10 +2631,10 @@ SwTwips SwFlyFrm::CalcAutoWidth() const
/*************************************************************************
|*
-|* SwFlyFrm::AddSpacesToFrm
+|* SwFlyFrm::AddSpacesToFrm
|*
-|* Ersterstellung MA 11. Nov. 96
-|* Letzte Aenderung MA 10. Mar. 97
+|* Ersterstellung MA 11. Nov. 96
+|* Letzte Aenderung MA 10. Mar. 97
|*
|*************************************************************************/
@@ -2652,10 +2652,10 @@ SwTwips SwFlyFrm::CalcAutoWidth() const
/*************************************************************************
|*
-|* SwFlyFrm::GetContour()
+|* SwFlyFrm::GetContour()
|*
-|* Ersterstellung MA 09. Jan. 97
-|* Letzte Aenderung MA 10. Jan. 97
+|* Ersterstellung MA 09. Jan. 97
+|* Letzte Aenderung MA 10. Jan. 97
|*
|*************************************************************************/
/// OD 16.04.2003 #i13147# - If called for paint and the <SwNoTxtFrm> contains
diff --git a/sw/source/core/layout/flycnt.cxx b/sw/source/core/layout/flycnt.cxx
index 02e917dc42ad..5d0b90152306 100644
--- a/sw/source/core/layout/flycnt.cxx
+++ b/sw/source/core/layout/flycnt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,10 +77,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFlyAtCntFrm::SwFlyAtCntFrm()
+|* SwFlyAtCntFrm::SwFlyAtCntFrm()
|*
-|* Ersterstellung MA 11. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 11. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -96,10 +96,10 @@ TYPEINIT1(SwFlyAtCntFrm,SwFlyFreeFrm);
// <--
/*************************************************************************
|*
-|* SwFlyAtCntFrm::Modify()
+|* SwFlyAtCntFrm::Modify()
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 23. Nov. 94
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 23. Nov. 94
|*
|*************************************************************************/
@@ -111,7 +111,7 @@ void SwFlyAtCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
if( RES_ATTRSET_CHG == nWhich && SFX_ITEM_SET ==
((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_ANCHOR, FALSE,
(const SfxPoolItem**)&pAnch ))
- ; // Beim GetItemState wird der AnkerPointer gesetzt !
+ ; // Beim GetItemState wird der AnkerPointer gesetzt !
else if( RES_ANCHOR == nWhich )
{
@@ -224,29 +224,29 @@ void SwFlyAtCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
/*************************************************************************
|*
-|* SwFlyAtCntFrm::MakeAll()
+|* SwFlyAtCntFrm::MakeAll()
|*
-|* Beschreibung Bei einem Absatzgebunden Fly kann es durchaus sein,
-|* das der Anker auf die Veraenderung des Flys reagiert. Auf diese
-|* Reaktion hat der Fly natuerlich auch wieder zu reagieren.
-|* Leider kann dies zu Oszillationen fuehren z.b. Der Fly will nach
-|* unten, dadurch kann der Inhalt nach oben, der TxtFrm wird kleiner,
-|* der Fly muss wieder hoeher woduch der Text wieder nach unten
-|* verdraengt wird...
-|* Um derartige Oszillationen zu vermeiden, wird ein kleiner Positions-
-|* stack aufgebaut. Wenn der Fly ein Position erreicht, die er bereits
-|* einmal einnahm, so brechen wir den Vorgang ab. Um keine Risiken
-|* einzugehen, wird der Positionsstack so aufgebaut, dass er fuenf
-|* Positionen zurueckblickt.
-|* Wenn der Stack ueberlaeuft, wird ebenfalls abgebrochen.
-|* Der Abbruch fuer dazu, dass der Fly am Ende eine unguenste Position
-|* einnimmt. Damit es nicht durch einen wiederholten Aufruf von
-|* Aussen zu einer 'grossen Oszillation' kommen kann wird im Abbruch-
-|* fall das Attribut des Rahmens auf automatische Ausrichtung oben
-|* eingestellt.
+|* Beschreibung Bei einem Absatzgebunden Fly kann es durchaus sein,
+|* das der Anker auf die Veraenderung des Flys reagiert. Auf diese
+|* Reaktion hat der Fly natuerlich auch wieder zu reagieren.
+|* Leider kann dies zu Oszillationen fuehren z.b. Der Fly will nach
+|* unten, dadurch kann der Inhalt nach oben, der TxtFrm wird kleiner,
+|* der Fly muss wieder hoeher woduch der Text wieder nach unten
+|* verdraengt wird...
+|* Um derartige Oszillationen zu vermeiden, wird ein kleiner Positions-
+|* stack aufgebaut. Wenn der Fly ein Position erreicht, die er bereits
+|* einmal einnahm, so brechen wir den Vorgang ab. Um keine Risiken
+|* einzugehen, wird der Positionsstack so aufgebaut, dass er fuenf
+|* Positionen zurueckblickt.
+|* Wenn der Stack ueberlaeuft, wird ebenfalls abgebrochen.
+|* Der Abbruch fuer dazu, dass der Fly am Ende eine unguenste Position
+|* einnimmt. Damit es nicht durch einen wiederholten Aufruf von
+|* Aussen zu einer 'grossen Oszillation' kommen kann wird im Abbruch-
+|* fall das Attribut des Rahmens auf automatische Ausrichtung oben
+|* eingestellt.
|*
-|* Ersterstellung MA 12. Nov. 92
-|* Letzte Aenderung MA 20. Sep. 96
+|* Ersterstellung MA 12. Nov. 92
+|* Letzte Aenderung MA 20. Sep. 96
|*
|*************************************************************************/
//Wir brauchen ein Paar Hilfsklassen zur Kontrolle der Ozillation und ein paar
@@ -615,14 +615,14 @@ bool SwFlyAtCntFrm::IsFormatPossible() const
/*************************************************************************
|*
-|* FindAnchor() und Hilfsfunktionen.
+|* FindAnchor() und Hilfsfunktionen.
|*
-|* Beschreibung: Sucht ausgehend von pOldAnch einen Anker fuer
-|* Absatzgebundene Objekte.
-|* Wird beim Draggen von Absatzgebundenen Objekten zur Ankeranzeige sowie
-|* fuer Ankerwechsel benoetigt.
-|* Ersterstellung MA 22. Jun. 93
-|* Letzte Aenderung MA 30. Jan. 95
+|* Beschreibung: Sucht ausgehend von pOldAnch einen Anker fuer
+|* Absatzgebundene Objekte.
+|* Wird beim Draggen von Absatzgebundenen Objekten zur Ankeranzeige sowie
+|* fuer Ankerwechsel benoetigt.
+|* Ersterstellung MA 22. Jun. 93
+|* Letzte Aenderung MA 30. Jan. 95
|*
|*************************************************************************/
@@ -899,7 +899,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
rpCnt = 0;
ULONG nDistance = ULONG_MAX;
- ULONG nNearest = ULONG_MAX;
+ ULONG nNearest = ULONG_MAX;
const SwCntntFrm *pCnt = pLay->ContainsCntnt();
while ( pCnt && (bBody != pCnt->IsInDocBody() || bFtn != pCnt->IsInFtn()))
@@ -925,7 +925,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
if ( pCnt->Frm().Top() <= rPt.Y() )
{
if ( nDiff < nDistance )
- { //Der ist dichter dran
+ { //Der ist dichter dran
nDistance = nNearest = nDiff;
rpCnt = pNearest = pCnt;
}
@@ -943,7 +943,7 @@ ULONG MA_FASTCALL lcl_FindCntDiff( const Point &rPt, const SwLayoutFrm *pLay,
} while ( pCnt && pLay->IsAnLower( pCnt ) );
}
if ( nDistance == ULONG_MAX )
- { rpCnt = pNearest;
+ { rpCnt = pNearest;
return nNearest;
}
return nDistance;
@@ -970,7 +970,7 @@ const SwCntntFrm * MA_FASTCALL lcl_FindCnt( const Point &rPt, const SwCntntFrm *
if ( pNew )
pRet = pNew;
else
- { pRet = pCnt;
+ { pRet = pCnt;
nDist = ULONG_MAX;
}
const SwCntntFrm *pNearest = pRet;
@@ -1142,7 +1142,7 @@ const SwCntntFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
bNegAllowed = FALSE;
if ( nUpLst.nMain < 0 ) //nicht den falschen erwischen, wenn der Wert
//gerade von negativ auf positiv gekippt ist.
- { pUpLst = pUpFrm;
+ { pUpLst = pUpFrm;
nUpLst = nUp;
}
}
@@ -1206,10 +1206,10 @@ const SwCntntFrm *FindAnchor( const SwFrm *pOldAnch, const Point &rNew,
/*************************************************************************
|*
-|* SwFlyAtCntFrm::SetAbsPos()
+|* SwFlyAtCntFrm::SetAbsPos()
|*
-|* Ersterstellung MA 22. Jun. 93
-|* Letzte Aenderung MA 11. Sep. 98
+|* Ersterstellung MA 22. Jun. 93
+|* Letzte Aenderung MA 11. Sep. 98
|*
|*************************************************************************/
@@ -1293,13 +1293,13 @@ void SwFlyAtCntFrm::SetAbsPos( const Point &rNew )
while ( pCnt->IsFollow() )
{
do
- { pCnt = pCnt->GetPrevCntntFrm();
+ { pCnt = pCnt->GetPrevCntntFrm();
} while ( pCnt->GetFollow() != pFollow );
pFollow = pCnt;
}
SwTwips nDiff = 0;
do
- { const SwFrm *pUp = pFollow->GetUpper();
+ { const SwFrm *pUp = pFollow->GetUpper();
if( pUp->IsVertical() )
nDiff += pFollow->Frm().Left() + pFollow->Frm().Width()
- pUp->Frm().Left() - pUp->Prt().Left();
diff --git a/sw/source/core/layout/flyincnt.cxx b/sw/source/core/layout/flyincnt.cxx
index 51f1d3a0929c..fba14fdef241 100644
--- a/sw/source/core/layout/flyincnt.cxx
+++ b/sw/source/core/layout/flyincnt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -37,7 +37,7 @@
#include "hints.hxx"
#include <fmtornt.hxx>
#include <fmtfsize.hxx>
-#include "txtfrm.hxx" //fuer IsLocked()
+#include "txtfrm.hxx" //fuer IsLocked()
#include "flyfrms.hxx"
// OD 2004-01-19 #110582#
#include <dflyobj.hxx>
@@ -47,10 +47,10 @@ void DeepCalc( const SwFrm *pFrm );
/*************************************************************************
|*
-|* SwFlyInCntFrm::SwFlyInCntFrm(), ~SwFlyInCntFrm()
+|* SwFlyInCntFrm::SwFlyInCntFrm(), ~SwFlyInCntFrm()
|*
-|* Ersterstellung MA 01. Dec. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 01. Dec. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
SwFlyInCntFrm::SwFlyInCntFrm( SwFlyFrmFmt *pFmt, SwFrm *pAnch ) :
@@ -82,10 +82,10 @@ TYPEINIT1(SwFlyInCntFrm,SwFlyFrm);
// <--
/*************************************************************************
|*
-|* SwFlyInCntFrm::SetRefPoint(),
+|* SwFlyInCntFrm::SetRefPoint(),
|*
-|* Ersterstellung MA 01. Dec. 92
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 01. Dec. 92
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwFlyInCntFrm::SetRefPoint( const Point& rPoint,
@@ -118,10 +118,10 @@ void SwFlyInCntFrm::SetRefPoint( const Point& rPoint,
/*************************************************************************
|*
-|* SwFlyInCntFrm::Modify()
+|* SwFlyInCntFrm::Modify()
|*
-|* Ersterstellung MA 16. Dec. 92
-|* Letzte Aenderung MA 02. Sep. 93
+|* Ersterstellung MA 16. Dec. 92
+|* Letzte Aenderung MA 02. Sep. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
@@ -165,21 +165,21 @@ void SwFlyInCntFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
}
/*************************************************************************
|*
-|* SwFlyInCntFrm::Format()
+|* SwFlyInCntFrm::Format()
|*
-|* Beschreibung: Hier wird der Inhalt initial mit Formatiert.
-|* Ersterstellung MA 16. Dec. 92
-|* Letzte Aenderung MA 19. May. 93
+|* Beschreibung: Hier wird der Inhalt initial mit Formatiert.
+|* Ersterstellung MA 16. Dec. 92
+|* Letzte Aenderung MA 19. May. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
{
if ( !Frm().Height() )
{
- Lock(); //nicht hintenherum den Anker formatieren.
+ Lock(); //nicht hintenherum den Anker formatieren.
SwCntntFrm *pCntnt = ContainsCntnt();
while ( pCntnt )
- { pCntnt->Calc();
+ { pCntnt->Calc();
pCntnt = pCntnt->GetNextCntntFrm();
}
Unlock();
@@ -188,13 +188,13 @@ void SwFlyInCntFrm::Format( const SwBorderAttrs *pAttrs )
}
/*************************************************************************
|*
-|* SwFlyInCntFrm::MakeFlyPos()
+|* SwFlyInCntFrm::MakeFlyPos()
|*
-|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die
-|* die RelPos berechnet. Die absolute Position wird ausschliesslich
-|* per SetAbsPos errechnet.
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 12. Apr. 96
+|* Beschreibung Im Unterschied zu anderen Frms wird hier nur die
+|* die RelPos berechnet. Die absolute Position wird ausschliesslich
+|* per SetAbsPos errechnet.
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 12. Apr. 96
|*
|*************************************************************************/
// OD 2004-03-23 #i26791#
@@ -234,10 +234,10 @@ void SwFlyInCntFrm::_ActionOnInvalidation( const InvalidationType _nInvalid )
// <--
/*************************************************************************
|*
-|* SwFlyInCntFrm::NotifyBackground()
+|* SwFlyInCntFrm::NotifyBackground()
|*
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::NotifyBackground( SwPageFrm *, const SwRect& rRect,
@@ -251,10 +251,10 @@ void SwFlyInCntFrm::NotifyBackground( SwPageFrm *, const SwRect& rRect,
/*************************************************************************
|*
-|* SwFlyInCntFrm::GetRelPos()
+|* SwFlyInCntFrm::GetRelPos()
|*
-|* Ersterstellung MA 04. Dec. 92
-|* Letzte Aenderung MA 04. Dec. 92
+|* Ersterstellung MA 04. Dec. 92
+|* Letzte Aenderung MA 04. Dec. 92
|*
|*************************************************************************/
const Point SwFlyInCntFrm::GetRelPos() const
@@ -265,10 +265,10 @@ const Point SwFlyInCntFrm::GetRelPos() const
/*************************************************************************
|*
-|* SwFlyInCntFrm::RegistFlys()
+|* SwFlyInCntFrm::RegistFlys()
|*
-|* Ersterstellung MA 26. Nov. 93
-|* Letzte Aenderung MA 26. Nov. 93
+|* Ersterstellung MA 26. Nov. 93
+|* Letzte Aenderung MA 26. Nov. 93
|*
|*************************************************************************/
void SwFlyInCntFrm::RegistFlys()
@@ -281,10 +281,10 @@ void SwFlyInCntFrm::RegistFlys()
/*************************************************************************
|*
-|* SwFlyInCntFrm::MakeAll()
+|* SwFlyInCntFrm::MakeAll()
|*
-|* Ersterstellung MA 18. Feb. 94
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 18. Feb. 94
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
void SwFlyInCntFrm::MakeAll()
@@ -298,7 +298,7 @@ void SwFlyInCntFrm::MakeAll()
if ( !GetAnchorFrm() || IsLocked() || IsColLocked() || !FindPageFrm() )
return;
- Lock(); //Der Vorhang faellt
+ Lock(); //Der Vorhang faellt
//uebernimmt im DTor die Benachrichtigung
const SwFlyNotify aNotify( this );
diff --git a/sw/source/core/layout/flylay.cxx b/sw/source/core/layout/flylay.cxx
index 52d1bf24e24e..1c5f19d2fc93 100644
--- a/sw/source/core/layout/flylay.cxx
+++ b/sw/source/core/layout/flylay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFlyFreeFrm::SwFlyFreeFrm(), ~SwFlyFreeFrm()
+|* SwFlyFreeFrm::SwFlyFreeFrm(), ~SwFlyFreeFrm()
|*
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -119,16 +119,16 @@ TYPEINIT1(SwFlyFreeFrm,SwFlyFrm);
// <--
/*************************************************************************
|*
-|* SwFlyFreeFrm::NotifyBackground()
+|* SwFlyFreeFrm::NotifyBackground()
|*
-|* Beschreibung Benachrichtigt den Hintergrund (alle CntntFrms die
-|* gerade ueberlappt werden. Ausserdem wird das Window in einigen
-|* Faellen direkt invalidiert (vor allem dort, wo keine CntntFrms
-|* ueberlappt werden.
-|* Es werden auch die CntntFrms innerhalb von anderen Flys
-|* beruecksichtigt.
-|* Ersterstellung MA 03. Dec. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Beschreibung Benachrichtigt den Hintergrund (alle CntntFrms die
+|* gerade ueberlappt werden. Ausserdem wird das Window in einigen
+|* Faellen direkt invalidiert (vor allem dort, wo keine CntntFrms
+|* ueberlappt werden.
+|* Es werden auch die CntntFrms innerhalb von anderen Flys
+|* beruecksichtigt.
+|* Ersterstellung MA 03. Dec. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
@@ -140,10 +140,10 @@ void SwFlyFreeFrm::NotifyBackground( SwPageFrm *pPageFrm,
/*************************************************************************
|*
-|* SwFlyFreeFrm::MakeAll()
+|* SwFlyFreeFrm::MakeAll()
|*
-|* Ersterstellung MA 18. Feb. 94
-|* Letzte Aenderung MA 03. Mar. 97
+|* Ersterstellung MA 18. Feb. 94
+|* Letzte Aenderung MA 03. Mar. 97
|*
|*************************************************************************/
@@ -168,7 +168,7 @@ void SwFlyFreeFrm::MakeAll()
if( !GetPageFrm() )
return;
- Lock(); //Der Vorhang faellt
+ Lock(); //Der Vorhang faellt
//uebernimmt im DTor die Benachrichtigung
const SwFlyNotify aNotify( this );
@@ -200,7 +200,7 @@ void SwFlyFreeFrm::MakeAll()
{
SWRECTFN( this )
const SwFmtFrmSize *pSz;
- { //Zusaetzlicher Scope, damit aAccess vor dem Check zerstoert wird!
+ { //Zusaetzlicher Scope, damit aAccess vor dem Check zerstoert wird!
SwBorderAttrAccess aAccess( SwFrm::GetCache(), this );
const SwBorderAttrs &rAttrs = *aAccess.Get();
@@ -324,10 +324,10 @@ bool SwFlyFreeFrm::HasEnvironmentAutoSize() const
/*************************************************************************
|*
-|* SwFlyFreeFrm::CheckClip()
+|* SwFlyFreeFrm::CheckClip()
|*
-|* Ersterstellung MA 21. Feb. 94
-|* Letzte Aenderung MA 03. Mar. 97
+|* Ersterstellung MA 21. Feb. 94
+|* Letzte Aenderung MA 03. Mar. 97
|*
|*************************************************************************/
@@ -444,7 +444,7 @@ void SwFlyFreeFrm::CheckClip( const SwFmtFrmSize &rSz )
aFrmRect.Height()!= aOldSize.Height() )
{
if ( (aOldSize.Width() - aFrmRect.Width()) >
- (aOldSize.Height()- aFrmRect.Height()) )
+ (aOldSize.Height()- aFrmRect.Height()) )
aFrmRect.Height( aOldSize.Height() );
else
aFrmRect.Width( aOldSize.Width() );
@@ -496,14 +496,14 @@ void SwFlyFreeFrm::CheckClip( const SwFmtFrmSize &rSz )
Frm().Width ( Max( long(MINLAY), aFrmRect.Width() ) );
if ( Lower() && Lower()->IsColumnFrm() )
{
- ColLock(); //Grow/Shrink locken.
+ ColLock(); //Grow/Shrink locken.
const Size aTmpOldSize( Prt().SSize() );
Prt().Height( Frm().Height() - nPrtHeightDiff );
Prt().Width ( Frm().Width() - nPrtWidthDiff );
ChgLowersProp( aTmpOldSize );
SwFrm *pLow = Lower();
do
- { pLow->Calc();
+ { pLow->Calc();
// auch den (Column)BodyFrm mitkalkulieren
((SwLayoutFrm*)pLow)->Lower()->Calc();
pLow = pLow->GetNext();
@@ -542,10 +542,10 @@ bool SwFlyFreeFrm::IsFormatPossible() const
/*************************************************************************
|*
-|* SwFlyLayFrm::SwFlyLayFrm()
+|* SwFlyLayFrm::SwFlyLayFrm()
|*
-|* Ersterstellung MA 25. Aug. 92
-|* Letzte Aenderung MA 09. Apr. 99
+|* Ersterstellung MA 25. Aug. 92
+|* Letzte Aenderung MA 09. Apr. 99
|*
|*************************************************************************/
@@ -560,10 +560,10 @@ TYPEINIT1(SwFlyLayFrm,SwFlyFreeFrm);
// <--
/*************************************************************************
|*
-|* SwFlyLayFrm::Modify()
+|* SwFlyLayFrm::Modify()
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 28. Aug. 93
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 28. Aug. 93
|*
|*************************************************************************/
@@ -575,7 +575,7 @@ void SwFlyLayFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
if( RES_ATTRSET_CHG == nWhich && SFX_ITEM_SET ==
((SwAttrSetChg*)pNew)->GetChgSet()->GetItemState( RES_ANCHOR, FALSE,
(const SfxPoolItem**)&pAnch ))
- ; // Beim GetItemState wird der AnkerPointer gesetzt !
+ ; // Beim GetItemState wird der AnkerPointer gesetzt !
else if( RES_ANCHOR == nWhich )
{
@@ -644,10 +644,10 @@ void SwFlyLayFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
/*************************************************************************
|*
-|* SwPageFrm::AppendFly()
+|* SwPageFrm::AppendFly()
|*
-|* Ersterstellung MA 10. Oct. 92
-|* Letzte Aenderung MA 08. Jun. 96
+|* Ersterstellung MA 10. Oct. 92
+|* Letzte Aenderung MA 08. Jun. 96
|*
|*************************************************************************/
@@ -756,10 +756,10 @@ void SwPageFrm::AppendFlyToPage( SwFlyFrm *pNew )
/*************************************************************************
|*
-|* SwPageFrm::RemoveFly()
+|* SwPageFrm::RemoveFly()
|*
-|* Ersterstellung MA 10. Oct. 92
-|* Letzte Aenderung MA 26. Aug. 96
+|* Ersterstellung MA 10. Oct. 92
+|* Letzte Aenderung MA 26. Aug. 96
|*
|*************************************************************************/
@@ -800,7 +800,7 @@ void SwPageFrm::RemoveFlyFromPage( SwFlyFrm *pToRemove )
{
pSortedObjs->Remove( *pToRemove );
if ( !pSortedObjs->Count() )
- { DELETEZ( pSortedObjs );
+ { DELETEZ( pSortedObjs );
}
}
// --> OD 2004-06-30 #i28701# - use new method <SetPageFrm(..)>
@@ -809,10 +809,10 @@ void SwPageFrm::RemoveFlyFromPage( SwFlyFrm *pToRemove )
/*************************************************************************
|*
-|* SwPageFrm::MoveFly
+|* SwPageFrm::MoveFly
|*
-|* Ersterstellung MA 25. Jan. 97
-|* Letzte Aenderung MA 25. Jan. 97
+|* Ersterstellung MA 25. Jan. 97
+|* Letzte Aenderung MA 25. Jan. 97
|*
|*************************************************************************/
@@ -854,7 +854,7 @@ void SwPageFrm::MoveFly( SwFlyFrm *pToMove, SwPageFrm *pDest )
{
pSortedObjs->Remove( *pToMove );
if ( !pSortedObjs->Count() )
- { DELETEZ( pSortedObjs );
+ { DELETEZ( pSortedObjs );
}
}
@@ -1011,10 +1011,10 @@ void SwPageFrm::RemoveDrawObjFromPage( SwAnchoredObject& _rToRemoveObj )
/*************************************************************************
|*
-|* SwPageFrm::PlaceFly
+|* SwPageFrm::PlaceFly
|*
-|* Ersterstellung MA 08. Feb. 93
-|* Letzte Aenderung MA 27. Feb. 93
+|* Ersterstellung MA 08. Feb. 93
+|* Letzte Aenderung MA 27. Feb. 93
|*
|*************************************************************************/
@@ -1047,10 +1047,10 @@ void SwPageFrm::PlaceFly( SwFlyFrm* pFly, SwFlyFrmFmt* pFmt )
/*************************************************************************
|*
-|* ::CalcClipRect
+|* ::CalcClipRect
|*
-|* Ersterstellung AMA 24. Sep. 96
-|* Letzte Aenderung MA 18. Dec. 96
+|* Ersterstellung AMA 24. Sep. 96
+|* Letzte Aenderung MA 18. Dec. 96
|*
|*************************************************************************/
// OD 22.09.2003 #i18732# - adjustments for following text flow or not
diff --git a/sw/source/core/layout/flypos.cxx b/sw/source/core/layout/flypos.cxx
index 8cb2d5a7fccd..77898e233a7c 100644
--- a/sw/source/core/layout/flypos.cxx
+++ b/sw/source/core/layout/flypos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwPosFlyFrm::~SwPosFlyFrm()
BOOL SwPosFlyFrm::operator==( const SwPosFlyFrm& )
{
- return FALSE; // FlyFrames koennen auf der gleichen Position stehen
+ return FALSE; // FlyFrames koennen auf der gleichen Position stehen
}
BOOL SwPosFlyFrm::operator<( const SwPosFlyFrm& rPosFly )
diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 992e09afce22..94ca3ac8e1ba 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -109,10 +109,10 @@ BOOL StackHack::bLocked = FALSE;
/*************************************************************************
|*
-|* SwFrmNotify::SwFrmNotify()
+|* SwFrmNotify::SwFrmNotify()
|*
-|* Ersterstellung MA 27. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 27. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -144,10 +144,10 @@ SwFrmNotify::SwFrmNotify( SwFrm *pF ) :
/*************************************************************************
|*
-|* SwFrmNotify::~SwFrmNotify()
+|* SwFrmNotify::~SwFrmNotify()
|*
-|* Ersterstellung MA 27. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 27. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -459,10 +459,10 @@ SwFrmNotify::~SwFrmNotify()
/*************************************************************************
|*
-|* SwLayNotify::SwLayNotify()
+|* SwLayNotify::SwLayNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 03. Jun. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 03. Jun. 93
|*
|*************************************************************************/
@@ -475,10 +475,10 @@ SwLayNotify::SwLayNotify( SwLayoutFrm *pLayFrm ) :
/*************************************************************************
|*
-|* SwLayNotify::~SwLayNotify()
+|* SwLayNotify::~SwLayNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
@@ -545,7 +545,7 @@ SwLayNotify::~SwLayNotify()
//1. Wenn der Formatierte kein Fly ist
//2. Wenn er keine Spalten enthaelt
//3. Wenn der Fly eine feste Hoehe hat und die Spalten in der
- // Hoehe danebenliegen.
+ // Hoehe danebenliegen.
//4. niemals bei SectionFrms.
BOOL bLow;
if( pLay->IsFlyFrm() )
@@ -691,10 +691,10 @@ SwLayNotify::~SwLayNotify()
/*************************************************************************
|*
-|* SwFlyNotify::SwFlyNotify()
+|* SwFlyNotify::SwFlyNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 26. Aug. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 26. Aug. 93
|*
|*************************************************************************/
@@ -710,10 +710,10 @@ SwFlyNotify::SwFlyNotify( SwFlyFrm *pFlyFrm ) :
/*************************************************************************
|*
-|* SwFlyNotify::~SwFlyNotify()
+|* SwFlyNotify::~SwFlyNotify()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 09. Nov. 95
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 09. Nov. 95
|*
|*************************************************************************/
@@ -826,10 +826,10 @@ SwFlyNotify::~SwFlyNotify()
/*************************************************************************
|*
-|* SwCntntNotify::SwCntntNotify()
+|* SwCntntNotify::SwCntntNotify()
|*
-|* Ersterstellung MA 24. Nov. 92
-|* Letzte Aenderung MA 16. May. 95
+|* Ersterstellung MA 24. Nov. 92
+|* Letzte Aenderung MA 16. May. 95
|*
|*************************************************************************/
@@ -861,10 +861,10 @@ SwCntntNotify::SwCntntNotify( SwCntntFrm *pCntntFrm ) :
/*************************************************************************
|*
-|* SwCntntNotify::~SwCntntNotify()
+|* SwCntntNotify::~SwCntntNotify()
|*
-|* Ersterstellung MA 24. Nov. 92
-|* Letzte Aenderung MA 09. Apr. 97
+|* Ersterstellung MA 24. Nov. 92
+|* Letzte Aenderung MA 09. Apr. 97
|*
|*************************************************************************/
@@ -890,7 +890,7 @@ SwCntntNotify::~SwCntntNotify()
pCell = pCell->GetUpper();
OSL_ENSURE( pCell->IsCellFrm(), "Where's my cell?" );
if ( text::VertOrientation::NONE != pCell->GetFmt()->GetVertOrient().GetVertOrient() )
- pCell->InvalidatePrt(); //fuer vertikale Ausrichtung.
+ pCell->InvalidatePrt(); //fuer vertikale Ausrichtung.
}
// OD 2004-02-26 #i25029#
@@ -960,7 +960,7 @@ SwCntntNotify::~SwCntntNotify()
SwFEShell *pFESh = 0;
ViewShell *pTmp = pSh;
do
- { if ( pTmp->ISA( SwCrsrShell ) )
+ { if ( pTmp->ISA( SwCrsrShell ) )
{
pFESh = (SwFEShell*)pTmp;
// #108369#: Here used to be the condition if (!bFirst).
@@ -1004,7 +1004,7 @@ SwCntntNotify::~SwCntntNotify()
if ( bFirst )
{
- pCnt->SetRetouche(); //fix(13870)
+ pCnt->SetRetouche(); //fix(13870)
SwDoc *pDoc = pCnt->GetNode()->GetDoc();
if ( pDoc->GetSpzFrmFmts()->Count() &&
@@ -1034,7 +1034,7 @@ SwCntntNotify::~SwCntntNotify()
if ((FLY_AT_PAGE != rAnch.GetAnchorId()) &&
(FLY_AT_PARA != rAnch.GetAnchorId()))
{
- continue; //#60878# nicht etwa zeichengebundene.
+ continue; //#60878# nicht etwa zeichengebundene.
}
BOOL bCheckPos = FALSE;
@@ -1109,13 +1109,13 @@ SwCntntNotify::~SwCntntNotify()
/*************************************************************************
|*
-|* InsertCnt
+|* InsertCnt
|*
-|* Beschreibung Hilfsfunktionen, die friend von irgendwem sind, damit
-|* nicht immer gleich 'ne ganze Klasse befreundet werden
-|* muss.
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 11. May. 95
+|* Beschreibung Hilfsfunktionen, die friend von irgendwem sind, damit
+|* nicht immer gleich 'ne ganze Klasse befreundet werden
+|* muss.
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 11. May. 95
|*
|*************************************************************************/
@@ -1332,8 +1332,8 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
SwPageFrm *pPage = pLay->FindPageFrm();
const SwSpzFrmFmts *pTbl = pDoc->GetSpzFrmFmts();
- SwFrm *pFrm = 0;
- BOOL bBreakAfter = FALSE;
+ SwFrm *pFrm = 0;
+ BOOL bBreakAfter = FALSE;
SwActualSection *pActualSection = 0;
SwLayHelper *pPageMaker;
@@ -1433,7 +1433,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
AppendObjs( pTbl, nIndex, pFrm, pPage );
}
else if ( pNd->IsTableNode() )
- { //Sollten wir auf eine Tabelle gestossen sein?
+ { //Sollten wir auf eine Tabelle gestossen sein?
SwTableNode *pTblNode = (SwTableNode*)pNd;
// #108116# loading may produce table structures that GCLines
@@ -1647,7 +1647,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
}
}
else if( pNd->IsStartNode() &&
- SwFlyStartNode == ((SwStartNode*)pNd)->GetStartNodeType() )
+ SwFlyStartNode == ((SwStartNode*)pNd)->GetStartNodeType() )
{
if ( pTbl->Count() && bObjsDirect && !bDontCreateObjects )
{
@@ -1680,7 +1680,7 @@ void MA_FASTCALL _InsertCnt( SwLayoutFrm *pLay, SwDoc *pDoc,
delete pActualSection;
}
- if ( bPages ) //Jetzt noch die Flys verbinden lassen.
+ if ( bPages ) //Jetzt noch die Flys verbinden lassen.
{
if ( !bDontCreateObjects )
AppendAllObjs( pTbl );
@@ -1926,10 +1926,10 @@ void MakeFrms( SwDoc *pDoc, const SwNodeIndex &rSttIdx,
/*************************************************************************
|*
-|* SwBorderAttrs::Ctor, DTor
+|* SwBorderAttrs::Ctor, DTor
|*
-|* Ersterstellung MA 19. May. 93
-|* Letzte Aenderung MA 25. Jan. 97
+|* Ersterstellung MA 19. May. 93
+|* Letzte Aenderung MA 25. Jan. 97
|*
|*************************************************************************/
@@ -1938,13 +1938,13 @@ SwBorderAttrs::SwBorderAttrs( const SwModify *pMod, const SwFrm *pConstructor )
rAttrSet( pConstructor->IsCntntFrm()
? ((SwCntntFrm*)pConstructor)->GetNode()->GetSwAttrSet()
: ((SwLayoutFrm*)pConstructor)->GetFmt()->GetAttrSet() ),
- rUL ( rAttrSet.GetULSpace() ),
+ rUL ( rAttrSet.GetULSpace() ),
// --> OD 2008-12-04 #i96772#
// LRSpaceItem is copied due to the possibility that it is adjusted - see below
rLR ( rAttrSet.GetLRSpace() ),
// <--
- rBox ( rAttrSet.GetBox() ),
- rShadow ( rAttrSet.GetShadow() ),
+ rBox ( rAttrSet.GetBox() ),
+ rShadow ( rAttrSet.GetShadow() ),
aFrmSize( rAttrSet.GetFrmSize().GetSize() )
{
// --> OD 2008-12-02 #i96772#
@@ -1977,15 +1977,15 @@ SwBorderAttrs::~SwBorderAttrs()
/*************************************************************************
|*
-|* SwBorderAttrs::CalcTop(), CalcBottom(), CalcLeft(), CalcRight()
+|* SwBorderAttrs::CalcTop(), CalcBottom(), CalcLeft(), CalcRight()
|*
-|* Beschreibung Die Calc-Methoden errechnen zusaetzlich zu den
-|* von den Attributen vorgegebenen Groessen einen Sicherheitsabstand.
-|* der Sicherheitsabstand wird nur einkalkuliert, wenn Umrandung und/oder
-|* Schatten im Spiel sind; er soll vermeiden, dass aufgrund der
-|* groben physikalischen Gegebenheiten Raender usw. uebermalt werden.
-|* Ersterstellung MA 19. May. 93
-|* Letzte Aenderung MA 08. Jul. 93
+|* Beschreibung Die Calc-Methoden errechnen zusaetzlich zu den
+|* von den Attributen vorgegebenen Groessen einen Sicherheitsabstand.
+|* der Sicherheitsabstand wird nur einkalkuliert, wenn Umrandung und/oder
+|* Schatten im Spiel sind; er soll vermeiden, dass aufgrund der
+|* groben physikalischen Gegebenheiten Raender usw. uebermalt werden.
+|* Ersterstellung MA 19. May. 93
+|* Letzte Aenderung MA 08. Jul. 93
|*
|*************************************************************************/
@@ -2065,15 +2065,15 @@ long SwBorderAttrs::CalcLeft( const SwFrm *pCaller ) const
/*************************************************************************
|*
-|* SwBorderAttrs::CalcTopLine(), CalcBottomLine(),
-|* CalcLeftLine(), CalcRightLine()
+|* SwBorderAttrs::CalcTopLine(), CalcBottomLine(),
+|* CalcLeftLine(), CalcRightLine()
|*
-|* Beschreibung Berechnung der Groessen fuer Umrandung und Schatten.
-|* Es kann auch ohne Linien ein Abstand erwuenscht sein,
-|* dieser wird dann nicht vom Attribut sondern hier
-|* beruecksichtigt (bBorderDist, z.B. fuer Zellen).
-|* Ersterstellung MA 21. May. 93
-|* Letzte Aenderung MA 07. Jun. 99
+|* Beschreibung Berechnung der Groessen fuer Umrandung und Schatten.
+|* Es kann auch ohne Linien ein Abstand erwuenscht sein,
+|* dieser wird dann nicht vom Attribut sondern hier
+|* beruecksichtigt (bBorderDist, z.B. fuer Zellen).
+|* Ersterstellung MA 21. May. 93
+|* Letzte Aenderung MA 07. Jun. 99
|*
|*************************************************************************/
@@ -2115,10 +2115,10 @@ void SwBorderAttrs::_CalcRightLine()
/*************************************************************************
|*
-|* SwBorderAttrs::_IsLine()
+|* SwBorderAttrs::_IsLine()
|*
-|* Ersterstellung MA 29. Sep. 94
-|* Letzte Aenderung MA 29. Sep. 94
+|* Ersterstellung MA 29. Sep. 94
+|* Letzte Aenderung MA 29. Sep. 94
|*
|*************************************************************************/
@@ -2131,24 +2131,24 @@ void SwBorderAttrs::_IsLine()
/*************************************************************************
|*
-|* SwBorderAttrs::CmpLeftRightLine(), IsTopLine(), IsBottomLine()
+|* SwBorderAttrs::CmpLeftRightLine(), IsTopLine(), IsBottomLine()
|*
-|* Die Umrandungen benachbarter Absaetze werden nach folgendem
-|* Algorithmus zusammengefasst:
+|* Die Umrandungen benachbarter Absaetze werden nach folgendem
+|* Algorithmus zusammengefasst:
|*
-|* 1. Die Umrandung oben faellt weg, wenn der Vorgaenger dieselbe
-|* Umrandung oben aufweist und 3. Zutrifft.
-|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
-|* unten eine Umrandung haben.
-|* 2. Die Umrandung unten faellt weg, wenn der Nachfolger dieselbe
-|* Umrandung untern aufweist und 3. Zustrifft.
-|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
-|* oben eine Umrandung haben.
-|* 3. Die Umrandungen links und rechts vor Vorgaenger bzw. Nachfolger
-|* sind identisch.
+|* 1. Die Umrandung oben faellt weg, wenn der Vorgaenger dieselbe
+|* Umrandung oben aufweist und 3. Zutrifft.
+|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
+|* unten eine Umrandung haben.
+|* 2. Die Umrandung unten faellt weg, wenn der Nachfolger dieselbe
+|* Umrandung untern aufweist und 3. Zustrifft.
+|* Zusaetzlich muss der Absatz mindestens rechts oder links oder
+|* oben eine Umrandung haben.
+|* 3. Die Umrandungen links und rechts vor Vorgaenger bzw. Nachfolger
+|* sind identisch.
|*
-|* Ersterstellung MA 22. Mar. 95
-|* Letzte Aenderung MA 22. May. 95
+|* Ersterstellung MA 22. Mar. 95
+|* Letzte Aenderung MA 22. May. 95
|*
|*************************************************************************/
inline int CmpLines( const SvxBorderLine *pL1, const SvxBorderLine *pL2 )
@@ -2317,10 +2317,10 @@ void SwBorderAttrs::_GetBottomLine( const SwFrm& _rFrm )
/*************************************************************************
|*
-|* SwBorderAttrAccess::CTor
+|* SwBorderAttrAccess::CTor
|*
-|* Ersterstellung MA 20. Mar. 95
-|* Letzte Aenderung MA 29. Nov. 95
+|* Ersterstellung MA 20. Mar. 95
+|* Letzte Aenderung MA 29. Nov. 95
|*
|*************************************************************************/
@@ -2337,10 +2337,10 @@ SwBorderAttrAccess::SwBorderAttrAccess( SwCache &rCach, const SwFrm *pFrm ) :
/*************************************************************************
|*
-|* SwBorderAttrAccess::NewObj, Get
+|* SwBorderAttrAccess::NewObj, Get
|*
-|* Ersterstellung MA 20. Mar. 95
-|* Letzte Aenderung MA 20. Mar. 95
+|* Ersterstellung MA 20. Mar. 95
+|* Letzte Aenderung MA 20. Mar. 95
|*
|*************************************************************************/
@@ -2357,10 +2357,10 @@ SwBorderAttrs *SwBorderAttrAccess::Get()
/*************************************************************************
|*
-|* SwOrderIter::Ctor
+|* SwOrderIter::Ctor
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2373,10 +2373,10 @@ SwOrderIter::SwOrderIter( const SwPageFrm *pPg, BOOL bFlys ) :
/*************************************************************************
|*
-|* SwOrderIter::Top()
+|* SwOrderIter::Top()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2409,10 +2409,10 @@ const SdrObject *SwOrderIter::Top()
/*************************************************************************
|*
-|* SwOrderIter::Bottom()
+|* SwOrderIter::Bottom()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2445,10 +2445,10 @@ const SdrObject *SwOrderIter::Bottom()
/*************************************************************************
|*
-|* SwOrderIter::Next()
+|* SwOrderIter::Next()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2482,10 +2482,10 @@ const SdrObject *SwOrderIter::Next()
/*************************************************************************
|*
-|* SwOrderIter::Prev()
+|* SwOrderIter::Prev()
|*
-|* Ersterstellung MA 06. Jan. 95
-|* Letzte Aenderung MA 22. Nov. 95
+|* Ersterstellung MA 06. Jan. 95
+|* Letzte Aenderung MA 22. Nov. 95
|*
|*************************************************************************/
@@ -2519,10 +2519,10 @@ const SdrObject *SwOrderIter::Prev()
/*************************************************************************
|*
-|* SaveCntnt(), RestoreCntnt()
+|* SaveCntnt(), RestoreCntnt()
|*
-|* Ersterstellung MA 10. Jun. 93
-|* Letzte Aenderung MA 07. Mar. 95
+|* Ersterstellung MA 10. Jun. 93
+|* Letzte Aenderung MA 07. Mar. 95
|*
|*************************************************************************/
@@ -2638,7 +2638,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
do
{
if( bGo )
- pFloat->GetUpper()->pLower = 0; //Die Teilkette ausklinken.
+ pFloat->GetUpper()->pLower = 0; //Die Teilkette ausklinken.
//Das Ende der Teilkette suchen, unterwegs die Flys abmelden.
do
@@ -2656,7 +2656,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
if( pCnt )
{
do
- { if ( pCnt->GetDrawObjs() )
+ { if ( pCnt->GetDrawObjs() )
::lcl_RemoveObjsFromPage( pCnt );
pCnt = pCnt->GetNextCntntFrm();
} while ( pCnt && ((SwLayoutFrm*)pFloat)->IsAnLower( pCnt ) );
@@ -2666,7 +2666,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
OSL_ENSURE( !pFloat, "Neuer Float-Frame?" );
}
}
- if ( pFloat->GetNext() )
+ if ( pFloat->GetNext() )
{
if( bGo )
pFloat->pUpper = NULL;
@@ -2697,7 +2697,7 @@ SwFrm *SaveCntnt( SwLayoutFrm *pLay, SwFrm *pStart )
if ( pTmp && bGo )
{
- pFloat->pNext = pTmp; //Die beiden Ketten verbinden.
+ pFloat->pNext = pTmp; //Die beiden Ketten verbinden.
pFloat->pNext->pPrev = pFloat;
}
pFloat = pTmp;
@@ -2793,9 +2793,9 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
pSibling->Prepare( PREP_CLEAR, 0, sal_False );
}
else
- { pNxt = pParent->pLower;
+ { pNxt = pParent->pLower;
pParent->pLower = pSav;
- pSav->pUpper = pParent; //Schon mal setzen, sonst ist fuer das
+ pSav->pUpper = pParent; //Schon mal setzen, sonst ist fuer das
//invalidate der Parent (z.B. ein Fly) nicht klar.
//Invaliden Cntnt anmelden.
if ( pSav->IsCntntFrm() )
@@ -2812,7 +2812,7 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
SwTwips nGrowVal = 0;
SwFrm* pLast;
do
- { pSav->pUpper = pParent;
+ { pSav->pUpper = pParent;
nGrowVal += (pSav->Frm().*fnRect->fnGetHeight)();
pSav->_InvalidateAll();
@@ -2821,21 +2821,21 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
{
if ( pSav->IsTxtFrm() &&
((SwTxtFrm*)pSav)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pSav)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pSav)->Init(); //Ich bin sein Freund.
if ( pPage && pSav->GetDrawObjs() )
::lcl_AddObjsToPage( (SwCntntFrm*)pSav, pPage );
}
else
- { SwCntntFrm *pBlub = ((SwLayoutFrm*)pSav)->ContainsCntnt();
+ { SwCntntFrm *pBlub = ((SwLayoutFrm*)pSav)->ContainsCntnt();
if( pBlub )
{
do
- { if ( pPage && pBlub->GetDrawObjs() )
+ { if ( pPage && pBlub->GetDrawObjs() )
::lcl_AddObjsToPage( pBlub, pPage );
if( pBlub->IsTxtFrm() && ((SwTxtFrm*)pBlub)->HasFtn() &&
((SwTxtFrm*)pBlub)->GetCacheIdx() != USHRT_MAX )
- ((SwTxtFrm*)pBlub)->Init(); //Ich bin sein Freund.
+ ((SwTxtFrm*)pBlub)->Init(); //Ich bin sein Freund.
pBlub = pBlub->GetNextCntntFrm();
} while ( pBlub && ((SwLayoutFrm*)pSav)->IsAnLower( pBlub ));
}
@@ -2857,11 +2857,11 @@ void RestoreCntnt( SwFrm *pSav, SwLayoutFrm *pParent, SwFrm *pSibling, bool bGro
/*************************************************************************
|*
-|* SqRt() Berechnung der Quadratwurzel, damit die math.lib
-|* nicht auch noch dazugelinkt werden muss.
+|* SqRt() Berechnung der Quadratwurzel, damit die math.lib
+|* nicht auch noch dazugelinkt werden muss.
|*
-|* Ersterstellung OK ??
-|* Letzte Aenderung MA 09. Jan. 97
+|* Ersterstellung OK ??
+|* Letzte Aenderung MA 09. Jan. 97
|*
|*************************************************************************/
@@ -2883,10 +2883,10 @@ ULONG MA_FASTCALL SqRt( BigInt nX )
/*************************************************************************
|*
-|* InsertNewPage() Einsetzen einer neuen Seite.
+|* InsertNewPage() Einsetzen einer neuen Seite.
|*
-|* Ersterstellung MA 01. Jul. 93
-|* Letzte Aenderung MA 31. Jul. 95
+|* Ersterstellung MA 01. Jul. 93
+|* Letzte Aenderung MA 31. Jul. 95
|*
|*************************************************************************/
@@ -2924,12 +2924,12 @@ SwPageFrm * MA_FASTCALL InsertNewPage( SwPageDesc &rDesc, SwFrm *pUpper,
/*************************************************************************
|*
-|* RegistFlys(), Regist() Die beiden folgenden Methoden durchsuchen rekursiv
-|* eine Layoutstruktur und melden alle FlyFrms, die einen beliebigen Frm
-|* innerhalb der Struktur als Anker haben bei der Seite an.
+|* RegistFlys(), Regist() Die beiden folgenden Methoden durchsuchen rekursiv
+|* eine Layoutstruktur und melden alle FlyFrms, die einen beliebigen Frm
+|* innerhalb der Struktur als Anker haben bei der Seite an.
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 07. Jul. 95
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 07. Jul. 95
|*
|*************************************************************************/
@@ -2997,12 +2997,12 @@ void RegistFlys( SwPageFrm *pPage, const SwLayoutFrm *pLay )
/*************************************************************************
|*
-|* void Notify()
+|* void Notify()
|*
-|* Beschreibung Benachrichtigt den Hintergrund je nach der
-|* Veraenderung zwischen altem und neuem Rechteckt.
-|* Ersterstellung MA 18. Jun. 93
-|* Letzte Aenderung MA 06. Jun. 96
+|* Beschreibung Benachrichtigt den Hintergrund je nach der
+|* Veraenderung zwischen altem und neuem Rechteckt.
+|* Ersterstellung MA 18. Jun. 93
+|* Letzte Aenderung MA 06. Jun. 96
|*
|*************************************************************************/
@@ -3011,7 +3011,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
const SwRect aFrm( pFly->GetObjRectWithSpaces() );
if ( rOld.Pos() != aFrm.Pos() )
- { //Positionsaenderung, alten und neuen Bereich invalidieren
+ { //Positionsaenderung, alten und neuen Bereich invalidieren
if ( rOld.HasArea() &&
rOld.Left()+pFly->GetFmt()->GetLRSpace().GetLeft() < WEIT_WECH )
{
@@ -3020,7 +3020,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
pFly->NotifyBackground( pFly->FindPageFrm(), aFrm, PREP_FLY_ARRIVE );
}
else if ( rOld.SSize() != aFrm.SSize() )
- { //Groessenaenderung, den Bereich der Verlassen wurde bzw. jetzt
+ { //Groessenaenderung, den Bereich der Verlassen wurde bzw. jetzt
//ueberdeckt wird invalidieren.
//Der Einfachheit halber wird hier bewusst jeweils ein Twip
//unnoetig invalidiert.
@@ -3042,7 +3042,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Left( Min(aFrm.Left(), rOld.Left()) );
+ aTmp.Left( Min(aFrm.Left(), rOld.Left()) );
aTmp.Right( Max(aFrm.Left(), rOld.Left()) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3052,7 +3052,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Left( Min(nNew, nOld) );
+ aTmp.Left( Min(nNew, nOld) );
aTmp.Right( Max(nNew, nOld) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3060,7 +3060,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Top( Min(aFrm.Top(), rOld.Top()) );
+ aTmp.Top( Min(aFrm.Top(), rOld.Top()) );
aTmp.Bottom( Max(aFrm.Top(), rOld.Top()) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3070,7 +3070,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
{
SwRect aTmp( rOld );
aTmp.Union( aFrm );
- aTmp.Top( Min(nNew, nOld) );
+ aTmp.Top( Min(nNew, nOld) );
aTmp.Bottom( Max(nNew, nOld) );
pFly->NotifyBackground( pOld, aTmp, PREP_FLY_CHGD );
}
@@ -3085,7 +3085,7 @@ void Notify( SwFlyFrm *pFly, SwPageFrm *pOld, const SwRect &rOld,
/*************************************************************************
|*
-|* NotifyBackground()
+|* NotifyBackground()
|*
|*************************************************************************/
@@ -3332,9 +3332,9 @@ void Notify_Background( const SdrObject* pObj,
/*************************************************************************
|*
-|* GetVirtualUpper() liefert bei absatzgebundenen Objekten den Upper
+|* GetVirtualUpper() liefert bei absatzgebundenen Objekten den Upper
|* des Ankers. Falls es sich dabei um verkettete Rahmen oder
-|* Fussnoten handelt, wird ggf. der "virtuelle" Upper ermittelt.
+|* Fussnoten handelt, wird ggf. der "virtuelle" Upper ermittelt.
|*
|*************************************************************************/
@@ -3372,7 +3372,7 @@ const SwFrm* GetVirtualUpper( const SwFrm* pFrm, const Point& rPos )
/*************************************************************************
|*
-|* IsLowerOf()
+|* IsLowerOf()
|*
|*************************************************************************/
@@ -3394,7 +3394,7 @@ BOOL Is_Lower_Of( const SwFrm *pCurrFrm, const SdrObject* pObj )
OSL_ENSURE( pFrm, "8-( Fly is lost in Space." );
pFrm = GetVirtualUpper( pFrm, aPos );
do
- { if ( pFrm == pCurrFrm )
+ { if ( pFrm == pCurrFrm )
return TRUE;
if( pFrm->IsFlyFrm() )
{
@@ -3413,10 +3413,10 @@ const SwFrm *FindKontext( const SwFrm *pFrm, USHORT nAdditionalKontextTyp )
//Umgebung hineinragen kann.
const USHORT nTyp = FRM_ROOT | FRM_HEADER | FRM_FOOTER | FRM_FTNCONT |
FRM_FTN | FRM_FLY |
- FRM_TAB | FRM_ROW | FRM_CELL |
+ FRM_TAB | FRM_ROW | FRM_CELL |
nAdditionalKontextTyp;
do
- { if ( pFrm->GetType() & nTyp )
+ { if ( pFrm->GetType() & nTyp )
break;
pFrm = pFrm->GetUpper();
} while( pFrm );
@@ -3429,9 +3429,9 @@ BOOL IsFrmInSameKontext( const SwFrm *pInnerFrm, const SwFrm *pFrm )
const USHORT nTyp = FRM_ROOT | FRM_HEADER | FRM_FOOTER | FRM_FTNCONT |
FRM_FTN | FRM_FLY |
- FRM_TAB | FRM_ROW | FRM_CELL;
+ FRM_TAB | FRM_ROW | FRM_CELL;
do
- { if ( pFrm->GetType() & nTyp )
+ { if ( pFrm->GetType() & nTyp )
{
if( pFrm == pKontext )
return TRUE;
@@ -3488,7 +3488,7 @@ SwTwips MA_FASTCALL lcl_CalcCellRstHeight( SwLayoutFrm *pCell )
long nRstHeight = 0;
SwFrm *pLow = pCell->Lower();
do
- { nRstHeight += ::CalcRowRstHeight( (SwLayoutFrm*)pLow );
+ { nRstHeight += ::CalcRowRstHeight( (SwLayoutFrm*)pLow );
pLow = pLow->GetNext();
} while ( pLow );
diff --git a/sw/source/core/layout/ftnfrm.cxx b/sw/source/core/layout/ftnfrm.cxx
index 4683db4e5ac5..bb7675091f93 100644
--- a/sw/source/core/layout/ftnfrm.cxx
+++ b/sw/source/core/layout/ftnfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +55,12 @@
/*************************************************************************
|*
-|* lcl_FindFtnPos() Sucht die Position des Attributes im FtnArray am
-|* Dokument, dort stehen die Fussnoten gluecklicherweise nach ihrem
-|* Index sortiert.
+|* lcl_FindFtnPos() Sucht die Position des Attributes im FtnArray am
+|* Dokument, dort stehen die Fussnoten gluecklicherweise nach ihrem
+|* Index sortiert.
|*
-|* Ersterstellung MA 29. Jun. 93
-|* Letzte Aenderung MA 13. Dec. 93
+|* Ersterstellung MA 29. Jun. 93
+|* Letzte Aenderung MA 13. Dec. 93
|*
|*************************************************************************/
@@ -115,13 +115,13 @@ BOOL SwFtnFrm::operator<( const SwTxtFtn* pTxtFtn ) const
/*************************************************************************
|*
-|* BOOL lcl_NextFtnBoss( SwFtnBossFrm* pBoss, SwPageFrm* pPage)
+|* BOOL lcl_NextFtnBoss( SwFtnBossFrm* pBoss, SwPageFrm* pPage)
|* setzt pBoss auf den naechsten SwFtnBossFrm, das kann entweder eine Spalte
|* oder eine Seite (ohne Spalten) sein. Wenn die Seite dabei gewechselt wird
|* enthaelt pPage die neue Seite und die Funktion liefert TRUE.
|*
-|* Ersterstellung AMA 06. Nov. 98
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung AMA 06. Nov. 98
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -168,12 +168,12 @@ BOOL lcl_NextFtnBoss( SwFtnBossFrm* &rpBoss, SwPageFrm* &rpPage,
/*************************************************************************
|*
-|* USHORT lcl_ColumnNum( SwFrm* pBoss )
+|* USHORT lcl_ColumnNum( SwFrm* pBoss )
|* liefert die Spaltennummer, wenn pBoss eine Spalte ist,
|* sonst eine Null (bei Seiten).
|*
-|* Ersterstellung AMA 06. Nov. 98
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung AMA 06. Nov. 98
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -199,7 +199,7 @@ USHORT lcl_ColumnNum( const SwFrm* pBoss )
pCol = pBoss;
while( pCol )
{
- nRet += 256; // Page columns
+ nRet += 256; // Page columns
pCol = pCol->GetPrev();
}
return nRet;
@@ -207,10 +207,10 @@ USHORT lcl_ColumnNum( const SwFrm* pBoss )
/*************************************************************************
|*
-|* SwFtnContFrm::SwFtnContFrm()
+|* SwFtnContFrm::SwFtnContFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 02. Mar. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 02. Mar. 93
|*
|*************************************************************************/
@@ -254,12 +254,12 @@ long lcl_Undersize( const SwFrm* pFrm )
/*************************************************************************
|*
-|* SwFtnContFrm::Format()
+|* SwFtnContFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame;
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 01. Mar. 93
-|* Letzte Aenderung MA 17. Nov. 98
+|* Beschreibung: "Formatiert" den Frame;
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 01. Mar. 93
+|* Letzte Aenderung MA 17. Nov. 98
|*
|*************************************************************************/
@@ -339,10 +339,10 @@ void SwFtnContFrm::Format( const SwBorderAttrs * )
}
/*************************************************************************
|*
-|* SwFtnContFrm::GrowFrm(), ShrinkFrm()
+|* SwFtnContFrm::GrowFrm(), ShrinkFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung AMA 05. Nov. 98
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung AMA 05. Nov. 98
|*
|*************************************************************************/
@@ -504,10 +504,10 @@ SwTwips SwFtnContFrm::ShrinkFrm( SwTwips nDiff, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFtnFrm::SwFtnFrm()
+|* SwFtnFrm::SwFtnFrm()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 11. Oct. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 11. Oct. 93
|*
|*************************************************************************/
@@ -528,10 +528,10 @@ SwFtnFrm::SwFtnFrm( SwFrmFmt *pFmt, SwCntntFrm *pCnt, SwTxtFtn *pAt ):
/*************************************************************************
|*
-|* SwFtnFrm::InvalidateNxtFtnCnts()
+|* SwFtnFrm::InvalidateNxtFtnCnts()
|*
-|* Ersterstellung MA 29. Jun. 93
-|* Letzte Aenderung MA 29. Jun. 93
+|* Ersterstellung MA 29. Jun. 93
+|* Letzte Aenderung MA 29. Jun. 93
|*
|*************************************************************************/
@@ -546,7 +546,7 @@ void SwFtnFrm::InvalidateNxtFtnCnts( SwPageFrm *pPage )
pCnt->InvalidatePage( pPage );
pCnt->_InvalidatePrt();
do
- { pCnt->_InvalidatePos();
+ { pCnt->_InvalidatePos();
if( pCnt->IsSctFrm() )
{
SwFrm* pTmp = ((SwSectionFrm*)pCnt)->ContainsAny();
@@ -598,10 +598,10 @@ SwTwips SwFtnFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFtnFrm::Cut()
+|* SwFtnFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 24. Jul. 95
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 24. Jul. 95
|*
|*************************************************************************/
@@ -649,7 +649,7 @@ void SwFtnFrm::Cut()
pSect->_InvalidateSize();
}
else
- { if ( Frm().Height() )
+ { if ( Frm().Height() )
pUp->Shrink( Frm().Height() );
pUp->SetCompletePaint();
pUp->InvalidatePage();
@@ -659,10 +659,10 @@ void SwFtnFrm::Cut()
/*************************************************************************
|*
-|* SwFtnFrm::Paste()
+|* SwFtnFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
@@ -728,13 +728,13 @@ void SwFtnFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwFrm::GetNextFtnLeaf()
+|* SwFrm::GetNextFtnLeaf()
|*
-|* Beschreibung Liefert das naechste LayoutBlatt in den das
-|* Frame gemoved werden kann.
-|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung AMA 09. Nov. 98
+|* Beschreibung Liefert das naechste LayoutBlatt in den das
+|* Frame gemoved werden kann.
+|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung AMA 09. Nov. 98
|*
|*************************************************************************/
@@ -768,7 +768,7 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
pPage = (SwPageFrm*)pOldPage->GetNext();
// Leerseiten ueberspringen
if( pPage && pPage->IsEmptyPage() )
- pPage = (SwPageFrm*)pPage->GetNext();
+ pPage = (SwPageFrm*)pPage->GetNext();
pBoss = pPage;
}
}
@@ -808,7 +808,7 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
return 0;
}
if( pBoss->IsPageFrm() )
- { // Wenn wir auf einer spaltigen Seite gelandet sind,
+ { // Wenn wir auf einer spaltigen Seite gelandet sind,
// gehen wir in die erste Spalte
SwLayoutFrm* pLay = pBoss->FindBodyCont();
if( pLay && pLay->Lower() && pLay->Lower()->IsColumnFrm() )
@@ -824,12 +824,12 @@ SwLayoutFrm *SwFrm::GetNextFtnLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevFtnLeaf()
+|* SwFrm::GetPrevFtnLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung MA 16. Nov. 92
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung MA 16. Nov. 92
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -876,8 +876,8 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
do
{
if( pNxtBoss->IsColumnFrm() && pNxtBoss->GetPrev() )
- pNxtBoss = (SwFtnBossFrm*)pNxtBoss->GetPrev(); // eine Spalte zurueck
- else // oder eine Seite zurueck
+ pNxtBoss = (SwFtnBossFrm*)pNxtBoss->GetPrev(); // eine Spalte zurueck
+ else // oder eine Seite zurueck
{
SwLayoutFrm* pBody = 0;
if( pSect )
@@ -925,7 +925,7 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
break;
}
if ( pStop == pNxtBoss )
- { //Die Seite/Spalte auf der sich auch die Referenz tummelt, ist erreicht.
+ { //Die Seite/Spalte auf der sich auch die Referenz tummelt, ist erreicht.
//Wir koennen jetzt probehalber mal einen Container erzeugen und
//uns hineinpasten.
if ( eMakeFtn == MAKEPAGE_FTN && pNxtBoss->GetMaxFtnHeight() )
@@ -939,12 +939,12 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
const SwFtnBossFrm* pNewBoss = pRet->FindFtnBossFrm();
BOOL bJump = FALSE;
if( pOldBoss->IsColumnFrm() && pOldBoss->GetPrev() ) // es gibt eine vorherige Spalte
- bJump = pOldBoss->GetPrev() != (SwFrm*)pNewBoss; // sind wir darin gelandet?
+ bJump = pOldBoss->GetPrev() != (SwFrm*)pNewBoss; // sind wir darin gelandet?
else if( pNewBoss->IsColumnFrm() && pNewBoss->GetNext() )
bJump = TRUE; // es gibt hinter dem neuen Boss noch eine Spalte, die aber nicht
// der alte Boss sein kann, das haben wir ja bereits geprueft.
else // hier landen wir nur, wenn neuer und alter Boss entweder Seiten oder letzte (neu)
- { // bzw. erste (alt) Spalten einer Seite sind. In diesem Fall muss noch geprueft
+ { // bzw. erste (alt) Spalten einer Seite sind. In diesem Fall muss noch geprueft
// werden, ob Seiten ueberspringen wurden.
USHORT nDiff = pOldPage->GetPhyPageNum() - pRet->FindPageFrm()->GetPhyPageNum();
if ( nDiff > 2 ||
@@ -959,10 +959,10 @@ SwLayoutFrm *SwFrm::GetPrevFtnLeaf( MakePageType eMakeFtn )
/*************************************************************************
|*
-|* SwFrm::IsFtnAllowed()
+|* SwFrm::IsFtnAllowed()
|*
-|* Ersterstellung MA 22. Mar. 94
-|* Letzte Aenderung MA 01. Dec. 94
+|* Ersterstellung MA 22. Mar. 94
+|* Letzte Aenderung MA 01. Dec. 94
|*
|*************************************************************************/
@@ -984,10 +984,10 @@ BOOL SwFrm::IsFtnAllowed() const
/*************************************************************************
|*
-|* SwRootFrm::UpdateFtnNums()
+|* SwRootFrm::UpdateFtnNums()
|*
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung MA 09. Dec. 97
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung MA 09. Dec. 97
|*
|*************************************************************************/
@@ -1008,11 +1008,11 @@ void SwRootFrm::UpdateFtnNums()
/*************************************************************************
|*
-|* RemoveFtns() Entfernen aller Fussnoten (nicht etwa die Referenzen)
-|* und Entfernen aller Fussnotenseiten.
+|* RemoveFtns() Entfernen aller Fussnoten (nicht etwa die Referenzen)
+|* und Entfernen aller Fussnotenseiten.
|*
-|* Ersterstellung MA 05. Dec. 97
-|* Letzte Aenderung AMA 06. Nov. 98
+|* Ersterstellung MA 05. Dec. 97
+|* Letzte Aenderung AMA 06. Nov. 98
|*
|*************************************************************************/
@@ -1055,7 +1055,7 @@ void lcl_RemoveFtns( SwFtnBossFrm* pBoss, BOOL bPageOnly, BOOL bEndNotes )
SwFrm* pLow = pBody->Lower();
while( pLow->GetNext() )
{
- if( pLow->IsSctFrm() && ( !pLow->GetNext() ||
+ if( pLow->IsSctFrm() && ( !pLow->GetNext() ||
((SwSectionFrm*)pLow)->IsAnyNoteAtEnd() ) &&
((SwSectionFrm*)pLow)->Lower() &&
((SwSectionFrm*)pLow)->Lower()->IsColumnFrm() )
@@ -1076,7 +1076,7 @@ void SwRootFrm::RemoveFtns( SwPageFrm *pPage, BOOL bPageOnly, BOOL bEndNotes )
pPage = (SwPageFrm*)Lower();
do
- { // Bei spaltigen Seiten muessen wir in allen Spalten aufraeumen
+ { // Bei spaltigen Seiten muessen wir in allen Spalten aufraeumen
SwFtnBossFrm* pBoss;
SwLayoutFrm* pBody = pPage->FindBodyCont();
if( pBody && pBody->Lower() && pBody->Lower()->IsColumnFrm() )
@@ -1105,10 +1105,10 @@ void SwRootFrm::RemoveFtns( SwPageFrm *pPage, BOOL bPageOnly, BOOL bEndNotes )
/*************************************************************************
|*
-|* SetFtnPageDescs() Seitenvorlagen der Fussnotenseiten aendern
+|* SetFtnPageDescs() Seitenvorlagen der Fussnotenseiten aendern
|*
-|* Ersterstellung MA 11. Dec. 97
-|* Letzte Aenderung MA 11. Dec. 97
+|* Ersterstellung MA 11. Dec. 97
+|* Letzte Aenderung MA 11. Dec. 97
|*
|*************************************************************************/
@@ -1126,10 +1126,10 @@ void SwRootFrm::CheckFtnPageDescs( BOOL bEndNote )
/*************************************************************************
|*
-|* SwFtnBossFrm::MakeFtnCont()
+|* SwFtnBossFrm::MakeFtnCont()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1155,10 +1155,10 @@ SwFtnContFrm *SwFtnBossFrm::MakeFtnCont()
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFtnCont()
+|* SwFtnBossFrm::FindFtnCont()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1187,10 +1187,10 @@ SwFtnContFrm *SwFtnBossFrm::FindFtnCont()
/*************************************************************************
|*
-|* SwFtnBossFrm::FindNearestFtnCont() Sucht den naechst greifbaren Fussnotencontainer.
+|* SwFtnBossFrm::FindNearestFtnCont() Sucht den naechst greifbaren Fussnotencontainer.
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1221,11 +1221,11 @@ SwFtnContFrm *SwFtnBossFrm::FindNearestFtnCont( BOOL bDontLeave )
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFirstFtn()
+|* SwFtnBossFrm::FindFirstFtn()
|*
-|* Beschreibung Erste Fussnote des Fussnotenbosses suchen.
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 99
+|* Beschreibung Erste Fussnote des Fussnotenbosses suchen.
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 99
|*
|*************************************************************************/
@@ -1263,7 +1263,7 @@ SwFtnFrm *SwFtnBossFrm::FindFirstFtn()
return NULL; //mind. eine Spalte zu weit.
}
else if ( nPgNum > nRefNum )
- return NULL; //mind. eine Seite zu weit.
+ return NULL; //mind. eine Seite zu weit.
}
else
return NULL;
@@ -1300,21 +1300,21 @@ SwFtnFrm *SwFtnBossFrm::FindFirstFtn()
pRet = 0; //mind. eine Spalte zu weit.
}
else if ( nPgNum > nRefNum )
- pRet = 0; //mind. eine Seite zu weit.
+ pRet = 0; //mind. eine Seite zu weit.
}
else
- pRet = 0; //Gibt eben keinen.
+ pRet = 0; //Gibt eben keinen.
} while( pRet );
return pRet;
}
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFirstFtn()
+|* SwFtnBossFrm::FindFirstFtn()
|*
-|* Beschreibunt Erste Fussnote zum Cnt suchen.
-|* Ersterstellung MA 04. Mar. 93
-|* Letzte Aenderung AMA 28. Oct. 98
+|* Beschreibunt Erste Fussnote zum Cnt suchen.
+|* Ersterstellung MA 04. Mar. 93
+|* Letzte Aenderung AMA 28. Oct. 98
|*
|*************************************************************************/
@@ -1334,7 +1334,7 @@ const SwFtnFrm *SwFtnBossFrm::FindFirstFtn( SwCntntFrm *pCnt ) const
if ( pRet->GetNext() )
pRet = (const SwFtnFrm*)pRet->GetNext();
else
- { SwFtnBossFrm *pBoss = (SwFtnBossFrm*)pRet->FindFtnBossFrm();
+ { SwFtnBossFrm *pBoss = (SwFtnBossFrm*)pRet->FindFtnBossFrm();
SwPageFrm *pPage = pBoss->FindPageFrm();
lcl_NextFtnBoss( pBoss, pPage, FALSE ); // naechster FtnBoss
SwFtnContFrm *pCont = pBoss ? pBoss->FindNearestFtnCont() : 0;
@@ -1354,10 +1354,10 @@ const SwFtnFrm *SwFtnBossFrm::FindFirstFtn( SwCntntFrm *pCnt ) const
/*************************************************************************
|*
-|* SwFtnBossFrm::ResetFtn()
+|* SwFtnBossFrm::ResetFtn()
|*
-|* Ersterstellung MA 11. May. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 11. May. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1404,10 +1404,10 @@ void SwFtnBossFrm::ResetFtn( const SwFtnFrm *pCheck )
/*************************************************************************
|*
-|* SwFtnBossFrm::InsertFtn()
+|* SwFtnBossFrm::InsertFtn()
|*
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1485,7 +1485,7 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
if ( !pSibling )
- { pParent = FindFtnCont();
+ { pParent = FindFtnCont();
if ( !pParent )
{
//Es gibt noch keinen FussnotenContainer, also machen wir einen.
@@ -1524,8 +1524,8 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
nCmpPos = ::lcl_FindFtnPos( pDoc, pSibling->GetAttr() );
- SwFtnBossFrm *pNxtB = this; //Immer den letzten merken, damit wir nicht
- SwFtnFrm *pLastSib = 0; //ueber das Ziel hinausschiessen.
+ SwFtnBossFrm *pNxtB = this; //Immer den letzten merken, damit wir nicht
+ SwFtnFrm *pLastSib = 0; //ueber das Ziel hinausschiessen.
while ( pSibling && nCmpPos <= nStPos )
{
@@ -1566,12 +1566,12 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
// pLastSib ist jetzt die letzte Fussnote vor uns,
// pSibling leer oder die erste nach uns.
if ( pSibling && pLastSib && (pSibling != pLastSib) )
- { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
+ { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
if ( nCmpPos > nStPos )
pSibling = pLastSib;
}
else if ( !pSibling )
- { //Eine Chance haben wir noch: wir nehmen einfach die letzte
+ { //Eine Chance haben wir noch: wir nehmen einfach die letzte
//Fussnote im Parent. Ein Sonderfall, der z.B. beim
//zurueckfliessen von Absaetzen mit mehreren Fussnoten
//vorkommt.
@@ -1585,13 +1585,13 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
}
}
else
- { //Die erste Fussnote der Spalte/Seite haben wir an der Hand, jetzt ausgehend
+ { //Die erste Fussnote der Spalte/Seite haben wir an der Hand, jetzt ausgehend
//von dieser die erste zur selben Spalte/Seite suchen deren Index hinter
//den uebergebenen zeigt, die letzte, die wir an der Hand hatten, ist
//dann der Vorgaenger.
SwFtnBossFrm* pBoss = pNew->GetRef()->FindFtnBossFrm(
!pNew->GetAttr()->GetFtn().IsEndNote() );
- USHORT nRefNum = pBoss->GetPhyPageNum(); // Die Seiten- und
+ USHORT nRefNum = pBoss->GetPhyPageNum(); // Die Seiten- und
USHORT nRefCol = lcl_ColumnNum( pBoss ); // Spaltennummer der neuen Fussnote
BOOL bEnd = FALSE;
SwFtnFrm *pLastSib = 0;
@@ -1634,7 +1634,7 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
if ( !bEnd && pSibling )
nCmpPos = ::lcl_FindFtnPos( pDoc, pSibling->GetAttr() );
if ( pSibling && pLastSib && (pSibling != pLastSib) )
- { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
+ { //Sind wir vielleicht bereits ueber das Ziel hinausgeschossen?
if ( (nLastPos < nCmpPos) && (nCmpPos > nStPos) )
{
pSibling = pLastSib;
@@ -1674,10 +1674,10 @@ void SwFtnBossFrm::InsertFtn( SwFtnFrm* pNew )
/*************************************************************************
|*
-|* SwFtnBossFrm::AppendFtn()
+|* SwFtnBossFrm::AppendFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1840,7 +1840,7 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
pBoss = pPage; // bei nichtspaltigen Seiten auf die Seite selbst
}
pBoss->InsertFtn( pNew );
- if ( pNew->GetUpper() ) //Eingesetzt oder nicht?
+ if ( pNew->GetUpper() ) //Eingesetzt oder nicht?
{
::RegistFlys( pNew->FindPageFrm(), pNew );
SwSectionFrm* pSect = FindSctFrm();
@@ -1862,7 +1862,7 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
// SwLayNotify* pFtnFrmNotitfy = new SwLayNotify( pNew );
// <--
SwCntntFrm *pCnt = pNew->ContainsCntnt();
- while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
+ while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
{
pCnt->Calc();
// --> OD 2005-05-17 #i49383# - format anchored objects
@@ -1909,10 +1909,10 @@ void SwFtnBossFrm::AppendFtn( SwCntntFrm *pRef, SwTxtFtn *pAttr )
}
/*************************************************************************
|*
-|* SwFtnBossFrm::FindFtn()
+|* SwFtnBossFrm::FindFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1960,10 +1960,10 @@ SwFtnFrm *SwFtnBossFrm::FindFtn( const SwCntntFrm *pRef, const SwTxtFtn *pAttr )
}
/*************************************************************************
|*
-|* SwFtnBossFrm::RemoveFtn()
+|* SwFtnBossFrm::RemoveFtn()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -1994,10 +1994,10 @@ void SwFtnBossFrm::RemoveFtn( const SwCntntFrm *pRef, const SwTxtFtn *pAttr,
/*************************************************************************
|*
-|* SwFtnBossFrm::ChangeFtnRef()
+|* SwFtnBossFrm::ChangeFtnRef()
|*
-|* Ersterstellung MA 25. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 25. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2015,10 +2015,10 @@ void SwFtnBossFrm::ChangeFtnRef( const SwCntntFrm *pOld, const SwTxtFtn *pAttr,
/*************************************************************************
|*
-|* SwFtnBossFrm::CollectFtns()
+|* SwFtnBossFrm::CollectFtns()
|*
-|* Ersterstellung MA 24. Jul. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 24. Jul. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2083,10 +2083,10 @@ void SwFtnBossFrm::CollectFtns( const SwCntntFrm* _pRef,
/*************************************************************************
|*
-|* SwFtnBossFrm::_CollectFtns()
+|* SwFtnBossFrm::_CollectFtns()
|*
-|* Ersterstellung MA 24. Jul. 95
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 24. Jul. 95
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
inline void FtnInArr( SvPtrarr& rFtnArr, SwFtnFrm* pFtn )
@@ -2118,7 +2118,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
//(der Inhalt zu einem Attribut kann ueber mehrere Seiten verteilt sein)
//und ausschneiden.
- SvPtrarr aNotFtnArr( 20, 20 ); //Zur Robustheit werden hier die nicht
+ SvPtrarr aNotFtnArr( 20, 20 ); //Zur Robustheit werden hier die nicht
//dazugehoerigen Fussnoten eingetragen.
//Wenn eine Fussnote zweimal angefasst wird
//ists vorbei! So kommt die Funktion auch
@@ -2175,7 +2175,7 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
}
if ( pNxtFtn == _pFtn )
{
- OSL_ENSURE( FALSE, "_CollectFtn: Devil's circle" );
+ OSL_ENSURE( FALSE, "_CollectFtn: Devil's circle" );
pNxtFtn = 0;
}
@@ -2209,9 +2209,9 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
{
SwFrm *pCnt = pNxt->ContainsAny();
if ( pCnt )
- { //Unterwegs wird der Follow zerstoert weil er leer wird!
+ { //Unterwegs wird der Follow zerstoert weil er leer wird!
do
- { SwFrm *pNxtCnt = pCnt->GetNext();
+ { SwFrm *pNxtCnt = pCnt->GetNext();
pCnt->Cut();
pCnt->Paste( _pFtn );
pCnt = pNxtCnt;
@@ -2245,10 +2245,10 @@ void SwFtnBossFrm::_CollectFtns( const SwCntntFrm* _pRef,
/*************************************************************************
|*
-|* SwFtnBossFrm::_MoveFtns()
+|* SwFtnBossFrm::_MoveFtns()
|*
-|* Ersterstellung MA 26. Feb. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 26. Feb. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2325,7 +2325,7 @@ void SwFtnBossFrm::_MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc )
// SwLayNotify aFtnFrmNotitfy( pFtn );
// <--
- while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
+ while ( pCnt && pCnt->FindFtnFrm()->GetAttr() == pAttr )
{
pCnt->_InvalidatePos();
pCnt->Calc();
@@ -2463,10 +2463,10 @@ void SwFtnBossFrm::_MoveFtns( SvPtrarr &rFtnArr, BOOL bCalc )
/*************************************************************************
|*
-|* SwFtnBossFrm::MoveFtns()
+|* SwFtnBossFrm::MoveFtns()
|*
-|* Ersterstellung BP 05. Aug. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung BP 05. Aug. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2488,7 +2488,7 @@ void SwFtnBossFrm::MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
ChangeFtnRef( pSrc, pAttr, pDest );
SwFtnBossFrm *pDestBoss = pDest->FindFtnBossFrm( TRUE );
OSL_ENSURE( pDestBoss, "+SwPageFrm::MoveFtns: no destination boss" );
- if( pDestBoss ) // robust
+ if( pDestBoss ) // robust
{
SvPtrarr aFtnArr( 5, 5 );
pDestBoss->_CollectFtns( pDest, pFtn, aFtnArr );
@@ -2511,10 +2511,10 @@ void SwFtnBossFrm::MoveFtns( const SwCntntFrm *pSrc, SwCntntFrm *pDest,
/*************************************************************************
|*
-|* SwFtnBossFrm::RearrangeFtns()
+|* SwFtnBossFrm::RearrangeFtns()
|*
-|* Ersterstellung MA 20. Jan. 94
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 20. Jan. 94
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2755,10 +2755,10 @@ void SwFtnBossFrm::RearrangeFtns( const SwTwips nDeadLine, const BOOL bLock,
/*************************************************************************
|*
-|* SwPageFrm::UpdateFtnNum()
+|* SwPageFrm::UpdateFtnNum()
|*
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung AMA 29. Oct. 98
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung AMA 29. Oct. 98
|*
|*************************************************************************/
@@ -2820,10 +2820,10 @@ void SwPageFrm::UpdateFtnNum()
/*************************************************************************
|*
-|* SwFtnBossFrm::SetFtnDeadLine()
+|* SwFtnBossFrm::SetFtnDeadLine()
|*
-|* Ersterstellung MA 02. Aug. 93
-|* Letzte Aenderung MA 16. Nov. 98
+|* Ersterstellung MA 02. Aug. 93
+|* Letzte Aenderung MA 16. Nov. 98
|*
|*************************************************************************/
@@ -2856,10 +2856,10 @@ void SwFtnBossFrm::SetFtnDeadLine( const SwTwips nDeadLine )
/*************************************************************************
|*
-|* SwFtnBossFrm::GetVarSpace()
+|* SwFtnBossFrm::GetVarSpace()
|*
-|* Ersterstellung MA 03. Apr. 95
-|* Letzte Aenderung MA 16. Nov. 98
+|* Ersterstellung MA 03. Apr. 95
+|* Letzte Aenderung MA 16. Nov. 98
|*
|*************************************************************************/
SwTwips SwFtnBossFrm::GetVarSpace() const
@@ -2933,18 +2933,18 @@ SwTwips SwFtnBossFrm::GetVarSpace() const
/*************************************************************************
|*
-|* SwFtnBossFrm::NeighbourhoodAdjustment(SwFrm*)
+|* SwFtnBossFrm::NeighbourhoodAdjustment(SwFrm*)
|*
-|* gibt Auskunft, ob die Groessenveraenderung von pFrm von AdjustNeighbourhood(...)
-|* oder von Grow/Shrink(..) verarbeitet werden sollte.
-|* Bei einem PageFrm oder in Spalten direkt unterhalb der Seite muss AdjustNei..
+|* gibt Auskunft, ob die Groessenveraenderung von pFrm von AdjustNeighbourhood(...)
+|* oder von Grow/Shrink(..) verarbeitet werden sollte.
+|* Bei einem PageFrm oder in Spalten direkt unterhalb der Seite muss AdjustNei..
|* gerufen werden, in Rahmenspalten Grow/Shrink.
-|* Spannend sind die spaltigen Bereiche: Wenn es in der Spalte einen Fussnotencontainer
-|* gibt und die Fussnoten nicht vom Bereich eingesammelt werden, ist ein Adjust..,
-|* ansonsten ein Grow/Shrink notwendig.
+|* Spannend sind die spaltigen Bereiche: Wenn es in der Spalte einen Fussnotencontainer
+|* gibt und die Fussnoten nicht vom Bereich eingesammelt werden, ist ein Adjust..,
+|* ansonsten ein Grow/Shrink notwendig.
|*
-|* Ersterstellung AMA 09. Dec 98
-|* Letzte Aenderung AMA 09. Dec 98
+|* Ersterstellung AMA 09. Dec 98
+|* Letzte Aenderung AMA 09. Dec 98
|*
|*************************************************************************/
@@ -2979,10 +2979,10 @@ BYTE SwFtnBossFrm::_NeighbourhoodAdjustment( const SwFrm* ) const
/*************************************************************************
|*
-|* SwPageFrm::SetColMaxFtnHeight()
+|* SwPageFrm::SetColMaxFtnHeight()
|*
-|* Ersterstellung AMA 29. Oct 98
-|* Letzte Aenderung AMA 29. Oct 98
+|* Ersterstellung AMA 29. Oct 98
+|* Letzte Aenderung AMA 29. Oct 98
|*
|*************************************************************************/
void SwPageFrm::SetColMaxFtnHeight()
@@ -3001,10 +3001,10 @@ void SwPageFrm::SetColMaxFtnHeight()
/*************************************************************************
|*
-|* SwLayoutFrm::MoveLowerFtns
+|* SwLayoutFrm::MoveLowerFtns
|*
-|* Ersterstellung MA 01. Sep. 94
-|* Letzte Aenderung MA 05. Sep. 95
+|* Ersterstellung MA 01. Sep. 94
+|* Letzte Aenderung MA 05. Sep. 95
|*
|*************************************************************************/
@@ -3099,10 +3099,10 @@ BOOL SwLayoutFrm::MoveLowerFtns( SwCntntFrm *pStart, SwFtnBossFrm *pOldBoss,
/*************************************************************************
|*
-|* SwLayoutFrm::MoveFtnCntFwd()
+|* SwLayoutFrm::MoveFtnCntFwd()
|*
-|* Ersterstellung MA 24. Nov. 94
-|* Letzte Aenderung MA 15. Jun. 95
+|* Ersterstellung MA 24. Nov. 94
+|* Letzte Aenderung MA 15. Jun. 95
|*
|*************************************************************************/
@@ -3134,7 +3134,7 @@ BOOL SwCntntFrm::MoveFtnCntFwd( BOOL bMakePage, SwFtnBossFrm *pOldBoss )
if ( pNxt == pLst )
pNxt = 0;
else
- { pLst = pNxt;
+ { pLst = pNxt;
SwCntntFrm *pCnt = pNxt->ContainsCntnt();
if( pCnt )
pCnt->MoveFtnCntFwd( TRUE, pOldBoss );
@@ -3241,10 +3241,10 @@ BOOL SwCntntFrm::MoveFtnCntFwd( BOOL bMakePage, SwFtnBossFrm *pOldBoss )
/*************************************************************************
|*
-|* class SwSaveFtnHeight
+|* class SwSaveFtnHeight
|*
-|* Ersterstellung MA 19. Jan. 94
-|* Letzte Aenderung MA 19. Jan. 94
+|* Ersterstellung MA 19. Jan. 94
+|* Letzte Aenderung MA 19. Jan. 94
|*
|*************************************************************************/
@@ -3270,7 +3270,7 @@ SwSaveFtnHeight::~SwSaveFtnHeight()
#if OSL_DEBUG_LEVEL > 1
//JP 15.10.2001: in a non pro version test if the attribute has the same
-// meaning which his reference is
+// meaning which his reference is
// Normally, the pRef member and the GetRefFromAttr() result has to be
// identically. Sometimes footnote will be moved from a master to its follow,
diff --git a/sw/source/core/layout/hffrm.cxx b/sw/source/core/layout/hffrm.cxx
index 1af53c9ab927..f962c0ffddee 100644
--- a/sw/source/core/layout/hffrm.cxx
+++ b/sw/source/core/layout/hffrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <objectformatter.hxx>
// <--
-extern BOOL bObjsDirect; //frmtool.cxx
+extern BOOL bObjsDirect; //frmtool.cxx
static SwTwips lcl_GetFrmMinHeight(const SwLayoutFrm & rFrm)
{
@@ -673,11 +673,11 @@ BOOL SwHeadFootFrm::GetEatSpacing() const
/*************************************************************************
|*
-|* SwPageFrm::PrepareHeader()
+|* SwPageFrm::PrepareHeader()
|*
-|* Beschreibung Erzeugt oder Entfernt Header
-|* Ersterstellung MA 04. Feb. 93
-|* Letzte Aenderung MA 12. May. 96
+|* Beschreibung Erzeugt oder Entfernt Header
+|* Ersterstellung MA 04. Feb. 93
+|* Letzte Aenderung MA 12. May. 96
|*
|*************************************************************************/
@@ -714,14 +714,14 @@ void SwPageFrm::PrepareHeader()
const BOOL bOn = !((SwFrmFmt*)pRegisteredIn)->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE);
if ( bOn && rH.IsActive() )
- { //Header einsetzen, vorher entfernen falls vorhanden.
+ { //Header einsetzen, vorher entfernen falls vorhanden.
OSL_ENSURE( rH.GetHeaderFmt(), "FrmFmt fuer Header nicht gefunden." );
if ( pLay->GetFmt() == (SwFrmFmt*)rH.GetHeaderFmt() )
- return; //Der Footer ist bereits der richtige
+ return; //Der Footer ist bereits der richtige
if ( pLay->IsHeaderFrm() )
- { SwLayoutFrm *pDel = pLay;
+ { SwLayoutFrm *pDel = pLay;
pLay = (SwLayoutFrm*)pLay->GetNext();
::DelFlys( pDel, this );
pDel->Cut();
@@ -734,7 +734,7 @@ void SwPageFrm::PrepareHeader()
::RegistFlys( this, pH );
}
else if ( pLay && pLay->IsHeaderFrm() )
- { //Header entfernen falls vorhanden.
+ { //Header entfernen falls vorhanden.
::DelFlys( pLay, this );
pLay->Cut();
delete pLay;
@@ -742,11 +742,11 @@ void SwPageFrm::PrepareHeader()
}
/*************************************************************************
|*
-|* SwPageFrm::PrepareFooter()
+|* SwPageFrm::PrepareFooter()
|*
-|* Beschreibung Erzeugt oder Entfernt Footer
-|* Ersterstellung MA 04. Feb. 93
-|* Letzte Aenderung MA 12. May. 96
+|* Beschreibung Erzeugt oder Entfernt Footer
+|* Ersterstellung MA 04. Feb. 93
+|* Letzte Aenderung MA 12. May. 96
|*
|*************************************************************************/
@@ -764,14 +764,14 @@ void SwPageFrm::PrepareFooter()
const BOOL bOn = !((SwFrmFmt*)pRegisteredIn)->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE);
if ( bOn && rF.IsActive() )
- { //Footer einsetzen, vorher entfernen falls vorhanden.
+ { //Footer einsetzen, vorher entfernen falls vorhanden.
OSL_ENSURE( rF.GetFooterFmt(), "FrmFmt fuer Footer nicht gefunden." );
if ( pLay->GetFmt() == (SwFrmFmt*)rF.GetFooterFmt() )
return; //Der Footer ist bereits der richtige.
if ( pLay->IsFooterFrm() )
- { ::DelFlys( pLay, this );
+ { ::DelFlys( pLay, this );
pLay->Cut();
delete pLay;
}
@@ -781,7 +781,7 @@ void SwPageFrm::PrepareFooter()
::RegistFlys( this, pF );
}
else if ( pLay && pLay->IsFooterFrm() )
- { //Footer entfernen falls vorhanden.
+ { //Footer entfernen falls vorhanden.
::DelFlys( pLay, this );
ViewShell *pSh;
if ( pLay->GetPrev() && 0 != (pSh = GetShell()) &&
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index ed0ffef89ea3..5099e9c239bb 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include "frmfmt.hxx"
#include "swregion.hxx"
#include "viewopt.hxx" // OnlineSpelling ueber Internal-TabPage testen.
-#include "pam.hxx" // OnlineSpelling wg. der aktuellen Cursorposition
+#include "pam.hxx" // OnlineSpelling wg. der aktuellen Cursorposition
#include "dbg_lay.hxx"
#include "layouter.hxx" // LoopControlling
#include "docstat.hxx"
@@ -100,10 +100,10 @@
/*************************************************************************
|*
-|* SwLayAction Statisches Geraffel
+|* SwLayAction Statisches Geraffel
|*
-|* Ersterstellung MA 22. Dec. 93
-|* Letzte Aenderung MA 22. Dec. 93
+|* Ersterstellung MA 22. Dec. 93
+|* Letzte Aenderung MA 22. Dec. 93
|*
|*************************************************************************/
@@ -120,15 +120,15 @@ static void BreakPoint()
}
#define CHECKPAGE \
- { if ( IsAgain() ) \
- { BreakPoint(); \
+ { if ( IsAgain() ) \
+ { BreakPoint(); \
return; \
} \
}
#define XCHECKPAGE \
- { if ( IsAgain() ) \
- { BreakPoint(); \
+ { if ( IsAgain() ) \
+ { BreakPoint(); \
if( bNoLoop ) \
pLayoutAccess->GetLayouter()->EndLoopControl(); \
return; \
@@ -136,12 +136,12 @@ static void BreakPoint()
}
#else
#define CHECKPAGE \
- { if ( IsAgain() ) \
+ { if ( IsAgain() ) \
return; \
}
#define XCHECKPAGE \
- { if ( IsAgain() ) \
+ { if ( IsAgain() ) \
{ \
if( bNoLoop ) \
pLayoutAccess->GetLayouter()->EndLoopControl(); \
@@ -176,10 +176,10 @@ void SwLayAction::CheckWaitCrsr()
/*************************************************************************
|*
-|* SwLayAction::CheckIdleEnd()
+|* SwLayAction::CheckIdleEnd()
|*
-|* Ersterstellung MA 12. Aug. 94
-|* Letzte Aenderung MA 24. Jun. 96
+|* Ersterstellung MA 12. Aug. 94
+|* Letzte Aenderung MA 24. Jun. 96
|*
|*************************************************************************/
//Ist es wirklich schon soweit...
@@ -191,10 +191,10 @@ inline void SwLayAction::CheckIdleEnd()
/*************************************************************************
|*
-|* SwLayAction::SetStatBar()
+|* SwLayAction::SetStatBar()
|*
-|* Ersterstellung MA 10. Aug. 94
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 10. Aug. 94
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwLayAction::SetStatBar( BOOL bNew )
@@ -210,14 +210,14 @@ void SwLayAction::SetStatBar( BOOL bNew )
/*************************************************************************
|*
-|* SwLayAction::PaintCntnt()
+|* SwLayAction::PaintCntnt()
|*
-|* Beschreibung Je nach Typ wird der Cntnt entsprechend seinen
-|* Veraenderungen ausgegeben bzw. wird die auszugebende Flaeche in der
-|* Region eingetragen.
-|* PaintCntnt: fuellt die Region,
-|* Ersterstellung BP 19. Jan. 92
-|* Letzte Aenderung MA 10. Sep. 96
+|* Beschreibung Je nach Typ wird der Cntnt entsprechend seinen
+|* Veraenderungen ausgegeben bzw. wird die auszugebende Flaeche in der
+|* Region eingetragen.
+|* PaintCntnt: fuellt die Region,
+|* Ersterstellung BP 19. Jan. 92
+|* Letzte Aenderung MA 10. Sep. 96
|*
|*************************************************************************/
BOOL SwLayAction::PaintWithoutFlys( const SwRect &rRect, const SwCntntFrm *pCnt,
@@ -370,10 +370,10 @@ void SwLayAction::PaintCntnt( const SwCntntFrm *pCnt,
/*************************************************************************
|*
-|* SwLayAction::SwLayAction()
+|* SwLayAction::SwLayAction()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
SwLayAction::SwLayAction( SwRootFrm *pRt, SwViewImp *pI ) :
@@ -401,15 +401,15 @@ SwLayAction::SwLayAction( SwRootFrm *pRt, SwViewImp *pI ) :
SwLayAction::~SwLayAction()
{
OSL_ENSURE( !pWait, "Wait object not destroyed" );
- pImp->pLayAct = 0; //Abmelden
+ pImp->pLayAct = 0; //Abmelden
}
/*************************************************************************
|*
-|* SwLayAction::Reset()
+|* SwLayAction::Reset()
|*
-|* Ersterstellung MA 11. Aug. 94
-|* Letzte Aenderung MA 09. Jun. 95
+|* Ersterstellung MA 11. Aug. 94
+|* Letzte Aenderung MA 09. Jun. 95
|*
|*************************************************************************/
void SwLayAction::Reset()
@@ -425,10 +425,10 @@ void SwLayAction::Reset()
/*************************************************************************
|*
-|* SwLayAction::RemoveEmptyBrowserPages()
+|* SwLayAction::RemoveEmptyBrowserPages()
|*
-|* Ersterstellung MA 10. Sep. 97
-|* Letzte Aenderung MA 10. Sep. 97
+|* Ersterstellung MA 10. Sep. 97
+|* Letzte Aenderung MA 10. Sep. 97
|*
|*************************************************************************/
@@ -461,10 +461,10 @@ BOOL SwLayAction::RemoveEmptyBrowserPages()
/*************************************************************************
|*
-|* SwLayAction::Action()
+|* SwLayAction::Action()
|*
-|* Ersterstellung MA 10. Aug. 94
-|* Letzte Aenderung MA 06. Aug. 95
+|* Ersterstellung MA 10. Aug. 94
+|* Letzte Aenderung MA 06. Aug. 95
|*
|*************************************************************************/
void SwLayAction::Action()
@@ -521,7 +521,7 @@ SwPageFrm* SwLayAction::CheckFirstVisPage( SwPageFrm *pPage )
while ( pCnt && pCnt->IsFollow() )
pCnt = static_cast<SwCntntFrm*>(pCnt)->FindMaster();
if ( pCnt && pChk != pCnt )
- { bPageChgd = TRUE;
+ { bPageChgd = TRUE;
pPage = pCnt->FindPageFrm();
}
@@ -976,10 +976,10 @@ void SwLayAction::InternalAction()
}
/*************************************************************************
|*
-|* SwLayAction::TurboAction(), _TurboAction()
+|* SwLayAction::TurboAction(), _TurboAction()
|*
-|* Ersterstellung MA 04. Dec. 92
-|* Letzte Aenderung MA 15. Aug. 93
+|* Ersterstellung MA 04. Dec. 92
+|* Letzte Aenderung MA 15. Aug. 93
|*
|*************************************************************************/
BOOL SwLayAction::_TurboAction( const SwCntntFrm *pCnt )
@@ -989,7 +989,7 @@ BOOL SwLayAction::_TurboAction( const SwCntntFrm *pCnt )
if ( !pCnt->IsValid() || pCnt->IsCompletePaint() || pCnt->IsRetouche() )
{
const SwRect aOldRect( pCnt->UnionFrm( TRUE ) );
- const long nOldBottom = pCnt->Frm().Top() + pCnt->Prt().Bottom();
+ const long nOldBottom = pCnt->Frm().Top() + pCnt->Prt().Bottom();
pCnt->Calc();
if ( pCnt->Frm().Bottom() < aOldRect.Bottom() )
pCnt->SetRetouche();
@@ -1058,19 +1058,19 @@ BOOL SwLayAction::TurboAction()
}
/*************************************************************************
|*
-|* SwLayAction::IsShortCut()
+|* SwLayAction::IsShortCut()
|*
-|* Beschreibung: Liefert ein True, wenn die Seite vollstaendig unter
-|* oder rechts neben dem sichbaren Bereich liegt.
-|* Es kann passieren, dass sich die Verhaeltnisse derart aendern, dass
-|* die Verarbeitung (des Aufrufers!) mit der Vorgaengerseite der
-|* uebergebenen Seite weitergefuehrt werden muss. Der Paramter wird also
-|* ggf. veraendert!
-|* Fuer den BrowseMode kann auch dann der ShortCut aktiviert werden,
-|* wenn der ungueltige Inhalt der Seite unterhalb des sichbaren
-|* bereiches liegt.
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 18. Jul. 96
+|* Beschreibung: Liefert ein True, wenn die Seite vollstaendig unter
+|* oder rechts neben dem sichbaren Bereich liegt.
+|* Es kann passieren, dass sich die Verhaeltnisse derart aendern, dass
+|* die Verarbeitung (des Aufrufers!) mit der Vorgaengerseite der
+|* uebergebenen Seite weitergefuehrt werden muss. Der Paramter wird also
+|* ggf. veraendert!
+|* Fuer den BrowseMode kann auch dann der ShortCut aktiviert werden,
+|* wenn der ungueltige Inhalt der Seite unterhalb des sichbaren
+|* bereiches liegt.
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 18. Jul. 96
|*
|*************************************************************************/
static bool lcl_IsInvaLay( const SwFrm *pFrm, long nBottom )
@@ -1409,10 +1409,10 @@ BOOL SwLayAction::IsShortCut( SwPageFrm *&prPage )
/*************************************************************************
|*
-|* SwLayAction::FormatLayout(), FormatLayoutFly, FormatLayoutTab()
+|* SwLayAction::FormatLayout(), FormatLayoutFly, FormatLayoutTab()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 18. May. 98
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 18. May. 98
|*
|*************************************************************************/
// OD 15.11.2002 #105155# - introduce support for vertical layout
@@ -1594,7 +1594,7 @@ BOOL SwLayAction::FormatLayout( SwLayoutFrm *pLay, BOOL bAddRect )
//Jetzt noch diejenigen Lowers versorgen die LayoutFrm's sind
- if ( pLay->IsFtnFrm() ) //Hat keine LayFrms als Lower.
+ if ( pLay->IsFtnFrm() ) //Hat keine LayFrms als Lower.
return bChanged;
SwFrm *pLow = pLay->Lower();
@@ -1831,10 +1831,10 @@ BOOL SwLayAction::FormatLayoutTab( SwTabFrm *pTab, BOOL bAddRect )
/*************************************************************************
|*
-|* SwLayAction::FormatCntnt()
+|* SwLayAction::FormatCntnt()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 16. Nov. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 16. Nov. 95
|*
|*************************************************************************/
BOOL SwLayAction::FormatCntnt( const SwPageFrm *pPage )
@@ -2022,12 +2022,12 @@ BOOL SwLayAction::FormatCntnt( const SwPageFrm *pPage )
}
/*************************************************************************
|*
-|* SwLayAction::_FormatCntnt()
+|* SwLayAction::_FormatCntnt()
|*
-|* Beschreibung Returnt TRUE wenn der Absatz verarbeitet wurde,
-|* FALSE wenn es nichts zu verarbeiten gab.
-|* Ersterstellung MA 07. Dec. 92
-|* Letzte Aenderung MA 11. Mar. 98
+|* Beschreibung Returnt TRUE wenn der Absatz verarbeitet wurde,
+|* FALSE wenn es nichts zu verarbeiten gab.
+|* Ersterstellung MA 07. Dec. 92
+|* Letzte Aenderung MA 11. Mar. 98
|*
|*************************************************************************/
void SwLayAction::_FormatCntnt( const SwCntntFrm *pCntnt,
@@ -2062,13 +2062,13 @@ void SwLayAction::_FormatCntnt( const SwCntntFrm *pCntnt,
/*************************************************************************
|*
-|* SwLayAction::_FormatFlyCntnt()
+|* SwLayAction::_FormatFlyCntnt()
|*
-|* Beschreibung:
-|* - Returnt TRUE wenn alle Cntnts des Flys vollstaendig verarbeitet
-|* wurden. FALSE wenn vorzeitig unterbrochen wurde.
-|* Ersterstellung MA 02. Dec. 92
-|* Letzte Aenderung MA 24. Jun. 96
+|* Beschreibung:
+|* - Returnt TRUE wenn alle Cntnts des Flys vollstaendig verarbeitet
+|* wurden. FALSE wenn vorzeitig unterbrochen wurde.
+|* Ersterstellung MA 02. Dec. 92
+|* Letzte Aenderung MA 24. Jun. 96
|*
|*************************************************************************/
BOOL SwLayAction::_FormatFlyCntnt( const SwFlyFrm *pFly )
@@ -2135,10 +2135,10 @@ BOOL SwLayAction::IsStopPrt() const
/*************************************************************************
|*
-|* SwLayAction::FormatSpelling(), _FormatSpelling()
+|* SwLayAction::FormatSpelling(), _FormatSpelling()
|*
-|* Ersterstellung AMA 01. Feb. 96
-|* Letzte Aenderung AMA 01. Feb. 96
+|* Ersterstellung AMA 01. Feb. 96
+|* Letzte Aenderung AMA 01. Feb. 96
|*
|*************************************************************************/
BOOL SwLayIdle::_DoIdleJob( const SwCntntFrm *pCnt, IdleJobType eJob )
@@ -2351,10 +2351,10 @@ BOOL SwLayIdle::DoIdleJob( IdleJobType eJob, BOOL bVisAreaOnly )
/*************************************************************************
|*
-|* void SwLayIdle::SwLayIdle()
+|* void SwLayIdle::SwLayIdle()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 09. Jun. 94
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 09. Jun. 94
|*
|*************************************************************************/
void SwLayIdle::ShowIdle( ColorData eColorData )
@@ -2386,10 +2386,10 @@ void SwLayIdle::ShowIdle( ColorData eColorData )
/*************************************************************************
|*
-|* void SwLayIdle::SwLayIdle()
+|* void SwLayIdle::SwLayIdle()
|*
-|* Ersterstellung MA 30. Oct. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Ersterstellung MA 30. Oct. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
@@ -2421,7 +2421,7 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
SvBools aBools;
ViewShell *pSh = pImp->GetShell();
do
- { ++pSh->nStartAction;
+ { ++pSh->nStartAction;
BOOL bVis = FALSE;
if ( pSh->ISA(SwCrsrShell) )
{
@@ -2485,8 +2485,8 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
if ( bCrsrShell )
((SwCrsrShell*)pSh)->SttCrsrMove();
-// else
-// pSh->StartAction();
+// else
+// pSh->StartAction();
//Wenn Paints aufgelaufen sind, ist es am sinnvollsten schlicht das
//gesamte Window zu invalidieren. Anderfalls gibt es Paintprobleme
@@ -2507,8 +2507,8 @@ SwLayIdle::SwLayIdle( SwRootFrm *pRt, SwViewImp *pI ) :
//Wenn der Crsr sichbar war wieder sichbar machen, sonst
//EndCrsrMove mit TRUE fuer IdleEnd.
((SwCrsrShell*)pSh)->EndCrsrMove( TRUE^aBools[nBoolIdx] );
-// else
-// pSh->EndAction();
+// else
+// pSh->EndAction();
if( bUnlock )
{
if( bCrsrShell )
diff --git a/sw/source/core/layout/laycache.cxx b/sw/source/core/layout/laycache.cxx
index b0cc88545c20..9166c67c9fb6 100644
--- a/sw/source/core/layout/laycache.cxx
+++ b/sw/source/core/layout/laycache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -483,8 +483,8 @@ SwLayoutCache::~SwLayoutCache()
* --------------------------------------------------*/
SwActualSection::SwActualSection( SwActualSection *pUp,
- SwSectionFrm *pSect,
- SwSectionNode *pNd ) :
+ SwSectionFrm *pSect,
+ SwSectionNode *pNd ) :
pUpper( pUp ),
pSectFrm( pSect ),
pSectNode( pNd )
@@ -661,7 +661,7 @@ BOOL SwLayHelper::CheckInsertPage()
{
OSL_ENSURE( rpPage->GetNext(), "Keine neue Seite?" );
do
- { rpPage = (SwPageFrm*)rpPage->GetNext();
+ { rpPage = (SwPageFrm*)rpPage->GetNext();
} while ( rpPage->GetNext() );
}
else
@@ -1229,11 +1229,11 @@ SwLayCacheIoImpl::SwLayCacheIoImpl( SvStream& rStrm, BOOL bWrtMd ) :
{
if( bWriteMode )
*pStream << nMajorVersion
- << nMinorVersion;
+ << nMinorVersion;
else
*pStream >> nMajorVersion
- >> nMinorVersion;
+ >> nMinorVersion;
}
BOOL SwLayCacheIoImpl::OpenRec( BYTE cType )
diff --git a/sw/source/core/layout/layhelp.hxx b/sw/source/core/layout/layhelp.hxx
index 6b5edac673d4..71f74a2d7aad 100644
--- a/sw/source/core/layout/layhelp.hxx
+++ b/sw/source/core/layout/layhelp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +94,17 @@ public:
class SwActualSection
{
SwActualSection *pUpper;
- SwSectionFrm *pSectFrm;
- SwSectionNode *pSectNode;
+ SwSectionFrm *pSectFrm;
+ SwSectionNode *pSectNode;
public:
SwActualSection( SwActualSection *pUpper,
- SwSectionFrm *pSect,
- SwSectionNode *pNd );
+ SwSectionFrm *pSect,
+ SwSectionNode *pNd );
- SwSectionFrm *GetSectionFrm() { return pSectFrm; }
- void SetSectionFrm( SwSectionFrm *p ) { pSectFrm = p; }
- SwSectionNode *GetSectionNode() { return pSectNode;}
- SwActualSection *GetUpper() { return pUpper; }
+ SwSectionFrm *GetSectionFrm() { return pSectFrm; }
+ void SetSectionFrm( SwSectionFrm *p ) { pSectFrm = p; }
+ SwSectionNode *GetSectionNode() { return pSectNode;}
+ SwActualSection *GetUpper() { return pUpper; }
};
/*************************************************************************
@@ -157,28 +157,28 @@ public:
* layout cache.
*************************************************************************/
-#define SW_LAYCACHE_IO_REC_PAGES 'p'
-#define SW_LAYCACHE_IO_REC_PARA 'P'
-#define SW_LAYCACHE_IO_REC_TABLE 'T'
+#define SW_LAYCACHE_IO_REC_PAGES 'p'
+#define SW_LAYCACHE_IO_REC_PARA 'P'
+#define SW_LAYCACHE_IO_REC_TABLE 'T'
#define SW_LAYCACHE_IO_REC_FLY 'F'
-#define SW_LAYCACHE_IO_VERSION_MAJOR 1
+#define SW_LAYCACHE_IO_VERSION_MAJOR 1
#define SW_LAYCACHE_IO_VERSION_MINOR 1
class SwLayCacheIoImpl
{
- SvBytes aRecTypes;
- SvULongs aRecSizes;
+ SvBytes aRecTypes;
+ SvULongs aRecSizes;
- SvStream *pStream;
+ SvStream *pStream;
- ULONG nFlagRecEnd;
+ ULONG nFlagRecEnd;
- USHORT nMajorVersion;
- USHORT nMinorVersion;
+ USHORT nMajorVersion;
+ USHORT nMinorVersion;
- BOOL bWriteMode : 1;
- BOOL bError : 1;
+ BOOL bWriteMode : 1;
+ BOOL bError : 1;
public:
SwLayCacheIoImpl( SvStream& rStrm, BOOL bWrtMd );
diff --git a/sw/source/core/layout/layouter.cxx b/sw/source/core/layout/layouter.cxx
index ceea99885a5e..9ae1482b4536 100644
--- a/sw/source/core/layout/layouter.cxx
+++ b/sw/source/core/layout/layouter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,10 +70,10 @@ class SwEndnoter
public:
SwEndnoter( SwLayouter* pLay )
: pMaster( pLay ), pSect( NULL ), pEndArr( NULL ) {}
- ~SwEndnoter() { delete pEndArr; }
+ ~SwEndnoter() { delete pEndArr; }
void CollectEndnotes( SwSectionFrm* pSct );
void CollectEndnote( SwFtnFrm* pFtn );
- const SwSectionFrm* GetSect() { return pSect; }
+ const SwSectionFrm* GetSect() { return pSect; }
void InsertEndnotes();
BOOL HasEndnotes() const { return pEndArr && pEndArr->Count(); }
};
@@ -103,7 +103,7 @@ void SwEndnoter::CollectEndnote( SwFtnFrm* pFtn )
if ( pCnt )
{
do
- { SwFrm *pNxtCnt = pCnt->GetNext();
+ { SwFrm *pNxtCnt = pCnt->GetNext();
pCnt->Cut();
pCnt->Paste( pFtn );
pCnt = pNxtCnt;
@@ -227,10 +227,10 @@ void SwLooping::Control( SwPageFrm* pPage )
/*************************************************************************
|*
-|* SwLayouter::SwLayouter()
+|* SwLayouter::SwLayouter()
|*
-|* Ersterstellung AMA 02. Nov. 99
-|* Letzte Aenderung AMA 02. Nov. 99
+|* Ersterstellung AMA 02. Nov. 99
+|* Letzte Aenderung AMA 02. Nov. 99
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx b/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
index 04802ae8710e..b612041b4e6c 100644
--- a/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
+++ b/sw/source/core/layout/movedfwdfrmsbyobjpos.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/newfrm.cxx b/sw/source/core/layout/newfrm.cxx
index e3deaad3569e..48d422f2bd15 100644
--- a/sw/source/core/layout/newfrm.cxx
+++ b/sw/source/core/layout/newfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <viewopt.hxx>
SwLayVout *SwRootFrm::pVout = 0;
-BOOL SwRootFrm::bInPaint = FALSE;
-BOOL SwRootFrm::bNoVirDev = FALSE;
+BOOL SwRootFrm::bInPaint = FALSE;
+BOOL SwRootFrm::bNoVirDev = FALSE;
SwCache *SwFrm::pCache = 0;
@@ -301,8 +301,8 @@ SwRectFn fnRectVL2R = &aVerticalRightToLeft;
sal_uInt32 SwFrm::mnLastFrmId=0;
// <--
-TYPEINIT1(SwFrm,SwClient); //rtti fuer SwFrm
-TYPEINIT1(SwCntntFrm,SwFrm); //rtti fuer SwCntntFrm
+TYPEINIT1(SwFrm,SwClient); //rtti fuer SwFrm
+TYPEINIT1(SwCntntFrm,SwFrm); //rtti fuer SwCntntFrm
void _FrmInit()
@@ -335,10 +335,10 @@ void _FrmFinit()
/*************************************************************************
|*
-|* RootFrm::Alles was so zur CurrShell gehoert
+|* RootFrm::Alles was so zur CurrShell gehoert
|*
-|* Ersterstellung MA 09. Sep. 98
-|* Letzte Aenderung MA 18. Feb. 99
+|* Ersterstellung MA 09. Sep. 98
+|* Letzte Aenderung MA 18. Feb. 99
|*
|*************************************************************************/
@@ -411,14 +411,14 @@ void InitCurrShells( SwRootFrm *pRoot )
/*************************************************************************
|*
-|* SwRootFrm::SwRootFrm()
+|* SwRootFrm::SwRootFrm()
|*
-|* Beschreibung:
-|* Der RootFrm laesst sich grundsaetzlich vom Dokument ein eigenes
-|* FrmFmt geben. Dieses loescht er dann selbst im DTor.
-|* Das eigene FrmFmt wird vom uebergebenen Format abgeleitet.
-|* Ersterstellung SS 05-Apr-1991
-|* Letzte Aenderung MA 12. Dec. 94
+|* Beschreibung:
+|* Der RootFrm laesst sich grundsaetzlich vom Dokument ein eigenes
+|* FrmFmt geben. Dieses loescht er dann selbst im DTor.
+|* Das eigene FrmFmt wird vom uebergebenen Format abgeleitet.
+|* Ersterstellung SS 05-Apr-1991
+|* Letzte Aenderung MA 12. Dec. 94
|*
|*************************************************************************/
@@ -455,8 +455,8 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
IDocumentFieldsAccess *pFieldsAccess = pFmt->getIDocumentFieldsAccess();
const IDocumentSettingAccess *pSettingAccess = pFmt->getIDocumentSettingAccess();
pTimerAccess->StopIdling();
- pLayoutAccess->SetRootFrm( this ); //Fuer das Erzeugen der Flys durch MakeFrms()
- bCallbackActionEnabled = FALSE; //vor Verlassen auf TRUE setzen!
+ pLayoutAccess->SetRootFrm( this ); //Fuer das Erzeugen der Flys durch MakeFrms()
+ bCallbackActionEnabled = FALSE; //vor Verlassen auf TRUE setzen!
SdrModel *pMd = pFmt->getIDocumentDrawModelAccess()->GetDrawModel();
@@ -537,10 +537,10 @@ SwRootFrm::SwRootFrm( SwFrmFmt *pFmt, ViewShell * pSh ) :
/*************************************************************************
|*
-|* SwRootFrm::~SwRootFrm()
+|* SwRootFrm::~SwRootFrm()
|*
-|* Ersterstellung SS 05-Apr-1991
-|* Letzte Aenderung MA 12. Dec. 94
+|* Ersterstellung SS 05-Apr-1991
+|* Letzte Aenderung MA 12. Dec. 94
|*
|*************************************************************************/
@@ -566,10 +566,10 @@ SwRootFrm::~SwRootFrm()
/*************************************************************************
|*
-|* SwRootFrm::RemoveMasterObjs()
+|* SwRootFrm::RemoveMasterObjs()
|*
-|* Ersterstellung MA 19.10.95
-|* Letzte Aenderung MA 19.10.95
+|* Ersterstellung MA 19.10.95
+|* Letzte Aenderung MA 19.10.95
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/objectformatter.cxx b/sw/source/core/layout/objectformatter.cxx
index 9832d5c8a242..a393127c080d 100644
--- a/sw/source/core/layout/objectformatter.cxx
+++ b/sw/source/core/layout/objectformatter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformatterlayfrm.cxx b/sw/source/core/layout/objectformatterlayfrm.cxx
index b8c0086fb542..f147fb2576ba 100644
--- a/sw/source/core/layout/objectformatterlayfrm.cxx
+++ b/sw/source/core/layout/objectformatterlayfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformatterlayfrm.hxx b/sw/source/core/layout/objectformatterlayfrm.hxx
index a2199030a61c..10f12a53a652 100644
--- a/sw/source/core/layout/objectformatterlayfrm.hxx
+++ b/sw/source/core/layout/objectformatterlayfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx
index b71529f97739..db6343176715 100644
--- a/sw/source/core/layout/objectformattertxtfrm.cxx
+++ b/sw/source/core/layout/objectformattertxtfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objectformattertxtfrm.hxx b/sw/source/core/layout/objectformattertxtfrm.hxx
index 173ad024e9a5..9ee71979c140 100644
--- a/sw/source/core/layout/objectformattertxtfrm.hxx
+++ b/sw/source/core/layout/objectformattertxtfrm.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objstmpconsiderwrapinfl.cxx b/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
index 1c32c9c75f26..902121265e84 100644
--- a/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
+++ b/sw/source/core/layout/objstmpconsiderwrapinfl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/objstmpconsiderwrapinfl.hxx b/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
index f5fd89b3b435..2da1897d5750 100644
--- a/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
+++ b/sw/source/core/layout/objstmpconsiderwrapinfl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx
index 4336fc658c79..4591c8f687ec 100644
--- a/sw/source/core/layout/pagechg.cxx
+++ b/sw/source/core/layout/pagechg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include "pagedesc.hxx"
#include "poolfmt.hxx"
#include <editeng/frmdiritem.hxx>
-#include <swfntcch.hxx> // SwFontAccess
+#include <swfntcch.hxx> // SwFontAccess
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
@@ -84,10 +84,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwBodyFrm::SwBodyFrm()
+|* SwBodyFrm::SwBodyFrm()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 01. Aug. 93
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 01. Aug. 93
|*
|*************************************************************************/
SwBodyFrm::SwBodyFrm( SwFrmFmt *pFmt ):
@@ -98,10 +98,10 @@ SwBodyFrm::SwBodyFrm( SwFrmFmt *pFmt ):
/*************************************************************************
|*
-|* SwBodyFrm::Format()
+|* SwBodyFrm::Format()
|*
-|* Ersterstellung MA 30. May. 94
-|* Letzte Aenderung MA 20. Jan. 99
+|* Ersterstellung MA 30. May. 94
+|* Letzte Aenderung MA 20. Jan. 99
|*
|*************************************************************************/
void SwBodyFrm::Format( const SwBorderAttrs * )
@@ -207,10 +207,10 @@ void SwBodyFrm::Paint( const SwRect& rRect, const SwPrtOptions* ) const
/*************************************************************************
|*
-|* SwPageFrm::SwPageFrm(), ~SwPageFrm()
+|* SwPageFrm::SwPageFrm(), ~SwPageFrm()
|*
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 08. Dec. 97
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 08. Dec. 97
|*
|*************************************************************************/
SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
@@ -245,7 +245,7 @@ SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
ViewShell *pSh = GetShell();
long nWidth = pSh ? pSh->VisArea().Width():0;
if ( !nWidth )
- nWidth = 5000L; //aendert sich sowieso
+ nWidth = 5000L; //aendert sich sowieso
Frm().Width ( nWidth );
}
else
@@ -257,16 +257,16 @@ SwPageFrm::SwPageFrm( SwFrmFmt *pFmt, SwPageDesc *pPgDsc ) :
if ( FALSE == (bEmptyPage = pFmt == pDoc->GetEmptyPageFmt()) )
{
bEmptyPage = FALSE;
- Calc(); //Damit die PrtArea stimmt.
+ Calc(); //Damit die PrtArea stimmt.
SwBodyFrm *pBodyFrm = new SwBodyFrm( pDoc->GetDfltFrmFmt() );
pBodyFrm->ChgSize( Prt().SSize() );
pBodyFrm->Paste( this );
- pBodyFrm->Calc(); //Damit die Spalten korrekt
+ pBodyFrm->Calc(); //Damit die Spalten korrekt
//eingesetzt werden koennen.
pBodyFrm->InvalidatePos();
if ( bBrowseMode )
- _InvalidateSize(); //Alles nur gelogen
+ _InvalidateSize(); //Alles nur gelogen
//Header/Footer einsetzen, nur rufen wenn aktiv.
if ( pFmt->GetHeader().IsActive() )
@@ -299,7 +299,7 @@ SwPageFrm::~SwPageFrm()
pAnchoredObj->SetPageFrm( 0L );
}
delete pSortedObjs;
- pSortedObjs = 0; //Auf 0 setzen, sonst rauchts beim Abmdelden von Flys!
+ pSortedObjs = 0; //Auf 0 setzen, sonst rauchts beim Abmdelden von Flys!
}
//Damit der Zugriff auf zerstoerte Seiten verhindert werden kann.
@@ -382,12 +382,12 @@ void SwPageFrm::CheckDirection( BOOL bVert )
/*************************************************************************
|*
-|* SwPageFrm::PreparePage()
+|* SwPageFrm::PreparePage()
|*
-|* Beschreibung Erzeugt die Spezifischen Flys zur Seite und formatiert
-|* generischen Cntnt
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 09. Nov. 95
+|* Beschreibung Erzeugt die Spezifischen Flys zur Seite und formatiert
+|* generischen Cntnt
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 09. Nov. 95
|*
|*************************************************************************/
void MA_FASTCALL lcl_FormatLay( SwLayoutFrm *pLay )
@@ -530,7 +530,7 @@ void SwPageFrm::PreparePage( BOOL bFtn )
SwCntntFrm *pCntnt = pLow->ContainsCntnt();
while ( pCntnt && pLow->IsAnLower( pCntnt ) )
{
- pCntnt->OptCalc(); //Nicht die Vorgaenger
+ pCntnt->OptCalc(); //Nicht die Vorgaenger
pCntnt = pCntnt->GetNextCntntFrm();
}
}
@@ -541,10 +541,10 @@ void SwPageFrm::PreparePage( BOOL bFtn )
/*************************************************************************
|*
-|* SwPageFrm::Modify()
+|* SwPageFrm::Modify()
|*
-|* Ersterstellung MA 20. Oct. 92
-|* Letzte Aenderung MA 03. Mar. 96
+|* Ersterstellung MA 20. Oct. 92
+|* Letzte Aenderung MA 03. Mar. 96
|*
|*************************************************************************/
void SwPageFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -660,7 +660,7 @@ void SwPageFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
(const SwFmtFrmSize&)*pNew;
Frm().Height( Max( rSz.GetHeight(), long(MINLAY) ) );
- Frm().Width ( Max( rSz.GetWidth(), long(MINLAY) ) );
+ Frm().Width ( Max( rSz.GetWidth(), long(MINLAY) ) );
// PAGES01
if ( GetUpper() )
@@ -736,11 +736,11 @@ void SwPageFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwPageFrm::GetInfo()
+|* SwPageFrm::GetInfo()
|*
-|* Beschreibung erfragt Informationen
-|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Beschreibung erfragt Informationen
+|* Ersterstellung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
// erfrage vom Modify Informationen
@@ -751,15 +751,15 @@ BOOL SwPageFrm::GetInfo( SfxPoolItem & rInfo ) const
// es gibt einen PageFrm also wird er benutzt
return FALSE;
}
- return TRUE; // weiter suchen
+ return TRUE; // weiter suchen
}
/*************************************************************************
|*
-|* SwPageFrm::SetPageDesc()
+|* SwPageFrm::SetPageDesc()
|*
-|* Ersterstellung MA 02. Nov. 94
-|* Letzte Aenderung MA 02. Nov. 94
+|* Ersterstellung MA 02. Nov. 94
+|* Letzte Aenderung MA 02. Nov. 94
|*
|*************************************************************************/
void SwPageFrm::SetPageDesc( SwPageDesc *pNew, SwFrmFmt *pFmt )
@@ -771,21 +771,21 @@ void SwPageFrm::SetPageDesc( SwPageDesc *pNew, SwFrmFmt *pFmt )
/*************************************************************************
|*
-|* SwPageFrm::FindPageDesc()
-|*
-|* Beschreibung Der richtige PageDesc wird bestimmt:
-|* 0. Vom Dokument bei Fussnotenseiten und Endnotenseiten
-|* 1. vom ersten BodyCntnt unterhalb der Seite.
-|* 2. vom PageDesc der vorstehenden Seite.
-|* 3. bei Leerseiten vom PageDesc der vorigen Seite.
-|* 3.1 vom PageDesc der folgenden Seite wenn es keinen Vorgaenger gibt.
-|* 4. es ist der Default-PageDesc sonst.
-|* 5. Im BrowseMode ist der Pagedesc immer der vom ersten Absatz im
-|* Dokument oder Standard (der 0-te) wenn der erste Absatz keinen
-|* wuenscht.
-|* (6. Im HTML-Mode ist der Pagedesc immer die HTML-Seitenvorlage.)
-|* Ersterstellung MA 15. Feb. 93
-|* Letzte Aenderung MA 17. Jun. 99
+|* SwPageFrm::FindPageDesc()
+|*
+|* Beschreibung Der richtige PageDesc wird bestimmt:
+|* 0. Vom Dokument bei Fussnotenseiten und Endnotenseiten
+|* 1. vom ersten BodyCntnt unterhalb der Seite.
+|* 2. vom PageDesc der vorstehenden Seite.
+|* 3. bei Leerseiten vom PageDesc der vorigen Seite.
+|* 3.1 vom PageDesc der folgenden Seite wenn es keinen Vorgaenger gibt.
+|* 4. es ist der Default-PageDesc sonst.
+|* 5. Im BrowseMode ist der Pagedesc immer der vom ersten Absatz im
+|* Dokument oder Standard (der 0-te) wenn der erste Absatz keinen
+|* wuenscht.
+|* (6. Im HTML-Mode ist der Pagedesc immer die HTML-Seitenvorlage.)
+|* Ersterstellung MA 15. Feb. 93
+|* Letzte Aenderung MA 17. Jun. 99
|*
|*************************************************************************/
SwPageDesc *SwPageFrm::FindPageDesc()
@@ -802,7 +802,7 @@ SwPageDesc *SwPageFrm::FindPageDesc()
//6.
//if ( GetFmt()->GetDoc()->IsHTMLMode() )
- // return GetFmt()->GetDoc()->GetPageDescFromPool( RES_POOLPAGE_HTML );
+ // return GetFmt()->GetDoc()->GetPageDescFromPool( RES_POOLPAGE_HTML );
SwPageDesc *pRet = 0;
@@ -882,10 +882,10 @@ inline void SetLastPage( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwPageFrm::Cut()
+|* SwPageFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 22. Jun. 95
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 22. Jun. 95
|*
|*************************************************************************/
void SwPageFrm::Cut()
@@ -937,7 +937,7 @@ void SwPageFrm::Cut()
{
while ( pPg )
{
- pPg->DecrPhyPageNum(); //inline --nPhyPageNum
+ pPg->DecrPhyPageNum(); //inline --nPhyPageNum
pPg = (SwPageFrm*)pPg->GetNext();
}
}
@@ -956,10 +956,10 @@ void SwPageFrm::Cut()
/*************************************************************************
|*
-|* SwPageFrm::Paste()
+|* SwPageFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 07. Dec. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 07. Dec. 94
|*
|*************************************************************************/
void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
@@ -985,7 +985,7 @@ void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
{
while ( pPg )
{
- pPg->IncrPhyPageNum(); //inline ++nPhyPageNum
+ pPg->IncrPhyPageNum(); //inline ++nPhyPageNum
pPg->_InvalidatePos();
pPg->InvalidateLayout();
pPg = (SwPageFrm*)pPg->GetNext();
@@ -1006,10 +1006,10 @@ void SwPageFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwPageFrm::PrepareRegisterChg()
+|* SwPageFrm::PrepareRegisterChg()
|*
-|* Ersterstellung AMA 22. Jul. 96
-|* Letzte Aenderung AMA 22. Jul. 96
+|* Ersterstellung AMA 22. Jul. 96
+|* Letzte Aenderung AMA 22. Jul. 96
|*
|*************************************************************************/
void lcl_PrepFlyInCntRegister( SwCntntFrm *pFrm )
@@ -1068,22 +1068,22 @@ void SwPageFrm::PrepareRegisterChg()
/*************************************************************************
|*
-|* SwFrm::CheckPageDescs()
+|* SwFrm::CheckPageDescs()
|*
-|* Beschreibung Prueft alle Seiten ab der uebergebenen, daraufhin,
-|* ob sie das richtige FrmFmt verwenden. Wenn 'falsche' Seiten
-|* aufgespuehrt werden, so wird versucht die Situation moeglichst
-|* einfache zu bereinigen.
+|* Beschreibung Prueft alle Seiten ab der uebergebenen, daraufhin,
+|* ob sie das richtige FrmFmt verwenden. Wenn 'falsche' Seiten
+|* aufgespuehrt werden, so wird versucht die Situation moeglichst
+|* einfache zu bereinigen.
|*
-|* Ersterstellung MA 10. Feb. 93
-|* Letzte Aenderung MA 18. Apr. 96
+|* Ersterstellung MA 10. Feb. 93
+|* Letzte Aenderung MA 18. Apr. 96
|*
|*************************************************************************/
void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
{
OSL_ENSURE( pStart, "Keine Startpage." );
- ViewShell *pSh = pStart->GetShell();
+ ViewShell *pSh = pStart->GetShell();
SwViewImp *pImp = pSh ? pSh->Imp() : 0;
if ( pImp && pImp->IsAction() && !pImp->GetLayAction().IsCheckPages() )
@@ -1097,7 +1097,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
SwTwips nDocPos = LONG_MAX;
SwRootFrm *pRoot = (SwRootFrm*)pStart->GetUpper();
- SwDoc* pDoc = pStart->GetFmt()->GetDoc();
+ SwDoc* pDoc = pStart->GetFmt()->GetDoc();
const BOOL bFtns = 0 != pDoc->GetFtnIdxs().Count();
SwPageFrm *pPage = pStart;
@@ -1114,7 +1114,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
: pDesc->GetLeftFmt();
if ( bActOdd != bOdd ||
- pDesc != pPage->GetPageDesc() || //falscher Desc
+ pDesc != pPage->GetPageDesc() || //falscher Desc
( pFmtWish != pPage->GetFmt() && //falsches Format und
( !pPage->IsEmptyPage() || pFmtWish ) //nicht Leerseite
)
@@ -1128,27 +1128,27 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
//Ab hier muessen die Felder invalidiert werden!
if ( nDocPos == LONG_MAX )
nDocPos = pPage->GetPrev() ?
- pPage->GetPrev()->Frm().Top() : pPage->Frm().Top();
+ pPage->GetPrev()->Frm().Top() : pPage->Frm().Top();
//Faelle:
//1. Wir haben eine EmptyPage und wollen eine "Normalseite".
- // ->EmptyPage wegwerfen und weiter mit der naechsten.
+ // ->EmptyPage wegwerfen und weiter mit der naechsten.
//2. Wir haben eine EmptyPage und wollen eine EmptyPage mit
- // anderem Descriptor.
- // ->Descriptor austauschen.
+ // anderem Descriptor.
+ // ->Descriptor austauschen.
//3. Wir haben eine "Normalseite" und wollen eine EmptyPage.
- // ->Emptypage einfuegen, nicht aber wenn die Vorseite
- // bereits eine EmptyPage ist -> 6.
+ // ->Emptypage einfuegen, nicht aber wenn die Vorseite
+ // bereits eine EmptyPage ist -> 6.
//4. Wir haben eine "Normalseite" und wollen eine "Normalseite"
- // mit anderem Descriptor
- // ->Descriptor und Format austauschen
+ // mit anderem Descriptor
+ // ->Descriptor und Format austauschen
//5. Wir haben eine "Normalseite" und wollen eine "Normalseite"
- // mit anderem Format
- // ->Format austauschen.
+ // mit anderem Format
+ // ->Format austauschen.
//6. Wir haben kein Wunschformat erhalten, also nehmen wir das
- // 'andere' Format (rechts/links) des PageDesc.
+ // 'andere' Format (rechts/links) des PageDesc.
- if ( pPage->IsEmptyPage() && ( pFmtWish || //1.
+ if ( pPage->IsEmptyPage() && ( pFmtWish || //1.
( !bOdd && !pPage->GetPrev() ) ) )
{
SwPageFrm *pTmp = (SwPageFrm*)pPage->GetNext();
@@ -1159,7 +1159,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pPage = pTmp;
continue;
}
- else if ( pPage->IsEmptyPage() && !pFmtWish && //2.
+ else if ( pPage->IsEmptyPage() && !pFmtWish && //2.
pDesc != pPage->GetPageDesc() )
{
pPage->SetPageDesc( pDesc, 0 );
@@ -1179,7 +1179,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pTmp->PreparePage( FALSE );
pPage = pTmp;
}
- else if ( pPage->GetPageDesc() != pDesc ) //4.
+ else if ( pPage->GetPageDesc() != pDesc ) //4.
{
SwPageDesc *pOld = pPage->GetPageDesc();
pPage->SetPageDesc( pDesc, pFmtWish );
@@ -1197,11 +1197,11 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
pCont->_InvalidateAll();
}
}
- else if ( pFmtWish && pPage->GetFmt() != pFmtWish ) //5.
+ else if ( pFmtWish && pPage->GetFmt() != pFmtWish ) //5.
{
pPage->SetFrmFmt( pFmtWish );
}
- else if ( !pFmtWish ) //6.
+ else if ( !pFmtWish ) //6.
{
//Format mit verdrehter Logic besorgen.
pFmtWish = bOdd ? pDesc->GetLeftFmt() : pDesc->GetRightFmt();
@@ -1265,7 +1265,7 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
if ( bEmpty )
{
OSL_ENSURE( FALSE, "Doppelte Leerseiten." );
- break; //Einmal reicht.
+ break; //Einmal reicht.
}
bEmpty = TRUE;
}
@@ -1276,8 +1276,8 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
//moeglich: Ein paar Seiten, auf der ersten 'erste Seite' anwenden,
//rechte als folge der ersten, linke als folge der rechten, rechte als
//folge der linken.
-// OSL_ENSURE( pPg->GetPageDesc() == pPg->FindPageDesc(),
-// "Seite mit falschem Descriptor." );
+// OSL_ENSURE( pPg->GetPageDesc() == pPg->FindPageDesc(),
+// "Seite mit falschem Descriptor." );
pPg = (SwPageFrm*)pPg->GetNext();
}
@@ -1286,11 +1286,11 @@ void SwFrm::CheckPageDescs( SwPageFrm *pStart, BOOL bNotifyFields )
/*************************************************************************
|*
-|* SwFrm::InsertPage()
+|* SwFrm::InsertPage()
|*
-|* Beschreibung
-|* Ersterstellung MA 10. Feb. 93
-|* Letzte Aenderung MA 27. Jul. 93
+|* Beschreibung
+|* Ersterstellung MA 10. Feb. 93
+|* Letzte Aenderung MA 27. Jul. 93
|*
|*************************************************************************/
SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
@@ -1309,7 +1309,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
//der Follow vom bereits in der PrevPage gueltigen sonst.
pDesc = 0;
if ( IsFlowFrm() && !SwFlowFrm::CastFlowFrm( this )->IsFollow() )
- { SwFmtPageDesc &rDesc = (SwFmtPageDesc&)GetAttrSet()->GetPageDesc();
+ { SwFmtPageDesc &rDesc = (SwFmtPageDesc&)GetAttrSet()->GetPageDesc();
pDesc = rDesc.GetPageDesc();
if ( rDesc.GetNumOffset() )
{
@@ -1331,7 +1331,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
//Wenn ich kein FrmFmt fuer die Seite gefunden habe, muss ich eben eine
//Leerseite einfuegen.
if( bWishedOdd != bNextOdd )
- { pFmt = pDoc->GetEmptyPageFmt();
+ { pFmt = pDoc->GetEmptyPageFmt();
SwPageDesc *pTmpDesc = pPrevPage->GetPageDesc();
SwPageFrm *pPage = new SwPageFrm( pFmt, pTmpDesc );
pPage->Paste( pRoot, pSibling );
@@ -1404,7 +1404,7 @@ SwPageFrm *SwFrm::InsertPage( SwPageFrm *pPrevPage, BOOL bFtn )
sw::sidebarwindows::SidebarPosition SwPageFrm::SidebarPosition() const
{
- if ( !GetShell() ||
+ if ( !GetShell() ||
GetShell()->getIDocumentSettingAccess()->get(IDocumentSettingAccess::BROWSE_MODE) )
{
// --> OD 2010-06-03 #i111964# - provide default sidebar position
@@ -1425,10 +1425,10 @@ sw::sidebarwindows::SidebarPosition SwPageFrm::SidebarPosition() const
/*************************************************************************
|*
-|* SwRootFrm::GrowFrm()
+|* SwRootFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
@@ -1440,10 +1440,10 @@ SwTwips SwRootFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL )
}
/*************************************************************************
|*
-|* SwRootFrm::ShrinkFrm()
+|* SwRootFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwRootFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL )
@@ -1458,21 +1458,21 @@ SwTwips SwRootFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL )
/*************************************************************************
|*
-|* SwRootFrm::RemoveSuperfluous()
+|* SwRootFrm::RemoveSuperfluous()
|*
-|* Beschreibung: Entfernung von ueberfluessigen Seiten.
-|* Arbeitet nur wenn das Flag bCheckSuperfluous gesetzt ist.
-|* Definition: Eine Seite ist genau dann leer, wenn der
-|* Body-Textbereich keinen CntntFrm enthaelt, aber nicht, wenn noch
-|* mindestens ein Fly an der Seite klebt.
-|* Die Seite ist auch dann nicht leer, wenn sie noch eine
-|* Fussnote enthaelt.
-|* Es muss zweimal angesetzt werden um leeren Seiten aufzuspueren:
-|* - einmal fuer die Endnotenseiten.
-|* - und einmal fuer die Seiten des Bodytextes.
+|* Beschreibung: Entfernung von ueberfluessigen Seiten.
+|* Arbeitet nur wenn das Flag bCheckSuperfluous gesetzt ist.
+|* Definition: Eine Seite ist genau dann leer, wenn der
+|* Body-Textbereich keinen CntntFrm enthaelt, aber nicht, wenn noch
+|* mindestens ein Fly an der Seite klebt.
+|* Die Seite ist auch dann nicht leer, wenn sie noch eine
+|* Fussnote enthaelt.
+|* Es muss zweimal angesetzt werden um leeren Seiten aufzuspueren:
+|* - einmal fuer die Endnotenseiten.
+|* - und einmal fuer die Seiten des Bodytextes.
|*
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 10. Jan. 95
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 10. Jan. 95
|*
|*************************************************************************/
void SwRootFrm::RemoveSuperfluous()
@@ -1566,14 +1566,14 @@ void SwRootFrm::RemoveSuperfluous()
/*************************************************************************
|*
-|* SwRootFrm::AssertFlyPages()
+|* SwRootFrm::AssertFlyPages()
|*
-|* Beschreibung Stellt sicher, dass genuegend Seiten vorhanden
-|* sind, damit alle Seitengebundenen Rahmen und DrawObject
-|* untergebracht sind.
+|* Beschreibung Stellt sicher, dass genuegend Seiten vorhanden
+|* sind, damit alle Seitengebundenen Rahmen und DrawObject
+|* untergebracht sind.
|*
-|* Ersterstellung MA 27. Jul. 93
-|* Letzte Aenderung MA 24. Apr. 97
+|* Ersterstellung MA 27. Jul. 93
+|* Letzte Aenderung MA 24. Apr. 97
|*
|*************************************************************************/
void SwRootFrm::AssertFlyPages()
@@ -1652,14 +1652,14 @@ void SwRootFrm::AssertFlyPages()
/*************************************************************************
|*
-|* SwRootFrm::AssertPageFlys()
+|* SwRootFrm::AssertPageFlys()
|*
-|* Beschreibung Stellt sicher, dass ab der uebergebenen Seite
-|* auf allen Seiten die Seitengebunden Objecte auf der richtigen
-|* Seite (Seitennummer stehen).
+|* Beschreibung Stellt sicher, dass ab der uebergebenen Seite
+|* auf allen Seiten die Seitengebunden Objecte auf der richtigen
+|* Seite (Seitennummer stehen).
|*
-|* Ersterstellung MA 02. Nov. 94
-|* Letzte Aenderung MA 10. Aug. 95
+|* Ersterstellung MA 02. Nov. 94
+|* Letzte Aenderung MA 10. Aug. 95
|*
|*************************************************************************/
void SwRootFrm::AssertPageFlys( SwPageFrm *pPage )
@@ -1708,10 +1708,10 @@ void SwRootFrm::AssertPageFlys( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwRootFrm::ChgSize()
+|* SwRootFrm::ChgSize()
|*
-|* Ersterstellung MA 24. Jul. 92
-|* Letzte Aenderung MA 13. Aug. 93
+|* Ersterstellung MA 24. Jul. 92
+|* Letzte Aenderung MA 13. Aug. 93
|*
|*************************************************************************/
Size SwRootFrm::ChgSize( const Size& aNewSize )
@@ -1724,20 +1724,20 @@ Size SwRootFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwRootFrm::MakeAll()
+|* SwRootFrm::MakeAll()
|*
-|* Ersterstellung MA 17. Nov. 92
-|* Letzte Aenderung MA 19. Apr. 93
+|* Ersterstellung MA 17. Nov. 92
+|* Letzte Aenderung MA 19. Apr. 93
|*
|*************************************************************************/
void SwRootFrm::MakeAll()
{
if ( !bValidPos )
- { bValidPos = TRUE;
+ { bValidPos = TRUE;
aFrm.Pos().X() = aFrm.Pos().Y() = DOCUMENTBORDER;
}
if ( !bValidPrtArea )
- { bValidPrtArea = TRUE;
+ { bValidPrtArea = TRUE;
aPrt.Pos().X() = aPrt.Pos().Y() = 0;
aPrt.SSize( aFrm.SSize() );
}
@@ -1748,10 +1748,10 @@ void SwRootFrm::MakeAll()
/*************************************************************************
|*
-|* SwRootFrm::ImplInvalidateBrowseWidth()
+|* SwRootFrm::ImplInvalidateBrowseWidth()
|*
-|* Ersterstellung MA 08. Jun. 96
-|* Letzte Aenderung MA 08. Jun. 96
+|* Ersterstellung MA 08. Jun. 96
+|* Letzte Aenderung MA 08. Jun. 96
|*
|*************************************************************************/
void SwRootFrm::ImplInvalidateBrowseWidth()
@@ -1767,10 +1767,10 @@ void SwRootFrm::ImplInvalidateBrowseWidth()
/*************************************************************************
|*
-|* SwRootFrm::ImplCalcBrowseWidth()
+|* SwRootFrm::ImplCalcBrowseWidth()
|*
-|* Ersterstellung MA 07. Jun. 96
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 07. Jun. 96
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
void SwRootFrm::ImplCalcBrowseWidth()
@@ -1891,7 +1891,7 @@ void SwRootFrm::ImplCalcBrowseWidth()
// <--
}
break;
- default: /* do nothing */;
+ default: /* do nothing */;
}
nBrowseWidth = Max( nBrowseWidth, nWidth );
}
@@ -1902,10 +1902,10 @@ void SwRootFrm::ImplCalcBrowseWidth()
/*************************************************************************
|*
-|* SwRootFrm::StartAllAction()
+|* SwRootFrm::StartAllAction()
|*
-|* Ersterstellung MA 08. Mar. 98
-|* Letzte Aenderung MA 08. Mar. 98
+|* Ersterstellung MA 08. Mar. 98
+|* Letzte Aenderung MA 08. Mar. 98
|*
|*************************************************************************/
@@ -1914,7 +1914,7 @@ void SwRootFrm::StartAllAction()
ViewShell *pSh = GetCurrShell();
if ( pSh )
do
- { if ( pSh->ISA( SwCrsrShell ) )
+ { if ( pSh->ISA( SwCrsrShell ) )
((SwCrsrShell*)pSh)->StartAction();
else
pSh->StartAction();
diff --git a/sw/source/core/layout/pagedesc.cxx b/sw/source/core/layout/pagedesc.cxx
index ea06d1e5c24f..9f6bc1d8dc18 100644
--- a/sw/source/core/layout/pagedesc.cxx
+++ b/sw/source/core/layout/pagedesc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +45,19 @@
#include <pagefrm.hxx>
#include <pagedesc.hxx>
#include <frmfmt.hxx>
-#include <fmtcol.hxx> // SwTxtFmtColl
+#include <fmtcol.hxx> // SwTxtFmtColl
#include <node.hxx>
#include <swtable.hxx>
#include <frmtool.hxx>
-#include <doc.hxx> // fuer GetAttrPool
+#include <doc.hxx> // fuer GetAttrPool
#include <poolfmt.hxx>
/*************************************************************************
|*
-|* SwPageDesc::SwPageDesc()
+|* SwPageDesc::SwPageDesc()
|*
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung MA 16. Feb. 94
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung MA 16. Feb. 94
|*
|*************************************************************************/
@@ -119,12 +119,12 @@ SwPageDesc::~SwPageDesc()
/*************************************************************************
|*
-|* SwPageDesc::Mirror()
+|* SwPageDesc::Mirror()
|*
-|* Beschreibung Gespiegelt werden nur die Raender.
-|* Attribute wie Umrandung und dergleichen werden 1:1 kopiert.
-|* Ersterstellung MA 25. Jan. 93
-|* Letzte Aenderung 01. Nov. 94
+|* Beschreibung Gespiegelt werden nur die Raender.
+|* Attribute wie Umrandung und dergleichen werden 1:1 kopiert.
+|* Ersterstellung MA 25. Jan. 93
+|* Letzte Aenderung 01. Nov. 94
|*
|*************************************************************************/
@@ -169,7 +169,7 @@ void SwPageDesc::ResetAllAttr( sal_Bool bLeft )
|*
|* Beschreibung erfragt Informationen
|* Ersterstellung JP 31.03.94
-|* Letzte Aenderung JP 31.03.94
+|* Letzte Aenderung JP 31.03.94
|*
*************************************************************************/
@@ -181,7 +181,7 @@ BOOL SwPageDesc::GetInfo( SfxPoolItem & rInfo ) const
// {
// dann weiter zum Format
if( !aMaster.GetInfo( rInfo ) )
- return FALSE; // gefunden
+ return FALSE; // gefunden
return aLeft.GetInfo( rInfo );
// }
// return TRUE; // weiter suchen
@@ -193,7 +193,7 @@ BOOL SwPageDesc::GetInfo( SfxPoolItem & rInfo ) const
|*
|* Beschreibung setzt die Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -217,7 +217,7 @@ void SwPageDesc::SetRegisterFmtColl( const SwTxtFmtColl* pFmt )
|*
|* Beschreibung holt die Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -234,7 +234,7 @@ const SwTxtFmtColl* SwPageDesc::GetRegisterFmtColl() const
|*
|* Beschreibung benachrichtigt alle betroffenen PageFrames
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -282,9 +282,9 @@ void SwPageDesc::RegisterChange()
|* SwPageDesc::Modify()
|*
|* Beschreibung reagiert insbesondere auf Aenderungen
-|* der Vorlage fuer die Registerhaltigkeit
+|* der Vorlage fuer die Registerhaltigkeit
|* Ersterstellung AMA 22.07.96
-|* Letzte Aenderung AMA 22.07.96
+|* Letzte Aenderung AMA 22.07.96
|*
*************************************************************************/
@@ -377,10 +377,10 @@ BOOL SwPageDesc::IsFollowNextPageOfNode( const SwNode& rNd ) const
/*************************************************************************
|*
-|* SwPageFtnInfo::SwPageFtnInfo()
+|* SwPageFtnInfo::SwPageFtnInfo()
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 24. Feb. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 24. Feb. 93
|*
|*************************************************************************/
@@ -388,7 +388,7 @@ BOOL SwPageDesc::IsFollowNextPageOfNode( const SwNode& rNd ) const
SwPageFtnInfo::SwPageFtnInfo() :
nMaxHeight( 0 ),
-// aPen( PEN_SOLID ),
+// aPen( PEN_SOLID ),
nLineWidth(10),
aWidth( 25, 100 ),
nTopDist( 57 ), //1mm
@@ -397,7 +397,7 @@ SwPageFtnInfo::SwPageFtnInfo() :
eAdj = FRMDIR_HORI_RIGHT_TOP == GetDefaultFrameDirection(GetAppLanguage()) ?
FTNADJ_RIGHT :
FTNADJ_LEFT;
-// aPen.SetWidth( 10 );
+// aPen.SetWidth( 10 );
}
@@ -415,10 +415,10 @@ SwPageFtnInfo::SwPageFtnInfo( const SwPageFtnInfo &rCpy ) :
/*************************************************************************
|*
-|* SwPageFtnInfo::operator=
+|* SwPageFtnInfo::operator=
|*
-|* Ersterstellung MA 24. Feb. 93
-|* Letzte Aenderung MA 24. Feb. 93
+|* Ersterstellung MA 24. Feb. 93
+|* Letzte Aenderung MA 24. Feb. 93
|*
|*************************************************************************/
@@ -426,21 +426,21 @@ SwPageFtnInfo::SwPageFtnInfo( const SwPageFtnInfo &rCpy ) :
SwPageFtnInfo &SwPageFtnInfo::operator=( const SwPageFtnInfo& rCpy )
{
- nMaxHeight = rCpy.GetHeight();
- nLineWidth = rCpy.nLineWidth;
- aLineColor = rCpy.aLineColor;
- aWidth = rCpy.GetWidth();
- eAdj = rCpy.GetAdj();
- nTopDist = rCpy.GetTopDist();
+ nMaxHeight = rCpy.GetHeight();
+ nLineWidth = rCpy.nLineWidth;
+ aLineColor = rCpy.aLineColor;
+ aWidth = rCpy.GetWidth();
+ eAdj = rCpy.GetAdj();
+ nTopDist = rCpy.GetTopDist();
nBottomDist = rCpy.GetBottomDist();
return *this;
}
/*************************************************************************
|*
-|* SwPageFtnInfo::operator==
+|* SwPageFtnInfo::operator==
|*
-|* Ersterstellung MA 01. Mar. 93
-|* Letzte Aenderung MA 01. Mar. 93
+|* Ersterstellung MA 01. Mar. 93
+|* Letzte Aenderung MA 01. Mar. 93
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx
index 08d6d5f9bff9..9443507cb9f2 100644
--- a/sw/source/core/layout/paintfrm.cxx
+++ b/sw/source/core/layout/paintfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +105,9 @@
#include <PostItMgr.hxx>
#include <tools/color.hxx>
-#define COL_NOTES_SIDEPANE RGB_COLORDATA(230,230,230)
-#define COL_NOTES_SIDEPANE_BORDER RGB_COLORDATA(200,200,200)
-#define COL_NOTES_SIDEPANE_SCROLLAREA RGB_COLORDATA(230,230,220)
+#define COL_NOTES_SIDEPANE RGB_COLORDATA(230,230,230)
+#define COL_NOTES_SIDEPANE_BORDER RGB_COLORDATA(200,200,200)
+#define COL_NOTES_SIDEPANE_SCROLLAREA RGB_COLORDATA(230,230,220)
#include <vcl/svapp.hxx>
#include <svtools/borderhelper.hxx>
@@ -115,7 +115,7 @@
using namespace ::com::sun::star;
-#define GETOBJSHELL() ((SfxObjectShell*)rSh.GetDoc()->GetDocShell())
+#define GETOBJSHELL() ((SfxObjectShell*)rSh.GetDoc()->GetDocShell())
//Tabellenhilfslinien an?
#define IS_SUBS_TABLE \
@@ -153,28 +153,28 @@ using namespace ::com::sun::star;
//----- Klassen zum Sammeln von Umrandungen und Hilfslinien ---
class SwLineRect : public SwRect
{
- const Color *pColor;
+ const Color *pColor;
SvxBorderStyle nStyle;
const SwTabFrm *pTab;
- BYTE nSubColor; //Hilfslinien einfaerben
- BOOL bPainted; //schon gepaintet?
- BYTE nLock; //Um die Linien zum Hell-Layer abzugrenzen.
+ BYTE nSubColor; //Hilfslinien einfaerben
+ BOOL bPainted; //schon gepaintet?
+ BYTE nLock; //Um die Linien zum Hell-Layer abzugrenzen.
public:
SwLineRect( const SwRect &rRect, const Color *pCol, const SvxBorderStyle nStyle,
const SwTabFrm *pT , const BYTE nSCol );
- const Color *GetColor() const { return pColor;}
+ const Color *GetColor() const { return pColor;}
SvxBorderStyle GetStyle() const { return nStyle; }
- const SwTabFrm *GetTab() const { return pTab; }
- void SetPainted() { bPainted = TRUE; }
- void Lock( BOOL bLock ) { if ( bLock )
+ const SwTabFrm *GetTab() const { return pTab; }
+ void SetPainted() { bPainted = TRUE; }
+ void Lock( BOOL bLock ) { if ( bLock )
++nLock;
else if ( nLock )
--nLock;
}
- BOOL IsPainted() const { return bPainted; }
- BOOL IsLocked() const { return nLock != 0; }
- BYTE GetSubColor() const { return nSubColor;}
+ BOOL IsPainted() const { return bPainted; }
+ BOOL IsLocked() const { return nLock != 0; }
+ BYTE GetSubColor() const { return nSubColor;}
BOOL MakeUnion( const SwRect &rRect );
};
@@ -183,10 +183,10 @@ SV_DECL_VARARR( SwLRects, SwLineRect, 100, 100 )
class SwLineRects : public SwLRects
{
- USHORT nLastCount; //unuetze Durchlaeufe im PaintLines verhindern.
+ USHORT nLastCount; //unuetze Durchlaeufe im PaintLines verhindern.
public:
SwLineRects() : nLastCount( 0 ) {}
- void AddLineRect( const SwRect& rRect, const Color *pColor, const SvxBorderStyle nStyle,
+ void AddLineRect( const SwRect& rRect, const Color *pColor, const SvxBorderStyle nStyle,
const SwTabFrm *pTab, const BYTE nSCol );
void ConnectEdges( OutputDevice *pOut );
void PaintLines ( OutputDevice *pOut );
@@ -319,27 +319,27 @@ void SwCalcPixStatics( OutputDevice *pOut )
//Zum Sichern der statics, damit das Paint (quasi) reentrant wird.
class SwSavePaintStatics
{
- BOOL bSFlyMetafile,
+ BOOL bSFlyMetafile,
bSPageOnly;
- ViewShell *pSGlobalShell;
- OutputDevice *pSFlyMetafileOut;
- SwFlyFrm *pSRetoucheFly,
+ ViewShell *pSGlobalShell;
+ OutputDevice *pSFlyMetafileOut;
+ SwFlyFrm *pSRetoucheFly,
*pSRetoucheFly2,
*pSFlyOnlyDraw;
- SwLineRects *pSLines;
- SwSubsRects *pSSubsLines;
+ SwLineRects *pSLines;
+ SwSubsRects *pSSubsLines;
// --> OD 2005-07-04 #123196#
SwSubsRects* pSSpecSubsLines;
// <--
- SfxProgress *pSProgress;
- long nSPixelSzW,
+ SfxProgress *pSProgress;
+ long nSPixelSzW,
nSPixelSzH,
nSHalfPixelSzW,
nSHalfPixelSzH,
nSMinDistPixelW,
nSMinDistPixelH;
- Color aSGlobalRetoucheColor;
- double aSScaleX,
+ Color aSGlobalRetoucheColor;
+ double aSScaleX,
aSScaleY;
public:
SwSavePaintStatics();
@@ -389,7 +389,7 @@ SwSavePaintStatics::SwSavePaintStatics() :
SwSavePaintStatics::~SwSavePaintStatics()
{
- pGlobalShell = pSGlobalShell;
+ pGlobalShell = pSGlobalShell;
bFlyMetafile = bSFlyMetafile;
pFlyMetafileOut = pSFlyMetafileOut;
pRetoucheFly = pSRetoucheFly;
@@ -440,17 +440,17 @@ BOOL SwLineRect::MakeUnion( const SwRect &rRect )
//Zusammenfassen wenn kein Luecke zwischen den Linien ist.
const long nAdd = nPixelSzW + nHalfPixelSzW;
if ( Bottom() + nAdd >= rRect.Top() &&
- Top() - nAdd <= rRect.Bottom() )
+ Top() - nAdd <= rRect.Bottom() )
{
Bottom( Max( Bottom(), rRect.Bottom() ) );
- Top ( Min( Top(), rRect.Top() ) );
+ Top ( Min( Top(), rRect.Top() ) );
return TRUE;
}
}
}
else
{
- if ( Top() == rRect.Top() && Height() == rRect.Height() )
+ if ( Top() == rRect.Top() && Height() == rRect.Height() )
{
//Zusammenfassen wenn kein Luecke zwischen den Linien ist.
const long nAdd = nPixelSzW + nHalfPixelSzW;
@@ -528,8 +528,8 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
{
SwLineRect &rL2 = operator[](i2);
if ( rL2.GetTab() != rL1.GetTab() ||
- rL2.IsPainted() ||
- rL2.IsLocked() ||
+ rL2.IsPainted() ||
+ rL2.IsLocked() ||
bVert == rL2.Height() > rL2.Width() )
continue;
@@ -546,7 +546,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
}
if ( (nL1a - nAdd < nL2d && nL1d + nAdd > nL2a) &&
- ((nL1b > nL2b && nL1c < nL2c) ||
+ ((nL1b > nL2b && nL1c < nL2c) ||
(nL1c >= nL2c && nL1b - nAdd < nL2c) ||
(nL1b <= nL2b && nL1c + nAdd > nL2b)) )
{
@@ -585,7 +585,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( rL1.Top() < pLA->Top() )
{
if ( rL1.Bottom() == pLA->Bottom() )
- continue; //kleiner Irrtum (woher?)
+ continue; //kleiner Irrtum (woher?)
SwRect aIns( rL1 );
aIns.Bottom( pLA->Bottom() );
@@ -603,9 +603,9 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
}
if ( rL1.Bottom() > pLB->Bottom() )
- rL1.Top( pLB->Top() ); //i1 nach oben verlaengern
+ rL1.Top( pLB->Top() ); //i1 nach oben verlaengern
else
- bRemove = TRUE; //abbrechen, i1 entfernen
+ bRemove = TRUE; //abbrechen, i1 entfernen
}
}
else
@@ -626,7 +626,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( rL1.Left() < pLA->Left() )
{
if ( rL1.Right() == pLA->Right() )
- continue; //kleiner irrtum
+ continue; //kleiner irrtum
SwRect aIns( rL1 );
aIns.Right( pLA->Right() );
@@ -653,7 +653,7 @@ void SwLineRects::ConnectEdges( OutputDevice *pOut )
if ( bRemove )
{
Remove( static_cast<USHORT>(i), 1 );
- --i; //keinen auslassen!
+ --i; //keinen auslassen!
}
}
}
@@ -735,7 +735,7 @@ void SwSubsRects::RemoveSuperfluousSubsidiaryLines( const SwLineRects &rRects )
break;
}
}
- else //Horizontal
+ else //Horizontal
{
if ( aSubsRect.Top() <= rLine.Bottom() &&
aSubsRect.Bottom() >= rLine.Top() )
@@ -852,21 +852,21 @@ void SwLineRects::PaintLines( OutputDevice *pOut )
if ( rLRect.Height() > rLRect.Width() )
{
//Senkrechte Kante, ueberlappt sie mit der TabellenKante?
- SwTwips nLLeft = rLRect.Left() - 30,
+ SwTwips nLLeft = rLRect.Left() - 30,
nLRight = rLRect.Right() + 30,
- nTLeft = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Left(),
+ nTLeft = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Left(),
nTRight = rLRect.GetTab()->Frm().Left() + rLRect.GetTab()->Prt().Right();
if ( (nTLeft >= nLLeft && nTLeft <= nLRight) ||
(nTRight>= nLLeft && nTRight<= nLRight) )
bPaint = FALSE;
}
else
- { //Waagerechte Kante, ueberlappt sie mit der Tabellenkante?
- SwTwips nLTop = rLRect.Top() - 30,
+ { //Waagerechte Kante, ueberlappt sie mit der Tabellenkante?
+ SwTwips nLTop = rLRect.Top() - 30,
nLBottom = rLRect.Bottom() + 30,
- nTTop = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Top(),
+ nTTop = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Top(),
nTBottom = rLRect.GetTab()->Frm().Top() + rLRect.GetTab()->Prt().Bottom();
- if ( (nTTop >= nLTop && nTTop <= nLBottom) ||
+ if ( (nTTop >= nLTop && nTTop <= nLBottom) ||
(nTBottom >= nLTop && nTBottom <= nLBottom) )
bPaint = FALSE;
}
@@ -2757,18 +2757,18 @@ void SwTabFrmPainter::Insert( SwLineEntry& rNew, bool bHori )
/*************************************************************************
|*
-|* SwRootFrm::Paint()
+|* SwRootFrm::Paint()
|*
-|* Beschreibung
-|* Fuer jede sichtbare Seite, die von Rect ber?hrt wird einmal Painten.
-|* 1. Umrandungen und Hintergruende Painten.
-|* 2. Den Draw Layer (Ramen und Zeichenobjekte) der unter dem Dokument
-|* liegt painten (Hoelle).
-|* 3. Den Dokumentinhalt (Text) Painten.
-|* 4. Den Drawlayer der ueber dem Dokuemnt liegt painten.
+|* Beschreibung
+|* Fuer jede sichtbare Seite, die von Rect ber?hrt wird einmal Painten.
+|* 1. Umrandungen und Hintergruende Painten.
+|* 2. Den Draw Layer (Ramen und Zeichenobjekte) der unter dem Dokument
+|* liegt painten (Hoelle).
+|* 3. Den Dokumentinhalt (Text) Painten.
+|* 4. Den Drawlayer der ueber dem Dokuemnt liegt painten.
|*
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 10. Oct. 97
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 10. Oct. 97
|*
|*************************************************************************/
@@ -2849,7 +2849,7 @@ void SwRootFrm::Paint( const SwRect& rRect, const SwPrtOptions *pPrintData ) con
const BOOL bExtraData = ::IsExtraData( GetFmt()->GetDoc() );
- pLines = new SwLineRects; //Sammler fuer Umrandungen.
+ pLines = new SwLineRects; //Sammler fuer Umrandungen.
// #104289#. During painting, something (OLE) can
// load the linguistic, which in turn can cause a reformat
@@ -3131,10 +3131,10 @@ void SwRootFrm::Paint( const SwRect& rRect, const SwPrtOptions *pPrintData ) con
/*************************************************************************
|*
-|* SwRootFrm::HackPrepareLongTblPaint()
+|* SwRootFrm::HackPrepareLongTblPaint()
|*
-|* Ersterstellung MA 27. Sep. 96
-|* Letzte Aenderung MA 18. Nov. 97
+|* Ersterstellung MA 27. Sep. 96
+|* Letzte Aenderung MA 18. Nov. 97
|*
|*************************************************************************/
@@ -3165,10 +3165,10 @@ void SwRootFrm::HackPrepareLongTblPaint( int nMode )
/*************************************************************************
|*
-|* SwLayoutFrm::Paint()
+|* SwLayoutFrm::Paint()
|*
-|* Ersterstellung MA 19. May. 92
-|* Letzte Aenderung MA 19. Apr. 95
+|* Ersterstellung MA 19. May. 92
+|* Letzte Aenderung MA 19. Apr. 95
|*
|*************************************************************************/
@@ -3263,7 +3263,7 @@ void SwLayoutFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData
if ( pFrm->IsRetouche() )
{
if ( pFrm->IsRetoucheFrm() && bWin && !pFrm->GetNext() )
- { if ( !pPage )
+ { if ( !pPage )
pPage = FindPageFrm();
pFrm->Retouche( pPage, rRect );
}
@@ -3283,7 +3283,7 @@ void SwLayoutFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData
//Um es nicht alzu Heftig werden zu lassen versuche ich hier
//das Rechteck zu begrenzen indem der gewuenschte Teil gepaintet
//und nur die uebrigen Absatzanteile invalidiert werden.
- if ( aPaintRect.Left() == rRect.Left() &&
+ if ( aPaintRect.Left() == rRect.Left() &&
aPaintRect.Right() == rRect.Right() )
{
aPaintRect.Bottom( rRect.Top() - 1 );
@@ -3409,10 +3409,10 @@ sal_Bool SwFlyFrm::IsShadowTransparent() const
/*************************************************************************
|*
-|* SwFlyFrm::IsPaint()
+|* SwFlyFrm::IsPaint()
|*
-|* Ersterstellung MA 16. Jan. 97
-|* Letzte Aenderung MA 16. Jan. 97
+|* Ersterstellung MA 16. Jan. 97
+|* Letzte Aenderung MA 16. Jan. 97
|*
|*************************************************************************/
@@ -3518,10 +3518,10 @@ void SwCellFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
/*************************************************************************
|*
-|* SwFlyFrm::Paint()
+|* SwFlyFrm::Paint()
|*
-|* Ersterstellung MA ??
-|* Letzte Aenderung MA 16. Jan. 97
+|* Ersterstellung MA ??
+|* Letzte Aenderung MA 16. Jan. 97
|*
|*************************************************************************/
@@ -3757,10 +3757,10 @@ void SwFlyFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
}
/*************************************************************************
|*
-|* SwTabFrm::Paint()
+|* SwTabFrm::Paint()
|*
-|* Ersterstellung MA 11. May. 93
-|* Letzte Aenderung MA 23. Mar. 95
+|* Ersterstellung MA 11. May. 93
+|* Letzte Aenderung MA 23. Mar. 95
|*
|*************************************************************************/
@@ -3806,14 +3806,14 @@ void SwTabFrm::Paint( const SwRect& rRect, const SwPrtOptions* /* pPrintData */
/*************************************************************************
|*
-|* SwFrm::PaintShadow()
+|* SwFrm::PaintShadow()
|*
-|* Beschreibung Malt einen Schatten wenns das FrmFormat fordert.
-|* Der Schatten wird immer an den auesseren Rand des OutRect gemalt.
-|* Das OutRect wird ggf. so verkleinert, dass auf diesem das
-|* malen der Umrandung stattfinden kann.
-|* Ersterstellung MA 21. Dec. 92
-|* Letzte Aenderung MA 29. May. 97
+|* Beschreibung Malt einen Schatten wenns das FrmFormat fordert.
+|* Der Schatten wird immer an den auesseren Rand des OutRect gemalt.
+|* Das OutRect wird ggf. so verkleinert, dass auf diesem das
+|* malen der Umrandung stattfinden kann.
+|* Ersterstellung MA 21. Dec. 92
+|* Letzte Aenderung MA 29. May. 97
|*
|*************************************************************************/
/// OD 23.08.2002 #99657#
@@ -3828,7 +3828,7 @@ void SwFrm::PaintShadow( const SwRect& rRect, SwRect& rOutRect,
SwRects aRegion( 2, 2 );
SwRect aOut( rOutRect );
- const BOOL bCnt = IsCntntFrm();
+ const BOOL bCnt = IsCntntFrm();
const BOOL bTop = !bCnt || rAttrs.GetTopLine ( *(this) ) ? TRUE : FALSE;
const BOOL bBottom = !bCnt || rAttrs.GetBottomLine( *(this) ) ? TRUE : FALSE;
@@ -4019,10 +4019,10 @@ void SwFrm::PaintShadow( const SwRect& rRect, SwRect& rOutRect,
/*************************************************************************
|*
-|* SwFrm::PaintBorderLine()
+|* SwFrm::PaintBorderLine()
|*
-|* Ersterstellung MA 22. Dec. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Ersterstellung MA 22. Dec. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
@@ -4061,11 +4061,11 @@ void SwFrm::PaintBorderLine( const SwRect& rRect,
/*************************************************************************
|*
-|* SwFrm::PaintBorderLines()
+|* SwFrm::PaintBorderLines()
|*
-|* Beschreibung Nur alle Linien einfach oder alle Linien doppelt!!!!
-|* Ersterstellung MA 22. Dec. 92
-|* Letzte Aenderung MA 22. Mar. 95
+|* Beschreibung Nur alle Linien einfach oder alle Linien doppelt!!!!
+|* Ersterstellung MA 22. Dec. 92
+|* Letzte Aenderung MA 22. Mar. 95
|*
|*************************************************************************/
@@ -4529,11 +4529,11 @@ const SwFrm* lcl_HasNextCell( const SwFrm& rFrm )
/*************************************************************************
|*
-|* SwFrm::PaintBorder()
+|* SwFrm::PaintBorder()
|*
-|* Beschreibung Malt Schatten und Umrandung
-|* Ersterstellung MA 23.01.92
-|* Letzte Aenderung MA 29. Jul. 96
+|* Beschreibung Malt Schatten und Umrandung
+|* Ersterstellung MA 23.01.92
+|* Letzte Aenderung MA 29. Jul. 96
|*
|*************************************************************************/
@@ -4707,7 +4707,7 @@ void SwFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
if ( (GetType() & 0x90C5) )
return;
- if ( (GetType() & 0x2000) && //Cell
+ if ( (GetType() & 0x2000) && //Cell
!pGlobalShell->GetViewOptions()->IsTable() )
return;
@@ -4849,13 +4849,13 @@ void SwFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
}
/*************************************************************************
|*
-|* SwFtnContFrm::PaintBorder()
+|* SwFtnContFrm::PaintBorder()
|*
-|* Beschreibung Spezialimplementierung wg. der Fussnotenlinie.
-|* Derzeit braucht nur der obere Rand beruecksichtigt werden.
-|* Auf andere Linien und Schatten wird verzichtet.
-|* Ersterstellung MA 27. Feb. 93
-|* Letzte Aenderung MA 08. Sep. 93
+|* Beschreibung Spezialimplementierung wg. der Fussnotenlinie.
+|* Derzeit braucht nur der obere Rand beruecksichtigt werden.
+|* Auf andere Linien und Schatten wird verzichtet.
+|* Ersterstellung MA 27. Feb. 93
+|* Letzte Aenderung MA 08. Sep. 93
|*
|*************************************************************************/
@@ -4871,11 +4871,11 @@ void SwFtnContFrm::PaintBorder( const SwRect& rRect, const SwPageFrm *pPage,
}
/*************************************************************************
|*
-|* SwFtnContFrm::PaintLine()
+|* SwFtnContFrm::PaintLine()
|*
-|* Beschreibung Fussnotenline malen.
-|* Ersterstellung MA 02. Mar. 93
-|* Letzte Aenderung MA 28. Mar. 94
+|* Beschreibung Fussnotenline malen.
+|* Ersterstellung MA 02. Mar. 93
+|* Letzte Aenderung MA 28. Mar. 94
|*
|*************************************************************************/
@@ -4919,12 +4919,12 @@ void SwFtnContFrm::PaintLine( const SwRect& rRect,
/*************************************************************************
|*
-|* SwLayoutFrm::PaintColLines()
+|* SwLayoutFrm::PaintColLines()
|*
-|* Beschreibung Painted die Trennlinien fuer die innenliegenden
-|* Spalten.
-|* Ersterstellung MA 21. Jun. 93
-|* Letzte Aenderung MA 28. Mar. 94
+|* Beschreibung Painted die Trennlinien fuer die innenliegenden
+|* Spalten.
+|* Ersterstellung MA 21. Jun. 93
+|* Letzte Aenderung MA 28. Mar. 94
|*
|*************************************************************************/
@@ -5171,7 +5171,7 @@ void SwPageFrm::PaintGrid( OutputDevice* pOut, SwRect &rRect ) const
while( aVert.Left() <= nRight )
{
PaintBorderLine(rRect,aVert,this,pCol);
- aVert.Pos().X() += nGridWidth; //for textgrid refactor
+ aVert.Pos().X() += nGridWidth; //for textgrid refactor
}
}
else if ( bBorder )
@@ -5228,7 +5228,7 @@ void SwPageFrm::PaintGrid( OutputDevice* pOut, SwRect &rRect ) const
while( aVert.Left() <= nRight )
{
PaintBorderLine( rRect, aVert, this, pCol);
- aVert.Pos().X() += nGridWidth; //for textgrid refactor
+ aVert.Pos().X() += nGridWidth; //for textgrid refactor
}
}
else if( bBorder )
@@ -5642,10 +5642,10 @@ const sal_Int8 SwPageFrm::mnShadowPxWidth = 2;
/*************************************************************************
|*
-|* SwFrm::PaintBaBo()
+|* SwFrm::PaintBaBo()
|*
-|* Ersterstellung MA 22. Oct. 93
-|* Letzte Aenderung MA 19. Jun. 96
+|* Ersterstellung MA 22. Oct. 93
+|* Letzte Aenderung MA 19. Jun. 96
|*
|*************************************************************************/
@@ -5695,10 +5695,10 @@ void SwFrm::PaintBaBo( const SwRect& rRect, const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwFrm::PaintBackground()
+|* SwFrm::PaintBackground()
|*
-|* Ersterstellung MA 04. Jan. 93
-|* Letzte Aenderung MA 06. Feb. 97
+|* Ersterstellung MA 04. Jan. 93
+|* Letzte Aenderung MA 06. Feb. 97
|*
|*************************************************************************/
/// OD 05.09.2002 #102912#
@@ -5889,11 +5889,11 @@ void SwFrm::PaintBackground( const SwRect &rRect, const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwPageFrm::RefreshSubsidiary()
+|* SwPageFrm::RefreshSubsidiary()
|*
-|* Beschreibung Erneuert alle Hilfslinien der Seite.
-|* Ersterstellung MA 04. Nov. 92
-|* Letzte Aenderung MA 10. May. 95
+|* Beschreibung Erneuert alle Hilfslinien der Seite.
+|* Ersterstellung MA 04. Nov. 92
+|* Letzte Aenderung MA 10. May. 95
|*
|*************************************************************************/
@@ -5936,17 +5936,17 @@ void SwPageFrm::RefreshSubsidiary( const SwRect &rRect ) const
/*************************************************************************
|*
-|* SwLayoutFrm::RefreshLaySubsidiary()
+|* SwLayoutFrm::RefreshLaySubsidiary()
|*
-|* Ersterstellung MA 04. Nov. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Ersterstellung MA 04. Nov. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
const SwRect &rRect ) const
{
const BOOL bNoLowerColumn = !Lower() || !Lower()->IsColumnFrm();
- const BOOL bSubsOpt = IS_SUBS;
+ const BOOL bSubsOpt = IS_SUBS;
const BOOL bSubsTable = ((GetType() & (FRM_ROW | FRM_CELL)) && IS_SUBS_TABLE);
const BOOL bSubsOther = (GetType() & (FRM_HEADER | FRM_FOOTER | FRM_FTN )) && bSubsOpt;
const BOOL bSubsSect = IsSctFrm() &&
@@ -5961,7 +5961,7 @@ void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
if ( GetType() & FRM_BODY )
{
if ( IsPageBodyFrm() )
- bSubsBody = bSubsOpt && bNoLowerColumn; //nur ohne Spalten
+ bSubsBody = bSubsOpt && bNoLowerColumn; //nur ohne Spalten
else //Spaltenbody
{
if ( GetUpper()->GetUpper()->IsSctFrm() )
@@ -6012,12 +6012,12 @@ void SwLayoutFrm::RefreshLaySubsidiary( const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwLayoutFrm::PaintSubsidiaryLines()
+|* SwLayoutFrm::PaintSubsidiaryLines()
|*
-|* Beschreibung Hilfslinien um die PrtAreas malen
-|* Nur die LayoutFrm's die direkt Cntnt enthalten.
-|* Ersterstellung MA 21. May. 92
-|* Letzte Aenderung MA 22. Jan. 95
+|* Beschreibung Hilfslinien um die PrtAreas malen
+|* Nur die LayoutFrm's die direkt Cntnt enthalten.
+|* Ersterstellung MA 21. May. 92
+|* Letzte Aenderung MA 22. Jan. 95
|*
|*************************************************************************/
@@ -6050,7 +6050,7 @@ void MA_FASTCALL lcl_RefreshLine( const SwLayoutFrm *pLay,
aP2( rP2 );
while ( aP1.*pDirPt < aP2.*pDirPt )
- { //Der Startpunkt wird jetzt, falls er in einem Fly sitzt, direkt
+ { //Der Startpunkt wird jetzt, falls er in einem Fly sitzt, direkt
//hinter den Fly gesetzt.
//Wenn der Endpunkt in einem Fly sitzt oder zwischen Start und Endpunkt
//ein Fly sitzt, so wird der Endpunkt eben an den Start herangezogen.
@@ -6292,13 +6292,13 @@ void SwLayoutFrm::PaintSubsidiaryLines( const SwPageFrm *pPage,
/*************************************************************************
|*
-|* SwPageFrm::RefreshExtraData(), SwLayoutFrm::RefreshExtraData()
+|* SwPageFrm::RefreshExtraData(), SwLayoutFrm::RefreshExtraData()
|*
-|* Beschreibung Erneuert alle Extradaten (Zeilennummern usw) der Seite.
-|* Grundsaetzlich sind nur diejenigen Objekte beruecksichtig,
-|* die in die seitliche Ausdehnung des Rects ragen.
-|* Ersterstellung MA 20. Jan. 98
-|* Letzte Aenderung MA 18. Feb. 98
+|* Beschreibung Erneuert alle Extradaten (Zeilennummern usw) der Seite.
+|* Grundsaetzlich sind nur diejenigen Objekte beruecksichtig,
+|* die in die seitliche Ausdehnung des Rects ragen.
+|* Ersterstellung MA 20. Jan. 98
+|* Letzte Aenderung MA 18. Feb. 98
|*
|*************************************************************************/
@@ -6418,14 +6418,14 @@ const Font& SwPageFrm::GetEmptyPageFont()
/*************************************************************************
|*
-|* SwFrm::Retouche
+|* SwFrm::Retouche
|*
-|* Beschreibung Retouche fuer einen Bereich.
-|* Retouche wird nur dann durchgefuehrt, wenn der Frm der letzte seiner
-|* Kette ist. Der Gesamte Bereich des Upper unterhalb des Frm wird
-|* per PaintBackground gecleared.
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 25. Jul. 96
+|* Beschreibung Retouche fuer einen Bereich.
+|* Retouche wird nur dann durchgefuehrt, wenn der Frm der letzte seiner
+|* Kette ist. Der Gesamte Bereich des Upper unterhalb des Frm wird
+|* per PaintBackground gecleared.
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 25. Jul. 96
|*
|*************************************************************************/
@@ -6549,7 +6549,7 @@ BOOL SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
rpBrush = 0;
rpCol = NULL;
do
- { if ( pFrm->IsPageFrm() && !pOpt->IsPageBack() )
+ { if ( pFrm->IsPageFrm() && !pOpt->IsPageBack() )
return FALSE;
const SvxBrushItem &rBack = pFrm->GetAttrSet()->GetBackground();
@@ -6638,10 +6638,10 @@ BOOL SwFrm::GetBackgroundBrush( const SvxBrushItem* & rpBrush,
/*************************************************************************
|*
-|* SwFrmFmt::GetGraphic()
+|* SwFrmFmt::GetGraphic()
|*
-|* Ersterstellung MA 23. Jul. 96
-|* Letzte Aenderung MA 23. Jul. 96
+|* Ersterstellung MA 23. Jul. 96
+|* Letzte Aenderung MA 23. Jul. 96
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/sectfrm.cxx b/sw/source/core/layout/sectfrm.cxx
index d93f614957b7..a3a5f2528cd0 100644
--- a/sw/source/core/layout/sectfrm.cxx
+++ b/sw/source/core/layout/sectfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,23 +36,23 @@
#include <fmtftn.hxx>
#include <fmtclbl.hxx>
#include "sectfrm.hxx"
-#include "section.hxx" // SwSection
-#include "frmtool.hxx" // StackHack
-#include "doc.hxx" // SwDoc
-#include "cntfrm.hxx" // SwCntntFrm
-#include "rootfrm.hxx" // SwRootFrm
-#include "pagefrm.hxx" // SwPageFrm
-#include "fmtpdsc.hxx" // SwFmtPageDesc
-#include "fmtcntnt.hxx" // SwFmtCntnt
-#include "ndindex.hxx" // SwNodeIndex
+#include "section.hxx" // SwSection
+#include "frmtool.hxx" // StackHack
+#include "doc.hxx" // SwDoc
+#include "cntfrm.hxx" // SwCntntFrm
+#include "rootfrm.hxx" // SwRootFrm
+#include "pagefrm.hxx" // SwPageFrm
+#include "fmtpdsc.hxx" // SwFmtPageDesc
+#include "fmtcntnt.hxx" // SwFmtCntnt
+#include "ndindex.hxx" // SwNodeIndex
#include "ftnidx.hxx"
-#include "txtfrm.hxx" // SwTxtFrm
-#include "fmtclds.hxx" // SwFmtCol
-#include "colfrm.hxx" // SwColumnFrm
-#include "tabfrm.hxx" // SwTabFrm
-#include "flyfrm.hxx" // SwFlyFrm
-#include "ftnfrm.hxx" // SwFtnFrm
-#include "layouter.hxx" // SwLayouter
+#include "txtfrm.hxx" // SwTxtFrm
+#include "fmtclds.hxx" // SwFmtCol
+#include "colfrm.hxx" // SwColumnFrm
+#include "tabfrm.hxx" // SwTabFrm
+#include "flyfrm.hxx" // SwFlyFrm
+#include "ftnfrm.hxx" // SwFtnFrm
+#include "layouter.hxx" // SwLayouter
#include "dbg_lay.hxx"
#include "viewsh.hxx"
#include "viewimp.hxx"
@@ -69,10 +69,10 @@ SV_IMPL_PTRARR_SORT( SwDestroyList, SwSectionFrmPtr )
/*************************************************************************
|*
-|* SwSectionFrm::SwSectionFrm(), ~SwSectionFrm()
+|* SwSectionFrm::SwSectionFrm(), ~SwSectionFrm()
|*
-|* Ersterstellung AMA 26. Nov. 97
-|* Letzte Aenderung AMA 26. Nov. 97
+|* Ersterstellung AMA 26. Nov. 97
+|* Letzte Aenderung AMA 26. Nov. 97
|*
|*************************************************************************/
SwSectionFrm::SwSectionFrm( SwSection &rSect ) :
@@ -181,10 +181,10 @@ SwSectionFrm::~SwSectionFrm()
/*************************************************************************
|*
-|* SwSectionFrm::DelEmpty()
+|* SwSectionFrm::DelEmpty()
|*
-|* Ersterstellung AMA 17. Dec. 97
-|* Letzte Aenderung AMA 17. Dec. 97
+|* Ersterstellung AMA 17. Dec. 97
+|* Letzte Aenderung AMA 17. Dec. 97
|*
|*************************************************************************/
void SwSectionFrm::DelEmpty( BOOL bRemove )
@@ -249,10 +249,10 @@ void SwSectionFrm::DelEmpty( BOOL bRemove )
/*************************************************************************
|*
-|* SwSectionFrm::Cut()
+|* SwSectionFrm::Cut()
|*
-|* Ersterstellung AMA 02. Dec. 97
-|* Letzte Aenderung AMA 02. Dec. 97
+|* Ersterstellung AMA 02. Dec. 97
+|* Letzte Aenderung AMA 02. Dec. 97
|*
|*************************************************************************/
void SwSectionFrm::Cut()
@@ -273,7 +273,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
while( pFrm && pFrm->IsSctFrm() && !((SwSectionFrm*)pFrm)->GetSection() )
pFrm = pFrm->GetNext();
if( pFrm )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet der ist jetzt wo er der erste wird obsolete
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -291,7 +291,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
if ( pFrm->IsCntntFrm() )
pFrm->InvalidatePage( pPage );
@@ -300,7 +300,7 @@ void SwSectionFrm::_Cut( BOOL bRemove )
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
+ { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
pRoot->SetSuperfluous();
GetUpper()->SetCompletePaint();
}
@@ -338,10 +338,10 @@ void SwSectionFrm::_Cut( BOOL bRemove )
/*************************************************************************
|*
-|* SwSectionFrm::Paste()
+|* SwSectionFrm::Paste()
|*
-|* Ersterstellung AMA 04. Dec. 97
-|* Letzte Aenderung AMA 04. Dec. 97
+|* Ersterstellung AMA 04. Dec. 97
+|* Letzte Aenderung AMA 04. Dec. 97
|*
|*************************************************************************/
@@ -449,15 +449,15 @@ void SwSectionFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
/*************************************************************************
|*
-|* SwSectionFrm::HasToBreak()
+|* SwSectionFrm::HasToBreak()
|*
|* Hier wird entschieden, ob der this-SectionFrm den uebergebenen
|* (Section)Frm aufbrechen soll oder nicht.
|* Zunaechst werden uebergeordnete Bereiche immer aufgebrochen,
|* spaeter koennte man es einstellbar machen.
|*
-|* Ersterstellung AMA 12. Dec. 97
-|* Letzte Aenderung AMA 12. Dec. 97
+|* Ersterstellung AMA 12. Dec. 97
+|* Letzte Aenderung AMA 12. Dec. 97
|*
|*************************************************************************/
@@ -467,8 +467,8 @@ BOOL SwSectionFrm::HasToBreak( const SwFrm* pFrm ) const
return FALSE;
SwSectionFmt *pTmp = (SwSectionFmt*)GetFmt();
-// if( !pTmp->GetSect().GetValue() )
-// return FALSE;
+// if( !pTmp->GetSect().GetValue() )
+// return FALSE;
const SwFrmFmt *pOtherFmt = ((SwSectionFrm*)pFrm)->GetFmt();
do
@@ -478,15 +478,15 @@ BOOL SwSectionFrm::HasToBreak( const SwFrm* pFrm ) const
return FALSE;
if( pTmp == pOtherFmt )
return TRUE;
- } while( TRUE ); // ( pTmp->GetSect().GetValue() );
+ } while( TRUE ); // ( pTmp->GetSect().GetValue() );
}
/*************************************************************************
|*
-|* SwSectionFrm::MergeNext()
+|* SwSectionFrm::MergeNext()
|*
-|* Ersterstellung AMA 04. Dec. 97
-|* Letzte Aenderung AMA 04. Dec. 97
+|* Ersterstellung AMA 04. Dec. 97
+|* Letzte Aenderung AMA 04. Dec. 97
|*
|* Verschmilzt zwei SectionFrms, falls es sich um den
|* gleichen Bereich handelt.
@@ -532,10 +532,10 @@ void SwSectionFrm::MergeNext( SwSectionFrm* pNxt )
/*************************************************************************
|*
-|* SwSectionFrm::SplitSect()
+|* SwSectionFrm::SplitSect()
|*
-|* Ersterstellung AMA 29. Apr. 99
-|* Letzte Aenderung AMA 29. Apr. 99
+|* Ersterstellung AMA 29. Apr. 99
+|* Letzte Aenderung AMA 29. Apr. 99
|*
|* Zerteilt einen SectionFrm in zwei Teile, der zweite Teil beginnt mit dem
|* uebergebenen Frame.
@@ -558,7 +558,7 @@ BOOL SwSectionFrm::SplitSect( SwFrm* pFrm, BOOL bApres )
SwFrm* pSav = ::SaveCntnt( this, bApres ? pOther : pFrm );
OSL_ENSURE( pSav, "SplitSect: What's on?" );
if( pSav ) // Robust
- { // Einen neuen SctFrm anlegen, nicht als Follow/Master
+ { // Einen neuen SctFrm anlegen, nicht als Follow/Master
SwSectionFrm* pNew = new SwSectionFrm( *pSect->GetSection() );
pNew->InsertBehind( pSect->GetUpper(), pSect );
pNew->Init();
@@ -588,10 +588,10 @@ BOOL SwSectionFrm::SplitSect( SwFrm* pFrm, BOOL bApres )
/*************************************************************************
|*
-|* SwSectionFrm::MoveCntntAndDelete()
+|* SwSectionFrm::MoveCntntAndDelete()
|*
-|* Ersterstellung AMA 29. Jan 99
-|* Letzte Aenderung AMA 29. Jan 99
+|* Ersterstellung AMA 29. Jan 99
+|* Letzte Aenderung AMA 29. Jan 99
|*
|* MoveCntnt wird zur Zerstoerung eines SectionFrms wg. Aufhebung oder
|* Verstecken des Bereichs gerufen, um den Inhalt umzuhaengen.
@@ -723,7 +723,7 @@ void SwSectionFrm::MoveCntntAndDelete( SwSectionFrm* pDel, BOOL bSave )
pDel->DelEmpty( TRUE );
delete pDel;
if( pParent )
- { // Hier wird die geeignete Einfuegeposition gesucht
+ { // Hier wird die geeignete Einfuegeposition gesucht
if( pNxtSct && pNxtSct->GetFmt() == pParent )
{ // Hier koennen wir uns am Anfang einfuegen
pUp = FIRSTLEAF( pNxtSct );
@@ -747,7 +747,7 @@ void SwSectionFrm::MoveCntntAndDelete( SwSectionFrm* pDel, BOOL bSave )
else
{
if( pSave )
- { // Folgende Situationen: Vor und hinter dem zu loeschenden Bereich
+ { // Folgende Situationen: Vor und hinter dem zu loeschenden Bereich
// ist entweder die Bereichsgrenze des umfassenden Bereichs oder
// es schliesst ein anderer (Geschwister-)Bereich direkt an, der
// vom gleichen Parent abgeleitet ist.
@@ -801,7 +801,7 @@ void SwSectionFrm::MakeAll()
bValidSize = bValidPos = bValidPrtArea = TRUE;
return;
}
- LockJoin(); //Ich lass mich nicht unterwegs vernichten.
+ LockJoin(); //Ich lass mich nicht unterwegs vernichten.
while( GetNext() && GetNext() == GetFollow() )
{
@@ -940,10 +940,10 @@ BOOL SwSectionFrm::CalcMinDiff( SwTwips& rMinDiff ) const
/*************************************************************************
*
- * SwSectionFrm::CollectEndnotes( )
+ * SwSectionFrm::CollectEndnotes( )
*
- * Ersterstellung AMA 03. Nov 99
- * Letzte Aenderung AMA 03. Nov 99
+ * Ersterstellung AMA 03. Nov 99
+ * Letzte Aenderung AMA 03. Nov 99
*
* CollectEndnotes looks for endnotes in the sectionfrm and his follows,
* the endnotes will cut off the layout and put into the array.
@@ -1009,7 +1009,7 @@ void lcl_ColumnRefresh( SwSectionFrm* pSect, BOOL bFollow )
{
SwColumnFrm *pCol = (SwColumnFrm*)pSect->Lower();
do
- { pCol->_InvalidateSize();
+ { pCol->_InvalidateSize();
pCol->_InvalidatePos();
((SwLayoutFrm*)pCol)->Lower()->_InvalidateSize();
pCol->Calc(); // calculation of column and
@@ -1046,13 +1046,13 @@ void SwSectionFrm::CollectEndnotes( SwLayouter* pLayouter )
/*************************************************************************
|*
-|* SwSectionFrm::_CheckClipping( BOOL bGrow, BOOL bMaximize )
+|* SwSectionFrm::_CheckClipping( BOOL bGrow, BOOL bMaximize )
|*
-|* Beschreibung: Passt die Groesse an die Umgebung an.
-|* Wer einen Follow oder Fussnoten besitzt, soll bis zur Unterkante
+|* Beschreibung: Passt die Groesse an die Umgebung an.
+|* Wer einen Follow oder Fussnoten besitzt, soll bis zur Unterkante
|* des Uppers gehen (bMaximize).
-|* Niemand darf ueber den Upper hinausgehen, ggf. darf man versuchen (bGrow)
-|* seinen Upper zu growen.
+|* Niemand darf ueber den Upper hinausgehen, ggf. darf man versuchen (bGrow)
+|* seinen Upper zu growen.
|* Wenn die Groesse veraendert werden musste, wird der Inhalt kalkuliert.
|*
|*************************************************************************/
@@ -1323,11 +1323,11 @@ class ExtraFormatToPositionObjs
/*************************************************************************
|*
-|* SwSectionFrm::Format()
+|* SwSectionFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Ersterstellung AMA 03. Dec. 97
-|* Letzte Aenderung MA 09. Oct. 98
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Ersterstellung AMA 03. Dec. 97
+|* Letzte Aenderung MA 09. Oct. 98
|*
|*************************************************************************/
@@ -1554,13 +1554,13 @@ void SwSectionFrm::Format( const SwBorderAttrs *pAttr )
/*************************************************************************
|*
-|* SwFrm::GetNextSctLeaf()
+|* SwFrm::GetNextSctLeaf()
|*
-|* Beschreibung Liefert das naechste Layoutblatt in das der Frame
-|* gemoved werden kann.
-|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
-|* Ersterstellung AMA 07. Jan. 98
-|* Letzte Aenderung AMA 07. Jan. 98
+|* Beschreibung Liefert das naechste Layoutblatt in das der Frame
+|* gemoved werden kann.
+|* Neue Seiten werden nur dann erzeugt, wenn der Parameter TRUE ist.
+|* Ersterstellung AMA 07. Jan. 98
+|* Letzte Aenderung AMA 07. Jan. 98
|*
|*************************************************************************/
@@ -1585,7 +1585,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
//MA 03. Feb. 99: Warum GetUpper()? Das knallt mit Buch.sgl weil im
//FlyAtCnt::MakeFlyPos ein Orient der SectionFrm ist und auf diesen ein
//GetLeaf gerufen wird.
-// SwSectionFrm *pSect = GetUpper()->FindSctFrm();
+// SwSectionFrm *pSect = GetUpper()->FindSctFrm();
SwSectionFrm *pSect = FindSctFrm();
BOOL bWrongPage = FALSE;
OSL_ENSURE( pSect, "GetNextSctLeaf: Missing SectionFrm" );
@@ -1659,7 +1659,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
}
}
- SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
+ SwLayoutFrm *pOldLayLeaf = 0; //Damit bei neu erzeugten Seiten
//nicht wieder vom Anfang gesucht
//wird.
@@ -1672,7 +1672,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
// oder ob wir weitersuchen muessen.
SwPageFrm* pNxtPg = pLayLeaf->FindPageFrm();
if ( !bFtnPage && pNxtPg->IsFtnPage() )
- { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
+ { //Wenn ich bei den Endnotenseiten angelangt bin hat sichs.
pLayLeaf = 0;
continue;
}
@@ -1726,7 +1726,7 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
// Auch hier muessen zum Loeschen angemeldete SectionFrms ignoriert werden
while( pFirst && pFirst->IsSctFrm() && !((SwSectionFrm*)pFirst)->GetSection() )
pFirst = pFirst->GetNext();
- if( pFirst && pFirst->IsSctFrm() && pSect->GetFollow() == pFirst )
+ if( pFirst && pFirst->IsSctFrm() && pSect->GetFollow() == pFirst )
pNew = pSect->GetFollow();
else if( MAKEPAGE_NOSECTION == eMakePage )
return pLayLeaf;
@@ -1792,12 +1792,12 @@ SwLayoutFrm *SwFrm::GetNextSctLeaf( MakePageType eMakePage )
/*************************************************************************
|*
-|* SwFrm::GetPrevSctLeaf()
+|* SwFrm::GetPrevSctLeaf()
|*
-|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
-|* Frame gemoved werden kann.
-|* Ersterstellung AMA 07. Jan. 98
-|* Letzte Aenderung AMA 07. Jan. 98
+|* Beschreibung Liefert das vorhergehende LayoutBlatt in das der
+|* Frame gemoved werden kann.
+|* Ersterstellung AMA 07. Jan. 98
+|* Letzte Aenderung AMA 07. Jan. 98
|*
|*************************************************************************/
@@ -1825,7 +1825,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
// Gibt es dort Inhalt?
if( ((SwLayoutFrm*)pCol->Lower())->Lower() )
{
- if( bJump ) // Haben wir eine leere Spalte uebersprungen?
+ if( bJump ) // Haben wir eine leere Spalte uebersprungen?
SwFlowFrm::SetMoveBwdJump( TRUE );
return (SwLayoutFrm*)pCol->Lower(); // Der Spaltenbody
}
@@ -1840,7 +1840,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
pCol = NULL;
}
- if( bJump ) // Haben wir eine leere Spalte uebersprungen?
+ if( bJump ) // Haben wir eine leere Spalte uebersprungen?
SwFlowFrm::SetMoveBwdJump( TRUE );
// Innerhalb von Bereichen in Tabellen oder Bereichen in Kopf/Fusszeilen kann
@@ -1922,7 +1922,7 @@ SwLayoutFrm *SwFrm::GetPrevSctLeaf( MakePageType )
SwFlowFrm::SetMoveBwdJump( TRUE );
}
else if ( bFly )
- break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein. Warum?
+ break; //Cntnts in Flys sollte jedes Layout-Blatt recht sein. Warum?
else
pLayLeaf = pLayLeaf->GetPrevLayoutLeaf();
}
@@ -2025,10 +2025,10 @@ BOOL SwSectionFrm::Growable() const
/*************************************************************************
|*
-|* SwSectionFrm::_Grow(), _Shrink()
+|* SwSectionFrm::_Grow(), _Shrink()
|*
-|* Ersterstellung AMA 14. Jan. 98
-|* Letzte Aenderung AMA 14. Jan. 98
+|* Ersterstellung AMA 14. Jan. 98
+|* Letzte Aenderung AMA 14. Jan. 98
|*
|*************************************************************************/
@@ -2164,7 +2164,7 @@ SwTwips SwSectionFrm::_Shrink( SwTwips nDist, BOOL bTst )
if ( Lower()->IsColumnFrm() && Lower()->GetNext() && // FtnAtEnd
!GetSection()->GetFmt()->GetBalancedColumns().GetValue() )
- { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
+ { //Bei Spaltigkeit ubernimmt das Format die Kontrolle ueber
//das Wachstum (wg. des Ausgleichs).
if ( !bTst )
InvalidateSize();
@@ -2231,22 +2231,22 @@ SwTwips SwSectionFrm::_Shrink( SwTwips nDist, BOOL bTst )
/*************************************************************************
|*
-|* SwSectionFrm::MoveAllowed()
+|* SwSectionFrm::MoveAllowed()
|*
-|* Ersterstellung MA 08. Oct. 98
-|* Letzte Aenderung MA 08. Oct. 98
+|* Ersterstellung MA 08. Oct. 98
+|* Letzte Aenderung MA 08. Oct. 98
|*
-|* Wann sind Frms innerhalb eines SectionFrms moveable?
+|* Wann sind Frms innerhalb eines SectionFrms moveable?
|* Wenn sie noch nicht in der letzten Spalte des SectionFrms sind,
-|* wenn es einen Follow gibt,
+|* wenn es einen Follow gibt,
|* wenn der SectionFrm nicht mehr wachsen kann, wird es komplizierter,
|* dann kommt es darauf an, ob der SectionFrm ein naechstes Layoutblatt
|* finden kann. In (spaltigen/verketteten) Flys wird dies via GetNextLayout
-|* geprueft, in Tabellen und in Kopf/Fusszeilen gibt es keins, im DocBody
+|* geprueft, in Tabellen und in Kopf/Fusszeilen gibt es keins, im DocBody
|* und auch im Fussnoten dagegen immer.
|*
|* Benutzt wird diese Routine im TxtFormatter, um zu entscheiden, ob ein
-|* (Absatz-)Follow erzeugt werden darf oder ob der Absatz zusammenhalten muss.
+|* (Absatz-)Follow erzeugt werden darf oder ob der Absatz zusammenhalten muss.
|*
|*************************************************************************/
@@ -2292,7 +2292,7 @@ BOOL SwSectionFrm::MoveAllowed( const SwFrm* pFrm) const
}
}
// Oder kann der Bereich noch wachsen?
- if( !IsColLocked() && Growable() )
+ if( !IsColLocked() && Growable() )
return FALSE;
// Jetzt muss untersucht werden, ob es ein Layoutblatt gibt, in dem
// ein Bereichsfollow erzeugt werden kann.
@@ -2357,7 +2357,7 @@ SwFrm* SwFrm::_GetIndNext()
if( pSct->IsSctFrm() )
return pSct->GetIndNext();
if( pSct->IsColBodyFrm() && (pSct = pSct->GetUpper()->GetUpper())->IsSctFrm() )
- { // Wir duerfen nur den Nachfolger des SectionFrms zurueckliefern,
+ { // Wir duerfen nur den Nachfolger des SectionFrms zurueckliefern,
// wenn in keiner folgenden Spalte mehr Inhalt ist
SwFrm* pCol = GetUpper()->GetUpper()->GetNext();
while( pCol )
@@ -2433,10 +2433,10 @@ void SwSectionFrm::CalcEndAtEndFlag()
/*************************************************************************
|*
-|* SwSectionFrm::Modify()
+|* SwSectionFrm::Modify()
|*
-|* Ersterstellung MA 08. Oct. 98
-|* Letzte Aenderung MA 08. Oct. 98
+|* Ersterstellung MA 08. Oct. 98
+|* Letzte Aenderung MA 08. Oct. 98
|*
|*************************************************************************/
@@ -2498,7 +2498,7 @@ void SwSectionFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
USHORT nCol = 0;
SwFrm *pTmp = Lower();
do
- { ++nCol;
+ { ++nCol;
pTmp = pTmp->GetNext();
} while ( pTmp );
aCol.Init( nCol, 0, 1000 );
diff --git a/sw/source/core/layout/softpagebreak.cxx b/sw/source/core/layout/softpagebreak.cxx
index 5248c0a4785e..5dabb7923a51 100644
--- a/sw/source/core/layout/softpagebreak.cxx
+++ b/sw/source/core/layout/softpagebreak.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ void SwTxtNode::fillSoftPageBreakList( SwSoftPageBreakList& rBreak ) const
const SwLayoutFrm *pRow = pFrm->GetUpper();
// Looking for the "most upper" row frame,
// skipping sub tables and/or table in table
- while( !pRow->IsRowFrm() || !pRow->GetUpper()->IsTabFrm() ||
+ while( !pRow->IsRowFrm() || !pRow->GetUpper()->IsTabFrm() ||
pRow->GetUpper()->GetUpper()->IsInTab() )
pRow = pRow->GetUpper();
const SwTabFrm *pTab = pRow->FindTabFrm();
@@ -140,7 +140,7 @@ bool SwTableLine::hasSoftPageBreak() const
// The row which could get a soft page break must be either the first
// row of a master table frame or the first "non-headline-row" of a
// follow table frame...
- const SwFrm* pRow = pTab->IsFollow() ?
+ const SwFrm* pRow = pTab->IsFollow() ?
pTab->GetFirstNonHeadlineRow() : pTab->Lower();
if( pRow == pLast )
{
diff --git a/sw/source/core/layout/sortedobjs.cxx b/sw/source/core/layout/sortedobjs.cxx
index e984d278f4e7..cd88f95c8441 100644
--- a/sw/source/core/layout/sortedobjs.cxx
+++ b/sw/source/core/layout/sortedobjs.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/sortedobjsimpl.cxx b/sw/source/core/layout/sortedobjsimpl.cxx
index 10ed749e840b..25b1968fd879 100644
--- a/sw/source/core/layout/sortedobjsimpl.cxx
+++ b/sw/source/core/layout/sortedobjsimpl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 357844aacc4d..d801beffd71d 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <dcontact.hxx>
#include <dflyobj.hxx>
#include <flyfrm.hxx>
-#include <txtfrm.hxx> // ClearPara()
+#include <txtfrm.hxx> // ClearPara()
#include <cellfrm.hxx>
#include <swtable.hxx>
#include <fmtfsize.hxx>
@@ -359,10 +359,10 @@ Point SwFrm::GetFrmAnchorPos( sal_Bool bIgnoreFlysAnchoredAtThisFrame ) const
/*************************************************************************
|*
-|* SwFrm::~SwFrm()
+|* SwFrm::~SwFrm()
|*
-|* Ersterstellung MA 02. Mar. 94
-|* Letzte Aenderung MA 25. Jun. 95
+|* Ersterstellung MA 02. Mar. 94
+|* Letzte Aenderung MA 25. Jun. 95
|*
|*************************************************************************/
@@ -417,9 +417,9 @@ SwFrm::~SwFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::SetFrmFmt()
-|* Ersterstellung MA 22. Apr. 93
-|* Letzte Aenderung MA 02. Nov. 94
+|* SwLayoutFrm::SetFrmFmt()
+|* Ersterstellung MA 22. Apr. 93
+|* Letzte Aenderung MA 02. Nov. 94
|*
|*************************************************************************/
@@ -489,10 +489,10 @@ SwCntntFrm::~SwCntntFrm()
/*************************************************************************
|*
-|* SwLayoutFrm::~SwLayoutFrm
+|* SwLayoutFrm::~SwLayoutFrm
|*
-|* Ersterstellung AK 28-Feb-1991
-|* Letzte Aenderung MA 11. Jan. 95
+|* Ersterstellung AK 28-Feb-1991
+|* Letzte Aenderung MA 11. Jan. 95
|*
|*************************************************************************/
@@ -583,10 +583,10 @@ SwLayoutFrm::~SwLayoutFrm()
/*************************************************************************
|*
-|* SwFrm::PaintArea()
+|* SwFrm::PaintArea()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
+|* Created AMA 08/22/2000
+|* Last change AMA 08/23/2000
|*
|* The paintarea is the area, in which the content of a frame is allowed
|* to be displayed. This region could be larger than the printarea (Prt())
@@ -686,10 +686,10 @@ const SwRect SwFrm::PaintArea() const
/*************************************************************************
|*
-|* SwFrm::UnionFrm()
+|* SwFrm::UnionFrm()
|*
-|* Created AMA 08/22/2000
-|* Last change AMA 08/23/2000
+|* Created AMA 08/22/2000
+|* Last change AMA 08/23/2000
|*
|* The unionframe is the framearea (Frm()) of a frame expanded by the
|* printarea, if there's a negative margin at the left or right side.
diff --git a/sw/source/core/layout/swselectionlist.cxx b/sw/source/core/layout/swselectionlist.cxx
index e2997db0a6bc..aaf6a51f964b 100644
--- a/sw/source/core/layout/swselectionlist.cxx
+++ b/sw/source/core/layout/swselectionlist.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 {
-
+
/** Find the context of a given frame
A context is the environment where text is allowed to flow.
diff --git a/sw/source/core/layout/tabfrm.cxx b/sw/source/core/layout/tabfrm.cxx
index 3bddaa473d05..1d966931e45e 100644
--- a/sw/source/core/layout/tabfrm.cxx
+++ b/sw/source/core/layout/tabfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -69,9 +69,9 @@
#include "rowfrm.hxx"
#include "cellfrm.hxx"
#include "flyfrms.hxx"
-#include "txtfrm.hxx" //HasFtn()
+#include "txtfrm.hxx" //HasFtn()
#include "htmltbl.hxx"
-#include "sectfrm.hxx" //SwSectionFrm
+#include "sectfrm.hxx" //SwSectionFrm
// OD 30.09.2003 #i18732#
#include <fmtfollowtextflow.hxx>
// --> OD 2004-06-28 #i28701#
@@ -90,10 +90,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwTabFrm::SwTabFrm(), ~SwTabFrm()
+|* SwTabFrm::SwTabFrm(), ~SwTabFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwTabFrm::SwTabFrm( SwTable &rTab ):
@@ -174,10 +174,10 @@ SwTabFrm::~SwTabFrm()
/*************************************************************************
|*
-|* SwTabFrm::JoinAndDelFollows()
+|* SwTabFrm::JoinAndDelFollows()
|*
-|* Ersterstellung MA 30. May. 96
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 30. May. 96
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
void SwTabFrm::JoinAndDelFollows()
@@ -192,10 +192,10 @@ void SwTabFrm::JoinAndDelFollows()
/*************************************************************************
|*
-|* SwTabFrm::RegistFlys()
+|* SwTabFrm::RegistFlys()
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 27. Jan. 99
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 27. Jan. 99
|*
|*************************************************************************/
void SwTabFrm::RegistFlys()
@@ -1042,10 +1042,10 @@ bool lcl_FindSectionsInRow( const SwRowFrm& rRow )
/*************************************************************************
|*
-|* SwTabFrm::Split(), Join()
+|* SwTabFrm::Split(), Join()
|*
-|* Ersterstellung MA 03. Jun. 93
-|* Letzte Aenderung MA 03. Sep. 96
+|* Ersterstellung MA 03. Jun. 93
+|* Letzte Aenderung MA 03. Sep. 96
|*
|*************************************************************************/
bool SwTabFrm::Split( const SwTwips nCutPos, bool bTryToSplit, bool bTableRowKeep )
@@ -1413,12 +1413,12 @@ bool SwTabFrm::Join()
OSL_ENSURE( !HasFollowFlowLine(), "Joining follow flow line" );
SwTabFrm *pFoll = GetFollow();
- SwTwips nHeight = 0; //Gesamthoehe der eingefuegten Zeilen als Return.
+ SwTwips nHeight = 0; //Gesamthoehe der eingefuegten Zeilen als Return.
if ( !pFoll->IsJoinLocked() )
{
SWRECTFN( this )
- pFoll->Cut(); //Erst ausschneiden um unuetze Benachrichtigungen zu
+ pFoll->Cut(); //Erst ausschneiden um unuetze Benachrichtigungen zu
//minimieren.
SwFrm *pRow = pFoll->GetFirstNonHeadlineRow(),
@@ -1450,10 +1450,10 @@ bool SwTabFrm::Join()
/*************************************************************************
|*
-|* SwTabFrm::MakeAll()
+|* SwTabFrm::MakeAll()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 10. Apr. 97
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 10. Apr. 97
|*
|*************************************************************************/
void MA_FASTCALL SwInvalidatePositions( SwFrm *pFrm, long nBottom )
@@ -1462,7 +1462,7 @@ void MA_FASTCALL SwInvalidatePositions( SwFrm *pFrm, long nBottom )
BOOL bAll = LONG_MAX == nBottom;
SWRECTFN( pFrm )
do
- { pFrm->_InvalidatePos();
+ { pFrm->_InvalidatePos();
pFrm->_InvalidateSize();
if( pFrm->IsLayoutFrm() )
{
@@ -1905,7 +1905,7 @@ void SwTabFrm::MakeAll()
PROTOCOL_ENTER( this, PROT_MAKEALL, 0, 0 )
LockJoin(); //Ich lass mich nicht unterwegs vernichten.
- SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
+ SwLayNotify aNotify( this ); //uebernimmt im DTor die Benachrichtigung
// If pos is invalid, we have to call a SetInvaKeep at aNotify.
// Otherwise the keep atribute would not work in front of a table.
const BOOL bOldValidPos = GetValidPosFlag();
@@ -1935,7 +1935,7 @@ void SwTabFrm::MakeAll()
SetRemoveFollowFlowLinePending( FALSE );
}
- if ( bResizeHTMLTable ) //Optimiertes Zusammenspiel mit Grow/Shrink des Inhaltes
+ if ( bResizeHTMLTable ) //Optimiertes Zusammenspiel mit Grow/Shrink des Inhaltes
{
bResizeHTMLTable = FALSE;
SwHTMLTableLayout *pLayout = GetTable()->GetHTMLTableLayout();
@@ -1945,16 +1945,16 @@ void SwTabFrm::MakeAll()
}
- BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
+ BOOL bMakePage = TRUE; //solange TRUE kann eine neue Seite
//angelegt werden (genau einmal)
- BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
- BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
+ BOOL bMovedBwd = FALSE; //Wird TRUE wenn der Frame zurueckfliesst
+ BOOL bMovedFwd = FALSE; //solange FALSE kann der Frm zurueck-
//fliessen (solange, bis er einmal
//vorwaerts ge'moved wurde).
- BOOL bSplit = FALSE; //Wird TRUE wenn der Frm gesplittet wurde.
+ BOOL bSplit = FALSE; //Wird TRUE wenn der Frm gesplittet wurde.
const BOOL bFtnsInDoc = 0 != GetFmt()->GetDoc()->GetFtnIdxs().Count();
BOOL bMoveable;
- const BOOL bFly = IsInFly();
+ const BOOL bFly = IsInFly();
SwBorderAttrAccess *pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
const SwBorderAttrs *pAttrs = pAccess->Get();
@@ -2109,7 +2109,7 @@ void SwTabFrm::MakeAll()
delete pAccess;
bCalcLowers |= pLayout->Resize(
pLayout->GetBrowseWidthByTabFrm( *this ), FALSE );
-// GetFmt()->GetDoc()->GetDocShell()->IsReadOnly() ? FALSE : TRUE );
+// GetFmt()->GetDoc()->GetDocShell()->IsReadOnly() ? FALSE : TRUE );
pAccess= new SwBorderAttrAccess( SwFrm::GetCache(), this );
pAttrs = pAccess->Get();
}
@@ -2679,7 +2679,7 @@ void SwTabFrm::MakeAll()
bMovedFwd = bCalcLowers = TRUE;
aNotify.SetLowersComplete( FALSE );
if ( IsFollow() )
- { //Um Oszillationen zu vermeiden sollte kein ungueltiger Master
+ { //Um Oszillationen zu vermeiden sollte kein ungueltiger Master
//zurueckbleiben.
SwTabFrm *pTab = FindMaster();
if ( pTab->GetUpper() )
@@ -2746,12 +2746,12 @@ void SwTabFrm::MakeAll()
/*************************************************************************
|*
-|* SwTabFrm::CalcFlyOffsets()
+|* SwTabFrm::CalcFlyOffsets()
|*
-|* Beschreibung: Berechnet die Offsets, die durch FlyFrames
-|* entstehen.
-|* Ersterstellung MA/MIB 14. Apr. 99
-|* Letzte Aenderung
+|* Beschreibung: Berechnet die Offsets, die durch FlyFrames
+|* entstehen.
+|* Ersterstellung MA/MIB 14. Apr. 99
+|* Letzte Aenderung
|*
|*************************************************************************/
BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
@@ -2875,7 +2875,7 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
nPrtPos = nBottom;
bInvalidatePrtArea = TRUE;
}
- if ( (SURROUND_RIGHT == rSur.GetSurround() ||
+ if ( (SURROUND_RIGHT == rSur.GetSurround() ||
SURROUND_PARALLEL == rSur.GetSurround())&&
text::HoriOrientation::LEFT == rHori.GetHoriOrient() )
{
@@ -2885,7 +2885,7 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
rLeftOffset = Max( rLeftOffset, nWidth );
bInvalidatePrtArea = TRUE;
}
- if ( (SURROUND_LEFT == rSur.GetSurround() ||
+ if ( (SURROUND_LEFT == rSur.GetSurround() ||
SURROUND_PARALLEL == rSur.GetSurround())&&
text::HoriOrientation::RIGHT == rHori.GetHoriOrient() )
{
@@ -2906,12 +2906,12 @@ BOOL SwTabFrm::CalcFlyOffsets( SwTwips& rUpper,
/*************************************************************************
|*
-|* SwTabFrm::Format()
+|* SwTabFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 18. Jun. 97
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 18. Jun. 97
|*
|*************************************************************************/
void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
@@ -2937,7 +2937,7 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
//1. Es gibt Rahmen mit SurroundNone, diesen wird vollsaendig ausgewichen
//2. Es gibt Rahmen mit Umlauf nur rechts bzw. nur links und diese sind
// rechts bzw. links ausgerichtet, diese geben ein Minimum fuer die
- // Raender vor.
+ // Raender vor.
long nTmpRight = -1000000,
nLeftOffset = 0;
if( CalcFlyOffsets( nUpper, nLeftOffset, nTmpRight ) )
@@ -2951,7 +2951,7 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
// <-- collapsing
if ( !bValidPrtArea )
- { bValidPrtArea = TRUE;
+ { bValidPrtArea = TRUE;
//Die Breite der PrtArea wird vom FrmFmt vorgegeben, die Raender
//sind entsprechend einzustellen.
@@ -3181,10 +3181,10 @@ void SwTabFrm::Format( const SwBorderAttrs *pAttrs )
}
/*************************************************************************
|*
-|* SwTabFrm::GrowFrm()
+|* SwTabFrm::GrowFrm()
|*
-|* Ersterstellung MA 12. Mar. 93
-|* Letzte Aenderung MA 23. Sep. 96
+|* Ersterstellung MA 12. Mar. 93
+|* Letzte Aenderung MA 23. Sep. 96
|*
|*************************************************************************/
SwTwips SwTabFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -3268,10 +3268,10 @@ SwTwips SwTabFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
}
/*************************************************************************
|*
-|* SwTabFrm::Modify()
+|* SwTabFrm::Modify()
|*
-|* Ersterstellung MA 14. Mar. 93
-|* Letzte Aenderung MA 06. Dec. 96
+|* Ersterstellung MA 14. Mar. 93
+|* Letzte Aenderung MA 06. Dec. 96
|*
|*************************************************************************/
void SwTabFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -3305,8 +3305,8 @@ void SwTabFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
{
SwPageFrm *pPage = FindPageFrm();
InvalidatePage( pPage );
-// if ( nInvFlags & 0x01 )
-// SetCompletePaint();
+// if ( nInvFlags & 0x01 )
+// SetCompletePaint();
if ( nInvFlags & 0x02 )
_InvalidatePrt();
if ( nInvFlags & 0x40 )
@@ -3377,7 +3377,7 @@ void SwTabFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
rInvFlags |= 0x22;
break;
- case RES_PAGEDESC: //Attributaenderung (an/aus)
+ case RES_PAGEDESC: //Attributaenderung (an/aus)
if ( IsInDocBody() )
{
rInvFlags |= 0x40;
@@ -3430,10 +3430,10 @@ void SwTabFrm::_UpdateAttr( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwTabFrm::GetInfo()
+|* SwTabFrm::GetInfo()
|*
-|* Ersterstellung MA 06. Dec. 96
-|* Letzte Aenderung MA 26. Jun. 98
+|* Ersterstellung MA 06. Dec. 96
+|* Letzte Aenderung MA 26. Jun. 98
|*
|*************************************************************************/
BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
@@ -3447,7 +3447,7 @@ BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
if ( pPage == rInfo.GetOrigPage() && !GetPrev() )
{
//Das sollte er sein (kann allenfalls temporaer anders sein,
- // sollte uns das beunruhigen?)
+ // sollte uns das beunruhigen?)
rInfo.SetInfo( pPage, this );
return FALSE;
}
@@ -3464,10 +3464,10 @@ BOOL SwTabFrm::GetInfo( SfxPoolItem &rHnt ) const
/*************************************************************************
|*
-|* SwTabFrm::FindLastCntnt()
+|* SwTabFrm::FindLastCntnt()
|*
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 15. May. 98
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 15. May. 98
|*
|*************************************************************************/
SwCntntFrm *SwTabFrm::FindLastCntnt()
@@ -3542,10 +3542,10 @@ SwCntntFrm *SwTabFrm::FindLastCntnt()
/*************************************************************************
|*
-|* SwTabFrm::GetLeaf()
+|* SwTabFrm::GetLeaf()
|*
-|* Ersterstellung MA 19. Mar. 93
-|* Letzte Aenderung MA 25. Apr. 95
+|* Ersterstellung MA 19. Mar. 93
+|* Letzte Aenderung MA 25. Apr. 95
|*
|*************************************************************************/
SwLayoutFrm *SwTabFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd )
@@ -3566,11 +3566,11 @@ SwLayoutFrm *SwTabFrm::GetLeaf( MakePageType eMakePage, BOOL bFwd )
/*************************************************************************
|*
-|* SwTabFrm::ShouldBwdMoved()
+|* SwTabFrm::ShouldBwdMoved()
|*
-|* Beschreibung Returnwert sagt ob der Frm verschoben werden sollte
-|* Ersterstellung MA 10. Jul. 95
-|* Letzte Aenderung MA 04. Mar. 97
+|* Beschreibung Returnwert sagt ob der Frm verschoben werden sollte
+|* Ersterstellung MA 10. Jul. 95
+|* Letzte Aenderung MA 04. Mar. 97
|*
|*************************************************************************/
BOOL SwTabFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL &rReformat )
@@ -3677,10 +3677,10 @@ BOOL SwTabFrm::ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL, BOOL &rReformat )
/*************************************************************************
|*
-|* SwTabFrm::Cut()
+|* SwTabFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwTabFrm::Cut()
@@ -3691,7 +3691,7 @@ void SwTabFrm::Cut()
InvalidatePage( pPage );
SwFrm *pFrm = GetNext();
if( pFrm )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet der ist jetzt wo er der erste wird obsolete
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -3712,7 +3712,7 @@ void SwTabFrm::Cut()
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
pFrm->_InvalidatePos();
if ( pFrm->IsCntntFrm() )
@@ -3722,7 +3722,7 @@ void SwTabFrm::Cut()
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
+ { SwRootFrm *pRoot = (SwRootFrm*)pPage->GetUpper();
pRoot->SetSuperfluous();
GetUpper()->SetCompletePaint();
if( IsInSct() )
@@ -3772,10 +3772,10 @@ void SwTabFrm::Cut()
/*************************************************************************
|*
-|* SwTabFrm::Paste()
+|* SwTabFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwTabFrm::Paste( SwFrm* pParent, SwFrm* pSibling )
@@ -3857,10 +3857,10 @@ void SwTabFrm::Prepare( const PrepareHint eHint, const void *, BOOL )
/*************************************************************************
|*
-|* SwRowFrm::SwRowFrm(), ~SwRowFrm()
+|* SwRowFrm::SwRowFrm(), ~SwRowFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwRowFrm::SwRowFrm( const SwTableLine &rLine, bool bInsertContent ):
@@ -3896,18 +3896,18 @@ SwRowFrm::~SwRowFrm()
SwModify* pMod = GetFmt();
if( pMod )
{
- pMod->Remove( this ); // austragen,
+ pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
}
}
/*************************************************************************
|*
-|* SwRowFrm::RegistFlys()
+|* SwRowFrm::RegistFlys()
|*
-|* Ersterstellung MA 08. Jul. 93
-|* Letzte Aenderung MA 08. Jul. 93
+|* Ersterstellung MA 08. Jul. 93
+|* Letzte Aenderung MA 08. Jul. 93
|*
|*************************************************************************/
void SwRowFrm::RegistFlys( SwPageFrm *pPage )
@@ -3917,10 +3917,10 @@ void SwRowFrm::RegistFlys( SwPageFrm *pPage )
/*************************************************************************
|*
-|* SwRowFrm::Modify()
+|* SwRowFrm::Modify()
|*
-|* Ersterstellung MA 12. Nov. 97
-|* Letzte Aenderung MA 12. Nov. 97
+|* Ersterstellung MA 12. Nov. 97
+|* Letzte Aenderung MA 12. Nov. 97
|*
|*************************************************************************/
void SwRowFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -3964,10 +3964,10 @@ void SwRowFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
/*************************************************************************
|*
-|* SwRowFrm::MakeAll()
+|* SwRowFrm::MakeAll()
|*
-|* Ersterstellung MA 01. Mar. 94
-|* Letzte Aenderung MA 01. Mar. 94
+|* Ersterstellung MA 01. Mar. 94
+|* Letzte Aenderung MA 01. Mar. 94
|*
|*************************************************************************/
void SwRowFrm::MakeAll()
@@ -3979,10 +3979,10 @@ void SwRowFrm::MakeAll()
/*************************************************************************
|*
-|* SwRowFrm::Format()
+|* SwRowFrm::Format()
|*
-|* Ersterstellung MA 13. Mar. 93
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung MA 13. Mar. 93
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
long MA_FASTCALL CalcHeightWidthFlys( const SwFrm *pFrm )
@@ -4510,10 +4510,10 @@ void SwRowFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwRowFrm::AdjustCells()
+|* SwRowFrm::AdjustCells()
|*
-|* Ersterstellung MA 10. Aug. 93
-|* Letzte Aenderung MA 16. Dec. 96
+|* Ersterstellung MA 10. Aug. 93
+|* Letzte Aenderung MA 16. Dec. 96
|*
|*************************************************************************/
void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
@@ -4603,7 +4603,7 @@ void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
}
}
else
- { while ( pFrm )
+ { while ( pFrm )
{
pFrm->_InvalidateAll();
pFrm = pFrm->GetNext();
@@ -4614,10 +4614,10 @@ void SwRowFrm::AdjustCells( const SwTwips nHeight, const BOOL bHeight )
/*************************************************************************
|*
-|* SwRowFrm::Cut()
+|* SwRowFrm::Cut()
|*
-|* Ersterstellung MA 12. Nov. 97
-|* Letzte Aenderung MA 12. Nov. 97
+|* Ersterstellung MA 12. Nov. 97
+|* Letzte Aenderung MA 12. Nov. 97
|*
|*************************************************************************/
void SwRowFrm::Cut()
@@ -4656,10 +4656,10 @@ void SwRowFrm::Cut()
/*************************************************************************
|*
-|* SwRowFrm::GrowFrm()
+|* SwRowFrm::GrowFrm()
|*
-|* Ersterstellung MA 15. Mar. 93
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 15. Mar. 93
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
@@ -4732,10 +4732,10 @@ SwTwips SwRowFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwRowFrm::ShrinkFrm()
+|* SwRowFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 15. Mar. 93
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung MA 15. Mar. 93
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
SwTwips SwRowFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -4875,10 +4875,10 @@ bool SwRowFrm::ShouldRowKeepWithNext() const
/*************************************************************************
|*
-|* SwCellFrm::SwCellFrm(), ~SwCellFrm()
+|* SwCellFrm::SwCellFrm(), ~SwCellFrm()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 30. May. 96
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 30. May. 96
|*
|*************************************************************************/
SwCellFrm::SwCellFrm( const SwTableBox &rBox, bool bInsertContent ) :
@@ -4927,16 +4927,16 @@ SwCellFrm::~SwCellFrm()
pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
}
}
/*************************************************************************
|*
-|* SwCellFrm::Format()
+|* SwCellFrm::Format()
|*
-|* Ersterstellung MA 09. Mar. 93
-|* Letzte Aenderung MA 29. Jan. 98
+|* Ersterstellung MA 09. Mar. 93
+|* Letzte Aenderung MA 29. Jan. 98
|*
|*************************************************************************/
BOOL lcl_ArrangeLowers( SwLayoutFrm *pLay, long lYStart, BOOL bInva )
@@ -5436,10 +5436,10 @@ void SwCellFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwCellFrm::Modify()
+|* SwCellFrm::Modify()
|*
-|* Ersterstellung MA 20. Dec. 96
-|* Letzte Aenderung MA 20. Dec. 96
+|* Ersterstellung MA 20. Dec. 96
+|* Letzte Aenderung MA 20. Dec. 96
|*
|*************************************************************************/
diff --git a/sw/source/core/layout/trvlfrm.cxx b/sw/source/core/layout/trvlfrm.cxx
index 36dfbb3b9fce..41867fa24402 100644
--- a/sw/source/core/layout/trvlfrm.cxx
+++ b/sw/source/core/layout/trvlfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +105,12 @@ static SwCrsrOszControl aOszCtrl = { 0, 0, 0 };
/*************************************************************************
|*
-|* SwLayoutFrm::GetCrsrOfst()
+|* SwLayoutFrm::GetCrsrOfst()
|*
-|* Beschreibung: Sucht denjenigen CntntFrm, innerhalb dessen
-|* PrtArea der Point liegt.
-|* Ersterstellung MA 20. Jul. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Beschreibung: Sucht denjenigen CntntFrm, innerhalb dessen
+|* PrtArea der Point liegt.
+|* Ersterstellung MA 20. Jul. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
BOOL SwLayoutFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -142,19 +142,19 @@ BOOL SwLayoutFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwPageFrm::GetCrsrOfst()
+|* SwPageFrm::GetCrsrOfst()
|*
-|* Beschreibung: Sucht die Seite, innerhalb der der gesuchte Point
-|* liegt.
-|* Ersterstellung MA 20. Jul. 92
-|* Letzte Aenderung MA 18. Jul. 96
+|* Beschreibung: Sucht die Seite, innerhalb der der gesuchte Point
+|* liegt.
+|* Ersterstellung MA 20. Jul. 92
+|* Letzte Aenderung MA 18. Jul. 96
|*
|*************************************************************************/
BOOL SwPageFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
SwCrsrMoveState* pCMS ) const
{
- BOOL bRet = FALSE;
+ BOOL bRet = FALSE;
Point aPoint( rPoint );
// check, if we have to adjust the point
@@ -291,13 +291,13 @@ bool SwRootFrm::FillSelection( SwSelectionList& aSelList, const SwRect& rRect) c
/*************************************************************************
|*
-|* SwRootFrm::GetCrsrOfst()
+|* SwRootFrm::GetCrsrOfst()
|*
-|* Beschreibung: Reicht Primaer den Aufruf an die erste Seite weiter.
-|* Wenn der 'reingereichte Point veraendert wird,
-|* so wird FALSE zurueckgegeben.
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 30. Nov. 94
+|* Beschreibung: Reicht Primaer den Aufruf an die erste Seite weiter.
+|* Wenn der 'reingereichte Point veraendert wird,
+|* so wird FALSE zurueckgegeben.
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
BOOL SwRootFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -345,14 +345,14 @@ BOOL SwRootFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwCellFrm::GetCrsrOfst()
+|* SwCellFrm::GetCrsrOfst()
|*
-|* Beschreibung Wenn es sich um eine Cntnt-tragende Cell handelt wird
-|* der Crsr notfalls mit Gewalt in einen der CntntFrms
-|* gesetzt.
-|* In geschuetzte Zellen gibt es hier keinen Eingang.
-|* Ersterstellung MA 04. Jun. 93
-|* Letzte Aenderung MA 23. May. 95
+|* Beschreibung Wenn es sich um eine Cntnt-tragende Cell handelt wird
+|* der Crsr notfalls mit Gewalt in einen der CntntFrms
+|* gesetzt.
+|* In geschuetzte Zellen gibt es hier keinen Eingang.
+|* Ersterstellung MA 04. Jun. 93
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
BOOL SwCellFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
@@ -419,10 +419,10 @@ BOOL SwCellFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* SwFlyFrm::GetCrsrOfst()
+|* SwFlyFrm::GetCrsrOfst()
|*
-|* Ersterstellung MA 15. Dec. 92
-|* Letzte Aenderung MA 23. May. 95
+|* Ersterstellung MA 15. Dec. 92
+|* Letzte Aenderung MA 23. May. 95
|*
|*************************************************************************/
//Problem: Wenn zwei Flys genau gleich gross sind und auf derselben
@@ -515,9 +515,9 @@ BOOL SwFlyFrm::GetCrsrOfst( SwPosition *pPos, Point &rPoint,
/*************************************************************************
|*
-|* Beschreibung Layoutabhaengiges Cursortravelling
-|* Ersterstellung MA 23. Jul. 92
-|* Letzte Aenderung MA 06. Sep. 93
+|* Beschreibung Layoutabhaengiges Cursortravelling
+|* Ersterstellung MA 23. Jul. 92
+|* Letzte Aenderung MA 06. Sep. 93
|*
|*************************************************************************/
BOOL SwCntntFrm::LeftMargin(SwPaM *pPam) const
@@ -755,13 +755,13 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
//verlassen.
else if ( pCnt )
{
- const SwFrm *pUp = pStart->GetUpper(); //Head/Foot
+ const SwFrm *pUp = pStart->GetUpper(); //Head/Foot
while ( pUp && pUp->GetUpper() && !(pUp->GetType() & 0x0018 ) )
pUp = pUp->GetUpper();
BOOL bSame = FALSE;
const SwFrm *pCntUp = pCnt->GetUpper();
while ( pCntUp && !bSame )
- { if ( pUp == pCntUp )
+ { if ( pUp == pCntUp )
bSame = TRUE;
else
pCntUp = pCntUp->GetUpper();
@@ -780,7 +780,7 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
if ( !pCnt )
bEnd = TRUE;
else
- { const SwTabFrm *pTab = pCnt->FindTabFrm();
+ { const SwTabFrm *pTab = pCnt->FindTabFrm();
if( !pTab )
bEnd = TRUE;
else
@@ -855,7 +855,7 @@ BOOL MA_FASTCALL lcl_UpDown( SwPaM *pPam, const SwCntntFrm *pStart,
(pCnt && pCnt->IsTxtFrm() && ((SwTxtFrm*)pCnt)->IsHiddenNow()));
if( pCnt )
- { // setze den Point auf den Content-Node
+ { // setze den Point auf den Content-Node
SwCntntNode *pCNd = (SwCntntNode*)pCnt->GetNode();
pPam->GetPoint()->nNode = *pCNd;
if ( fnNxtPrv == lcl_GetPrvCnt )
@@ -879,15 +879,15 @@ BOOL SwCntntFrm::UnitDown( SwPaM* pPam, const SwTwips, BOOL bInReadOnly ) const
/*************************************************************************
|*
-|* SwRootFrm::GetCurrPage()
+|* SwRootFrm::GetCurrPage()
|*
-|* Beschreibung: Liefert die Nummer der aktuellen Seite.
-|* Wenn die Methode einen PaM bekommt, so ist die aktuelle Seite
-|* diejenige in der der PaM sitzt. Anderfalls ist die aktuelle
-|* Seite die erste Seite innerhalb der VisibleArea.
-|* Es wird nur auf den vorhandenen Seiten gearbeitet!
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert die Nummer der aktuellen Seite.
+|* Wenn die Methode einen PaM bekommt, so ist die aktuelle Seite
+|* diejenige in der der PaM sitzt. Anderfalls ist die aktuelle
+|* Seite die erste Seite innerhalb der VisibleArea.
+|* Es wird nur auf den vorhandenen Seiten gearbeitet!
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
USHORT SwRootFrm::GetCurrPage( const SwPaM *pActualCrsr ) const
@@ -902,16 +902,16 @@ USHORT SwRootFrm::GetCurrPage( const SwPaM *pActualCrsr ) const
/*************************************************************************
|*
-|* SwRootFrm::SetCurrPage()
+|* SwRootFrm::SetCurrPage()
|*
-|* Beschreibung: Liefert einen PaM der am Anfang der gewuenschten
-|* Seite sitzt.
-|* Formatiert wird soweit notwendig
-|* Liefert Null, wenn die Operation nicht moeglich ist.
-|* Der PaM sitzt in der letzten Seite, wenn die Seitenzahl zu gross
-|* gewaehlt wurde.
-|* Ersterstellung MA 20. May. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert einen PaM der am Anfang der gewuenschten
+|* Seite sitzt.
+|* Formatiert wird soweit notwendig
+|* Liefert Null, wenn die Operation nicht moeglich ist.
+|* Der PaM sitzt in der letzten Seite, wenn die Seitenzahl zu gross
+|* gewaehlt wurde.
+|* Ersterstellung MA 20. May. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
@@ -921,10 +921,10 @@ USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
SwPageFrm *pPage = (SwPageFrm*)Lower();
BOOL bEnd =FALSE;
while ( !bEnd && pPage->GetPhyPageNum() != nPageNum )
- { if ( pPage->GetNext() )
+ { if ( pPage->GetNext() )
pPage = (SwPageFrm*)pPage->GetNext();
else
- { //Ersten CntntFrm Suchen, und solange Formatieren bis
+ { //Ersten CntntFrm Suchen, und solange Formatieren bis
//eine neue Seite angefangen wird oder bis die CntntFrm's alle
//sind.
const SwCntntFrm *pCntnt = pPage->ContainsCntnt();
@@ -973,17 +973,17 @@ USHORT SwRootFrm::SetCurrPage( SwCursor* pToSet, USHORT nPageNum )
/*************************************************************************
|*
-|* SwCntntFrm::StartxxPage(), EndxxPage()
+|* SwCntntFrm::StartxxPage(), EndxxPage()
|*
-|* Beschreibung Cursor an Anfang/Ende der aktuellen/vorherigen/
-|* naechsten Seite. Alle sechs Methoden rufen GetFrmInPage() mit der
-|* entsprechenden Parametrisierung.
-|* Zwei Parameter steuern die Richtung: einer bestimmt die Seite, der
-|* andere Anfang/Ende.
-|* Fuer die Bestimmung der Seite und des Cntnt (Anfang/Ende) werden
-|* die im folgenden definierten Funktionen benutzt.
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 28. Feb. 93
+|* Beschreibung Cursor an Anfang/Ende der aktuellen/vorherigen/
+|* naechsten Seite. Alle sechs Methoden rufen GetFrmInPage() mit der
+|* entsprechenden Parametrisierung.
+|* Zwei Parameter steuern die Richtung: einer bestimmt die Seite, der
+|* andere Anfang/Ende.
+|* Fuer die Bestimmung der Seite und des Cntnt (Anfang/Ende) werden
+|* die im folgenden definierten Funktionen benutzt.
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 28. Feb. 93
|*
|*************************************************************************/
SwCntntFrm *GetFirstSub( const SwLayoutFrm *pLayout )
@@ -1089,17 +1089,17 @@ BOOL GetFrmInPage( const SwCntntFrm *pCnt, SwWhichPage fnWhichPage,
/*************************************************************************
|*
-|* SwLayoutFrm::GetCntntPos()
+|* SwLayoutFrm::GetCntntPos()
|*
-|* Beschreibung Es wird der nachstliegende Cntnt zum uebergebenen
-|* gesucht. Betrachtet werden die vorhergehende, die
-|* aktuelle und die folgende Seite.
-|* Wenn kein Inhalt gefunden wird, so wird der Bereich
- * erweitert bis einer gefunden wird.
-|* Zurueckgegeben wird die 'Semantisch richtige' Position
-|* innerhalb der PrtArea des gefundenen CntntFrm
-|* Ersterstellung MA 15. Jul. 92
-|* Letzte Aenderung MA 09. Jan. 97
+|* Beschreibung Es wird der nachstliegende Cntnt zum uebergebenen
+|* gesucht. Betrachtet werden die vorhergehende, die
+|* aktuelle und die folgende Seite.
+|* Wenn kein Inhalt gefunden wird, so wird der Bereich
+ * erweitert bis einer gefunden wird.
+|* Zurueckgegeben wird die 'Semantisch richtige' Position
+|* innerhalb der PrtArea des gefundenen CntntFrm
+|* Ersterstellung MA 15. Jul. 92
+|* Letzte Aenderung MA 09. Jan. 97
|*
|*************************************************************************/
ULONG CalcDiff( const Point &rPt1, const Point &rPt2 )
@@ -1165,7 +1165,7 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
Point aPoint = rPoint;
ULONG nDistance = ULONG_MAX;
- while ( TRUE ) //Sicherheitsschleifchen, damit immer einer gefunden wird.
+ while ( TRUE ) //Sicherheitsschleifchen, damit immer einer gefunden wird.
{
while ( pCntnt &&
((!bDontLeave || IsAnLower( pCntnt )) &&
@@ -1239,7 +1239,7 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
pCntnt = pCntnt->GetNextCntntFrm();
}
if ( !pActual )
- { //Wenn noch keiner gefunden wurde muss der Suchbereich erweitert
+ { //Wenn noch keiner gefunden wurde muss der Suchbereich erweitert
//werden, irgenwann muessen wir einen Finden!
//MA 09. Jan. 97: Opt fuer viele leere Seiten, wenn wir nur im
//Body suchen, koennen wir den Suchbereich gleich in einem
@@ -1256,13 +1256,13 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
? pStart->ContainsCntnt()
: pStart->FindPageFrm()->FindFirstBodyCntnt();
}
- if ( !pCntnt ) //irgendwann muessen wir mit irgendeinem Anfangen!
+ if ( !pCntnt ) //irgendwann muessen wir mit irgendeinem Anfangen!
{
pCntnt = pStart->FindPageFrm()->GetUpper()->ContainsCntnt();
while ( pCntnt && !pCntnt->IsInDocBody() )
pCntnt = pCntnt->GetNextCntntFrm();
if ( !pCntnt )
- return 0; //Es gibt noch keine Dokumentinhalt!
+ return 0; //Es gibt noch keine Dokumentinhalt!
}
}
else
@@ -1348,13 +1348,13 @@ const SwCntntFrm *SwLayoutFrm::GetCntntPos( Point& rPoint,
/*************************************************************************
|*
-|* SwPageFrm::GetCntntPosition()
+|* SwPageFrm::GetCntntPosition()
|*
-|* Beschreibung Analog zu SwLayoutFrm::GetCntntPos().
-|* Spezialisiert fuer Felder in Rahmen.
+|* Beschreibung Analog zu SwLayoutFrm::GetCntntPos().
+|* Spezialisiert fuer Felder in Rahmen.
|*
-|* Ersterstellung MA 22. Mar. 95
-|* Letzte Aenderung MA 07. Nov. 95
+|* Ersterstellung MA 22. Mar. 95
+|* Letzte Aenderung MA 07. Nov. 95
|*
|*************************************************************************/
void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
@@ -1374,8 +1374,8 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
pCntnt = GetUpper()->ContainsCntnt();
const SwCntntFrm *pAct = pCntnt;
- Point aAct = rPt;
- ULONG nDist = ULONG_MAX;
+ Point aAct = rPt;
+ ULONG nDist = ULONG_MAX;
while ( pCntnt )
{
@@ -1405,9 +1405,9 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
const ULONG nDiff = ::CalcDiff( aPoint, rPt );
if ( nDiff < nDist )
{
- aAct = aPoint;
- nDist = nDiff;
- pAct = pCntnt;
+ aAct = aPoint;
+ nDist = nDiff;
+ pAct = pCntnt;
}
else if ( aCntFrm.Top() > Frm().Bottom() )
//Dichter wirds im Sinne der Felder nicht mehr!
@@ -1446,12 +1446,12 @@ void SwPageFrm::GetCntntPosition( const Point &rPt, SwPosition &rPos ) const
/*************************************************************************
|*
-|* SwRootFrm::GetNextPrevCntntPos()
+|* SwRootFrm::GetNextPrevCntntPos()
|*
-|* Beschreibung Es wird der naechstliegende Cntnt zum uebergebenen
-|* Point gesucht. Es wird nur im BodyText gesucht.
-|* Ersterstellung MA 15. Jul. 92
-|* Letzte Aenderung JP 11.10.2001
+|* Beschreibung Es wird der naechstliegende Cntnt zum uebergebenen
+|* Point gesucht. Es wird nur im BodyText gesucht.
+|* Ersterstellung MA 15. Jul. 92
+|* Letzte Aenderung JP 11.10.2001
|*
|*************************************************************************/
@@ -1564,16 +1564,16 @@ Point SwRootFrm::GetNextPrevCntntPos( const Point& rPoint, BOOL bNext ) const
/*************************************************************************
|*
-|* SwRootFrm::GetPagePos()
+|* SwRootFrm::GetPagePos()
|*
-|* Beschreibung: Liefert die absolute Dokumentpositon der gewuenschten
-|* Seite.
-|* Formatiert wird nur soweit notwendig und nur dann wenn bFormat=TRUE
-|* Liefert Null, wenn die Operation nicht moeglich ist.
-|* Die Pos ist die der letzten Seite, wenn die Seitenzahl zu gross
-|* gewaehlt wurde.
-|* Ersterstellung MA 01. Jun. 92
-|* Letzte Aenderung MA 09. Oct. 97
+|* Beschreibung: Liefert die absolute Dokumentpositon der gewuenschten
+|* Seite.
+|* Formatiert wird nur soweit notwendig und nur dann wenn bFormat=TRUE
+|* Liefert Null, wenn die Operation nicht moeglich ist.
+|* Die Pos ist die der letzten Seite, wenn die Seitenzahl zu gross
+|* gewaehlt wurde.
+|* Ersterstellung MA 01. Jun. 92
+|* Letzte Aenderung MA 09. Oct. 97
|*
|*************************************************************************/
Point SwRootFrm::GetPagePos( USHORT nPageNum ) const
@@ -1635,14 +1635,14 @@ BOOL SwRootFrm::IsDummyPage( USHORT nPageNum ) const
/*************************************************************************
|*
-|* SwFrm::IsProtected()
+|* SwFrm::IsProtected()
|*
-|* Beschreibung Ist der Frm bzw. die Section in der er steht
-|* geschuetzt?
-|* Auch Fly in Fly in ... und Fussnoten
+|* Beschreibung Ist der Frm bzw. die Section in der er steht
+|* geschuetzt?
+|* Auch Fly in Fly in ... und Fussnoten
|*
-|* Ersterstellung MA 28. Jul. 93
-|* Letzte Aenderung MA 06. Nov. 97
+|* Ersterstellung MA 28. Jul. 93
+|* Letzte Aenderung MA 06. Nov. 97
|*
|*************************************************************************/
BOOL SwFrm::IsProtected() const
@@ -1703,11 +1703,11 @@ BOOL SwFrm::IsProtected() const
/*************************************************************************
|*
-|* SwFrm::GetPhyPageNum()
-|* Beschreibung: Liefert die physikalische Seitennummer
+|* SwFrm::GetPhyPageNum()
+|* Beschreibung: Liefert die physikalische Seitennummer
|*
-|* Ersterstellung OK 06.07.93 08:35
-|* Letzte Aenderung MA 30. Nov. 94
+|* Ersterstellung OK 06.07.93 08:35
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
USHORT SwFrm::GetPhyPageNum() const
@@ -1786,11 +1786,11 @@ BOOL SwFrm::WannaRightPage() const
/*************************************************************************
|*
-|* SwFrm::GetVirtPageNum()
-|* Beschreibung: Liefert die virtuelle Seitennummer mit Offset
+|* SwFrm::GetVirtPageNum()
+|* Beschreibung: Liefert die virtuelle Seitennummer mit Offset
|*
-|* Ersterstellung OK 06.07.93 08:35
-|* Letzte Aenderung MA 30. Nov. 94
+|* Ersterstellung OK 06.07.93 08:35
+|* Letzte Aenderung MA 30. Nov. 94
|*
|*************************************************************************/
USHORT SwFrm::GetVirtPageNum() const
@@ -1843,10 +1843,10 @@ USHORT SwFrm::GetVirtPageNum() const
/*************************************************************************
|*
-|* SwRootFrm::MakeTblCrsrs()
+|* SwRootFrm::MakeTblCrsrs()
|*
-|* Ersterstellung MA 14. May. 93
-|* Letzte Aenderung MA 02. Feb. 94
+|* Ersterstellung MA 14. May. 93
+|* Letzte Aenderung MA 02. Feb. 94
|*
|*************************************************************************/
//Ermitteln und einstellen derjenigen Zellen die von der Selektion
@@ -1966,41 +1966,41 @@ bool SwRootFrm::MakeTblCrsrs( SwTableCursor& rTblCrsr )
/*************************************************************************
|*
-|* SwRootFrm::CalcFrmRects
+|* SwRootFrm::CalcFrmRects
|*
-|* Ersterstellung MA 24. Aug. 92
-|* Letzte Aenderung MA 24. Aug. 93
+|* Ersterstellung MA 24. Aug. 92
+|* Letzte Aenderung MA 24. Aug. 93
|*
|*************************************************************************/
/*
* nun koennen folgende Situationen auftreten:
- * 1. Start und Ende liegen in einer Bildschirm - Zeile und im
- * gleichen Node
- * -> aus Start und End ein Rectangle, dann Ok
- * 2. Start und Ende liegen in einem Frame (dadurch im gleichen Node!)
- * -> Start nach rechts, End nach links erweitern,
- * und bei mehr als 2 Bildschirm - Zeilen, das dazwischen
- * liegende berechnen
- * 3. Start und Ende liegen in verschiedenen Frames
- * -> Start nach rechts erweitern, bis Frame-Ende Rect berechnen
- * Ende nach links erweitern, bis Frame-Start Rect berechnen
- * und bei mehr als 2 Frames von allen dazwischen liegenden
- * Frames die PrtArea dazu.
- * 4. Wenn es sich um eine Tabellenselektion handelt wird fuer jeden
- * PaM im Ring der CellFrm besorgt, dessen PrtArea wird zu den
- * Rechtecken addiert.
+ * 1. Start und Ende liegen in einer Bildschirm - Zeile und im
+ * gleichen Node
+ * -> aus Start und End ein Rectangle, dann Ok
+ * 2. Start und Ende liegen in einem Frame (dadurch im gleichen Node!)
+ * -> Start nach rechts, End nach links erweitern,
+ * und bei mehr als 2 Bildschirm - Zeilen, das dazwischen
+ * liegende berechnen
+ * 3. Start und Ende liegen in verschiedenen Frames
+ * -> Start nach rechts erweitern, bis Frame-Ende Rect berechnen
+ * Ende nach links erweitern, bis Frame-Start Rect berechnen
+ * und bei mehr als 2 Frames von allen dazwischen liegenden
+ * Frames die PrtArea dazu.
+ * 4. Wenn es sich um eine Tabellenselektion handelt wird fuer jeden
+ * PaM im Ring der CellFrm besorgt, dessen PrtArea wird zu den
+ * Rechtecken addiert.
*
* Grosser Umbau wg. der FlyFrm; denn diese muessen ausgespart werden.
* Ausnahmen: - Der Fly in dem die Selektion stattfindet (wenn sie in einem Fly
- * stattfindet).
- * - Die Flys, die vom Text unterlaufen werden.
+ * stattfindet).
+ * - Die Flys, die vom Text unterlaufen werden.
* Arbeitsweise: Zuerst wird eine SwRegion mit der Root initialisiert.
- * Aus der Region werden die zu invertierenden Bereiche
- * ausgestantzt. Die Region wird Komprimiert und letztlich
- * invertiert. Damit liegen dann die zu invertierenden
- * Rechtecke vor.
- * Am Ende werden die Flys aus der Region ausgestanzt.
+ * Aus der Region werden die zu invertierenden Bereiche
+ * ausgestantzt. Die Region wird Komprimiert und letztlich
+ * invertiert. Damit liegen dann die zu invertierenden
+ * Rechtecke vor.
+ * Am Ende werden die Flys aus der Region ausgestanzt.
*/
inline void Sub( SwRegionRects& rRegion, const SwRect& rRect )
@@ -2051,7 +2051,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
const SwCntntFrm *pStartFrm = rNds[ pStartPos->nNode ]->
GetCntntNode()->GetFrm( &rCrsr.GetSttPos(), pStartPos );
- const SwCntntFrm *pEndFrm = rNds[ pEndPos->nNode ]->
+ const SwCntntFrm *pEndFrm = rNds[ pEndPos->nNode ]->
GetCntntNode()->GetFrm( &rCrsr.GetEndPos(), pEndPos );
OSL_ENSURE( (pStartFrm && pEndFrm), "Keine CntntFrms gefunden." );
@@ -2085,7 +2085,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
{
// falls eine nicht erlaubte Selection besteht, dann korrigiere das
// nicht erlaubt ist Header/Footer/TableHeadline ueber 2 Seiten
- do { // middle check loop
+ do { // middle check loop
const SwLayoutFrm* pSttLFrm = pStartFrm->GetUpper();
const USHORT cHdFtTblHd = FRM_HEADER | FRM_FOOTER | FRM_TAB;
while( pSttLFrm &&
@@ -2423,8 +2423,8 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
SwRect aTmp = SwRect( aTmpSt, aTmpEnd );
// Bug 34888: falls Inhalt selektiert ist, der keinen Platz
- // einnimmt (z.B. PostIts,RefMarks, TOXMarks),
- // dann mindestens die Breite des Crsr setzen.
+ // einnimmt (z.B. PostIts,RefMarks, TOXMarks),
+ // dann mindestens die Breite des Crsr setzen.
if( 1 == (aTmp.*fnRect->fnGetWidth)() &&
pStartPos->nContent.GetIndex() !=
pEndPos->nContent.GetIndex() )
@@ -2583,7 +2583,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
Sub( aRegion, aSubRect );
}
-// aRegion.Compress( FALSE );
+// aRegion.Compress( FALSE );
aRegion.Invert();
delete pSt2Pos;
delete pEnd2Pos;
@@ -2591,11 +2591,11 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
//Flys mit Durchlauf ausstanzen. Nicht ausgestanzt werden Flys:
//- die Lower des StartFrm/EndFrm sind (FlyInCnt und alle Flys die wiederum
- // darin sitzen)
+ // darin sitzen)
//- in der Z-Order ueber denjenigen Flys stehen in denen sich der StartFrm
- // befindet.
- const SwPageFrm *pPage = pStartFrm->FindPageFrm();
- const SwPageFrm *pEndPage = pEndFrm->FindPageFrm();
+ // befindet.
+ const SwPageFrm *pPage = pStartFrm->FindPageFrm();
+ const SwPageFrm *pEndPage = pEndFrm->FindPageFrm();
while ( pPage )
{
@@ -2625,7 +2625,7 @@ void SwRootFrm::CalcFrmRects( SwShellCrsr &rCrsr, BOOL bIsTblMode )
"<SwRootFrm::CalcFrmRects(..)> - object in <aSortObjs> of unexcepted type" );
const SwFlyFrm* pTmp = static_cast<SwFlyFrm*>(aSortObjs[k]);
do
- { if ( nPos < pTmp->GetVirtDrawObj()->GetOrdNumDirect() )
+ { if ( nPos < pTmp->GetVirtDrawObj()->GetOrdNumDirect() )
bSub = FALSE;
else
pTmp = pTmp->GetAnchorFrm()->FindFlyFrm();
diff --git a/sw/source/core/layout/unusedf.cxx b/sw/source/core/layout/unusedf.cxx
index d231535c5c87..db056e5edf67 100644
--- a/sw/source/core/layout/unusedf.cxx
+++ b/sw/source/core/layout/unusedf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/layout/virtoutp.cxx b/sw/source/core/layout/virtoutp.cxx
index 4a56c37497c2..3bb6231e4ee2 100644
--- a/sw/source/core/layout/virtoutp.cxx
+++ b/sw/source/core/layout/virtoutp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * class DbgRect
+ * class DbgRect
*************************************************************************/
class DbgRect
@@ -135,7 +135,7 @@ void SetMappingForVirtDev( const Point& _rNewOrigin,
/*************************************************************************
- * SwVOut::DoesFit()
+ * SwVOut::DoesFit()
*************************************************************************/
// rSize muss in Pixel-Koordinaten vorliegen!
@@ -173,7 +173,7 @@ BOOL SwLayVout::DoesFit( const Size &rNew )
}
/*************************************************************************
- * SwLayVout::Enter
+ * SwLayVout::Enter
*************************************************************************/
/// OD 27.09.2002 #103636# - change 2nd parameter <rRect> - no longer <const>
/// in order to return value of class member variable <aRect>, if virtual
@@ -241,7 +241,7 @@ void SwLayVout::Enter( ViewShell *pShell, SwRect &rRect, BOOL bOn )
}
/*************************************************************************
- * SwLayVout::Flush()
+ * SwLayVout::Flush()
*************************************************************************/
void SwLayVout::_Flush()
diff --git a/sw/source/core/layout/virtoutp.hxx b/sw/source/core/layout/virtoutp.hxx
index 04f6a67031de..58f570866b0b 100644
--- a/sw/source/core/layout/virtoutp.hxx
+++ b/sw/source/core/layout/virtoutp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,27 +30,27 @@
#include <vcl/virdev.hxx>
-#include "swtypes.hxx" // UCHAR
-#include "swrect.hxx" // SwRect
+#include "swtypes.hxx" // UCHAR
+#include "swrect.hxx" // SwRect
class ViewShell;
#define VIRTUALHEIGHT 64
/*************************************************************************
- * class SwTxtVout
+ * class SwTxtVout
*************************************************************************/
class SwLayVout
{
- friend void _FrmFinit(); //loescht das Vout
+ friend void _FrmFinit(); //loescht das Vout
private:
- ViewShell* pSh;
- OutputDevice* pOut;
- VirtualDevice* pVirDev;
- SwRect aRect;
- SwRect aOrgRect;
- Size aSize;
- USHORT nCount;
+ ViewShell* pSh;
+ OutputDevice* pOut;
+ VirtualDevice* pVirDev;
+ SwRect aRect;
+ SwRect aOrgRect;
+ Size aSize;
+ USHORT nCount;
BOOL DoesFit( const Size &rOut );
diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx
index 25e5abaae9a2..077314e166e4 100644
--- a/sw/source/core/layout/wsfrm.cxx
+++ b/sw/source/core/layout/wsfrm.cxx
@@ -81,10 +81,10 @@ using namespace ::com::sun::star;
/*************************************************************************
|*
-|* SwFrm::SwFrm()
+|* SwFrm::SwFrm()
|*
-|* Ersterstellung AK 12-Feb-1991
-|* Letzte Aenderung MA 05. Apr. 94
+|* Ersterstellung AK 12-Feb-1991
+|* Letzte Aenderung MA 05. Apr. 94
|*
|*************************************************************************/
@@ -230,10 +230,10 @@ void SwTxtFrm::CheckDirection( BOOL bVert )
/*************************************************************************
|*
-|* SwFrm::Modify()
+|* SwFrm::Modify()
|*
-|* Ersterstellung AK 01-Mar-1991
-|* Letzte Aenderung MA 20. Jun. 96
+|* Ersterstellung AK 01-Mar-1991
+|* Letzte Aenderung MA 20. Jun. 96
|*
|*************************************************************************/
void SwFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -347,9 +347,9 @@ void SwFrm::_UpdateAttrFrm( SfxPoolItem *pOld, SfxPoolItem *pNew,
/*************************************************************************
|*
-|* SwFrm::Prepare()
-|* Ersterstellung MA 13. Apr. 93
-|* Letzte Aenderung MA 26. Jun. 96
+|* SwFrm::Prepare()
+|* Ersterstellung MA 13. Apr. 93
+|* Letzte Aenderung MA 26. Jun. 96
|*
|*************************************************************************/
void SwFrm::Prepare( const PrepareHint, const void *, BOOL )
@@ -359,12 +359,12 @@ void SwFrm::Prepare( const PrepareHint, const void *, BOOL )
/*************************************************************************
|*
-|* SwFrm::InvalidatePage()
-|* Beschreibung: Invalidiert die Seite, in der der Frm gerade steht.
-|* Je nachdem ob es ein Layout, Cntnt oder FlyFrm ist wird die Seite
-|* entsprechend Invalidiert.
-|* Ersterstellung MA 22. Jul. 92
-|* Letzte Aenderung MA 14. Oct. 94
+|* SwFrm::InvalidatePage()
+|* Beschreibung: Invalidiert die Seite, in der der Frm gerade steht.
+|* Je nachdem ob es ein Layout, Cntnt oder FlyFrm ist wird die Seite
+|* entsprechend Invalidiert.
+|* Ersterstellung MA 22. Jul. 92
+|* Letzte Aenderung MA 14. Oct. 94
|*
|*************************************************************************/
void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
@@ -407,8 +407,8 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
if ( pRoot->IsTurboAllowed() )
{
// JP 21.09.95: wenn sich der ContentFrame 2 mal eintragen
- // will, kann es doch eine TurboAction bleiben.
- // ODER????
+ // will, kann es doch eine TurboAction bleiben.
+ // ODER????
if ( !pRoot->GetTurbo() || this == pRoot->GetTurbo() )
pRoot->SetTurbo( (const SwCntntFrm*)this );
else
@@ -424,10 +424,10 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
if ( !pRoot->GetTurbo() )
{
if ( pFly )
- { if( !pFly->IsLocked() )
+ { if( !pFly->IsLocked() )
{
if ( pFly->IsFlyInCntFrm() )
- { pPage->InvalidateFlyInCnt();
+ { pPage->InvalidateFlyInCnt();
((SwFlyInCntFrm*)pFly)->InvalidateCntnt();
pFly->GetAnchorFrm()->InvalidatePage();
}
@@ -460,7 +460,7 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
pPage->InvalidateLayout();
if ( pRoot->GetTurbo() )
- { const SwFrm *pTmp = pRoot->GetTurbo();
+ { const SwFrm *pTmp = pRoot->GetTurbo();
pRoot->ResetTurbo();
pTmp->InvalidatePage();
}
@@ -479,10 +479,10 @@ void SwFrm::InvalidatePage( const SwPageFrm *pPage ) const
/*************************************************************************
|*
-|* SwFrm::ChgSize()
+|* SwFrm::ChgSize()
|*
-|* Ersterstellung AK 15-Feb-1991
-|* Letzte Aenderung MA 18. Nov. 98
+|* Ersterstellung AK 15-Feb-1991
+|* Letzte Aenderung MA 18. Nov. 98
|*
|*************************************************************************/
Size SwFrm::ChgSize( const Size& aNewSize )
@@ -560,13 +560,13 @@ Size SwFrm::ChgSize( const Size& aNewSize )
/*************************************************************************
|*
-|* SwFrm::InsertBefore()
+|* SwFrm::InsertBefore()
|*
-|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
-|* Eingefuegt wird unterhalb des Parent und entweder
-|* vor pBehind oder am Ende der Kette wenn pBehind
-|* leer ist.
-|* Letzte Aenderung MA 06. Aug. 99
+|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
+|* Eingefuegt wird unterhalb des Parent und entweder
+|* vor pBehind oder am Ende der Kette wenn pBehind
+|* leer ist.
+|* Letzte Aenderung MA 06. Aug. 99
|*
|*************************************************************************/
void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
@@ -578,7 +578,7 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
pUpper = pParent;
pNext = pBehind;
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( 0 != (pPrev = pBehind->pPrev) )
pPrev->pNext = this;
else
@@ -586,7 +586,7 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
pBehind->pPrev = this;
}
else
- { //Einfuegen am Ende, oder als ersten Node im Unterbaum
+ { //Einfuegen am Ende, oder als ersten Node im Unterbaum
pPrev = pUpper->Lower();
if ( pPrev )
{
@@ -601,13 +601,13 @@ void SwFrm::InsertBefore( SwLayoutFrm* pParent, SwFrm* pBehind )
/*************************************************************************
|*
-|* SwFrm::InsertBehind()
+|* SwFrm::InsertBehind()
|*
-|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
-|* Eingefuegt wird unterhalb des Parent und entweder
-|* hinter pBefore oder am Anfang der Kette wenn pBefore
-|* leer ist.
-|* Letzte Aenderung MA 06. Aug. 99
+|* Beschreibung SwFrm wird in eine bestehende Struktur eingefuegt
+|* Eingefuegt wird unterhalb des Parent und entweder
+|* hinter pBefore oder am Anfang der Kette wenn pBefore
+|* leer ist.
+|* Letzte Aenderung MA 06. Aug. 99
|*
|*************************************************************************/
void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
@@ -637,14 +637,14 @@ void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
/*************************************************************************
|*
-|* SwFrm::InsertGroup()
+|* SwFrm::InsertGroup()
|*
-|* Beschreibung Eine Kette von SwFrms wird in eine bestehende Struktur
-|* eingefuegt
-|* Letzte Aenderung AMA 9. Dec. 97
+|* Beschreibung Eine Kette von SwFrms wird in eine bestehende Struktur
+|* eingefuegt
+|* Letzte Aenderung AMA 9. Dec. 97
|*
|* Bisher wird dies genutzt, um einen SectionFrame, der ggf. schon Geschwister
-|* mit sich bringt, in eine bestehende Struktur einzufuegen.
+|* mit sich bringt, in eine bestehende Struktur einzufuegen.
|*
|* Wenn man den dritten Parameter als NULL uebergibt, entspricht
|* diese Methode dem SwFrm::InsertBefore(..), nur eben mit Geschwistern.
@@ -653,9 +653,9 @@ void SwFrm::InsertBehind( SwLayoutFrm *pParent, SwFrm *pBefore )
|* this wird pNext von pParent,
|* pSct wird pNext vom Letzten der this-Kette,
|* pBehind wird vom pParent an den pSct umgehaengt.
-|* Dies dient dazu: ein SectionFrm (this) wird nicht als
-|* Kind an einen anderen SectionFrm (pParent) gehaengt, sondern pParent
-|* wird in zwei Geschwister aufgespalten (pParent+pSct) und this dazwischen
+|* Dies dient dazu: ein SectionFrm (this) wird nicht als
+|* Kind an einen anderen SectionFrm (pParent) gehaengt, sondern pParent
+|* wird in zwei Geschwister aufgespalten (pParent+pSct) und this dazwischen
|* eingebaut.
|*
|*************************************************************************/
@@ -696,7 +696,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
pLast->pUpper = GetUpper();
}
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( pBehind->GetPrev() )
pBehind->GetPrev()->pNext = NULL;
else
@@ -735,7 +735,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
}
pLast->pNext = pBehind;
if( pBehind )
- { //Einfuegen vor pBehind.
+ { //Einfuegen vor pBehind.
if( 0 != (pPrev = pBehind->pPrev) )
pPrev->pNext = this;
else
@@ -743,7 +743,7 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
pBehind->pPrev = pLast;
}
else
- { //Einfuegen am Ende, oder des ersten Nodes im Unterbaum
+ { //Einfuegen am Ende, oder des ersten Nodes im Unterbaum
pPrev = pUpper->Lower();
if ( pPrev )
{
@@ -759,10 +759,10 @@ void SwFrm::InsertGroupBefore( SwFrm* pParent, SwFrm* pBehind, SwFrm* pSct )
/*************************************************************************
|*
-|* SwFrm::Remove()
+|* SwFrm::Remove()
|*
-|* Ersterstellung AK 01-Mar-1991
-|* Letzte Aenderung MA 07. Dec. 95
+|* Ersterstellung AK 01-Mar-1991
+|* Letzte Aenderung MA 07. Dec. 95
|*
|*************************************************************************/
void SwFrm::Remove()
@@ -773,7 +773,7 @@ void SwFrm::Remove()
// einer aus der Mitte wird removed
pPrev->pNext = pNext;
else
- { // der erste in einer Folge wird removed
+ { // der erste in einer Folge wird removed
OSL_ENSURE( pUpper->pLower == this, "Layout inkonsistent." );
pUpper->pLower = pNext;
}
@@ -786,10 +786,10 @@ void SwFrm::Remove()
}
/*************************************************************************
|*
-|* SwCntntFrm::Paste()
+|* SwCntntFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwCntntFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
@@ -894,10 +894,10 @@ void SwCntntFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
/*************************************************************************
|*
-|* SwCntntFrm::Cut()
+|* SwCntntFrm::Cut()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 09. Sep. 98
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 09. Sep. 98
|*
|*************************************************************************/
void SwCntntFrm::Cut()
@@ -943,7 +943,7 @@ void SwCntntFrm::Cut()
}
if( 0 != (pFrm = GetIndNext()) )
- { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
+ { //Der alte Nachfolger hat evtl. einen Abstand zum Vorgaenger
//berechnet, der ist jetzt, wo er der erste wird obsolet bzw. anders.
pFrm->_InvalidatePrt();
pFrm->_InvalidatePos();
@@ -975,7 +975,7 @@ void SwCntntFrm::Cut()
InvalidateNextPos();
//Einer muss die Retusche uebernehmen: Vorgaenger oder Upper
if ( 0 != (pFrm = GetPrev()) )
- { pFrm->SetRetouche();
+ { pFrm->SetRetouche();
pFrm->Prepare( PREP_WIDOWS_ORPHANS );
pFrm->_InvalidatePos();
pFrm->InvalidatePage( pPage );
@@ -984,7 +984,7 @@ void SwCntntFrm::Cut()
//er die Retouche uebernehmen.
//Ausserdem kann eine Leerseite entstanden sein.
else
- { SwRootFrm *pRoot = FindRootFrm();
+ { SwRootFrm *pRoot = FindRootFrm();
if ( pRoot )
{
pRoot->SetSuperfluous();
@@ -1087,10 +1087,10 @@ void SwCntntFrm::Cut()
/*************************************************************************
|*
-|* SwLayoutFrm::Paste()
+|* SwLayoutFrm::Paste()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
void SwLayoutFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
@@ -1192,10 +1192,10 @@ void SwLayoutFrm::Paste( SwFrm* pParent, SwFrm* pSibling)
/*************************************************************************
|*
-|* SwLayoutFrm::Cut()
+|* SwLayoutFrm::Cut()
|*
-|* Ersterstellung MA 23. Feb. 94
-|* Letzte Aenderung MA 23. Feb. 94
+|* Ersterstellung MA 23. Feb. 94
+|* Letzte Aenderung MA 23. Feb. 94
|*
|*************************************************************************/
void SwLayoutFrm::Cut()
@@ -1257,10 +1257,10 @@ void SwLayoutFrm::Cut()
/*************************************************************************
|*
-|* SwFrm::Grow()
+|* SwFrm::Grow()
|*
-|* Ersterstellung AK 19-Feb-1991
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung AK 19-Feb-1991
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwFrm::Grow( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1309,10 +1309,10 @@ SwTwips SwFrm::Grow( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFrm::Shrink()
+|* SwFrm::Shrink()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwFrm::Shrink( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1358,32 +1358,32 @@ SwTwips SwFrm::Shrink( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwFrm::AdjustNeighbourhood()
-|*
-|* Beschreibung Wenn sich die Groesse eines Frm's direkt unterhalb
-|* eines Fussnotenbosses (Seite/Spalte) veraendert hat, so muss dieser
-|* "Normalisiert" werden.
-|* Es gibt dort immer einen Frame, der den "maximal moeglichen" Raum
-|* einnimmt (der Frame, der den Body.Text enhaelt) und keinen oder
-|* mehrere Frames die den Platz einnehmen den sie halt brauchen
-|* (Kopf-/Fussbereich, Fussnoten).
-|* Hat sich einer der Frames veraendert, so muss der Body-Text-Frame
-|* entsprechen wachsen oder schrumpfen; unabhaegig davon, dass er fix ist.
-|* !! Ist es moeglich dies allgemeiner zu loesen, also nicht auf die
-|* Seite beschraenkt und nicht auf einen Speziellen Frame, der den
-|* maximalen Platz einnimmt (gesteuert ueber Attribut FrmSize)? Probleme:
-|* Was ist wenn mehrere Frames nebeneinander stehen, die den maximalen
-|* Platz einnehmen?
-|* Wie wird der Maximale Platz berechnet?
-|* Wie klein duerfen diese Frames werden?
-|*
-|* Es wird auf jeden Fall nur so viel Platz genehmigt, dass ein
-|* Minimalwert fuer die Hoehe des Bodys nicht unterschritten wird.
-|*
-|* Parameter: nDiff ist der Betrag, um den Platz geschaffen werden muss
-|*
-|* Ersterstellung MA 07. May. 92
-|* Letzte Aenderung AMA 02. Nov. 98
+|* SwFrm::AdjustNeighbourhood()
+|*
+|* Beschreibung Wenn sich die Groesse eines Frm's direkt unterhalb
+|* eines Fussnotenbosses (Seite/Spalte) veraendert hat, so muss dieser
+|* "Normalisiert" werden.
+|* Es gibt dort immer einen Frame, der den "maximal moeglichen" Raum
+|* einnimmt (der Frame, der den Body.Text enhaelt) und keinen oder
+|* mehrere Frames die den Platz einnehmen den sie halt brauchen
+|* (Kopf-/Fussbereich, Fussnoten).
+|* Hat sich einer der Frames veraendert, so muss der Body-Text-Frame
+|* entsprechen wachsen oder schrumpfen; unabhaegig davon, dass er fix ist.
+|* !! Ist es moeglich dies allgemeiner zu loesen, also nicht auf die
+|* Seite beschraenkt und nicht auf einen Speziellen Frame, der den
+|* maximalen Platz einnimmt (gesteuert ueber Attribut FrmSize)? Probleme:
+|* Was ist wenn mehrere Frames nebeneinander stehen, die den maximalen
+|* Platz einnehmen?
+|* Wie wird der Maximale Platz berechnet?
+|* Wie klein duerfen diese Frames werden?
+|*
+|* Es wird auf jeden Fall nur so viel Platz genehmigt, dass ein
+|* Minimalwert fuer die Hoehe des Bodys nicht unterschritten wird.
+|*
+|* Parameter: nDiff ist der Betrag, um den Platz geschaffen werden muss
+|*
+|* Ersterstellung MA 07. May. 92
+|* Letzte Aenderung AMA 02. Nov. 98
|*
|*************************************************************************/
SwTwips SwFrm::AdjustNeighbourhood( SwTwips nDiff, BOOL bTst )
@@ -1684,11 +1684,11 @@ SwTwips SwFrm::AdjustNeighbourhood( SwTwips nDiff, BOOL bTst )
/*************************************************************************
|*
-|* SwFrm::ImplInvalidateSize(), ImplInvalidatePrt(), ImplInvalidatePos(),
-|* ImplInvalidateLineNum()
+|* SwFrm::ImplInvalidateSize(), ImplInvalidatePrt(), ImplInvalidatePos(),
+|* ImplInvalidateLineNum()
|*
-|* Ersterstellung MA 15. Oct. 92
-|* Letzte Aenderung MA 24. Mar. 94
+|* Ersterstellung MA 15. Oct. 92
+|* Letzte Aenderung MA 24. Mar. 94
|*
|*************************************************************************/
/** method to perform additional actions on an invalidation
@@ -1778,10 +1778,10 @@ void SwFrm::ImplInvalidateLineNum()
/*************************************************************************
|*
-|* SwFrm::ReinitializeFrmSizeAttrFlags
+|* SwFrm::ReinitializeFrmSizeAttrFlags
|*
-|* Ersterstellung MA 15. Oct. 96
-|* Letzte Aenderung MA 15. Oct. 96
+|* Ersterstellung MA 15. Oct. 96
+|* Letzte Aenderung MA 15. Oct. 96
|*
|*************************************************************************/
void SwFrm::ReinitializeFrmSizeAttrFlags()
@@ -1795,7 +1795,7 @@ void SwFrm::ReinitializeFrmSizeAttrFlags()
{
SwFrm *pFrm = ((SwLayoutFrm*)this)->Lower();
while ( pFrm )
- { pFrm->_InvalidateSize();
+ { pFrm->_InvalidateSize();
pFrm->_InvalidatePrt();
pFrm = pFrm->GetNext();
}
@@ -1875,10 +1875,10 @@ void SwFrm::ValidateThisAndAllLowers( const USHORT nStage )
/*************************************************************************
|*
-|* SwCntntFrm::GrowFrm()
+|* SwCntntFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
SwTwips SwCntntFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -1987,10 +1987,10 @@ SwTwips SwCntntFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwCntntFrm::ShrinkFrm()
+|* SwCntntFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 05. May. 94
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 05. May. 94
|*
|*************************************************************************/
SwTwips SwCntntFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2109,11 +2109,11 @@ SwTwips SwCntntFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwCntntFrm::Modify()
+|* SwCntntFrm::Modify()
|*
-|* Beschreibung
-|* Ersterstellung AK 05-Mar-1991
-|* Letzte Aenderung MA 13. Oct. 95
+|* Beschreibung
+|* Ersterstellung AK 05-Mar-1991
+|* Letzte Aenderung MA 13. Oct. 95
|*
|*************************************************************************/
void SwCntntFrm::Modify( SfxPoolItem * pOld, SfxPoolItem * pNew )
@@ -2201,7 +2201,7 @@ void SwCntntFrm::_UpdateAttr( SfxPoolItem* pOld, SfxPoolItem* pNew,
rInvFlags = 0xFF;
/* kein break hier */
- case RES_PAGEDESC: //Attributaenderung (an/aus)
+ case RES_PAGEDESC: //Attributaenderung (an/aus)
if ( IsInDocBody() && !IsInTab() )
{
rInvFlags |= 0x02;
@@ -2342,10 +2342,10 @@ void SwCntntFrm::_UpdateAttr( SfxPoolItem* pOld, SfxPoolItem* pNew,
/*************************************************************************
|*
-|* SwLayoutFrm::SwLayoutFrm()
+|* SwLayoutFrm::SwLayoutFrm()
|*
-|* Ersterstellung AK 14-Feb-1991
-|* Letzte Aenderung MA 12. May. 95
+|* Ersterstellung AK 14-Feb-1991
+|* Letzte Aenderung MA 12. May. 95
|*
|*************************************************************************/
SwLayoutFrm::SwLayoutFrm( SwFrmFmt* pFmt ):
@@ -2404,10 +2404,10 @@ SwTwips SwLayoutFrm::InnerHeight() const
/*************************************************************************
|*
-|* SwLayoutFrm::GrowFrm()
+|* SwLayoutFrm::GrowFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 23. Sep. 96
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 23. Sep. 96
|*
|*************************************************************************/
SwTwips SwLayoutFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2570,10 +2570,10 @@ SwTwips SwLayoutFrm::GrowFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
/*************************************************************************
|*
-|* SwLayoutFrm::ShrinkFrm()
+|* SwLayoutFrm::ShrinkFrm()
|*
-|* Ersterstellung MA 30. Jul. 92
-|* Letzte Aenderung MA 25. Mar. 99
+|* Ersterstellung MA 30. Jul. 92
+|* Letzte Aenderung MA 25. Mar. 99
|*
|*************************************************************************/
SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
@@ -2631,7 +2631,7 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
if ( IsPageBodyFrm() && !bBrowse )
nReal = nDist;
else
- { nReal = AdjustNeighbourhood( -nReal, bTst );
+ { nReal = AdjustNeighbourhood( -nReal, bTst );
nReal *= -1;
if ( !bTst && IsBodyFrm() && nReal < nRealDist )
{
@@ -2695,13 +2695,13 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
((SwTabFrm*)this)->SetComplete();
}
else
- { if ( IsRetoucheFrm() )
+ { if ( IsRetoucheFrm() )
SetRetouche();
if ( IsTabFrm() )
{
if( IsTabFrm() )
((SwTabFrm*)this)->SetComplete();
- if ( Lower() ) //Kann auch im Join stehen und leer sein!
+ if ( Lower() ) //Kann auch im Join stehen und leer sein!
InvalidateNextPos();
}
}
@@ -2743,15 +2743,15 @@ SwTwips SwLayoutFrm::ShrinkFrm( SwTwips nDist, BOOL bTst, BOOL bInfo )
}
/*************************************************************************
|*
-|* SwLayoutFrm::ChgLowersProp()
+|* SwLayoutFrm::ChgLowersProp()
|*
-|* Beschreibung Aendert die Grosse der direkt untergeordneten Frm's
-|* die eine Fixe Groesse haben, proportional zur Groessenaenderung der
-|* PrtArea des Frm's.
-|* Die Variablen Frm's werden auch proportional angepasst; sie werden
-|* sich schon wieder zurechtwachsen/-schrumpfen.
-|* Ersterstellung MA 11.03.92
-|* Letzte Aenderung AMA 2. Nov. 98
+|* Beschreibung Aendert die Grosse der direkt untergeordneten Frm's
+|* die eine Fixe Groesse haben, proportional zur Groessenaenderung der
+|* PrtArea des Frm's.
+|* Die Variablen Frm's werden auch proportional angepasst; sie werden
+|* sich schon wieder zurechtwachsen/-schrumpfen.
+|* Ersterstellung MA 11.03.92
+|* Letzte Aenderung AMA 2. Nov. 98
|*
|*************************************************************************/
void SwLayoutFrm::ChgLowersProp( const Size& rOldSize )
@@ -3149,12 +3149,12 @@ void SwLayoutFrm::ChgLowersProp( const Size& rOldSize )
/*************************************************************************
|*
-|* SwLayoutFrm::Format()
+|* SwLayoutFrm::Format()
|*
-|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
-|* Die Fixsize wird hier nicht eingestellt.
-|* Ersterstellung MA 28. Jul. 92
-|* Letzte Aenderung MA 21. Mar. 95
+|* Beschreibung: "Formatiert" den Frame; Frm und PrtArea.
+|* Die Fixsize wird hier nicht eingestellt.
+|* Ersterstellung MA 28. Jul. 92
+|* Letzte Aenderung MA 21. Mar. 95
|*
|*************************************************************************/
void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
@@ -3186,7 +3186,7 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize();
SwTwips nMinHeight = rSz.GetHeightSizeType() == ATT_MIN_SIZE ? rSz.GetHeight() : 0;
do
- { bValidSize = TRUE;
+ { bValidSize = TRUE;
//Die Groesse in der VarSize wird durch den Inhalt plus den
//Raendern bestimmt.
@@ -3230,7 +3230,7 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
else if ( GetType() & 0x0018 )
{
do
- { if ( Frm().Height() != pAttrs->GetSize().Height() )
+ { if ( Frm().Height() != pAttrs->GetSize().Height() )
ChgSize( Size( Frm().Width(), pAttrs->GetSize().Height()));
bValidSize = TRUE;
MakePos();
@@ -3243,10 +3243,10 @@ void SwLayoutFrm::Format( const SwBorderAttrs *pAttrs )
/*************************************************************************
|*
-|* SwLayoutFrm::InvalidatePercentLowers()
+|* SwLayoutFrm::InvalidatePercentLowers()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 13. Jun. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 13. Jun. 96
|*
|*************************************************************************/
static void InvaPercentFlys( SwFrm *pFrm, SwTwips nDiff )
@@ -3316,10 +3316,10 @@ void SwLayoutFrm::InvaPercentLowers( SwTwips nDiff )
/*************************************************************************
|*
-|* SwLayoutFrm::CalcRel()
+|* SwLayoutFrm::CalcRel()
|*
-|* Ersterstellung MA 13. Jun. 96
-|* Letzte Aenderung MA 10. Oct. 96
+|* Ersterstellung MA 13. Jun. 96
+|* Letzte Aenderung MA 10. Oct. 96
|*
|*************************************************************************/
long SwLayoutFrm::CalcRel( const SwFmtFrmSize &rSz, BOOL ) const
@@ -3419,15 +3419,15 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
//letzten Spalte ausgerichtet.
//1. Inhalt formatieren.
//2. Hoehe der letzten Spalte ermitteln, wenn diese zu
- // zu gross ist muss der Fly wachsen.
- // Der Betrag um den der Fly waechst ist aber nicht etwa
- // der Betrag des Ueberhangs, denn wir muessen davon
- // ausgehen, dass etwas Masse zurueckfliesst und so
- // zusaetzlicher Platz geschaffen wird.
- // Im Ersten Ansatz ist der Betrag um den gewachsen wird
- // der Ueberhang geteilt durch die Spaltenanzahl oder
- // der Ueberhang selbst wenn er kleiner als die Spalten-
- // anzahl ist.
+ // zu gross ist muss der Fly wachsen.
+ // Der Betrag um den der Fly waechst ist aber nicht etwa
+ // der Betrag des Ueberhangs, denn wir muessen davon
+ // ausgehen, dass etwas Masse zurueckfliesst und so
+ // zusaetzlicher Platz geschaffen wird.
+ // Im Ersten Ansatz ist der Betrag um den gewachsen wird
+ // der Ueberhang geteilt durch die Spaltenanzahl oder
+ // der Ueberhang selbst wenn er kleiner als die Spalten-
+ // anzahl ist.
//3. Weiter mit 1. bis zur Stabilitaet.
const SwFmtCol &rCol = rAttrs.GetAttrSet().GetCol();
@@ -3741,7 +3741,7 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
//Es muss geeignet invalidiert werden, damit
//sich die Frms huebsch ausbalancieren
//- Der jeweils erste ab der zweiten Spalte bekommt
- // ein InvalidatePos();
+ // ein InvalidatePos();
pCol = (SwLayoutFrm*)Lower()->GetNext();
while ( pCol )
{
@@ -3784,10 +3784,10 @@ void SwLayoutFrm::FormatWidthCols( const SwBorderAttrs &rAttrs,
/*************************************************************************
|*
-|* SwRootFrm::InvalidateAllCntnt()
+|* SwRootFrm::InvalidateAllCntnt()
|*
-|* Ersterstellung MA 13. Feb. 98
-|* Letzte Aenderung MA 12. Aug. 00
+|* Ersterstellung MA 13. Feb. 98
+|* Letzte Aenderung MA 12. Aug. 00
|*
|*************************************************************************/
diff --git a/sw/source/core/objectpositioning/anchoredobjectposition.cxx b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
index f3df1223f718..78b9ba86e362 100644
--- a/sw/source/core/objectpositioning/anchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/anchoredobjectposition.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx
index a5facaf474b9..be6723d5bafa 100644
--- a/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/ascharanchoredobjectposition.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/objectpositioning/environmentofanchoredobject.cxx b/sw/source/core/objectpositioning/environmentofanchoredobject.cxx
index a6585414f92b..e9ad9ce59415 100644
--- a/sw/source/core/objectpositioning/environmentofanchoredobject.cxx
+++ b/sw/source/core/objectpositioning/environmentofanchoredobject.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
index 63169790f317..b1a96bf97078 100644
--- a/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tocntntanchoredobjectposition.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
index 69f457f3d44d..c98e773b2f21 100644
--- a/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
+++ b/sw/source/core/objectpositioning/tolayoutanchoredobjectposition.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 8cc24529919a..c303f3487bfb 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -86,7 +86,7 @@ public:
virtual void Commit();
void Load();
- void SetInUnload( BOOL bFlag ) { bInUnload = bFlag; }
+ void SetInUnload( BOOL bFlag ) { bInUnload = bFlag; }
using SvPtrarr::Count;
void InsertObj( SwOLEObj& rObj );
@@ -163,17 +163,17 @@ void SAL_CALL SwOLEListener_Impl::disposing( const lang::EventObject& ) throw (u
class SwEmbedObjectLink : public sfx2::SvBaseLink
{
- SwOLENode* pOleNode;
+ SwOLENode* pOleNode;
public:
SwEmbedObjectLink(SwOLENode* pNode);
- virtual ~SwEmbedObjectLink();
+ virtual ~SwEmbedObjectLink();
- virtual void Closed();
- virtual void DataChanged( const String& rMimeType,
+ virtual void Closed();
+ virtual void DataChanged( const String& rMimeType,
const uno::Any & rValue );
- sal_Bool Connect() { return GetRealObject() != NULL; }
+ sal_Bool Connect() { return GetRealObject() != NULL; }
};
// -----------------------------------------------------------------------------
@@ -510,7 +510,7 @@ BOOL SwOLENode::IsOLEObjectDeleted() const
if( aOLEObj.xOLERef.is() )
{
SfxObjectShell* p = GetDoc()->GetPersist();
- if( p ) // muss da sein
+ if( p ) // muss da sein
{
return !p->GetEmbeddedObjectContainer().HasEmbeddedObject( aOLEObj.aName );
//SvInfoObjectRef aRef( p->Find( aOLEObj.aName ) );
diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx
index cdbed13e5286..b5e309331880 100644
--- a/sw/source/core/para/paratr.cxx
+++ b/sw/source/core/para/paratr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ TYPEINIT1_AUTOFACTORY( SwNumRuleItem, SfxStringItem);
TYPEINIT1_AUTOFACTORY( SwParaConnectBorderItem, SfxBoolItem);
/*************************************************************************
-|* Beschreibung Methoden von SwFmtDrop
-|* Ersterstellung MS 19.02.91
-|* Letzte Aenderung JP 08.08.94
+|* Beschreibung Methoden von SwFmtDrop
+|* Ersterstellung MS 19.02.91
+|* Letzte Aenderung JP 08.08.94
*************************************************************************/
@@ -128,10 +128,10 @@ void SwFmtDrop::Modify( SfxPoolItem *, SfxPoolItem * )
// die Abpruefung nicht hinauskommt.
SwClientIter aIter( *pDefinedIn );
SwClient * pLast = aIter.GoStart();
- if( pLast ) // konnte zum Anfang gesprungen werden ??
+ if( pLast ) // konnte zum Anfang gesprungen werden ??
do {
pLast->Modify( this, this );
- if( !pDefinedIn->GetDepends() ) // Baum schon Weg ??
+ if( !pDefinedIn->GetDepends() ) // Baum schon Weg ??
break;
} while( 0 != ( pLast = aIter++ ));
}
@@ -169,9 +169,9 @@ bool SwFmtDrop::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
case MID_DROPCAP_FORMAT:
{
style::DropCapFormat aDrop;
- aDrop.Lines = nLines ;
- aDrop.Count = nChars ;
- aDrop.Distance = TWIP_TO_MM100_UNSIGNED(nDistance);
+ aDrop.Lines = nLines ;
+ aDrop.Count = nChars ;
+ aDrop.Distance = TWIP_TO_MM100_UNSIGNED(nDistance);
rVal.setValue(&aDrop, ::getCppuType((const style::DropCapFormat*)0));
}
break;
@@ -225,9 +225,9 @@ bool SwFmtDrop::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
if(rVal.getValueType() == ::getCppuType((const style::DropCapFormat*)0))
{
const style::DropCapFormat* pDrop = (const style::DropCapFormat*)rVal.getValue();
- nLines = pDrop->Lines;
- nChars = pDrop->Count;
- nDistance = MM100_TO_TWIP(pDrop->Distance);
+ nLines = pDrop->Lines;
+ nChars = pDrop->Count;
+ nDistance = MM100_TO_TWIP(pDrop->Distance);
}
else {
//exception( wrong_type)
diff --git a/sw/source/core/sw3io/sw3convert.cxx b/sw/source/core/sw3io/sw3convert.cxx
index 8702e58a8ab5..4a2bdde4512a 100644
--- a/sw/source/core/sw3io/sw3convert.cxx
+++ b/sw/source/core/sw3io/sw3convert.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,124 +74,124 @@ using namespace nsSwDocInfoSubType;
struct OldFormats
{
- NfIndexTableOffset eFormatIdx;
- USHORT nOldFormat;
+ NfIndexTableOffset eFormatIdx;
+ USHORT nOldFormat;
};
static OldFormats aOldDateFmt40[] =
{
// Datumsfelder:
- { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum
- { NF_DATE_SYSTEM_LONG, DFF_LSYS }, // Langes Systemdatum
- { NF_DATE_SYS_DDMMYY, DFF_DMY }, // 06.10.64
- { NF_DATE_SYS_DDMMYYYY, DFF_DMYY }, // 06.10.1964
- { NF_DATE_SYS_DMMMYY, DFF_DMMY }, // 06. Okt 64
- { NF_DATE_SYS_DMMMYYYY, DFF_DMMYY }, // 06. Okt 1964
- { NF_DATE_DIN_DMMMMYYYY, DFF_DMMMYY }, // 06. Oktober 1964
- { NF_DATE_DIN_DMMMMYYYY, DFF_DMMMY }, // 06. Oktober 64
- { NF_DATE_SYS_NNDMMMYY, DFF_DDMMY }, // Di, 06. Okt 64
- { NF_DATE_SYS_NNDMMMMYYYY, DFF_DDMMMY }, // Di, 06. Oktober 64
- { NF_DATE_SYS_NNDMMMMYYYY, DFF_DDMMMYY }, // Di, 06. Oktober 1964
- { NF_DATE_SYS_NNNNDMMMMYYYY, DFF_DDDMMMYY }, // Dienstag, 06. Oktober 1964
- { NF_DATE_SYS_NNNNDMMMMYYYY, DFF_DDDMMMY }, // Dienstag, 06. Oktober 64
- { NF_DATE_SYS_MMYY, DFF_MY }, // 10.64
- { NF_DATE_DIN_MMDD, DFF_MD }, // 10-06
- { NF_DATE_DIN_YYMMDD, DFF_YMD }, // 64-10-06
- { NF_DATE_DIN_YYYYMMDD, DFF_YYMD }, // 1964-10-06
-
- { NF_NUMERIC_START, 0 } // Tabellenende
+ { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum
+ { NF_DATE_SYSTEM_LONG, DFF_LSYS }, // Langes Systemdatum
+ { NF_DATE_SYS_DDMMYY, DFF_DMY }, // 06.10.64
+ { NF_DATE_SYS_DDMMYYYY, DFF_DMYY }, // 06.10.1964
+ { NF_DATE_SYS_DMMMYY, DFF_DMMY }, // 06. Okt 64
+ { NF_DATE_SYS_DMMMYYYY, DFF_DMMYY }, // 06. Okt 1964
+ { NF_DATE_DIN_DMMMMYYYY, DFF_DMMMYY }, // 06. Oktober 1964
+ { NF_DATE_DIN_DMMMMYYYY, DFF_DMMMY }, // 06. Oktober 64
+ { NF_DATE_SYS_NNDMMMYY, DFF_DDMMY }, // Di, 06. Okt 64
+ { NF_DATE_SYS_NNDMMMMYYYY, DFF_DDMMMY }, // Di, 06. Oktober 64
+ { NF_DATE_SYS_NNDMMMMYYYY, DFF_DDMMMYY }, // Di, 06. Oktober 1964
+ { NF_DATE_SYS_NNNNDMMMMYYYY, DFF_DDDMMMYY }, // Dienstag, 06. Oktober 1964
+ { NF_DATE_SYS_NNNNDMMMMYYYY, DFF_DDDMMMY }, // Dienstag, 06. Oktober 64
+ { NF_DATE_SYS_MMYY, DFF_MY }, // 10.64
+ { NF_DATE_DIN_MMDD, DFF_MD }, // 10-06
+ { NF_DATE_DIN_YYMMDD, DFF_YMD }, // 64-10-06
+ { NF_DATE_DIN_YYYYMMDD, DFF_YYMD }, // 1964-10-06
+
+ { NF_NUMERIC_START, 0 } // Tabellenende
};
static OldFormats aOldDateFmt30[] =
{
// Datumsfelder:
- { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum
- { NF_DATE_SYSTEM_LONG, DFF_LSYS }, // Langes Systemdatum
- { NF_DATE_SYS_DDMMYY, DFF_DMY }, // 06.10.64
- { NF_DATE_SYS_DDMMYYYY, DFF_DMYY }, // 06.10.1964
- { NF_DATE_SYS_DMMMYY, DFF_DMMY }, // 06. Okt 64
- { NF_DATE_SYS_DMMMYYYY, 4 /*DFF_DMMYY*/ }, // 06. Okt 1964
- { NF_DATE_DIN_DMMMMYYYY, 5 /*DFF_DMMMYY*/ }, // 06. Oktober 1964
- { NF_DATE_DIN_DMMMMYYYY, 5 /*DFF_DMMMY*/ }, // 06. Oktober 64
- { NF_DATE_SYS_NNDMMMMYYYY, 6 /*DFF_DDMMMYY*/ }, // Di, 06. Oktober 1964
- { NF_DATE_SYS_NNDMMMYY, 6 /*DFF_DDMMY*/ }, // Di, 06. Okt 64
- { NF_DATE_SYS_NNDMMMMYYYY, 6 /*DFF_DDMMMY*/ }, // Di, 06. Oktober 64
- { NF_DATE_SYS_NNNNDMMMMYYYY, 7 /*DFF_DDDMMMYY*/ }, // Dienstag, 06. Oktober 1964
- { NF_DATE_SYS_NNNNDMMMMYYYY, 7 /*DFF_DDDMMMY*/ }, // Dienstag, 06. Oktober 64
- { NF_DATE_SYS_MMYY, 2 /*DFF_MY*/ }, // 10.64
- { NF_DATE_DIN_MMDD, DFF_MD }, // 10-06
- { NF_DATE_DIN_YYMMDD, DFF_YMD }, // 64-10-06
- { NF_DATE_DIN_YYYYMMDD, DFF_YYMD }, // 1964-10-06
-
- { NF_NUMERIC_START, 0 } // Tabellenende
+ { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum
+ { NF_DATE_SYSTEM_LONG, DFF_LSYS }, // Langes Systemdatum
+ { NF_DATE_SYS_DDMMYY, DFF_DMY }, // 06.10.64
+ { NF_DATE_SYS_DDMMYYYY, DFF_DMYY }, // 06.10.1964
+ { NF_DATE_SYS_DMMMYY, DFF_DMMY }, // 06. Okt 64
+ { NF_DATE_SYS_DMMMYYYY, 4 /*DFF_DMMYY*/ }, // 06. Okt 1964
+ { NF_DATE_DIN_DMMMMYYYY, 5 /*DFF_DMMMYY*/ }, // 06. Oktober 1964
+ { NF_DATE_DIN_DMMMMYYYY, 5 /*DFF_DMMMY*/ }, // 06. Oktober 64
+ { NF_DATE_SYS_NNDMMMMYYYY, 6 /*DFF_DDMMMYY*/ }, // Di, 06. Oktober 1964
+ { NF_DATE_SYS_NNDMMMYY, 6 /*DFF_DDMMY*/ }, // Di, 06. Okt 64
+ { NF_DATE_SYS_NNDMMMMYYYY, 6 /*DFF_DDMMMY*/ }, // Di, 06. Oktober 64
+ { NF_DATE_SYS_NNNNDMMMMYYYY, 7 /*DFF_DDDMMMYY*/ }, // Dienstag, 06. Oktober 1964
+ { NF_DATE_SYS_NNNNDMMMMYYYY, 7 /*DFF_DDDMMMY*/ }, // Dienstag, 06. Oktober 64
+ { NF_DATE_SYS_MMYY, 2 /*DFF_MY*/ }, // 10.64
+ { NF_DATE_DIN_MMDD, DFF_MD }, // 10-06
+ { NF_DATE_DIN_YYMMDD, DFF_YMD }, // 64-10-06
+ { NF_DATE_DIN_YYYYMMDD, DFF_YYMD }, // 1964-10-06
+
+ { NF_NUMERIC_START, 0 } // Tabellenende
};
static OldFormats aOldTimeFmt[] =
{
// Zeitfelder:
- { NF_TIME_HHMMSS, TF_SYSTEM }, // Systemzeit
- { NF_TIME_HHMM, TF_SSMM_24 }, // 23:25
- { NF_TIME_HHMMAMPM, TF_SSMM_12 }, // 11:25 PM
+ { NF_TIME_HHMMSS, TF_SYSTEM }, // Systemzeit
+ { NF_TIME_HHMM, TF_SSMM_24 }, // 23:25
+ { NF_TIME_HHMMAMPM, TF_SSMM_12 }, // 11:25 PM
- { NF_NUMERIC_START, 0 } // Tabellenende
+ { NF_NUMERIC_START, 0 } // Tabellenende
};
static OldFormats aOldGetSetExpFmt40[] =
{
- { NF_TEXT, VVF_CMD }, // Kommando anzeigen
- { NF_TEXT, VVF_INVISIBLE }, // unsichtbar
- { NF_PERCENT_INT, VVF_XXP }, // 1234%
- { NF_PERCENT_DEC2, VVF_XX_XXP }, // 1.234,56%
- { NF_TEXT, VVF_CLEAR }, // ???
+ { NF_TEXT, VVF_CMD }, // Kommando anzeigen
+ { NF_TEXT, VVF_INVISIBLE }, // unsichtbar
+ { NF_PERCENT_INT, VVF_XXP }, // 1234%
+ { NF_PERCENT_DEC2, VVF_XX_XXP }, // 1.234,56%
+ { NF_TEXT, VVF_CLEAR }, // ???
- { NF_NUMBER_SYSTEM, VVF_SYS }, // Zahlenformat aus der
+ { NF_NUMBER_SYSTEM, VVF_SYS }, // Zahlenformat aus der
// Systemeinstellung
- { NF_NUMBER_INT, VVF_X }, // 1234
- { NF_NUMBER_DEC2, VVF_X_X }, // 1234,5
- { NF_NUMBER_DEC2, VVF_X_XX }, // 1245,56
- { NF_NUMBER_1000DEC2, VVF_XX_XX }, // 1.234,56
- { NF_NUMBER_1000DEC2, VVF_XX_X }, // 1.234,5
- { NF_NUMBER_1000DEC2, VVF_XX_XXX }, // 1.234,567
- { NF_CURRENCY_1000DEC2, VVF_SYS_CUR }, // W?hrungsformat aus der
+ { NF_NUMBER_INT, VVF_X }, // 1234
+ { NF_NUMBER_DEC2, VVF_X_X }, // 1234,5
+ { NF_NUMBER_DEC2, VVF_X_XX }, // 1245,56
+ { NF_NUMBER_1000DEC2, VVF_XX_XX }, // 1.234,56
+ { NF_NUMBER_1000DEC2, VVF_XX_X }, // 1.234,5
+ { NF_NUMBER_1000DEC2, VVF_XX_XXX }, // 1.234,567
+ { NF_CURRENCY_1000DEC2, VVF_SYS_CUR }, // W?hrungsformat aus der
// Systemeinstellung
// (1.234,00 DM)
- { NF_CURRENCY_1000INT, VVF_X_CUR }, // 1234 DM
- { NF_CURRENCY_1000DEC2, VVF_XX_XX_CUR }, // 1234,56 DM 1234,00 DM
- { NF_CURRENCY_1000DEC2_DASHED, VVF_XX_X0_CUR }, // 1234,56 DM 1234,-- DM
- { NF_CURRENCY_1000INT, VVF_CUR_X }, // DM 1234
- { NF_CURRENCY_1000DEC2, VVF_CUR_XX_XX }, // DM 1234,56 DM 1234,00
- { NF_CURRENCY_1000DEC2_DASHED, VVF_CUR_XX_X0 }, // DM 1234,56 DM 1234,--
-
- { NF_NUMERIC_START, 0 } // Tabellenende
+ { NF_CURRENCY_1000INT, VVF_X_CUR }, // 1234 DM
+ { NF_CURRENCY_1000DEC2, VVF_XX_XX_CUR }, // 1234,56 DM 1234,00 DM
+ { NF_CURRENCY_1000DEC2_DASHED, VVF_XX_X0_CUR }, // 1234,56 DM 1234,-- DM
+ { NF_CURRENCY_1000INT, VVF_CUR_X }, // DM 1234
+ { NF_CURRENCY_1000DEC2, VVF_CUR_XX_XX }, // DM 1234,56 DM 1234,00
+ { NF_CURRENCY_1000DEC2_DASHED, VVF_CUR_XX_X0 }, // DM 1234,56 DM 1234,--
+
+ { NF_NUMERIC_START, 0 } // Tabellenende
};
static OldFormats aOldGetSetExpFmt30[] =
{
- { NF_TEXT, VVF_CMD }, // Kommando anzeigen
- { NF_TEXT, VVF_INVISIBLE }, // unsichtbar
- { NF_PERCENT_INT, VVF_XXP }, // 1234%
- { NF_PERCENT_DEC2, VVF_XX_XXP }, // 1.234,56%
- { NF_TEXT, VVF_CLEAR }, // ???
+ { NF_TEXT, VVF_CMD }, // Kommando anzeigen
+ { NF_TEXT, VVF_INVISIBLE }, // unsichtbar
+ { NF_PERCENT_INT, VVF_XXP }, // 1234%
+ { NF_PERCENT_DEC2, VVF_XX_XXP }, // 1.234,56%
+ { NF_TEXT, VVF_CLEAR }, // ???
- { NF_NUMBER_SYSTEM, 0x0020 }, // Zahlenformat aus der
+ { NF_NUMBER_SYSTEM, 0x0020 }, // Zahlenformat aus der
// Systemeinstellung
- { NF_NUMBER_INT, 0x0080 }, // 1234
- { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,56
- { NF_NUMBER_DEC2, 0x0100 }, // 1234,5
- { NF_NUMBER_DEC2, 0x0100 }, // 1245,56
- { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,5
- { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,567
- { NF_CURRENCY_1000DEC2, 0x0200 }, // W?hrungsformat aus der
+ { NF_NUMBER_INT, 0x0080 }, // 1234
+ { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,56
+ { NF_NUMBER_DEC2, 0x0100 }, // 1234,5
+ { NF_NUMBER_DEC2, 0x0100 }, // 1245,56
+ { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,5
+ { NF_NUMBER_1000DEC2, 0x0100 }, // 1.234,567
+ { NF_CURRENCY_1000DEC2, 0x0200 }, // W?hrungsformat aus der
// Systemeinstellung
// (1.234,00 DM)
- { NF_CURRENCY_1000INT, 0x1000 }, // 1234 DM
- { NF_CURRENCY_1000DEC2, 0x1000 }, // 1234,56 DM 1234,00 DM
- { NF_CURRENCY_1000DEC2_DASHED, 0x1000 }, // 1234,56 DM 1234,-- DM
- { NF_CURRENCY_1000INT, 0x1000 }, // DM 1234
- { NF_CURRENCY_1000DEC2, 0x1000 }, // DM 1234,56 DM 1234,00
- { NF_CURRENCY_1000DEC2_DASHED, 0x1000 }, // DM 1234,56 DM 1234,--
-
- { NF_NUMERIC_START, 0 } // Tabellenende
+ { NF_CURRENCY_1000INT, 0x1000 }, // 1234 DM
+ { NF_CURRENCY_1000DEC2, 0x1000 }, // 1234,56 DM 1234,00 DM
+ { NF_CURRENCY_1000DEC2_DASHED, 0x1000 }, // 1234,56 DM 1234,-- DM
+ { NF_CURRENCY_1000INT, 0x1000 }, // DM 1234
+ { NF_CURRENCY_1000DEC2, 0x1000 }, // DM 1234,56 DM 1234,00
+ { NF_CURRENCY_1000DEC2_DASHED, 0x1000 }, // DM 1234,56 DM 1234,--
+
+ { NF_NUMERIC_START, 0 } // Tabellenende
};
SW_DLLPUBLIC void sw3io_ConvertFromOldField( SwDoc& rDoc, USHORT& rWhich,
@@ -274,10 +274,10 @@ SW_DLLPUBLIC void sw3io_ConvertFromOldField( SwDoc& rDoc, USHORT& rWhich,
{
switch( rFmt )
{
- case RF_AUTHOR: rSubType = DI_SUB_AUTHOR; break;
- case RF_TIME: rSubType = DI_SUB_TIME; break;
- case RF_DATE: rSubType = DI_SUB_DATE; break;
- case RF_ALL: rSubType = DI_SUB_DATE; break;
+ case RF_AUTHOR: rSubType = DI_SUB_AUTHOR; break;
+ case RF_TIME: rSubType = DI_SUB_TIME; break;
+ case RF_DATE: rSubType = DI_SUB_DATE; break;
+ case RF_ALL: rSubType = DI_SUB_DATE; break;
}
rFmt = 0;
}
diff --git a/sw/source/core/sw3io/swacorr.cxx b/sw/source/core/sw3io/swacorr.cxx
index b5377cb5345f..30dc2fc5ad5e 100644
--- a/sw/source/core/sw3io/swacorr.cxx
+++ b/sw/source/core/sw3io/swacorr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -45,9 +45,9 @@ using namespace ::com::sun::star;
TYPEINIT1( SwAutoCorrect, SvxAutoCorrect );
- // - return den Ersetzungstext (nur fuer SWG-Format, alle anderen
- // koennen aus der Wortliste herausgeholt werden!)
- // rShort ist der Stream-Name - gecryptet!
+ // - return den Ersetzungstext (nur fuer SWG-Format, alle anderen
+ // koennen aus der Wortliste herausgeholt werden!)
+ // rShort ist der Stream-Name - gecryptet!
BOOL SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort, String& rLong )
{
@@ -64,8 +64,8 @@ BOOL SwAutoCorrect::GetLongText( const uno::Reference < embed::XStorage >& rStg,
return !IsError( nRet ) && rLong.Len();
}
- // - Text mit Attributierung (kann nur der SWG - SWG-Format!)
- // rShort ist der Stream-Name - gecryptet!
+ // - Text mit Attributierung (kann nur der SWG - SWG-Format!)
+ // rShort ist der Stream-Name - gecryptet!
BOOL SwAutoCorrect::PutText( const uno::Reference < embed::XStorage >& rStg, const String& rFileName, const String& rShort,
SfxObjectShell& rObjSh, String& rLong )
{
diff --git a/sw/source/core/swg/SwXMLBlockExport.cxx b/sw/source/core/swg/SwXMLBlockExport.cxx
index 674a33fe2c4f..f27ccc3e9c76 100644
--- a/sw/source/core/swg/SwXMLBlockExport.cxx
+++ b/sw/source/core/swg/SwXMLBlockExport.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwXMLBlockListExport::SwXMLBlockListExport(
SwXMLTextBlocks & rBlocks,
const rtl::OUString &rFileName,
uno::Reference< xml::sax::XDocumentHandler> &rHandler)
-: SvXMLExport( xServiceFactory, rFileName, rHandler ),
+: SvXMLExport( xServiceFactory, rFileName, rHandler ),
rBlockList(rBlocks)
{
_GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
@@ -92,7 +92,7 @@ SwXMLTextBlockExport::SwXMLTextBlockExport(
SwXMLTextBlocks & rBlocks,
const rtl::OUString &rFileName,
uno::Reference< xml::sax::XDocumentHandler> &rHandler)
-: SvXMLExport( xServiceFactory, rFileName, rHandler ),
+: SvXMLExport( xServiceFactory, rFileName, rHandler ),
rBlockList(rBlocks)
{
_GetNamespaceMap().Add( GetXMLToken ( XML_NP_BLOCK_LIST ),
diff --git a/sw/source/core/swg/SwXMLBlockImport.cxx b/sw/source/core/swg/SwXMLBlockImport.cxx
index 6e1d67fcef9f..b3e60d2df91d 100644
--- a/sw/source/core/swg/SwXMLBlockImport.cxx
+++ b/sw/source/core/swg/SwXMLBlockImport.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ sal_Char __READONLY_DATA sXML_np__text[] = "_otext";
SwXMLBlockListImport::SwXMLBlockListImport(
const uno::Reference< lang::XMultiServiceFactory > xServiceFactory,
SwXMLTextBlocks &rBlocks )
-: SvXMLImport( xServiceFactory, 0 ),
+: SvXMLImport( xServiceFactory, 0 ),
rBlockList (rBlocks)
{
GetNamespaceMap().Add( OUString ( RTL_CONSTASCII_USTRINGPARAM ( sXML_np__block_list ) ),
@@ -80,7 +80,7 @@ SwXMLTextBlockImport::SwXMLTextBlockImport(
SwXMLTextBlocks &rBlocks,
String & rNewText,
sal_Bool bNewTextOnly )
-: SvXMLImport(xServiceFactory, IMPORT_ALL ),
+: SvXMLImport(xServiceFactory, IMPORT_ALL ),
rBlockList ( rBlocks ),
bTextOnly ( bNewTextOnly ),
m_rText ( rNewText )
diff --git a/sw/source/core/swg/SwXMLBlockListContext.cxx b/sw/source/core/swg/SwXMLBlockListContext.cxx
index 23aa3b54370c..7cc1804f52f4 100644
--- a/sw/source/core/swg/SwXMLBlockListContext.cxx
+++ b/sw/source/core/swg/SwXMLBlockListContext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/swg/SwXMLSectionList.cxx b/sw/source/core/swg/SwXMLSectionList.cxx
index 6473bdbc3e4f..d32852ff59d1 100644
--- a/sw/source/core/swg/SwXMLSectionList.cxx
+++ b/sw/source/core/swg/SwXMLSectionList.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ sal_Char __READONLY_DATA sXML_np__text[] = "_otext";
SwXMLSectionList::SwXMLSectionList(
const uno::Reference< lang::XMultiServiceFactory > xServiceFactory,
SvStrings & rNewSectionList)
-: SvXMLImport( xServiceFactory ),
+: SvXMLImport( xServiceFactory ),
rSectionList ( rNewSectionList )
{
GetNamespaceMap().Add( OUString( RTL_CONSTASCII_USTRINGPARAM ( sXML_np__office ) ),
@@ -84,7 +84,7 @@ SvXMLImportContext *SwXMLSectionList::CreateContext(
)
{
pContext = new SvXMLSectionListContext (*this, nPrefix, rLocalName, xAttrList);
- }
+ }
else
pContext = SvXMLImport::CreateContext( nPrefix, rLocalName, xAttrList );
return pContext;
diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx
index 9a807fd8ff11..4563b4a7056c 100644
--- a/sw/source/core/swg/SwXMLTextBlocks.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +80,11 @@ SwXMLTextBlocks::SwXMLTextBlocks( const String& rFile )
pDoc = pDocSh->GetDoc();
xDocShellRef = pDocSh;
pDoc->SetOle2Link( Link() );
- pDoc->DoUndo( FALSE ); // always FALSE
+ pDoc->DoUndo( FALSE ); // always FALSE
pDoc->acquire();
uno::Reference< embed::XStorage > refStg;
if( !aDateModified.GetDate() || !aTimeModified.GetTime() )
- Touch(); // falls neu angelegt -> neuen ZeitStempel besorgen
+ Touch(); // falls neu angelegt -> neuen ZeitStempel besorgen
try
{
refStg = comphelper::OStorageHelper::GetStorageFromURL( rFile, embed::ElementModes::READWRITE );
@@ -184,7 +184,7 @@ ULONG SwXMLTextBlocks::Delete( USHORT n )
{
String aPckName (aNames[ n ]->aPackageName);
uno::Reference < container::XNameAccess > xAccess( xBlkRoot, uno::UNO_QUERY );
- if ( xAccess.is() &&
+ if ( xAccess.is() &&
xAccess->hasByName( aPckName ) && xBlkRoot->isStreamElement( aPckName ) )
{
try
@@ -375,7 +375,7 @@ ULONG SwXMLTextBlocks::PutBlock( SwPaM& , const String& )
sal_Bool bHasChildren = pDocSh && pDocSh->GetEmbeddedObjectContainer().HasEmbeddedObjects();
if( !nRes && bHasChildren )
{
- // we have to write to the temporary storage first, since the used below functions are optimized
+ // we have to write to the temporary storage first, since the used below functions are optimized
// TODO/LATER: it is only a temporary solution, that should be changed soon, the used methods should be
// called without optimization
@@ -386,7 +386,7 @@ ULONG SwXMLTextBlocks::PutBlock( SwPaM& , const String& )
SfxMedium* pTmpMedium = NULL;
try
{
- uno::Reference< embed::XStorage > xTempStorage =
+ uno::Reference< embed::XStorage > xTempStorage =
::comphelper::OStorageHelper::GetTemporaryStorage();
xRoot->copyToStorage( xTempStorage );
diff --git a/sw/source/core/swg/SwXMLTextBlocks1.cxx b/sw/source/core/swg/SwXMLTextBlocks1.cxx
index 4a90f3006c70..1b50c5aa8a23 100644
--- a/sw/source/core/swg/SwXMLTextBlocks1.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ ULONG SwXMLTextBlocks::GetDoc( USHORT nIdx )
ReadXML->SetBlockMode( sal_True );
aReader.Read( *ReadXML );
ReadXML->SetBlockMode( sal_False );
- // Ole objects fails to display when inserted into document
+ // Ole objects fails to display when inserted into document
// because the ObjectReplacement folder ( and contents are missing )
rtl::OUString sObjReplacements( RTL_CONSTASCII_USTRINGPARAM( "ObjectReplacements" ) );
if ( xRoot->hasByName( sObjReplacements ) )
@@ -174,8 +174,8 @@ ULONG SwXMLTextBlocks::GetDoc( USHORT nIdx )
// taken from unocore/unoevents.cxx or ui/unotxt.cxx
const struct SvEventDescription aAutotextEvents[] =
{
- { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" },
- { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" },
+ { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" },
+ { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" },
{ 0, NULL }
};
@@ -472,7 +472,7 @@ ULONG SwXMLTextBlocks::PutBlockText( const String& rShort, const String& ,
else if( nErr != SVSTREAM_OK )
nRes = ERR_SWG_WRITE_ERROR;
*/
- if( !nRes ) // damit ueber GetText & nCur aufs Doc zugegriffen
+ if( !nRes ) // damit ueber GetText & nCur aufs Doc zugegriffen
MakeBlockText( rText );
return nRes;
@@ -633,7 +633,7 @@ ULONG SwXMLTextBlocks::SetMacroTable(
// open stream in proper sub-storage
if( !bFileAlreadyOpen )
{
- CloseFile(); // close (it may be open in read-only-mode)
+ CloseFile(); // close (it may be open in read-only-mode)
nRes = OpenFile ( FALSE );
}
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 5ac253e82a51..4415c3bae337 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <shellio.hxx>
#include <swblocks.hxx>
#include <ndtxt.hxx>
-#include <mdiexp.hxx> // Progress
+#include <mdiexp.hxx> // Progress
#include <SwXMLTextBlocks.hxx>
#include <docsh.hxx>
#include <swunohelper.hxx>
@@ -263,8 +263,8 @@ SwTextBlocks::SwTextBlocks( const String& rFile )
{
//case SWBLK_SW2: pImp = new Sw2TextBlocks( sFileName ); break;
//case SWBLK_SW3: pImp = new Sw3TextBlocks( sFileName ); break;
- case SWBLK_XML: pImp = new SwXMLTextBlocks( sFileName ); break;
- case SWBLK_NO_FILE: pImp = new SwXMLTextBlocks( sFileName ); break;
+ case SWBLK_XML: pImp = new SwXMLTextBlocks( sFileName ); break;
+ case SWBLK_NO_FILE: pImp = new SwXMLTextBlocks( sFileName ); break;
}
if( !pImp )
nErr = ERR_SWG_FILE_FORMAT_ERROR;
@@ -528,7 +528,7 @@ USHORT SwTextBlocks::Rename( USHORT n, const String* s, const String* l )
if( pImp->IsFileChanged() )
nErr = ERR_TXTBLOCK_NEWFILE_ERROR;
- else if( 0 == ( nErr = pImp->OpenFile( FALSE )))
+ else if( 0 == ( nErr = pImp->OpenFile( FALSE )))
{
// Vorher den neuen Eintrag in die Liste setzen!
GetAppCharClass().toUpper( aNew );
@@ -574,12 +574,12 @@ BOOL SwTextBlocks::BeginGetDoc( USHORT n )
{
// diese Optimierierung darf es nicht mehr geben. OLE-Objecte muessen auf
// ihre SubStorages zugreifem koennen!
-// if( n == pImp->nCur )
-// return TRUE;
+// if( n == pImp->nCur )
+// return TRUE;
if( pImp->IsFileChanged() )
nErr = ERR_TXTBLOCK_NEWFILE_ERROR;
- else if( 0 == ( nErr = pImp->OpenFile( TRUE )))
+ else if( 0 == ( nErr = pImp->OpenFile( TRUE )))
{
pImp->ClearDoc();
nErr = pImp->GetDoc( n );
diff --git a/sw/source/core/table/swnewtable.cxx b/sw/source/core/table/swnewtable.cxx
index ed3cafb5dd65..79d6f41ccb17 100644
--- a/sw/source/core/table/swnewtable.cxx
+++ b/sw/source/core/table/swnewtable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -691,7 +691,7 @@ BOOL SwTable::NewInsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes,
_FndBox aFndBox( 0, 0 );
aFndBox.SetTableLines( rBoxes, *this );
aFndBox.DelFrms( *this );
-// aFndBox.SaveChartData( *this );
+// aFndBox.SaveChartData( *this );
SwTableNode* pTblNd = GetTableNode();
std::vector<SwTableBoxFmt*> aInsFormat( nCnt, 0 );
@@ -772,7 +772,7 @@ BOOL SwTable::NewInsertCol( SwDoc* pDoc, const SwSelBoxes& rBoxes,
}
aFndBox.MakeFrms( *this );
-// aFndBox.RestoreChartData( *this );
+// aFndBox.RestoreChartData( *this );
#if OSL_DEBUG_LEVEL > 1
{
const SwTableBoxes &rTabBoxes = aLines[0]->GetTabBoxes();
diff --git a/sw/source/core/table/swtable.cxx b/sw/source/core/table/swtable.cxx
index 8ac153130547..a28dd7060d6f 100644
--- a/sw/source/core/table/swtable.cxx
+++ b/sw/source/core/table/swtable.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <ctype.h>
#include <float.h>
#include <hintids.hxx>
-#include <hints.hxx> // fuer SwAttrSetChg
+#include <hints.hxx> // fuer SwAttrSetChg
#include <editeng/lrspitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/adjitem.hxx>
@@ -52,7 +52,7 @@
#include <fmtfld.hxx>
#include <frmatr.hxx>
#include <doc.hxx>
-#include <docary.hxx> // fuer RedlineTbl()
+#include <docary.hxx> // fuer RedlineTbl()
#include <frame.hxx>
#include <swtable.hxx>
#include <ndtxt.hxx>
@@ -113,10 +113,10 @@ public:
mbDummyFlag( false ) {}
~SwTableBox_Impl() { delete mpUserColor; delete mpNumFmtColor; }
- const Color* GetSaveUserColor() const { return mpUserColor; }
- const Color* GetSaveNumFmtColor() const { return mpNumFmtColor; }
- void SetSaveUserColor(const Color* p ) { SetNewCol( &mpUserColor, p ); }
- void SetSaveNumFmtColor( const Color* p ) { SetNewCol( &mpNumFmtColor, p ); }
+ const Color* GetSaveUserColor() const { return mpUserColor; }
+ const Color* GetSaveNumFmtColor() const { return mpNumFmtColor; }
+ void SetSaveUserColor(const Color* p ) { SetNewCol( &mpUserColor, p ); }
+ void SetSaveNumFmtColor( const Color* p ) { SetNewCol( &mpNumFmtColor, p ); }
long getRowSpan() const { return mnRowSpan; }
void setRowSpan( long nNewRowSpan ) { mnRowSpan = nNewRowSpan; }
bool getDummyFlag() const { return mbDummyFlag; }
@@ -262,7 +262,7 @@ void _InsTblBox( SwDoc* pDoc, SwTableNode* pTblNd,
/*************************************************************************
|*
-|* SwTable::SwTable()
+|* SwTable::SwTable()
|*
|*
|*************************************************************************/
@@ -302,7 +302,7 @@ SwTable::~SwTable()
if( refObj.Is() )
{
SwDoc* pDoc = GetFrmFmt()->GetDoc();
- if( !pDoc->IsInDtor() ) // then remove from the list
+ if( !pDoc->IsInDtor() ) // then remove from the list
pDoc->GetLinkManager().RemoveServer( &refObj );
refObj->Closed();
@@ -311,16 +311,16 @@ SwTable::~SwTable()
// ist die Tabelle der letzte Client im FrameFormat, kann dieses
// geloescht werden
SwTableFmt* pFmt = (SwTableFmt*)GetFrmFmt();
- pFmt->Remove( this ); // austragen,
+ pFmt->Remove( this ); // austragen,
if( !pFmt->GetDepends() )
- pFmt->GetDoc()->DelTblFrmFmt( pFmt ); // und loeschen
+ pFmt->GetDoc()->DelTblFrmFmt( pFmt ); // und loeschen
// Loesche die Pointer aus dem SortArray der Boxen, die
// Objecte bleiben erhalten und werden vom DTOR der Lines/Boxes
// Arrays geloescht.
//JP: reicht leider nicht, es muessen die Pointer auf den StartNode
- // der Section geloescht werden
+ // der Section geloescht werden
DelBoxNode( aSortCntBoxes );
aSortCntBoxes.Remove( (USHORT)0, aSortCntBoxes.Count() );
delete pHTMLLayout;
@@ -329,7 +329,7 @@ SwTable::~SwTable()
/*************************************************************************
|*
-|* SwTable::Modify()
+|* SwTable::Modify()
|*
|*
|*************************************************************************/
@@ -437,7 +437,7 @@ void SwTable::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
}
}
else
- SwClient::Modify( pOld, pNew ); // fuers ObjectDying
+ SwClient::Modify( pOld, pNew ); // fuers ObjectDying
}
void SwTable::AdjustWidths( const long nOld, const long nNew )
@@ -448,7 +448,7 @@ void SwTable::AdjustWidths( const long nOld, const long nNew )
/*************************************************************************
|*
-|* SwTable::GetTabCols()
+|* SwTable::GetTabCols()
|*
|*
|*************************************************************************/
@@ -480,7 +480,7 @@ void lcl_SortedTabColInsert( SwTabCols &rToFill, const SwTableBox *pBox,
const SwTableBox *pCur = pBox;
const SwTableLine *pLine = pBox->GetUpper();
while ( pLine )
- { const SwTableBoxes &rBoxes = pLine->GetTabBoxes();
+ { const SwTableBoxes &rBoxes = pLine->GetTabBoxes();
for ( USHORT i = 0; i < rBoxes.Count(); ++i )
{
SwTwips nWidth = rBoxes[i]->GetFrmFmt()->GetFrmSize().GetWidth();
@@ -513,7 +513,7 @@ void lcl_SortedTabColInsert( SwTabCols &rToFill, const SwTableBox *pBox,
if ( (nPos >= ((nCmp >= COLFUZZY) ? nCmp - COLFUZZY : nCmp)) &&
(nPos <= (nCmp + COLFUZZY)) )
{
- bInsert = FALSE; //Hat ihn schon.
+ bInsert = FALSE; //Hat ihn schon.
}
else if ( nPos < nCmp )
{
@@ -575,7 +575,7 @@ void lcl_ProcessBoxGet( const SwTableBox *pBox, SwTabCols &rToFill,
{
const SwTableLines &rLines = pBox->GetTabLines();
for ( USHORT i = 0; i < rLines.Count(); ++i )
- { const SwTableBoxes &rBoxes = rLines[i]->GetTabBoxes();
+ { const SwTableBoxes &rBoxes = rLines[i]->GetTabBoxes();
for ( USHORT j = 0; j < rBoxes.Count(); ++j )
::lcl_ProcessBoxGet( rBoxes[j], rToFill, pTabFmt, bRefreshHidden);
}
@@ -632,11 +632,11 @@ void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart,
//Eingetragen werden:
//1. Alle Boxen unterhalb der dem Start uebergeordneten Line sowie
- // deren untergeordnete Boxen falls vorhanden.
+ // deren untergeordnete Boxen falls vorhanden.
//2. Ausgehend von der Line die uebergeordnete Box sowie deren Nachbarn;
- // nicht aber deren untergeordnete.
+ // nicht aber deren untergeordnete.
//3. Mit der der Boxenkette uebergeordneten Line wieder wie 2. bis einer
- // Line keine Box (sondern die Table) uebergeordnet ist.
+ // Line keine Box (sondern die Table) uebergeordnet ist.
//Es werden nur diejenigen Boxen eingetragen, die keine weiteren Zeilen
//enhalten. Die eintragende Funktion sorgt dafuer, dass keine doppelten
//eingetragen werden. Um dies zu gewaehrleisten wird mit einer gewissen
@@ -646,7 +646,7 @@ void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart,
//Rand abgedeckt.
//4. Nochmalige abscannen der Tabelle und eintragen _aller_ Boxen,
- // jetzt aber als Hidden.
+ // jetzt aber als Hidden.
const SwFrmFmt *pTabFmt = GetFrmFmt();
@@ -700,7 +700,7 @@ void SwTable::GetTabCols( SwTabCols &rToFill, const SwTableBox *pStart,
/*************************************************************************
|*
-|* SwTable::SetTabCols()
+|* SwTable::SetTabCols()
|*
|*
|*************************************************************************/
@@ -737,7 +737,7 @@ void lcl_ProcessLine( SwTableLine *pLine, Parm &rParm )
void lcl_ProcessBoxSet( SwTableBox *pBox, Parm &rParm )
{
if ( pBox->GetTabLines().Count() )
- { SwTableLines &rLines = pBox->GetTabLines();
+ { SwTableLines &rLines = pBox->GetTabLines();
for ( int i = rLines.Count()-1; i >= 0; --i )
lcl_ProcessLine( rLines[ static_cast< USHORT >(i) ], rParm );
}
@@ -759,7 +759,7 @@ void lcl_ProcessBoxSet( SwTableBox *pBox, Parm &rParm )
const SwTableLine *pLine = pBox->GetUpper();
while ( pLine )
- { const SwTableBoxes &rBoxes = pLine->GetTabBoxes();
+ { const SwTableBoxes &rBoxes = pLine->GetTabBoxes();
for ( USHORT i = 0; (i < rBoxes.Count()) && (rBoxes[i] != pCur); ++i)
{
sal_uInt64 nWidth = rBoxes[i]->GetFrmFmt()->
@@ -796,7 +796,7 @@ void lcl_ProcessBoxSet( SwTableBox *pBox, Parm &rParm )
nRightDiff= nRightPos!= USHRT_MAX ?
(int)rParm.rNew[nRightPos] - (int)rParm.rOld[nRightPos] : 0;
}
- else //Die erste Box.
+ else //Die erste Box.
{
nLeftDiff = (long)rParm.rOld.GetLeft() - (long)rParm.rNew.GetLeft();
if ( rParm.rOld.Count() )
@@ -822,9 +822,9 @@ void lcl_ProcessBoxSet( SwTableBox *pBox, Parm &rParm )
}
//MA 11. Feb. 99: #61577# 0 sollte doch gerade richtig sein, weil die
//Kante doch schon in SetTabCols() korrigiert wurde.
-// else
-// nRightDiff = (long)rParm.rNew.GetRight() -
-// (long)rParm.rOld.GetRight();
+// else
+// nRightDiff = (long)rParm.rNew.GetRight() -
+// (long)rParm.rOld.GetRight();
}
if( pBox->getRowSpan() == 1 )
@@ -926,8 +926,8 @@ void lcl_AdjustBox( SwTableBox *pBox, const long nDiff, Parm &rParm )
//Groesse der Box anpassen.
SwFmtFrmSize aFmtFrmSize( pBox->GetFrmFmt()->GetFrmSize() );
aFmtFrmSize.SetWidth( aFmtFrmSize.GetWidth() + nDiff );
-//#30009# if ( aFmtFrmSize.GetWidth() < 0 )
-// aFmtFrmSize.SetWidth( -aFmtFrmSize.GetWidth() );
+//#30009# if ( aFmtFrmSize.GetWidth() < 0 )
+// aFmtFrmSize.SetWidth( -aFmtFrmSize.GetWidth() );
rParm.aShareFmts.SetSize( *pBox, aFmtFrmSize );
}
@@ -937,7 +937,7 @@ void SwTable::SetTabCols( const SwTabCols &rNew, const SwTabCols &rOld,
{
CHECK_TABLE( *this )
- SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
+ SetHTMLTableLayout( 0 ); // MIB 9.7.97: HTML-Layout loeschen
// FME: Made rOld const. The caller is responsible for passing correct
// values of rOld. Therefore we do not have to call GetTabCols anymore:
@@ -1012,7 +1012,7 @@ void SwTable::SetTabCols( const SwTabCols &rNew, const SwTabCols &rOld,
{
aParm.nNewWish += nTabDiff;
if ( aParm.nNewWish < 0 )
- aParm.nNewWish = USHRT_MAX; //Uuups! Eine Rolle rueckwaerts.
+ aParm.nNewWish = USHRT_MAX; //Uuups! Eine Rolle rueckwaerts.
SwFmtFrmSize aSz( pFmt->GetFrmSize() );
if ( aSz.GetWidth() != aParm.nNewWish )
{
@@ -1069,7 +1069,7 @@ void SwTable::SetTabCols( const SwTabCols &rNew, const SwTabCols &rOld,
}
}
else
- { //Die gesamte Tabelle anzupassen ist 'einfach'.
+ { //Die gesamte Tabelle anzupassen ist 'einfach'.
//Es werden alle Boxen, die keine Lines mehr enthalten angepasst.
//Diese Boxen passen alle uebergeordneten Boxen entsprechend mit an.
//Um uns nicht selbst hereinzulegen muss natuerlich rueckwaerst
@@ -1393,8 +1393,8 @@ void SwTable::NewSetTabCols( Parm &rParm, const SwTabCols &rNew,
/*************************************************************************
|*
-|* const SwTableBox* SwTable::GetTblBox( const Strn?ng& rName ) const
-|* gebe den Pointer auf die benannte Box zurueck.
+|* const SwTableBox* SwTable::GetTblBox( const Strn?ng& rName ) const
+|* gebe den Pointer auf die benannte Box zurueck.
|*
|*
|*************************************************************************/
@@ -1437,7 +1437,7 @@ USHORT SwTable::_GetBoxNum( String& rStr, BOOL bFirstPart,
nRet = nRet * 52 + cChar;
++nPos;
}
- rStr.Erase( 0, nPos ); // Zeichen aus dem String loeschen
+ rStr.Erase( 0, nPos ); // Zeichen aus dem String loeschen
}
else if( STRING_NOTFOUND == ( nPos = rStr.Search( aDotStr ) ))
{
@@ -1580,7 +1580,7 @@ BOOL SwTable::IsTblComplex() const
/*************************************************************************
|*
-|* SwTableLine::SwTableLine()
+|* SwTableLine::SwTableLine()
|*
|*
|*************************************************************************/
@@ -1597,14 +1597,14 @@ SwTableLine::~SwTableLine()
// ist die TabelleLine der letzte Client im FrameFormat, kann dieses
// geloescht werden
SwModify* pMod = GetFrmFmt();
- pMod->Remove( this ); // austragen,
+ pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
}
/*************************************************************************
|*
-|* SwTableLine::ClaimFrmFmt(), ChgFrmFmt()
+|* SwTableLine::ClaimFrmFmt(), ChgFrmFmt()
|*
|*
|*************************************************************************/
@@ -1729,7 +1729,7 @@ SwTwips SwTableLine::GetTableLineHeight( bool& bLayoutAvailable ) const
/*************************************************************************
|*
-|* SwTableBox::SwTableBox()
+|* SwTableBox::SwTableBox()
|*
|*
|*************************************************************************/
@@ -1760,8 +1760,8 @@ SwTableBox::SwTableBox( SwTableBoxFmt* pFmt, const SwNodeIndex &rIdx,
OSL_ENSURE( pTblNd, "in welcher Tabelle steht denn die Box?" );
SwTableSortBoxes& rSrtArr = (SwTableSortBoxes&)pTblNd->GetTable().
GetTabSortBoxes();
- SwTableBox* p = this; // error: &this
- rSrtArr.Insert( p ); // eintragen
+ SwTableBox* p = this; // error: &this
+ rSrtArr.Insert( p ); // eintragen
}
SwTableBox::SwTableBox( SwTableBoxFmt* pFmt, const SwStartNode& rSttNd, SwTableLine *pUp ) :
@@ -1778,8 +1778,8 @@ SwTableBox::SwTableBox( SwTableBoxFmt* pFmt, const SwStartNode& rSttNd, SwTableL
OSL_ENSURE( pTblNd, "in welcher Tabelle steht denn die Box?" );
SwTableSortBoxes& rSrtArr = (SwTableSortBoxes&)pTblNd->GetTable().
GetTabSortBoxes();
- SwTableBox* p = this; // error: &this
- rSrtArr.Insert( p ); // eintragen
+ SwTableBox* p = this; // error: &this
+ rSrtArr.Insert( p ); // eintragen
}
SwTableBox::~SwTableBox()
@@ -1792,16 +1792,16 @@ SwTableBox::~SwTableBox()
OSL_ENSURE( pTblNd, "in welcher Tabelle steht denn die Box?" );
SwTableSortBoxes& rSrtArr = (SwTableSortBoxes&)pTblNd->GetTable().
GetTabSortBoxes();
- SwTableBox *p = this; // error: &this
- rSrtArr.Remove( p ); // austragen
+ SwTableBox *p = this; // error: &this
+ rSrtArr.Remove( p ); // austragen
}
// ist die TabelleBox der letzte Client im FrameFormat, kann dieses
// geloescht werden
SwModify* pMod = GetFrmFmt();
- pMod->Remove( this ); // austragen,
+ pMod->Remove( this ); // austragen,
if( !pMod->GetDepends() )
- delete pMod; // und loeschen
+ delete pMod; // und loeschen
delete pImpl;
}
@@ -1832,7 +1832,7 @@ SwTableBoxFmt* SwTableBox::CheckBoxFmt( SwTableBoxFmt* pFmt )
/*************************************************************************
|*
-|* SwTableBox::ClaimFrmFmt(), ChgFrmFmt()
+|* SwTableBox::ClaimFrmFmt(), ChgFrmFmt()
|*
|*
|*************************************************************************/
@@ -1915,15 +1915,15 @@ void SwTableBox::ChgFrmFmt( SwTableBoxFmt* pNewFmt )
/*************************************************************************
|*
-|* String SwTableBox::GetName() const
-|* gebe den Namen dieser Box zurueck. Dieser wird dynamisch bestimmt
-|* und ergibt sich aus der Position in den Lines/Boxen/Tabelle
+|* String SwTableBox::GetName() const
+|* gebe den Namen dieser Box zurueck. Dieser wird dynamisch bestimmt
+|* und ergibt sich aus der Position in den Lines/Boxen/Tabelle
|*
|*
|*************************************************************************/
void lcl_GetTblBoxColStr( USHORT nCol, String& rNm )
{
- const USHORT coDiff = 52; // 'A'-'Z' 'a' - 'z'
+ const USHORT coDiff = 52; // 'A'-'Z' 'a' - 'z'
USHORT nCalc;
do {
@@ -1942,7 +1942,7 @@ void lcl_GetTblBoxColStr( USHORT nCol, String& rNm )
String SwTableBox::GetName() const
{
- if( !pSttNd ) // keine Content Box ??
+ if( !pSttNd ) // keine Content Box ??
{
// die naechste erste Box suchen ??
return aEmptyStr;
@@ -1977,7 +1977,7 @@ String SwTableBox::GetName() const
BOOL SwTableBox::IsInHeadline( const SwTable* pTbl ) const
{
- if( !GetUpper() ) // sollte nur beim Merge vorkommen.
+ if( !GetUpper() ) // sollte nur beim Merge vorkommen.
return FALSE;
if( !pTbl )
@@ -2076,7 +2076,7 @@ void ChgTextToNum( SwTableBox& rBox, const String& rTxt, const Color* pCol,
void ChgTextToNum( SwTableBox& rBox, const String& rTxt, const Color* pCol,
BOOL bChgAlign,ULONG nNdPos )
{
-
+
if( ULONG_MAX != nNdPos )
{
SwDoc* pDoc = rBox.GetFrmFmt()->GetDoc();
@@ -2372,16 +2372,16 @@ void SwTableBoxFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
}
// Logik:
- // ValueAenderung: -> "simuliere" eine FormatAenderung!
+ // ValueAenderung: -> "simuliere" eine FormatAenderung!
// FormatAenderung:
// Text -> !Text oder FormatAenderung:
- // - Ausrichtung auf RECHTS, wenn LINKS oder Blocksatz
- // - vertikale Ausrichtung auf UNTEN wenn OBEN oder nicht
- // gesetzt ist.
- // - Text ersetzen (Farbe?? neg. Zahlen ROT??)
+ // - Ausrichtung auf RECHTS, wenn LINKS oder Blocksatz
+ // - vertikale Ausrichtung auf UNTEN wenn OBEN oder nicht
+ // gesetzt ist.
+ // - Text ersetzen (Farbe?? neg. Zahlen ROT??)
// !Text -> Text:
- // - Ausrichtung auf LINKS, wenn RECHTS
- // - vertikale Ausrichtung auf OEBN, wenn UNTEN gesetzt ist
+ // - Ausrichtung auf LINKS, wenn RECHTS
+ // - vertikale Ausrichtung auf OEBN, wenn UNTEN gesetzt ist
SvNumberFormatter* pNumFmtr = GetDoc()->GetNumberFormatter();
BOOL bNewIsTxtFmt = pNumFmtr->IsTextFormat( nNewFmt ) ||
@@ -2410,7 +2410,7 @@ void SwTableBoxFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
lcl_TabToBlankAtSttEnd( aTxt );
// JP 22.04.98: Bug 49659 -
- // Sonderbehandlung fuer Prozent
+ // Sonderbehandlung fuer Prozent
BOOL bIsNumFmt = FALSE;
if( NUMBERFORMAT_PERCENT ==
pNumFmtr->GetType( nNewFmt ))
@@ -2470,9 +2470,9 @@ void SwTableBoxFmt::Modify( SfxPoolItem* pOld, SfxPoolItem* pNew )
{
// auf jedenfall muessen jetzt die Formeln/Values
// geloescht werden!
- // LockModify();
- // ResetAttr( RES_BOXATR_FORMULA, RES_BOXATR_VALUE );
- // UnlockModify();
+ // LockModify();
+ // ResetAttr( RES_BOXATR_FORMULA, RES_BOXATR_VALUE );
+ // UnlockModify();
ChgNumToText( *pBox, nNewFmt );
@@ -2716,22 +2716,22 @@ public:
: m_pTable(NULL), m_pCellFrm(NULL), m_pTabFrm(NULL)
{
}
-
+
~Impl() {}
- void setTable(const SwTable * pTable) {
- m_pTable = pTable;
+ void setTable(const SwTable * pTable) {
+ m_pTable = pTable;
SwFrmFmt * pFrmFmt = m_pTable->GetFrmFmt();
SwClientIter aIter(*pFrmFmt);
-
- m_pTabFrm =
+
+ m_pTabFrm =
static_cast<const SwTabFrm *>(aIter.First(TYPE(SwTabFrm)));
if (m_pTabFrm->IsFollow())
m_pTabFrm = m_pTabFrm->FindMaster(true);
}
const SwTable * getTable() const { return m_pTable; }
-
+
const SwCellFrm * getCellFrm() const { return m_pCellFrm; }
const SwFrm * getNextFrmInTable(const SwFrm * pFrm);
@@ -2748,12 +2748,12 @@ const SwFrm * SwTableCellInfo::Impl::getNextFrmInTable(const SwFrm * pFrm)
pResult = pFrm->GetLower();
else if (pFrm->GetNext())
pResult = pFrm->GetNext();
- else
+ else
{
while (pFrm->GetUpper() != NULL)
{
pFrm = pFrm->GetUpper();
-
+
if (pFrm->IsTabFrm())
{
m_pTabFrm = static_cast<const SwTabFrm *>(pFrm)->GetFollow();
@@ -2793,7 +2793,7 @@ const SwCellFrm * SwTableCellInfo::Impl::getNextTableBoxsCellFrm(const SwFrm * p
while ((pFrm = getNextCellFrm(pFrm)) != NULL)
{
- const SwCellFrm * pCellFrm = static_cast<const SwCellFrm *>(pFrm);
+ const SwCellFrm * pCellFrm = static_cast<const SwCellFrm *>(pFrm);
const SwTableBox * pTabBox = pCellFrm->GetTabBox();
TableBoxes_t::const_iterator aIt = m_HandledTableBoxes.find(pTabBox);
@@ -2833,7 +2833,7 @@ SwTableCellInfo::SwTableCellInfo(const SwTable * pTable)
}
SwTableCellInfo::~SwTableCellInfo()
-{
+{
}
bool SwTableCellInfo::getNext()
diff --git a/sw/source/core/text/EnhancedPDFExportHelper.cxx b/sw/source/core/text/EnhancedPDFExportHelper.cxx
index dbe781de1e0d..3aefbe097d06 100644
--- a/sw/source/core/text/EnhancedPDFExportHelper.cxx
+++ b/sw/source/core/text/EnhancedPDFExportHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -1159,8 +1159,8 @@ void SwTaggedPDFHelper::BeginBlockStructureElements()
//
if ( pTxtNd->IsOutline() )
{
- //int nRealLevel = pTxtNd->GetOutlineLevel(); //#outline level,zhaojianwei
- int nRealLevel = pTxtNd->GetAttrOutlineLevel()-1; //<-end,zhaojianwei
+ //int nRealLevel = pTxtNd->GetOutlineLevel(); //#outline level,zhaojianwei
+ int nRealLevel = pTxtNd->GetAttrOutlineLevel()-1; //<-end,zhaojianwei
nRealLevel = nRealLevel > 5 ? 5 : nRealLevel;
nPDFType = static_cast<USHORT>(vcl::PDFWriter::H1 + nRealLevel);
diff --git a/sw/source/core/text/SwGrammarMarkUp.cxx b/sw/source/core/text/SwGrammarMarkUp.cxx
index b3873d6b7ff9..3e91700a83ea 100644
--- a/sw/source/core/text/SwGrammarMarkUp.cxx
+++ b/sw/source/core/text/SwGrammarMarkUp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwGrammarMarkUp::MoveGrammar( xub_StrLen nPos, long nDiff )
xub_StrLen nEnd = nDiff < 0 ? xub_StrLen(nPos - nDiff) : nPos;
while( pIter != maSentence.end() )
{
- if( *pIter >= nEnd )
+ if( *pIter >= nEnd )
*pIter = xub_StrLen( *pIter + nDiff );
else
*pIter = nPos;
diff --git a/sw/source/core/text/atrhndl.hxx b/sw/source/core/text/atrhndl.hxx
index c22dbeef3e9e..513ca18f972c 100644
--- a/sw/source/core/text/atrhndl.hxx
+++ b/sw/source/core/text/atrhndl.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/text/atrstck.cxx b/sw/source/core/text/atrstck.cxx
index c950e57942db..d212a5356fac 100644
--- a/sw/source/core/text/atrstck.cxx
+++ b/sw/source/core/text/atrstck.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
* Also adjust NUM_ATTRIBUTE_STACKS in atrhndl.hxx.
*************************************************************************/
-const BYTE StackPos[ static_cast<USHORT>(RES_TXTATR_WITHEND_END) -
+const BYTE StackPos[ static_cast<USHORT>(RES_TXTATR_WITHEND_END) -
static_cast<USHORT>(RES_CHRATR_BEGIN) + 1 ] =
{
0, // // 0
@@ -747,12 +747,12 @@ void SwAttrHandler::FontChg(const SfxPoolItem& rItem, SwFont& rFnt, sal_Bool bPu
{
const USHORT nStackPos = StackPos[ RES_CHRATR_HIDDEN ];
const SwTxtAttr* pTopAt = aAttrStack[ nStackPos ].Top();
-
- const SfxPoolItem* pTmpItem = pTopAt ?
+
+ const SfxPoolItem* pTmpItem = pTopAt ?
CharFmt::GetItem( *pTopAt, RES_CHRATR_HIDDEN ) :
pDefaultArray[ nStackPos ];
-
- if( (mpShell && !mpShell->GetWin()) ||
+
+ if( (mpShell && !mpShell->GetWin()) ||
(pTmpItem && !static_cast<const SvxCharHiddenItem*>(pTmpItem)->GetValue()) )
{
rFnt.SetUnderline( ((SvxUnderlineItem&)rItem).GetLineStyle() );
diff --git a/sw/source/core/text/blink.cxx b/sw/source/core/text/blink.cxx
index 3c22e748608e..ee138a4a9d68 100644
--- a/sw/source/core/text/blink.cxx
+++ b/sw/source/core/text/blink.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,15 +33,15 @@
#include <tools/debug.hxx>
#include "viewsh.hxx"
#include "rootfrm.hxx" // GetOleShell()
-#include "txtfrm.hxx" // FindRootFrm()
+#include "txtfrm.hxx" // FindRootFrm()
#include "blink.hxx"
#include "porlin.hxx"
#include "porlay.hxx" // SwLineLayout
// Sichtbare Zeit:
-#define BLINK_ON_TIME 2400L
+#define BLINK_ON_TIME 2400L
// Nihct sichtbare Zeit:
-#define BLINK_OFF_TIME 800L
+#define BLINK_OFF_TIME 800L
/*************************************************************************
* pBlink zeigt auf die Instanz, bei der sich blinkende Portions anmelden
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index fcc1815c6764..8c8296fb39b4 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +30,8 @@
#include "precompiled_sw.hxx"
-#include "ndtxt.hxx" // GetNode()
-#include "pam.hxx" // SwPosition
+#include "ndtxt.hxx" // GetNode()
+#include "pam.hxx" // SwPosition
#include "frmtool.hxx"
#include "viewopt.hxx"
#include "paratr.hxx"
@@ -50,12 +50,12 @@
#include <unicode/ubidi.h>
#include "txtcfg.hxx"
-#include "txtfrm.hxx" // SwTxtFrm
-#include "inftxt.hxx" // SwTxtSizeInfo
-#include "itrtxt.hxx" // SwTxtCursor
-#include "crstate.hxx" // SwTxtCursor
-#include "viewsh.hxx" // InvalidateWindows
-#include "swfntcch.hxx" // SwFontAccess
+#include "txtfrm.hxx" // SwTxtFrm
+#include "inftxt.hxx" // SwTxtSizeInfo
+#include "itrtxt.hxx" // SwTxtCursor
+#include "crstate.hxx" // SwTxtCursor
+#include "viewsh.hxx" // InvalidateWindows
+#include "swfntcch.hxx" // SwFontAccess
#include "flyfrm.hxx"
#if OSL_DEBUG_LEVEL > 1
@@ -76,7 +76,7 @@ using namespace ::com::sun::star;
*/
/*************************************************************************
- * GetAdjFrmAtPos()
+ * GetAdjFrmAtPos()
*************************************************************************/
SwTxtFrm *GetAdjFrmAtPos( SwTxtFrm *pFrm, const SwPosition &rPos,
@@ -155,7 +155,7 @@ sal_Bool lcl_ChangeOffset( SwTxtFrm* pFrm, xub_StrLen nNew )
}
/*************************************************************************
- * GetFrmAtOfst(), GetFrmAtPos()
+ * GetFrmAtOfst(), GetFrmAtPos()
*************************************************************************/
// OD 07.10.2003 #110978#
@@ -187,7 +187,7 @@ SwTxtFrm *SwTxtFrm::GetFrmAtPos( const SwPosition &rPos )
}
/*************************************************************************
- * SwTxtFrm::GetCharRect()
+ * SwTxtFrm::GetCharRect()
*************************************************************************/
/*
@@ -210,7 +210,7 @@ sal_Bool SwTxtFrm::GetCharRect( SwRect& rOrig, const SwPosition &rPos,
//- die gecachten Informationen verworfen sein koennen (GetPara() == 0)
//- das ein Follow gemeint sein kann
//- das die Kette der Follows dynamisch waechst; der in den wir
- // schliesslich gelangen muss aber Formatiert sein.
+ // schliesslich gelangen muss aber Formatiert sein.
// opt: reading ahead erspart uns ein GetAdjFrmAtPos
const sal_Bool bRightMargin = pCMS && ( MV_RIGHTMARGIN == pCMS->eState );
@@ -374,7 +374,7 @@ sal_Bool SwTxtFrm::GetCharRect( SwRect& rOrig, const SwPosition &rPos,
}
/*************************************************************************
- * SwTxtFrm::GetAutoPos()
+ * SwTxtFrm::GetAutoPos()
*************************************************************************/
/*
@@ -535,7 +535,7 @@ bool SwTxtFrm::GetTopOfLine( SwTwips& _onTopOfLine,
}
/*************************************************************************
- * SwTxtFrm::_GetCrsrOfst()
+ * SwTxtFrm::_GetCrsrOfst()
*************************************************************************/
// Minimaler Abstand von nichtleeren Zeilen etwas weniger als 2 cm
@@ -549,9 +549,9 @@ struct SwFillData
const Point& rPoint;
SwTwips nLineWidth;
sal_Bool bFirstLine : 1;
- sal_Bool bInner : 1;
- sal_Bool bColumn : 1;
- sal_Bool bEmpty : 1;
+ sal_Bool bInner : 1;
+ sal_Bool bColumn : 1;
+ sal_Bool bEmpty : 1;
SwFillData( const SwCrsrMoveState *pC, SwPosition* pP, const SwRect& rR,
const Point& rPt ) : aFrm( rR ), pCMS( pC ), pPos( pP ), rPoint( rPt ),
nLineWidth( 0 ), bFirstLine( sal_True ), bInner( sal_False ), bColumn( sal_False ),
@@ -687,7 +687,7 @@ sal_Bool SwTxtFrm::_GetCrsrOfst(SwPosition* pPos, const Point& rPoint,
}
/*************************************************************************
- * virtual SwTxtFrm::GetCrsrOfst()
+ * virtual SwTxtFrm::GetCrsrOfst()
*************************************************************************/
sal_Bool SwTxtFrm::GetCrsrOfst(SwPosition* pPos, Point& rPoint,
@@ -706,7 +706,7 @@ sal_Bool SwTxtFrm::GetCrsrOfst(SwPosition* pPos, Point& rPoint,
}
/*************************************************************************
- * SwTxtFrm::LeftMargin()
+ * SwTxtFrm::LeftMargin()
*************************************************************************/
/*
@@ -747,7 +747,7 @@ sal_Bool SwTxtFrm::LeftMargin(SwPaM *pPam) const
}
/*************************************************************************
- * SwTxtFrm::RightMargin()
+ * SwTxtFrm::RightMargin()
*************************************************************************/
/*
@@ -794,7 +794,7 @@ sal_Bool SwTxtFrm::RightMargin(SwPaM *pPam, sal_Bool bAPI) const
}
/*************************************************************************
- * SwTxtFrm::_UnitUp()
+ * SwTxtFrm::_UnitUp()
*************************************************************************/
//Die beiden folgenden Methoden versuchen zunaechst den Crsr in die
@@ -1148,7 +1148,7 @@ void SwTxtFrm::PrepareVisualMove( xub_StrLen& nPos, BYTE& nCrsrLevel,
UErrorCode nError = U_ZERO_ERROR;
UBiDi* pBidi = ubidi_openSized( nLen, 0, &nError );
- ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(pLineString), nLen, nDefaultDir, NULL, &nError ); // UChar != sal_Unicode in MinGW
+ ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(pLineString), nLen, nDefaultDir, NULL, &nError ); // UChar != sal_Unicode in MinGW
xub_StrLen nTmpPos;
sal_Bool bOutOfBounds = sal_False;
@@ -1206,7 +1206,7 @@ void SwTxtFrm::PrepareVisualMove( xub_StrLen& nPos, BYTE& nCrsrLevel,
}
/*************************************************************************
- * SwTxtFrm::_UnitDown()
+ * SwTxtFrm::_UnitDown()
*************************************************************************/
sal_Bool SwTxtFrm::_UnitDown(SwPaM *pPam, const SwTwips nOffset,
@@ -1335,7 +1335,7 @@ sal_Bool SwTxtFrm::_UnitDown(SwPaM *pPam, const SwTwips nOffset,
}
/*************************************************************************
- * virtual SwTxtFrm::UnitUp()
+ * virtual SwTxtFrm::UnitUp()
*************************************************************************/
sal_Bool SwTxtFrm::UnitUp(SwPaM *pPam, const SwTwips nOffset,
@@ -1358,7 +1358,7 @@ sal_Bool SwTxtFrm::UnitUp(SwPaM *pPam, const SwTwips nOffset,
}
/*************************************************************************
- * virtual SwTxtFrm::UnitDown()
+ * virtual SwTxtFrm::UnitDown()
*************************************************************************/
sal_Bool SwTxtFrm::UnitDown(SwPaM *pPam, const SwTwips nOffset,
@@ -1552,7 +1552,7 @@ static sal_Char __READONLY_DATA sDoubleSpace[] = " ";
if( rFill.X() >= nRight )
{
if( FILL_INDENT != rFill.Mode() && ( rFill.bEmpty ||
- rFill.X() > rFill.nLineWidth + FILL_MIN_DIST ) )
+ rFill.X() > rFill.nLineWidth + FILL_MIN_DIST ) )
{
rFill.SetOrient( text::HoriOrientation::RIGHT );
rRect.Left( nRight );
diff --git a/sw/source/core/text/frmform.cxx b/sw/source/core/text/frmform.cxx
index 73f788ab6bbe..930f80cfd682 100644
--- a/sw/source/core/text/frmform.cxx
+++ b/sw/source/core/text/frmform.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,33 +33,33 @@
#include <hintids.hxx>
#include <editeng/keepitem.hxx>
#include <editeng/hyznitem.hxx>
-#include <pagefrm.hxx> // ChangeFtnRef
-#include <ndtxt.hxx> // MakeFrm()
-#include <dcontact.hxx> // SwDrawContact
-#include <dflyobj.hxx> // SwVirtFlyDrawObj
+#include <pagefrm.hxx> // ChangeFtnRef
+#include <ndtxt.hxx> // MakeFrm()
+#include <dcontact.hxx> // SwDrawContact
+#include <dflyobj.hxx> // SwVirtFlyDrawObj
#include <flyfrm.hxx>
-#include <ftnfrm.hxx> // SwFtnFrm
+#include <ftnfrm.hxx> // SwFtnFrm
#include <txtftn.hxx>
#include <fmtftn.hxx>
#include <paratr.hxx>
-#include <viewopt.hxx> // SwViewOptions
-#include <viewsh.hxx> // ViewShell
+#include <viewopt.hxx> // SwViewOptions
+#include <viewsh.hxx> // ViewShell
#include <frmatr.hxx>
#include <pam.hxx>
#include <flyfrms.hxx>
#include <fmtanchr.hxx>
#include <txtcfg.hxx>
-#include <itrform2.hxx> // SwTxtFormatter
-#include <widorp.hxx> // Widows and Orphans
+#include <itrform2.hxx> // SwTxtFormatter
+#include <widorp.hxx> // Widows and Orphans
#include <txtcache.hxx>
-#include <porrst.hxx> // SwEmptyPortion
-#include <blink.hxx> // pBlink
-#include <porfld.hxx> // SwFldPortion
-#include <sectfrm.hxx> // SwSectionFrm
-#include <pormulti.hxx> // SwMultiPortion
+#include <porrst.hxx> // SwEmptyPortion
+#include <blink.hxx> // pBlink
+#include <porfld.hxx> // SwFldPortion
+#include <sectfrm.hxx> // SwSectionFrm
+#include <pormulti.hxx> // SwMultiPortion
#include <rootfrm.hxx>
-#include <frmfmt.hxx> // SwFrmFmt
+#include <frmfmt.hxx> // SwFrmFmt
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
@@ -75,10 +75,10 @@ public:
MSHORT FormatLevel::nLevel = 0;
/*************************************************************************
- * ValidateTxt/Frm()
+ * ValidateTxt/Frm()
*************************************************************************/
-void ValidateTxt( SwFrm *pFrm ) // Freund vom Frame
+void ValidateTxt( SwFrm *pFrm ) // Freund vom Frame
{
if ( ( ! pFrm->IsVertical() &&
pFrm->Frm().Width() == pFrm->GetUpper()->Prt().Width() ) ||
@@ -110,7 +110,7 @@ void SwTxtFrm::ValidateFrm()
SWAP_IF_SWAPPED( this )
if ( !IsInFly() && !IsInTab() )
- { //Innerhalb eines Flys nur this validieren, der Rest sollte eigentlich
+ { //Innerhalb eines Flys nur this validieren, der Rest sollte eigentlich
//nur fuer Fussnoten notwendig sein und die gibt es innerhalb von
//Flys nicht. Fix fuer 5544
SwSectionFrm* pSct = FindSctFrm();
@@ -140,7 +140,7 @@ void SwTxtFrm::ValidateFrm()
}
/*************************************************************************
- * ValidateBodyFrm()
+ * ValidateBodyFrm()
*************************************************************************/
// nach einem RemoveFtn muss der BodyFrm und alle innenliegenden kalkuliert
@@ -179,7 +179,7 @@ void SwTxtFrm::ValidateBodyFrm()
}
/*************************************************************************
- * SwTxtFrm::FindBodyFrm()
+ * SwTxtFrm::FindBodyFrm()
*************************************************************************/
sal_Bool SwTxtFrm::_GetDropRect( SwRect &rRect ) const
@@ -211,7 +211,7 @@ sal_Bool SwTxtFrm::_GetDropRect( SwRect &rRect ) const
}
/*************************************************************************
- * SwTxtFrm::FindBodyFrm()
+ * SwTxtFrm::FindBodyFrm()
*************************************************************************/
const SwBodyFrm *SwTxtFrm::FindBodyFrm() const
@@ -227,7 +227,7 @@ const SwBodyFrm *SwTxtFrm::FindBodyFrm() const
}
/*************************************************************************
- * SwTxtFrm::CalcFollow()
+ * SwTxtFrm::CalcFollow()
*************************************************************************/
sal_Bool SwTxtFrm::CalcFollow( const xub_StrLen nTxtOfst )
@@ -397,7 +397,7 @@ sal_Bool SwTxtFrm::CalcFollow( const xub_StrLen nTxtOfst )
}
/*************************************************************************
- * SwTxtFrm::AdjustFrm()
+ * SwTxtFrm::AdjustFrm()
*************************************************************************/
void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
@@ -458,7 +458,7 @@ void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
{
SwFrm *pPre = GetUpper()->Lower();
do
- { pPre->Calc();
+ { pPre->Calc();
pPre = pPre->GetNext();
} while ( pPre && pPre != this );
}
@@ -529,7 +529,7 @@ void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
// Spaltengroesse ermitteln kann.
if ( nRstHeight < nFrmHeight )
{
- if( bHasToFit || !IsMoveable() ||
+ if( bHasToFit || !IsMoveable() ||
( IsInSct() && !FindSctFrm()->MoveAllowed(this) ) )
{
SetUndersized( sal_True );
@@ -554,7 +554,7 @@ void SwTxtFrm::AdjustFrm( const SwTwips nChgHght, sal_Bool bHasToFit )
}
/*************************************************************************
- * SwTxtFrm::AdjustFollow()
+ * SwTxtFrm::AdjustFollow()
*************************************************************************/
/* AdjustFollow erwartet folgende Situation:
@@ -616,13 +616,13 @@ void SwTxtFrm::_AdjustFollow( SwTxtFormatter &rLine,
if ( nMode )
GetFollow()->ManipOfst( 0 );
- if ( CalcFollow( nNewOfst ) ) // CalcFollow erst zum Schluss, dort erfolgt ein SetOfst
+ if ( CalcFollow( nNewOfst ) ) // CalcFollow erst zum Schluss, dort erfolgt ein SetOfst
rLine.SetOnceMore( sal_True );
}
}
/*************************************************************************
- * SwTxtFrm::JoinFrm()
+ * SwTxtFrm::JoinFrm()
*************************************************************************/
SwCntntFrm *SwTxtFrm::JoinFrm()
@@ -699,7 +699,7 @@ SwCntntFrm *SwTxtFrm::JoinFrm()
}
/*************************************************************************
- * SwTxtFrm::SplitFrm()
+ * SwTxtFrm::SplitFrm()
*************************************************************************/
SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos )
@@ -785,7 +785,7 @@ SwCntntFrm *SwTxtFrm::SplitFrm( const xub_StrLen nTxtPos )
/*************************************************************************
- * virtual SwTxtFrm::SetOfst()
+ * virtual SwTxtFrm::SetOfst()
*************************************************************************/
void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
@@ -812,7 +812,7 @@ void SwTxtFrm::_SetOfst( const xub_StrLen nNewOfst )
}
/*************************************************************************
- * SwTxtFrm::CalcPreps
+ * SwTxtFrm::CalcPreps
*************************************************************************/
sal_Bool SwTxtFrm::CalcPreps()
@@ -1003,7 +1003,7 @@ sal_Bool SwTxtFrm::CalcPreps()
/*************************************************************************
- * SwTxtFrm::FormatAdjust()
+ * SwTxtFrm::FormatAdjust()
*************************************************************************/
// Hier werden die Fussnoten und "als Zeichen"-gebundenen Objekte umgehaengt
@@ -1200,7 +1200,7 @@ void SwTxtFrm::FormatAdjust( SwTxtFormatter &rLine,
}
/*************************************************************************
- * SwTxtFrm::FormatLine()
+ * SwTxtFrm::FormatLine()
*************************************************************************/
// bPrev zeigt an, ob Reformat.Start() wegen Prev() vorgezogen wurde.
@@ -1220,7 +1220,7 @@ sal_Bool SwTxtFrm::FormatLine( SwTxtFormatter &rLine, const sal_Bool bPrev )
const xub_StrLen nOldLen = pOldCur->GetLen();
const KSHORT nOldAscent = pOldCur->GetAscent();
const KSHORT nOldHeight = pOldCur->Height();
- const SwTwips nOldWidth = pOldCur->Width() + pOldCur->GetHangingMargin();
+ const SwTwips nOldWidth = pOldCur->Width() + pOldCur->GetHangingMargin();
const sal_Bool bOldHyph = pOldCur->IsEndHyph();
SwTwips nOldTop = 0;
SwTwips nOldBottom = 0;
@@ -1349,7 +1349,7 @@ sal_Bool SwTxtFrm::FormatLine( SwTxtFormatter &rLine, const sal_Bool bPrev )
}
/*************************************************************************
- * SwTxtFrm::_Format()
+ * SwTxtFrm::_Format()
*************************************************************************/
void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
@@ -1365,7 +1365,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
const xub_StrLen nStrLen = rString.Len();
SwCharRange &rReformat = *(pPara->GetReformat());
- SwRepaint &rRepaint = *(pPara->GetRepaint());
+ SwRepaint &rRepaint = *(pPara->GetRepaint());
SwRepaint *pFreeze = NULL;
// Aus Performancegruenden wird in Init() rReformat auf STRING_LEN gesetzt.
@@ -1485,7 +1485,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
( !pPara->IsPrepMustFit() || rLine.GetLineNr() > 1 );
}
- /* Bedeutung der folgenden Flags:
+ /* Bedeutung der folgenden Flags:
Ist das Watch(End/Mid)Hyph-Flag gesetzt, so muss formatiert werden, wenn
eine Trennung am (Zeilenende/Fly) vorliegt, sofern MaxHyph erreicht ist.
Das Jump(End/Mid)Flag bedeutet, dass die naechste Zeile, bei der keine
@@ -1559,7 +1559,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
if( !bFormat )
{
SwLinePortion* pRest =
- rLine.MakeRestPortion( rLine.GetCurr(), rLine.GetEnd() );
+ rLine.MakeRestPortion( rLine.GetCurr(), rLine.GetEnd() );
if( pRest )
rInf.SetRest( pRest );
}
@@ -1670,7 +1670,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
rLine.SetTruncLines( sal_False );
if( nOldBottom ) // Bei "gescollten" Absaetzen wird
{ // noch ueberprueft, ob durch Schrumpfen
- rLine.Bottom(); // das Scrolling ueberfluessig wurde.
+ rLine.Bottom(); // das Scrolling ueberfluessig wurde.
SwTwips nNewBottom = rLine.Y();
if( nNewBottom < nOldBottom )
_SetOfst( 0 );
@@ -1679,7 +1679,7 @@ void SwTxtFrm::_Format( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf,
}
/*************************************************************************
- * SwTxtFrm::Format()
+ * SwTxtFrm::Format()
*************************************************************************/
void SwTxtFrm::FormatOnceMore( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
@@ -1696,7 +1696,7 @@ void SwTxtFrm::FormatOnceMore( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
sal_Bool bShrink = sal_False,
bGrow = sal_False,
bGoOn = rLine.IsOnceMore();
- sal_uInt8 nGo = 0;
+ sal_uInt8 nGo = 0;
while( bGoOn )
{
#ifdef DBGTXT
@@ -1748,7 +1748,7 @@ void SwTxtFrm::FormatOnceMore( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFrm::_Format()
+ * SwTxtFrm::_Format()
*************************************************************************/
@@ -1758,9 +1758,9 @@ void SwTxtFrm::_Format( SwParaPortion *pPara )
// AMA: Wozu soll das gut sein? Scheint mir zuoft zu einem kompletten
// Formatieren und Repainten zu fuehren???
-// if ( !(*pPara->GetDelta()) )
-// *(pPara->GetDelta()) = nStrLen;
-// else
+// if ( !(*pPara->GetDelta()) )
+// *(pPara->GetDelta()) = nStrLen;
+// else
if ( !nStrLen )
{
// Leere Zeilen werden nicht lange gequaelt:
@@ -1785,7 +1785,7 @@ void SwTxtFrm::_Format( SwParaPortion *pPara )
SwapWidthAndHeight();
SwTxtFormatInfo aInf( this );
- SwTxtFormatter aLine( this, &aInf );
+ SwTxtFormatter aLine( this, &aInf );
// OD 2004-01-15 #110582#
HideAndShowObjects();
@@ -1818,7 +1818,7 @@ void SwTxtFrm::_Format( SwParaPortion *pPara )
}
/*************************************************************************
- * SwTxtFrm::Format()
+ * SwTxtFrm::Format()
*************************************************************************/
/*
@@ -2065,7 +2065,7 @@ void SwTxtFrm::Format( const SwBorderAttrs * )
}
/*************************************************************************
- * SwTxtFrm::FormatQuick()
+ * SwTxtFrm::FormatQuick()
*
* bForceQuickFormat is set if GetFormatted() has been called during the
* painting process. Actually I cannot imagine a situation which requires
@@ -2116,10 +2116,10 @@ sal_Bool SwTxtFrm::FormatQuick( bool bForceQuickFormat )
SwTxtFrmLocker aLock(this);
SwTxtFormatInfo aInf( this, sal_False, sal_True );
- if( 0 != aInf.MaxHyph() ) // 27483: MaxHyphen beachten!
+ if( 0 != aInf.MaxHyph() ) // 27483: MaxHyphen beachten!
return sal_False;
- SwTxtFormatter aLine( this, &aInf );
+ SwTxtFormatter aLine( this, &aInf );
// DropCaps sind zu kompliziert...
if( aLine.GetDropFmt() )
diff --git a/sw/source/core/text/frminf.cxx b/sw/source/core/text/frminf.cxx
index 453cd5189046..31f578be05a2 100644
--- a/sw/source/core/text/frminf.cxx
+++ b/sw/source/core/text/frminf.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +32,11 @@
#include <pam.hxx> // GetSpaces
#include <txtcfg.hxx>
-#include <frminf.hxx> // SwTxtFrminfo
+#include <frminf.hxx> // SwTxtFrminfo
#include <itrtxt.hxx> // SwTxtMargin
/*************************************************************************
- * SwTxtMargin::GetTxtStart()
+ * SwTxtMargin::GetTxtStart()
*************************************************************************/
xub_StrLen SwTxtMargin::GetTxtStart() const
@@ -56,7 +56,7 @@ xub_StrLen SwTxtMargin::GetTxtStart() const
}
/*************************************************************************
- * SwTxtMargin::GetTxtEnd()
+ * SwTxtMargin::GetTxtEnd()
*************************************************************************/
xub_StrLen SwTxtMargin::GetTxtEnd() const
@@ -75,7 +75,7 @@ xub_StrLen SwTxtMargin::GetTxtEnd() const
}
/*************************************************************************
- * SwTxtFrmInfo::IsOneLine()
+ * SwTxtFrmInfo::IsOneLine()
*************************************************************************/
// Passt der Absatz in eine Zeile?
@@ -101,7 +101,7 @@ sal_Bool SwTxtFrmInfo::IsOneLine() const
}
/*************************************************************************
- * SwTxtFrmInfo::IsFilled()
+ * SwTxtFrmInfo::IsFilled()
*************************************************************************/
// Ist die Zeile zu X% gefuellt?
@@ -120,7 +120,7 @@ sal_Bool SwTxtFrmInfo::IsFilled( const sal_uInt8 nPercent ) const
}
/*************************************************************************
- * SwTxtFrmInfo::GetLineStart()
+ * SwTxtFrmInfo::GetLineStart()
*************************************************************************/
// Wo beginnt der Text (ohne whitespaces)? ( Dokument global )
@@ -143,7 +143,7 @@ SwTwips SwTxtFrmInfo::GetLineStart( const SwTxtCursor &rLine ) const
/*************************************************************************
- * SwTxtFrmInfo::GetLineStart()
+ * SwTxtFrmInfo::GetLineStart()
*************************************************************************/
// Wo beginnt der Text (ohne whitespaces)? (rel. im Frame)
@@ -151,7 +151,7 @@ SwTwips SwTxtFrmInfo::GetLineStart() const
{
SwTxtSizeInfo aInf( (SwTxtFrm*)pFrm );
SwTxtCursor aLine( (SwTxtFrm*)pFrm, &aInf );
- return GetLineStart( aLine ) - pFrm->Frm().Left() - pFrm->Prt().Left();
+ return GetLineStart( aLine ) - pFrm->Frm().Left() - pFrm->Prt().Left();
}
// errechne die Position des Zeichens und gebe die Mittelposition zurueck
@@ -192,7 +192,7 @@ SwTwips SwTxtFrmInfo::GetCharPos( xub_StrLen nChar, sal_Bool bCenter ) const
}
/*************************************************************************
- * SwTxtFrmInfo::GetSpaces()
+ * SwTxtFrmInfo::GetSpaces()
*************************************************************************/
SwPaM *AddPam( SwPaM *pPam, const SwTxtFrm* pTxtFrm,
@@ -234,13 +234,13 @@ void SwTxtFrmInfo::GetSpaces( SwPaM &rPam, sal_Bool bWithLineBreak ) const
{
xub_StrLen nPos = aLine.GetTxtStart();
// Bug 49649: von der ersten Line die Blanks/Tabs NICHT
- // mit selektieren
+ // mit selektieren
if( !bFirstLine && nPos > aLine.GetStart() )
pPam = AddPam( pPam, pFrm, aLine.GetStart(),
nPos - aLine.GetStart() );
// Bug 49649: von der letzten Line die Blanks/Tabs NICHT
- // mit selektieren
+ // mit selektieren
if( aLine.GetNext() )
{
nPos = aLine.GetTxtEnd();
@@ -260,7 +260,7 @@ void SwTxtFrmInfo::GetSpaces( SwPaM &rPam, sal_Bool bWithLineBreak ) const
}
/*************************************************************************
- * SwTxtFrmInfo::IsBullet()
+ * SwTxtFrmInfo::IsBullet()
*************************************************************************/
// Ist an der Textposition ein Bullet/Symbol etc?
@@ -274,7 +274,7 @@ sal_Bool SwTxtFrmInfo::IsBullet( xub_StrLen nTxtStart ) const
}
/*************************************************************************
- * SwTxtFrmInfo::GetFirstIndent()
+ * SwTxtFrmInfo::GetFirstIndent()
*************************************************************************/
// Ermittelt Erstzeileneinzug
@@ -316,7 +316,7 @@ SwTwips SwTxtFrmInfo::GetFirstIndent() const
}
/*************************************************************************
- * SwTxtFrmInfo::GetBigIndent()
+ * SwTxtFrmInfo::GetBigIndent()
*************************************************************************/
KSHORT SwTxtFrmInfo::GetBigIndent( xub_StrLen& rFndPos,
diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx
index d8da5de1351e..f53af9a68e69 100644
--- a/sw/source/core/text/frmpaint.cxx
+++ b/sw/source/core/text/frmpaint.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <lineinfo.hxx>
#include <charfmt.hxx>
#include <pagefrm.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <viewimp.hxx> // SwViewImp
-#include <viewopt.hxx> // SwViewOption
-#include <frmtool.hxx> // DrawGraphic
+#include <viewsh.hxx> // ViewShell
+#include <viewimp.hxx> // SwViewImp
+#include <viewopt.hxx> // SwViewOption
+#include <frmtool.hxx> // DrawGraphic
#include <txtcfg.hxx>
#include <txtfrm.hxx> // SwTxtFrm
#include <itrpaint.hxx> // SwTxtPainter
#include <txtpaint.hxx> // SwSaveClip
-#include <txtcache.hxx> // SwTxtLineAccess
-#include <flyfrm.hxx> // SwFlyFrm
-#include <redlnitr.hxx> // SwRedlineItr
+#include <txtcache.hxx> // SwTxtLineAccess
+#include <flyfrm.hxx> // SwFlyFrm
+#include <redlnitr.hxx> // SwRedlineItr
#include <swmodule.hxx> // SW_MOD
-#include <tabfrm.hxx> // SwTabFrm (Redlining)
+#include <tabfrm.hxx> // SwTabFrm (Redlining)
#include <SwGrammarMarkUp.hxx>
// --> FME 2004-06-08 #i12836# enhanced pdf export
@@ -133,10 +133,10 @@ SwExtraPainter::SwExtraPainter( const SwTxtFrm *pFrm, ViewShell *pVwSh,
if( bLineNum )
{ /* initialisiert die Member, die bei Zeilennumerierung notwendig sind:
- nDivider, wie oft ist ein Teilerstring gewuenscht, 0 == nie;
- nX, X-Position der Zeilennummern;
- pFnt, der Font der Zeilennummern;
- nLineNr, die erste Zeilennummer;
+ nDivider, wie oft ist ein Teilerstring gewuenscht, 0 == nie;
+ nX, X-Position der Zeilennummern;
+ pFnt, der Font der Zeilennummern;
+ nLineNr, die erste Zeilennummer;
bLineNum wird ggf.wieder auf sal_False gesetzt, wenn die Numerierung sich
komplett ausserhalb des Paint-Rechtecks aufhaelt. */
nDivider = rLineInf.GetDivider().Len() ? rLineInf.GetDividerCountBy() : 0;
@@ -446,7 +446,7 @@ SwRect SwTxtFrm::Paint()
else
{
// AMA: Wir liefern jetzt mal das richtige Repaintrechteck zurueck,
- // d.h. als linken Rand den berechneten PaintOfst!
+ // d.h. als linken Rand den berechneten PaintOfst!
SwRepaint *pRepaint = GetPara()->GetRepaint();
long l;
if( pRepaint->GetOfst() )
diff --git a/sw/source/core/text/guess.cxx b/sw/source/core/text/guess.cxx
index f145a8e7c1cc..952d6912f3a5 100644
--- a/sw/source/core/text/guess.cxx
+++ b/sw/source/core/text/guess.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 namespace ::com::sun::star::linguistic2;
#define CH_FULL_BLANK 0x3000
/*************************************************************************
- * SwTxtGuess::Guess
+ * SwTxtGuess::Guess
*
* provides information for line break calculation
* returns true if no line break has to be performed
@@ -519,7 +519,7 @@ sal_Bool SwTxtGuess::Guess( const SwTxtPortion& rPor, SwTxtFormatInfo &rInf,
}
/*************************************************************************
- * SwTxtGuess::AlternativeSpelling
+ * SwTxtGuess::AlternativeSpelling
*************************************************************************/
// returns true if word at position nPos has a diffenrent spelling
@@ -547,7 +547,7 @@ sal_Bool SwTxtGuess::AlternativeSpelling( const SwTxtFormatInfo &rInf,
Reference< XHyphenator > xHyph( ::GetHyphenator() );
OSL_ENSURE( xHyph.is(), "Hyphenator is missing");
//! subtract 1 since the UNO-interface is 0 based
- xHyphWord = xHyph->queryAlternativeSpelling( OUString(aTxt),
+ xHyphWord = xHyph->queryAlternativeSpelling( OUString(aTxt),
pBreakIt->GetLocale( rInf.GetFont()->GetLanguage() ),
nPos - nBreakStart, rInf.GetHyphValues() );
return xHyphWord.is() && xHyphWord->isAlternativeSpelling();
diff --git a/sw/source/core/text/guess.hxx b/sw/source/core/text/guess.hxx
index 3f2e457a609e..a89f41c6bc6a 100644
--- a/sw/source/core/text/guess.hxx
+++ b/sw/source/core/text/guess.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,29 +31,29 @@
#include "txttypes.hxx"
#include "breakit.hxx"
-#include "porrst.hxx" // SwHangingPortion
+#include "porrst.hxx" // SwHangingPortion
class SwTxtFormatInfo;
/*************************************************************************
- * class SwTxtGuess
+ * class SwTxtGuess
*************************************************************************/
class SwTxtGuess
{
::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XHyphenatedWord > xHyphWord;
SwHangingPortion *pHanging; // for hanging punctuation
- xub_StrLen nCutPos; // this character doesn't fit
+ xub_StrLen nCutPos; // this character doesn't fit
xub_StrLen nBreakStart; // start index of word containing line break
- xub_StrLen nBreakPos; // start index of break position
+ xub_StrLen nBreakPos; // start index of break position
xub_StrLen nFieldDiff; // absolut positions can be wrong if we
// a field in the text has been expanded
- KSHORT nBreakWidth; // width of the broken portion
+ KSHORT nBreakWidth; // width of the broken portion
public:
inline SwTxtGuess(): pHanging( NULL ), nCutPos(0), nBreakStart(0),
nBreakPos(0), nFieldDiff(0), nBreakWidth(0)
{ }
- ~SwTxtGuess() { delete pHanging; }
+ ~SwTxtGuess() { delete pHanging; }
// true, if current portion still fits to current line
sal_Bool Guess( const SwTxtPortion& rPor, SwTxtFormatInfo &rInf,
diff --git a/sw/source/core/text/inftxt.cxx b/sw/source/core/text/inftxt.cxx
index c0d9709fdd35..cda537082792 100644
--- a/sw/source/core/text/inftxt.cxx
+++ b/sw/source/core/text/inftxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +56,18 @@
#include <swmodule.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <viewopt.hxx> // SwViewOptions
-#include <frmtool.hxx> // DrawGraphic
+#include <viewsh.hxx> // ViewShell
+#include <viewopt.hxx> // SwViewOptions
+#include <frmtool.hxx> // DrawGraphic
#include <IDocumentSettingAccess.hxx>
#include <IDocumentDeviceAccess.hxx>
-#include <paratr.hxx> // SwFmtDrop
+#include <paratr.hxx> // SwFmtDrop
#include <rootfrm.hxx> // SwRootFrm
-#include <inftxt.hxx> // SwTxtInfo
-#include <blink.hxx> // SwBlink
-#include <noteurl.hxx> // SwNoteURL
-#include <porftn.hxx> // SwFtnPortion
-#include <porrst.hxx> // SwHangingPortion
+#include <inftxt.hxx> // SwTxtInfo
+#include <blink.hxx> // SwBlink
+#include <noteurl.hxx> // SwNoteURL
+#include <porftn.hxx> // SwFtnPortion
+#include <porrst.hxx> // SwHangingPortion
#include <itratr.hxx>
#include <accessibilityoptions.hxx>
#include <wrong.hxx>
@@ -145,7 +145,7 @@ sal_Bool SwTxtSizeInfo::IsOptTest8() const { return GetOpt().IsTest8(); }
#endif
/*************************************************************************
- * SwLineInfo::SwLineInfo()
+ * SwLineInfo::SwLineInfo()
*************************************************************************/
// --> OD 2008-01-17 #newlistlevelattrs#
@@ -213,7 +213,7 @@ void SwLineInfo::CtorInitLineInfo( const SwAttrSet& rAttrSet,
}
/*************************************************************************
- * SwTxtInfo::CtorInitTxtInfo()
+ * SwTxtInfo::CtorInitTxtInfo()
*************************************************************************/
void SwTxtInfo::CtorInitTxtInfo( SwTxtFrm *pFrm )
@@ -236,7 +236,7 @@ SwTxtInfo::SwTxtInfo( const SwTxtInfo &rInf )
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * ChkOutDev()
+ * ChkOutDev()
*************************************************************************/
void ChkOutDev( const SwTxtSizeInfo &rInf )
@@ -248,7 +248,7 @@ void ChkOutDev( const SwTxtSizeInfo &rInf )
const OutputDevice* pRef = rInf.GetRefDev();
OSL_ENSURE( pOut && pRef, "ChkOutDev: invalid output devices" );
}
-#endif // PRODUCT
+#endif // PRODUCT
inline xub_StrLen GetMinLen( const SwTxtSizeInfo &rInf )
@@ -419,7 +419,7 @@ SwTxtSizeInfo::SwTxtSizeInfo( const SwTxtSizeInfo &rNew, const XubString &rTxt,
}
/*************************************************************************
- * SwTxtSizeInfo::SelectFont()
+ * SwTxtSizeInfo::SelectFont()
*************************************************************************/
void SwTxtSizeInfo::SelectFont()
@@ -556,7 +556,7 @@ xub_StrLen SwTxtSizeInfo::GetTxtBreak( const long nLineWidth,
}
/*************************************************************************
- * SwTxtPaintInfo::CtorInitTxtPaintInfo()
+ * SwTxtPaintInfo::CtorInitTxtPaintInfo()
*************************************************************************/
void SwTxtPaintInfo::CtorInitTxtPaintInfo( SwTxtFrm *pFrame, const SwRect &rPaint )
@@ -647,7 +647,7 @@ sal_Bool lcl_IsDarkBackground( const SwTxtPaintInfo& rInf )
}
/*************************************************************************
- * SwTxtPaintInfo::_DrawText()
+ * SwTxtPaintInfo::_DrawText()
*************************************************************************/
void SwTxtPaintInfo::_DrawText( const XubString &rText, const SwLinePortion &rPor,
@@ -980,7 +980,7 @@ static void lcl_DrawSpecial( const SwTxtPaintInfo& rInf, const SwLinePortion& rP
}
/*************************************************************************
- * SwTxtPaintInfo::DrawRect()
+ * SwTxtPaintInfo::DrawRect()
*************************************************************************/
void SwTxtPaintInfo::DrawRect( const SwRect &rRect, sal_Bool bNoGraphic,
@@ -1002,7 +1002,7 @@ void SwTxtPaintInfo::DrawRect( const SwRect &rRect, sal_Bool bNoGraphic,
}
/*************************************************************************
- * SwTxtPaintInfo::DrawTab()
+ * SwTxtPaintInfo::DrawTab()
*************************************************************************/
void SwTxtPaintInfo::DrawTab( const SwLinePortion &rPor ) const
@@ -1024,7 +1024,7 @@ void SwTxtPaintInfo::DrawTab( const SwLinePortion &rPor ) const
}
/*************************************************************************
- * SwTxtPaintInfo::DrawLineBreak()
+ * SwTxtPaintInfo::DrawLineBreak()
*************************************************************************/
void SwTxtPaintInfo::DrawLineBreak( const SwLinePortion &rPor ) const
@@ -1090,7 +1090,7 @@ void SwTxtPaintInfo::DrawRedArrow( const SwLinePortion &rPor ) const
/*************************************************************************
- * SwTxtPaintInfo::DrawPostIts()
+ * SwTxtPaintInfo::DrawPostIts()
*************************************************************************/
void SwTxtPaintInfo::DrawPostIts( const SwLinePortion&, sal_Bool bScript ) const
@@ -1144,10 +1144,10 @@ void SwTxtPaintInfo::DrawCheckBox( const SwFieldFormPortion &rPor, bool checked)
{
SwRect aIntersect;
CalcRect( rPor, &aIntersect, 0 );
- if ( aIntersect.HasArea() )
+ if ( aIntersect.HasArea() )
{
- if (OnWin() && SwViewOption::IsFieldShadings() &&
- !GetOpt().IsPagePreview())
+ if (OnWin() && SwViewOption::IsFieldShadings() &&
+ !GetOpt().IsPagePreview())
{
OutputDevice* pOut_ = (OutputDevice*)GetOut();
pOut_->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR );
@@ -1158,7 +1158,7 @@ void SwTxtPaintInfo::DrawCheckBox( const SwFieldFormPortion &rPor, bool checked)
}
const int delta=10;
Rectangle r(aIntersect.Left()+delta, aIntersect.Top()+delta, aIntersect.Right()-delta, aIntersect.Bottom()-delta);
- pOut->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR );
+ pOut->Push( PUSH_LINECOLOR | PUSH_FILLCOLOR );
pOut->SetLineColor( Color(0, 0, 0));
pOut->SetFillColor();
pOut->DrawRect( r );
@@ -1170,7 +1170,7 @@ void SwTxtPaintInfo::DrawCheckBox( const SwFieldFormPortion &rPor, bool checked)
}
}
/*************************************************************************
- * SwTxtPaintInfo::DrawBackGround()
+ * SwTxtPaintInfo::DrawBackGround()
*************************************************************************/
void SwTxtPaintInfo::DrawBackground( const SwLinePortion &rPor ) const
{
@@ -1268,7 +1268,7 @@ void SwTxtPaintInfo::_DrawBackBrush( const SwLinePortion &rPor ) const
}
/*************************************************************************
- * SwTxtPaintInfo::DrawViewOpt()
+ * SwTxtPaintInfo::DrawViewOpt()
*************************************************************************/
void SwTxtPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
@@ -1296,8 +1296,8 @@ void SwTxtPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
pFrm->GetTxtNode()->HasMarkedLabel())) // #i27615#
bDraw = sal_True;
break;
- case POR_TAB: if ( GetOpt().IsTab() ) bDraw = sal_True; break;
- case POR_SOFTHYPH: if ( GetOpt().IsSoftHyph() )bDraw = sal_True; break;
+ case POR_TAB: if ( GetOpt().IsTab() ) bDraw = sal_True; break;
+ case POR_SOFTHYPH: if ( GetOpt().IsSoftHyph() )bDraw = sal_True; break;
case POR_BLANK: if ( GetOpt().IsHardBlank())bDraw = sal_True; break;
default:
{
@@ -1311,7 +1311,7 @@ void SwTxtPaintInfo::DrawViewOpt( const SwLinePortion &rPor,
}
/*************************************************************************
- * SwTxtPaintInfo::_NotifyURL()
+ * SwTxtPaintInfo::_NotifyURL()
*************************************************************************/
void SwTxtPaintInfo::_NotifyURL( const SwLinePortion &rPor ) const
@@ -1336,7 +1336,7 @@ void SwTxtPaintInfo::_NotifyURL( const SwLinePortion &rPor ) const
}
/*************************************************************************
- * lcl_InitHyphValues()
+ * lcl_InitHyphValues()
*************************************************************************/
static void lcl_InitHyphValues( PropertyValues &rVals,
@@ -1344,20 +1344,20 @@ static void lcl_InitHyphValues( PropertyValues &rVals,
{
INT32 nLen = rVals.getLength();
- if (0 == nLen) // yet to be initialized?
+ if (0 == nLen) // yet to be initialized?
{
rVals.realloc( 2 );
PropertyValue *pVal = rVals.getArray();
- pVal[0].Name = C2U( UPN_HYPH_MIN_LEADING );
- pVal[0].Handle = UPH_HYPH_MIN_LEADING;
- pVal[0].Value <<= nMinLeading;
+ pVal[0].Name = C2U( UPN_HYPH_MIN_LEADING );
+ pVal[0].Handle = UPH_HYPH_MIN_LEADING;
+ pVal[0].Value <<= nMinLeading;
- pVal[1].Name = C2U( UPN_HYPH_MIN_TRAILING );
- pVal[1].Handle = UPH_HYPH_MIN_TRAILING;
- pVal[1].Value <<= nMinTrailing;
+ pVal[1].Name = C2U( UPN_HYPH_MIN_TRAILING );
+ pVal[1].Handle = UPH_HYPH_MIN_TRAILING;
+ pVal[1].Value <<= nMinTrailing;
}
- else if (2 == nLen) // already initialized once?
+ else if (2 == nLen) // already initialized once?
{
PropertyValue *pVal = rVals.getArray();
pVal[0].Value <<= nMinLeading;
@@ -1369,7 +1369,7 @@ static void lcl_InitHyphValues( PropertyValues &rVals,
}
/*************************************************************************
- * SwTxtFormatInfo::GetHyphValues()
+ * SwTxtFormatInfo::GetHyphValues()
*************************************************************************/
const PropertyValues & SwTxtFormatInfo::GetHyphValues() const
@@ -1380,7 +1380,7 @@ const PropertyValues & SwTxtFormatInfo::GetHyphValues() const
}
/*************************************************************************
- * SwTxtFormatInfo::InitHyph()
+ * SwTxtFormatInfo::InitHyph()
*************************************************************************/
sal_Bool SwTxtFormatInfo::InitHyph( const sal_Bool bAutoHyphen )
@@ -1405,7 +1405,7 @@ sal_Bool SwTxtFormatInfo::InitHyph( const sal_Bool bAutoHyphen )
}
/*************************************************************************
- * SwTxtFormatInfo::CtorInitTxtFormatInfo()
+ * SwTxtFormatInfo::CtorInitTxtFormatInfo()
*************************************************************************/
void SwTxtFormatInfo::CtorInitTxtFormatInfo( SwTxtFrm *pNewFrm, const sal_Bool bNewInterHyph,
@@ -1417,9 +1417,9 @@ void SwTxtFormatInfo::CtorInitTxtFormatInfo( SwTxtFrm *pNewFrm, const sal_Bool b
bInterHyph = bNewInterHyph;
//! needs to be done in this order
- nMinLeading = 2;
- nMinTrailing = 2;
- nMinWordLength = 0;
+ nMinLeading = 2;
+ nMinTrailing = 2;
+ nMinWordLength = 0;
bAutoHyph = InitHyph();
bIgnoreFly = sal_False;
@@ -1440,14 +1440,14 @@ void SwTxtFormatInfo::CtorInitTxtFormatInfo( SwTxtFrm *pNewFrm, const sal_Bool b
}
/*************************************************************************
- * SwTxtFormatInfo::IsHyphenate()
+ * SwTxtFormatInfo::IsHyphenate()
*************************************************************************/
// Trennen oder nicht trennen, das ist hier die Frage:
// - in keinem Fall trennen, wenn der Hyphenator ERROR zurueckliefert,
-// oder wenn als Sprache NOLANGUAGE eingestellt ist.
+// oder wenn als Sprache NOLANGUAGE eingestellt ist.
// - ansonsten immer trennen, wenn interaktive Trennung vorliegt
// - wenn keine interakt. Trennung, dann nur trennen, wenn im ParaFmt
-// automatische Trennung eingestellt ist.
+// automatische Trennung eingestellt ist.
sal_Bool SwTxtFormatInfo::IsHyphenate() const
{
@@ -1468,7 +1468,7 @@ sal_Bool SwTxtFormatInfo::IsHyphenate() const
}
/*************************************************************************
- * SwTxtFormatInfo::GetDropFmt()
+ * SwTxtFormatInfo::GetDropFmt()
*************************************************************************/
// Dropcaps vom SwTxtFormatter::CTOR gerufen.
@@ -1482,7 +1482,7 @@ const SwFmtDrop *SwTxtFormatInfo::GetDropFmt() const
}
/*************************************************************************
- * SwTxtFormatInfo::Init()
+ * SwTxtFormatInfo::Init()
*************************************************************************/
void SwTxtFormatInfo::Init()
@@ -1566,14 +1566,14 @@ SwTxtFormatInfo::SwTxtFormatInfo( const SwTxtFormatInfo& rInf,
bArrowDone = TRUE;
bStop = FALSE;
bNewLine = TRUE;
- bShift = FALSE;
+ bShift = FALSE;
bUnderFlow = FALSE;
bInterHyph = FALSE;
bAutoHyph = FALSE;
bDropInit = FALSE;
- bQuick = rInf.bQuick;
- bNoEndHyph = FALSE;
- bNoMidHyph = FALSE;
+ bQuick = rInf.bQuick;
+ bNoEndHyph = FALSE;
+ bNoMidHyph = FALSE;
bIgnoreFly = FALSE;
bFakeLineStart = FALSE;
@@ -1586,7 +1586,7 @@ SwTxtFormatInfo::SwTxtFormatInfo( const SwTxtFormatInfo& rInf,
}
/*************************************************************************
- * SwTxtFormatInfo::_CheckFtnPortion()
+ * SwTxtFormatInfo::_CheckFtnPortion()
*************************************************************************/
sal_Bool SwTxtFormatInfo::_CheckFtnPortion( SwLineLayout* pCurr )
@@ -1612,7 +1612,7 @@ sal_Bool SwTxtFormatInfo::_CheckFtnPortion( SwLineLayout* pCurr )
/*************************************************************************
- * SwTxtFormatInfo::ScanPortionEnd()
+ * SwTxtFormatInfo::ScanPortionEnd()
*************************************************************************/
xub_StrLen SwTxtFormatInfo::ScanPortionEnd( const xub_StrLen nStart,
const xub_StrLen nEnd )
@@ -1839,7 +1839,7 @@ SwTxtSlot::~SwTxtSlot()
}
/*************************************************************************
- * SwFontSave::SwFontSave()
+ * SwFontSave::SwFontSave()
*************************************************************************/
SwFontSave::SwFontSave( const SwTxtSizeInfo &rInf, SwFont *pNew,
@@ -1879,7 +1879,7 @@ SwFontSave::SwFontSave( const SwTxtSizeInfo &rInf, SwFont *pNew,
}
/*************************************************************************
- * SwFontSave::~SwFontSave()
+ * SwFontSave::~SwFontSave()
*************************************************************************/
SwFontSave::~SwFontSave()
@@ -1898,7 +1898,7 @@ SwFontSave::~SwFontSave()
}
/*************************************************************************
- * SwDefFontSave::SwDefFontSave()
+ * SwDefFontSave::SwDefFontSave()
*************************************************************************/
SwDefFontSave::SwDefFontSave( const SwTxtSizeInfo &rInf )
@@ -1941,7 +1941,7 @@ SwDefFontSave::SwDefFontSave( const SwTxtSizeInfo &rInf )
}
/*************************************************************************
- * SwDefFontSave::~SwDefFontSave()
+ * SwDefFontSave::~SwDefFontSave()
*************************************************************************/
SwDefFontSave::~SwDefFontSave()
@@ -1956,7 +1956,7 @@ SwDefFontSave::~SwDefFontSave()
}
/*************************************************************************
- * SwTxtFormatInfo::ChgHyph()
+ * SwTxtFormatInfo::ChgHyph()
*************************************************************************/
sal_Bool SwTxtFormatInfo::ChgHyph( const sal_Bool bNew )
diff --git a/sw/source/core/text/inftxt.hxx b/sw/source/core/text/inftxt.hxx
index e97389d9d2f3..073b9bfffdcb 100644
--- a/sw/source/core/text/inftxt.hxx
+++ b/sw/source/core/text/inftxt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwWrongList;
/* Minimum: Prozentwert fuers kernen */
#define MINKERNPERCENT 5
-#define ARROW_WIDTH 200
+#define ARROW_WIDTH 200
#define DIR_LEFT2RIGHT 0
#define DIR_BOTTOM2TOP 1
#define DIR_RIGHT2LEFT 2
@@ -77,16 +77,16 @@ class SwWrongList;
#if OSL_DEBUG_LEVEL > 1
#define OPTCALM( rInf ) (rInf).IsOptCalm()
-#define OPTLOW( rInf ) (rInf).IsOptLow()
-#define OPTDBG( rInf ) (rInf).IsOptDbg()
+#define OPTLOW( rInf ) (rInf).IsOptLow()
+#define OPTDBG( rInf ) (rInf).IsOptDbg()
#else
#define OPTCALM( rInf ) sal_True
-#define OPTLOW( rInf ) sal_False
-#define OPTDBG( rInf ) sal_False
+#define OPTLOW( rInf ) sal_False
+#define OPTDBG( rInf ) sal_False
#endif
/*************************************************************************
- * class SwLineInfo
+ * class SwLineInfo
*************************************************************************/
// Beruecksichtigt das Attribut LineSpace bei der Hoehen/Ascentberechnung.
@@ -150,7 +150,7 @@ public:
};
/*************************************************************************
- * class SwTxtInfo
+ * class SwTxtInfo
*************************************************************************/
class SwTxtInfo
@@ -158,7 +158,7 @@ class SwTxtInfo
// Implementation in txthyph.cxx
friend void SetParaPortion( SwTxtInfo *pInf, SwParaPortion *pRoot );
SwParaPortion *pPara;
- xub_StrLen nTxtStart; // TxtOfst bei Follows
+ xub_StrLen nTxtStart; // TxtOfst bei Follows
protected:
inline SwTxtInfo() { }
@@ -174,7 +174,7 @@ public:
};
/*************************************************************************
- * class SwTxtSizeInfo
+ * class SwTxtSizeInfo
*************************************************************************/
DECLARE_TABLE( SwTxtPortionTable, sal_IntPtr )
@@ -189,7 +189,7 @@ protected:
// this array is passed over to the info structure
SvUShorts* pKanaComp;
- ViewShell *pVsh;
+ ViewShell *pVsh;
// pOut is the output device, pRef is the device used for formatting
OutputDevice* pOut;
@@ -203,20 +203,20 @@ protected:
xub_StrLen nIdx, nLen;
USHORT nKanaIdx;
sal_Bool bOnWin : 1;
- sal_Bool bNotEOL : 1;
+ sal_Bool bNotEOL : 1;
sal_Bool bURLNotify : 1;
sal_Bool bStopUnderFlow : 1;// Underflow gestoppt z.B. von einer FlyPortion
sal_Bool bFtnInside : 1; // the current line contains a footnote
sal_Bool bOtherThanFtnInside : 1; // the current line contains another portion than a footnote portion.
// needed for checking keep together of footnote portion with previous portion
- sal_Bool bMulti : 1; // inside a multiportion
+ sal_Bool bMulti : 1; // inside a multiportion
sal_Bool bFirstMulti : 1; // this flag is used for two purposes:
// - the multiportion is the first lineportion
// - indicates, if we are currently in second
// line of multi portion
- sal_Bool bRuby : 1; // during the formatting of a phonetic line
- sal_Bool bHanging : 1; // formatting of hanging punctuation allowed
- sal_Bool bScriptSpace : 1; // space between different scripts (Asian/Latin)
+ sal_Bool bRuby : 1; // during the formatting of a phonetic line
+ sal_Bool bHanging : 1; // formatting of hanging punctuation allowed
+ sal_Bool bScriptSpace : 1; // space between different scripts (Asian/Latin)
sal_Bool bForbiddenChars : 1; // Forbidden start/endline characters
sal_Bool bSnapToGrid : 1; // paragraph snaps to grid
sal_uInt8 nDirection : 2; // writing direction: 0/90/180/270 degree
@@ -294,7 +294,7 @@ public:
inline xub_Unicode GetChar( const xub_StrLen nPos ) const
{ return pTxt->GetChar( nPos ); }
- inline KSHORT GetTxtHeight() const;
+ inline KSHORT GetTxtHeight() const;
//
// GetTxtSize
@@ -396,7 +396,7 @@ public:
};
/*************************************************************************
- * class SwTxtPaintInfo
+ * class SwTxtPaintInfo
*************************************************************************/
class SwTxtPaintInfo : public SwTxtSizeInfo
@@ -406,10 +406,10 @@ class SwTxtPaintInfo : public SwTxtSizeInfo
const SwWrongList *pSmartTags; // SMARTTAGS
std::vector<long>* pSpaceAdd;
const SvxBrushItem *pBrushItem; // Fuer den Hintergrund
- SwRect aItemRect; // ebenfalls fuer den Hintergrund
- SwTxtFly aTxtFly; // FlyFrm-Berechnung
- Point aPos; // Ausgabeposition
- SwRect aPaintRect; // Original Ausgaberechteck (aus Layout-Paint)
+ SwRect aItemRect; // ebenfalls fuer den Hintergrund
+ SwTxtFly aTxtFly; // FlyFrm-Berechnung
+ Point aPos; // Ausgabeposition
+ SwRect aPaintRect; // Original Ausgaberechteck (aus Layout-Paint)
MSHORT nSpaceIdx;
void _DrawText( const XubString &rText, const SwLinePortion &rPor,
@@ -518,28 +518,28 @@ public:
};
/*************************************************************************
- * class SwTxtFormatInfo
+ * class SwTxtFormatInfo
*************************************************************************/
class SwTxtFormatInfo : public SwTxtPaintInfo
{
// temporary arguments for hyphenation
- com::sun::star::beans::PropertyValues aHyphVals;
+ com::sun::star::beans::PropertyValues aHyphVals;
- SwLineLayout *pRoot; // die Root der aktuellen Zeile (pCurr)
- SwLinePortion *pLast; // die letzte Portion
- SwFlyPortion *pFly; // die nachfolgende FlyPortion
- SwFldPortion *pLastFld; // umgebrochenes Feld
- SwLinePortion *pUnderFlow; // Unterlaufsituation: letzte Portion
- SwLinePortion *pRest; // Rest ist der Beginn der naechsten Zeile
+ SwLineLayout *pRoot; // die Root der aktuellen Zeile (pCurr)
+ SwLinePortion *pLast; // die letzte Portion
+ SwFlyPortion *pFly; // die nachfolgende FlyPortion
+ SwFldPortion *pLastFld; // umgebrochenes Feld
+ SwLinePortion *pUnderFlow; // Unterlaufsituation: letzte Portion
+ SwLinePortion *pRest; // Rest ist der Beginn der naechsten Zeile
- SwTabPortion *pLastTab; // die _letzte_ TabPortion
+ SwTabPortion *pLastTab; // die _letzte_ TabPortion
xub_StrLen nSoftHyphPos; // SoftHyphPos fuer Hyphenate
- xub_StrLen nHyphStart; // TxtPos, an der die interakt.Tr.z.Z. steht
+ xub_StrLen nHyphStart; // TxtPos, an der die interakt.Tr.z.Z. steht
xub_StrLen nHyphWrdStart; // gefundene Wort-Position
xub_StrLen nHyphWrdLen; // gefundene Wort-Laenge
- xub_StrLen nLineStart; // aktueller Zeilenbeginn im rTxt
+ xub_StrLen nLineStart; // aktueller Zeilenbeginn im rTxt
xub_StrLen nUnderScorePos; // enlarge repaint if underscore has been found
// --> FME 2004-11-25 #i34348# Changed type from USHORT to SwTwips
SwTwips nLeft; // linker Rand
@@ -547,39 +547,39 @@ class SwTxtFormatInfo : public SwTxtPaintInfo
SwTwips nFirst; // EZE
// <--
KSHORT nRealWidth; // "echte" Zeilenbreite
- KSHORT nWidth; // "virtuelle" Zeilenbreite
- KSHORT nLineHeight; // endgueltige Hoehe nach CalcLine
+ KSHORT nWidth; // "virtuelle" Zeilenbreite
+ KSHORT nLineHeight; // endgueltige Hoehe nach CalcLine
KSHORT nLineNettoHeight; // line height without spacing
- KSHORT nForcedLeftMargin; // Verschiebung des linken Rands wg. Rahmen
+ KSHORT nForcedLeftMargin; // Verschiebung des linken Rands wg. Rahmen
- INT16 nMinLeading; // minimum number of chars before hyphenation point
- INT16 nMinTrailing; // minimum number of chars after hyphenation point
- INT16 nMinWordLength; // minimum length of word to be hyphenated
+ INT16 nMinLeading; // minimum number of chars before hyphenation point
+ INT16 nMinTrailing; // minimum number of chars after hyphenation point
+ INT16 nMinWordLength; // minimum length of word to be hyphenated
- sal_Bool bFull : 1; // Zeile ist voll
- sal_Bool bFtnDone : 1; // Ftn bereits formatiert
- sal_Bool bErgoDone : 1; // ErgoDone bereits formatiert
- sal_Bool bNumDone : 1; // bNumDone bereits formatiert
+ sal_Bool bFull : 1; // Zeile ist voll
+ sal_Bool bFtnDone : 1; // Ftn bereits formatiert
+ sal_Bool bErgoDone : 1; // ErgoDone bereits formatiert
+ sal_Bool bNumDone : 1; // bNumDone bereits formatiert
sal_Bool bArrowDone : 1; // Pfeil nach links bei gescrollten Absaetzen
- sal_Bool bStop : 1; // Sofort abbrechen, Zeile verwerfen.
- sal_Bool bNewLine : 1; // Noch eine weitere Zeile formatieren.
- sal_Bool bShift : 1; // Positionsaend.: Repaint bis auf Weiteres
- sal_Bool bUnderFlow : 1; // Kontext: UnderFlow() ?
- sal_Bool bInterHyph: 1; // interaktive Trennung ?
- sal_Bool bAutoHyph : 1; // automatische Trennung ?
- sal_Bool bDropInit : 1; // DropWidth einstellen.
- sal_Bool bQuick : 1; // FormatQuick()
- sal_Bool bNoEndHyph : 1; // Trennung am Zeilenende abgeschaltet wg. MaxHyphens
- sal_Bool bNoMidHyph : 1; // Trennung vor Flies abgeschaltet wg. MaxHyphens
- sal_Bool bIgnoreFly: 1; // FitToContent ignoriert Flies
+ sal_Bool bStop : 1; // Sofort abbrechen, Zeile verwerfen.
+ sal_Bool bNewLine : 1; // Noch eine weitere Zeile formatieren.
+ sal_Bool bShift : 1; // Positionsaend.: Repaint bis auf Weiteres
+ sal_Bool bUnderFlow : 1; // Kontext: UnderFlow() ?
+ sal_Bool bInterHyph: 1; // interaktive Trennung ?
+ sal_Bool bAutoHyph : 1; // automatische Trennung ?
+ sal_Bool bDropInit : 1; // DropWidth einstellen.
+ sal_Bool bQuick : 1; // FormatQuick()
+ sal_Bool bNoEndHyph : 1; // Trennung am Zeilenende abgeschaltet wg. MaxHyphens
+ sal_Bool bNoMidHyph : 1; // Trennung vor Flies abgeschaltet wg. MaxHyphens
+ sal_Bool bIgnoreFly: 1; // FitToContent ignoriert Flies
sal_Bool bFakeLineStart: 1; // String has been replaced by field portion
// info structure only pretends that we are at
// the beginning of a line
- xub_Unicode cTabDecimal; // das _aktuelle_ Dezimalzeichen
- xub_Unicode cHookChar; // fuer Tabs in Feldern etc.
- sal_uInt8 nMaxHyph; // max. Zeilenanz. aufeinanderfolg. Trenn.
- sal_Bool bTestFormat; // Testformatierung aus WouldFit, keine Benachrichtigungen etc.
+ xub_Unicode cTabDecimal; // das _aktuelle_ Dezimalzeichen
+ xub_Unicode cHookChar; // fuer Tabs in Feldern etc.
+ sal_uInt8 nMaxHyph; // max. Zeilenanz. aufeinanderfolg. Trenn.
+ sal_Bool bTestFormat; // Testformatierung aus WouldFit, keine Benachrichtigungen etc.
// Hyphenating ...
sal_Bool InitHyph( const sal_Bool bAuto = sal_False );
@@ -723,7 +723,7 @@ public:
::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XHyphenatedWord >
HyphWord( const String &rTxt, const USHORT nMinTrail );
- const com::sun::star::beans::PropertyValues &
+ const com::sun::star::beans::PropertyValues &
GetHyphValues() const;
sal_Bool CheckFtnPortion( SwLineLayout* pCurr )
@@ -742,12 +742,12 @@ public:
// Return: gefundene Position, setzt ggf. cHookChar
xub_StrLen ScanPortionEnd( const xub_StrLen nStart, const xub_StrLen nEnd );
-// friend ostream &operator<<( ostream &rOS, const SwTxtFormatInfo &rInf );
+// friend ostream &operator<<( ostream &rOS, const SwTxtFormatInfo &rInf );
friend SvStream &operator<<( SvStream &rOS, const SwTxtFormatInfo &rInf );
};
/*************************************************************************
- * class SwTxtSlot
+ * class SwTxtSlot
*************************************************************************/
// Fuer die Textersetzung und Restaurierung der SwTxtSizeInfo.
@@ -777,14 +777,14 @@ public:
};
/*************************************************************************
- * class SwFontSave
+ * class SwFontSave
*************************************************************************/
class SwFontSave
{
SwTxtSizeInfo *pInf;
- SwFont *pFnt;
- SwAttrIter *pIter;
+ SwFont *pFnt;
+ SwAttrIter *pIter;
public:
SwFontSave( const SwTxtSizeInfo &rInf, SwFont *pFnt,
SwAttrIter* pItr = NULL );
@@ -792,15 +792,15 @@ public:
};
/*************************************************************************
- * class SwDefFontSave
+ * class SwDefFontSave
*************************************************************************/
class SwDefFontSave
{
SwTxtSizeInfo *pInf;
- SwFont *pFnt;
- SwFont *pNewFnt;
- sal_Bool bAlter;
+ SwFont *pFnt;
+ SwFont *pNewFnt;
+ sal_Bool bAlter;
public:
SwDefFontSave( const SwTxtSizeInfo &rInf );
~SwDefFontSave();
diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx
index d495574a2cfb..a0c3e3d3c296 100644
--- a/sw/source/core/text/itradj.cxx
+++ b/sw/source/core/text/itradj.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/text/itratr.cxx b/sw/source/core/text/itratr.cxx
index 1fc277d439ed..c2212c44e2a2 100644
--- a/sw/source/core/text/itratr.cxx
+++ b/sw/source/core/text/itratr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -47,13 +47,13 @@
#include <frmfmt.hxx>
#include <fmtfld.hxx>
#include <doc.hxx>
-#include <viewsh.hxx> // ViewShell
+#include <viewsh.hxx> // ViewShell
#include <rootfrm.hxx>
#include <docary.hxx>
#include <ndtxt.hxx>
#include <dcontact.hxx>
#include <fldbas.hxx> // SwField
-#include <pam.hxx> // SwPosition (lcl_MinMaxNode)
+#include <pam.hxx> // SwPosition (lcl_MinMaxNode)
#include <itratr.hxx>
#include <htmltbl.hxx>
#include <swtable.hxx>
@@ -68,7 +68,7 @@ using namespace ::com::sun::star::i18n;
using namespace ::com::sun::star;
/*************************************************************************
- * SwAttrIter::Chg()
+ * SwAttrIter::Chg()
*************************************************************************/
void SwAttrIter::Chg( SwTxtAttr *pHt )
@@ -82,7 +82,7 @@ void SwAttrIter::Chg( SwTxtAttr *pHt )
}
/*************************************************************************
- * SwAttrIter::Rst()
+ * SwAttrIter::Rst()
*************************************************************************/
void SwAttrIter::Rst( SwTxtAttr *pHt )
@@ -97,7 +97,7 @@ void SwAttrIter::Rst( SwTxtAttr *pHt )
}
/*************************************************************************
- * virtual SwAttrIter::~SwAttrIter()
+ * virtual SwAttrIter::~SwAttrIter()
*************************************************************************/
SwAttrIter::~SwAttrIter()
@@ -107,7 +107,7 @@ SwAttrIter::~SwAttrIter()
}
/*************************************************************************
- * SwAttrIter::GetAttr()
+ * SwAttrIter::GetAttr()
*
* Liefert fuer eine Position das Attribut, wenn das Attribut genau auf
* der Position nPos liegt und kein EndIndex besitzt.
@@ -127,7 +127,7 @@ SwTxtAttr *SwAttrIter::GetAttr( const xub_StrLen nPosition ) const
}
/*************************************************************************
- * SwAttrIter::SeekAndChg()
+ * SwAttrIter::SeekAndChg()
*************************************************************************/
sal_Bool SwAttrIter::SeekAndChgAttrIter( const xub_StrLen nNewPos, OutputDevice* pOut )
@@ -161,7 +161,7 @@ sal_Bool SwAttrIter::IsSymbol( const xub_StrLen nNewPos )
}
/*************************************************************************
- * SwAttrIter::SeekStartAndChg()
+ * SwAttrIter::SeekStartAndChg()
*************************************************************************/
sal_Bool SwAttrIter::SeekStartAndChgAttrIter( OutputDevice* pOut, const sal_Bool bParaFont )
@@ -219,7 +219,7 @@ sal_Bool SwAttrIter::SeekStartAndChgAttrIter( OutputDevice* pOut, const sal_Bool
}
/*************************************************************************
- * SwAttrIter::SeekFwd()
+ * SwAttrIter::SeekFwd()
*************************************************************************/
// AMA: Neuer AttrIter Nov 94
@@ -239,7 +239,7 @@ void SwAttrIter::SeekFwd( const xub_StrLen nNewPos )
{
// schliesse die TextAttribute, deren StartPos vor
// oder an der alten nPos lag, die z.Z. geoeffnet sind.
- if (*pTxtAttr->GetStart() <= nPos) Rst( pTxtAttr );
+ if (*pTxtAttr->GetStart() <= nPos) Rst( pTxtAttr );
nEndIndex++;
}
}
@@ -264,7 +264,7 @@ void SwAttrIter::SeekFwd( const xub_StrLen nNewPos )
}
/*************************************************************************
- * SwAttrIter::Seek()
+ * SwAttrIter::Seek()
*************************************************************************/
sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos )
@@ -313,7 +313,7 @@ sal_Bool SwAttrIter::Seek( const xub_StrLen nNewPos )
}
/*************************************************************************
- * SwAttrIter::GetNextAttr()
+ * SwAttrIter::GetNextAttr()
*************************************************************************/
xub_StrLen SwAttrIter::GetNextAttr( ) const
@@ -339,7 +339,7 @@ xub_StrLen SwAttrIter::GetNextAttr( ) const
nNext=p;
else
nNext=p+1;
- }
+ }
if( pRedln )
return pRedln->GetNextRedln( nNext );
return nNext;
@@ -347,7 +347,7 @@ xub_StrLen SwAttrIter::GetNextAttr( ) const
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * SwAttrIter::Dump()
+ * SwAttrIter::Dump()
*************************************************************************/
void SwAttrIter::Dump( SvStream &/*rOS*/ ) const
@@ -445,12 +445,12 @@ class SwMinMaxNodeArgs
{
public:
ULONG nMaxWidth; // Summe aller Rahmenbreite
- long nMinWidth; // Breitester Rahmen
+ long nMinWidth; // Breitester Rahmen
long nLeftRest; // noch nicht von Rahmen ueberdeckter Platz im l. Rand
long nRightRest; // noch nicht von Rahmen ueberdeckter Platz im r. Rand
- long nLeftDiff; // Min/Max-Differenz des Rahmens im linken Rand
+ long nLeftDiff; // Min/Max-Differenz des Rahmens im linken Rand
long nRightDiff; // Min/Max-Differenz des Rahmens im rechten Rand
- ULONG nIndx; // Indexnummer des Nodes
+ ULONG nIndx; // Indexnummer des Nodes
void Minimum( long nNew ) { if( nNew > nMinWidth ) nMinWidth = nNew; }
};
@@ -772,7 +772,7 @@ void SwTxtNode::GetMinMaxSize( ULONG nIndex, ULONG& rMin, ULONG &rMax,
case RES_TXTATR_FTN :
{
const XubString aTxt = pHint->GetFtn().GetNumStr();
- if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0,
+ if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0,
aTxt.Len() ) )
nAdd = 20;
break;
@@ -781,7 +781,7 @@ void SwTxtNode::GetMinMaxSize( ULONG nIndex, ULONG& rMin, ULONG &rMax,
{
SwField *pFld = (SwField*)pHint->GetFld().GetFld();
const String aTxt = pFld->GetCntnt( FALSE );
- if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0,
+ if( lcl_MinMaxString( aArg, aIter.GetFnt(), aTxt, 0,
aTxt.Len() ) )
nAdd = 20;
break;
@@ -817,7 +817,7 @@ void SwTxtNode::GetMinMaxSize( ULONG nIndex, ULONG& rMin, ULONG &rMax,
}
/*************************************************************************
- * SwTxtNode::GetScalingOfSelectedText()
+ * SwTxtNode::GetScalingOfSelectedText()
*
* Calculates the width of the text part specified by nStt and nEnd,
* the height of the line containing nStt is devided by this width,
@@ -828,7 +828,7 @@ void SwTxtNode::GetMinMaxSize( ULONG nIndex, ULONG& rMin, ULONG &rMax,
* changing this method very likely requires changing of "GetMinMaxSize"
*************************************************************************/
-USHORT SwTxtNode::GetScalingOfSelectedText( xub_StrLen nStt, xub_StrLen nEnd )
+USHORT SwTxtNode::GetScalingOfSelectedText( xub_StrLen nStt, xub_StrLen nEnd )
const
{
ViewShell* pSh = NULL;
@@ -1012,7 +1012,7 @@ USHORT SwTxtNode::GetScalingOfSelectedText( xub_StrLen nStt, xub_StrLen nEnd )
SwTxtFrm* pTmpFrm = ( SwTxtFrm* )pLastFrm;
if ( pTmpFrm->GetOfst() <= nStt &&
( !pTmpFrm->GetFollow() ||
- pTmpFrm->GetFollow()->GetOfst() > nStt ) )
+ pTmpFrm->GetFollow()->GetOfst() > nStt ) )
{
pFrm = pTmpFrm;
break;
diff --git a/sw/source/core/text/itratr.hxx b/sw/source/core/text/itratr.hxx
index 1ae9e43d7f4d..06798408fb0f 100644
--- a/sw/source/core/text/itratr.hxx
+++ b/sw/source/core/text/itratr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 ViewShell;
class SwTxtFrm;
/*************************************************************************
- * class SwAttrIter
+ * class SwAttrIter
*************************************************************************/
class SwAttrIter
@@ -60,7 +60,7 @@ protected:
ViewShell *pShell;
SwFont *pFnt;
SwpHints *pHints;
- const SwAttrSet* pAttrSet; // das Char-Attribut-Set
+ const SwAttrSet* pAttrSet; // das Char-Attribut-Set
SwScriptInfo* pScriptInfo;
private:
@@ -79,8 +79,8 @@ protected:
void Chg( SwTxtAttr *pHt );
void Rst( SwTxtAttr *pHt );
void CtorInitAttrIter( SwTxtNode& rTxtNode, SwScriptInfo& rScrInf, SwTxtFrm* pFrm = 0 );
- inline SwAttrIter(SwTxtNode* pTxtNode)
- : pShell(0), pFnt(0), pLastOut(0), nChgCnt(0), pRedln(0), nPropFont(0), m_pTxtNode(pTxtNode) {}
+ inline SwAttrIter(SwTxtNode* pTxtNode)
+ : pShell(0), pFnt(0), pLastOut(0), nChgCnt(0), pRedln(0), nPropFont(0), m_pTxtNode(pTxtNode) {}
public:
// Konstruktor, Destruktor
diff --git a/sw/source/core/text/itrcrsr.cxx b/sw/source/core/text/itrcrsr.cxx
index 6ff7777fd6ff..07f2bdbb299b 100644
--- a/sw/source/core/text/itrcrsr.cxx
+++ b/sw/source/core/text/itrcrsr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include "itrtxt.hxx"
#include "txtfrm.hxx"
#include "flyfrms.hxx"
-#include "porglue.hxx" // SwFlyCnt
-#include "porfld.hxx" // SwFldPortion::IsFollow()
-#include "porfly.hxx" // GetFlyCrsrOfst()
+#include "porglue.hxx" // SwFlyCnt
+#include "porfld.hxx" // SwFldPortion::IsFollow()
+#include "porfly.hxx" // GetFlyCrsrOfst()
#include "pordrop.hxx"
#include "crstate.hxx" // SwCrsrMoveState
-#include <pormulti.hxx> // SwMultiPortion
+#include <pormulti.hxx> // SwMultiPortion
// --> OD 2010-05-05 #i111284#
#include <numrule.hxx>
// <--
@@ -152,7 +152,7 @@ namespace {
bool AreListLevelIndentsApplicableAndLabelAlignmentActive( const SwTxtNode& rTxtNode )
{
bool bRet( false );
-
+
if ( rTxtNode.AreListLevelIndentsApplicable() )
{
const SwNumFmt& rNumFmt =
@@ -160,16 +160,16 @@ namespace {
if ( rNumFmt.GetPositionAndSpaceMode() == SvxNumberFormat::LABEL_ALIGNMENT )
{
bRet = true;
- }
- }
-
- return bRet;
+ }
+ }
+
+ return bRet;
}
} // end of anonymous namespace
// <--
-
+
/*************************************************************************
- * SwTxtMargin::CtorInitTxtMargin()
+ * SwTxtMargin::CtorInitTxtMargin()
*************************************************************************/
void SwTxtMargin::CtorInitTxtMargin( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf )
{
@@ -182,7 +182,7 @@ void SwTxtMargin::CtorInitTxtMargin( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf )
const SvxLRSpaceItem &rSpace = pFrm->GetTxtNode()->GetSwAttrSet().GetLRSpace();
// --> OD 2009-09-08 #i95907#, #b6879723#
// --> OD 2010-05-05 #i111284#
- const bool bListLevelIndentsApplicableAndLabelAlignmentActive(
+ const bool bListLevelIndentsApplicableAndLabelAlignmentActive(
AreListLevelIndentsApplicableAndLabelAlignmentActive( *(pFrm->GetTxtNode()) ) );
// <--
@@ -382,7 +382,7 @@ void SwTxtMargin::CtorInitTxtMargin( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf )
}
/*************************************************************************
- * SwTxtMargin::DropInit()
+ * SwTxtMargin::DropInit()
*************************************************************************/
void SwTxtMargin::DropInit()
{
@@ -402,7 +402,7 @@ void SwTxtMargin::DropInit()
}
/*************************************************************************
- * SwTxtMargin::GetLineStart()
+ * SwTxtMargin::GetLineStart()
*************************************************************************/
// Unter Beruecksichtigung des Erstzeileneinzuges und der angebenen Breite.
@@ -423,7 +423,7 @@ SwTwips SwTxtMargin::GetLineStart() const
}
/*************************************************************************
- * SwTxtCursor::CtorInitTxtCursor()
+ * SwTxtCursor::CtorInitTxtCursor()
*************************************************************************/
void SwTxtCursor::CtorInitTxtCursor( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf )
{
@@ -433,7 +433,7 @@ void SwTxtCursor::CtorInitTxtCursor( SwTxtFrm *pNewFrm, SwTxtSizeInfo *pNewInf )
}
/*************************************************************************
- * SwTxtCursor::GetEndCharRect()
+ * SwTxtCursor::GetEndCharRect()
*************************************************************************/
// 1170: Antikbug: Shift-Ende vergisst das letzte Zeichen ...
@@ -507,7 +507,7 @@ sal_Bool SwTxtCursor::GetEndCharRect( SwRect* pOrig, const xub_StrLen nOfst,
}
/*************************************************************************
- * void SwTxtCursor::_GetCharRect(..)
+ * void SwTxtCursor::_GetCharRect(..)
* internal function, called by SwTxtCursor::GetCharRect() to calculate
* the relative character position in the current line.
* pOrig referes to x and y coordinates, width and height of the cursor
@@ -523,9 +523,9 @@ void SwTxtCursor::_GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
SwTxtSizeInfo aInf( GetInfo(), rText, nStart );
if( GetPropFont() )
aInf.GetFont()->SetProportion( GetPropFont() );
- KSHORT nTmpAscent, nTmpHeight; // Zeilenhoehe
+ KSHORT nTmpAscent, nTmpHeight; // Zeilenhoehe
CalcAscentAndHeight( nTmpAscent, nTmpHeight );
- const Size aCharSize( 1, nTmpHeight );
+ const Size aCharSize( 1, nTmpHeight );
const Point aCharPos;
pOrig->Pos( aCharPos );
pOrig->SSize( aCharSize );
@@ -1059,7 +1059,7 @@ void SwTxtCursor::_GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
}
if( pPor && pCMS )
{
- if( pCMS->bFieldInfo && pPor->InFldGrp() && pPor->Width() )
+ if( pCMS->bFieldInfo && pPor->InFldGrp() && pPor->Width() )
pOrig->Width( pPor->Width() );
if( pPor->IsDropPortion() )
{
@@ -1192,7 +1192,7 @@ void SwTxtCursor::_GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
}
/*************************************************************************
- * SwTxtCursor::GetCharRect()
+ * SwTxtCursor::GetCharRect()
*************************************************************************/
sal_Bool SwTxtCursor::GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
@@ -1256,7 +1256,7 @@ sal_Bool SwTxtCursor::GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
if ( pCMS && pCMS->bRealHeight && pCMS->aRealHeight.Y() >= 0 )
{
long nTmp = pCMS->aRealHeight.X() + pOrig->Top();
- if( nTmp >= nMax )
+ if( nTmp >= nMax )
{
pCMS->aRealHeight.X() = nMax - pOrig->Top();
pCMS->aRealHeight.Y() = 0;
@@ -1279,7 +1279,7 @@ sal_Bool SwTxtCursor::GetCharRect( SwRect* pOrig, const xub_StrLen nOfst,
}
/*************************************************************************
- * SwTxtCursor::GetCrsrOfst()
+ * SwTxtCursor::GetCrsrOfst()
*
* Return: Offset im String
*************************************************************************/
@@ -1692,8 +1692,8 @@ xub_StrLen SwTxtCursor::GetCrsrOfst( SwPosition *pPos, const Point &rPoint,
&& !( (SwFlyCntPortion*)pPor )->IsDraw() )
{
// JP 24.11.94: liegt die Pos nicht im Fly, dann
- // darf nicht mit STRING_LEN returnt werden!
- // (BugId: 9692 + Aenderung in feshview)
+ // darf nicht mit STRING_LEN returnt werden!
+ // (BugId: 9692 + Aenderung in feshview)
SwFlyInCntFrm *pTmp = ( (SwFlyCntPortion*)pPor )->GetFlyFrm();
sal_Bool bChgNode = 1 < nChgNode;
if( !bChgNode )
diff --git a/sw/source/core/text/itrform2.cxx b/sw/source/core/text/itrform2.cxx
index c6ec608a1df1..2c2efa5bf46f 100644
--- a/sw/source/core/text/itrform2.cxx
+++ b/sw/source/core/text/itrform2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,35 +38,35 @@
#include <ftninfo.hxx>
#include <charfmt.hxx>
#include <editeng/charrotateitem.hxx>
-#include <layfrm.hxx> // GetFrmRstHeight, etc
+#include <layfrm.hxx> // GetFrmRstHeight, etc
#include <viewsh.hxx>
-#include <viewopt.hxx> // SwViewOptions
-#include <paratr.hxx> // SwFmtDrop
+#include <viewopt.hxx> // SwViewOptions
+#include <paratr.hxx> // SwFmtDrop
#include <txtcfg.hxx>
#include <itrform2.hxx>
#include <porrst.hxx>
-#include <portab.hxx> // pLastTab->
-#include <porfly.hxx> // CalcFlyWidth
-#include <portox.hxx> // WhichTxtPortion
-#include <porref.hxx> // WhichTxtPortion
-#include <porfld.hxx> // SwNumberPortion fuer CalcAscent()
+#include <portab.hxx> // pLastTab->
+#include <porfly.hxx> // CalcFlyWidth
+#include <portox.hxx> // WhichTxtPortion
+#include <porref.hxx> // WhichTxtPortion
+#include <porfld.hxx> // SwNumberPortion fuer CalcAscent()
#include <porftn.hxx> // SwFtnPortion
#include <porhyph.hxx>
#include <guess.hxx>
-#include <blink.hxx> // pBlink
-#include <ftnfrm.hxx> // WhichFirstPortion() -> mal Verlagern.
-#include <redlnitr.hxx> // SwRedlineItr
+#include <blink.hxx> // pBlink
+#include <ftnfrm.hxx> // WhichFirstPortion() -> mal Verlagern.
+#include <redlnitr.hxx> // SwRedlineItr
#include <pagefrm.hxx>
#include <pagedesc.hxx> // SwPageDesc
#include <tgrditem.hxx>
-#include <doc.hxx> // SwDoc
-#include <pormulti.hxx> // SwMultiPortion
+#include <doc.hxx> // SwDoc
+#include <pormulti.hxx> // SwMultiPortion
#define _SVSTDARR_LONGS
#include <svl/svstdarr.hxx>
#include <unotools/charclass.hxx>
#if OSL_DEBUG_LEVEL > 1
-#include <ndtxt.hxx> // pSwpHints, Ausgabeoperator
+#include <ndtxt.hxx> // pSwpHints, Ausgabeoperator
#endif
using namespace ::com::sun::star;
@@ -86,7 +86,7 @@ inline void ClearFly( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFormatter::CtorInitTxtFormatter()
+ * SwTxtFormatter::CtorInitTxtFormatter()
*************************************************************************/
void SwTxtFormatter::CtorInitTxtFormatter( SwTxtFrm *pNewFrm, SwTxtFormatInfo *pNewInf )
@@ -115,7 +115,7 @@ void SwTxtFormatter::CtorInitTxtFormatter( SwTxtFrm *pNewFrm, SwTxtFormatInfo *p
}
/*************************************************************************
- * SwTxtFormatter::DTOR
+ * SwTxtFormatter::DTOR
*************************************************************************/
SwTxtFormatter::~SwTxtFormatter()
@@ -130,7 +130,7 @@ SwTxtFormatter::~SwTxtFormatter()
}
/*************************************************************************
- * SwTxtFormatter::Insert()
+ * SwTxtFormatter::Insert()
*************************************************************************/
void SwTxtFormatter::Insert( SwLineLayout *pLay )
@@ -146,7 +146,7 @@ void SwTxtFormatter::Insert( SwLineLayout *pLay )
}
/*************************************************************************
- * SwTxtFormatter::GetFrmRstHeight()
+ * SwTxtFormatter::GetFrmRstHeight()
*************************************************************************/
KSHORT SwTxtFormatter::GetFrmRstHeight() const
@@ -167,7 +167,7 @@ KSHORT SwTxtFormatter::GetFrmRstHeight() const
}
/*************************************************************************
- * SwTxtFormatter::UnderFlow()
+ * SwTxtFormatter::UnderFlow()
*************************************************************************/
SwLinePortion *SwTxtFormatter::UnderFlow( SwTxtFormatInfo &rInf )
@@ -324,7 +324,7 @@ SwLinePortion *SwTxtFormatter::UnderFlow( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFormatter::InsertPortion()
+ * SwTxtFormatter::InsertPortion()
*************************************************************************/
void SwTxtFormatter::InsertPortion( SwTxtFormatInfo &rInf,
@@ -335,7 +335,7 @@ void SwTxtFormatter::InsertPortion( SwTxtFormatInfo &rInf,
if( pPor == pCurr )
{
if ( pCurr->GetPortion() )
- {
+ {
pPor = pCurr->GetPortion();
}
@@ -375,7 +375,7 @@ void SwTxtFormatter::InsertPortion( SwTxtFormatInfo &rInf,
}
/*************************************************************************
- * SwTxtFormatter::BuildPortion()
+ * SwTxtFormatter::BuildPortion()
*************************************************************************/
void SwTxtFormatter::BuildPortions( SwTxtFormatInfo &rInf )
@@ -419,7 +419,7 @@ void SwTxtFormatter::BuildPortions( SwTxtFormatInfo &rInf )
const SwDoc *pDoc = rInf.GetTxtFrm()->GetNode()->GetDoc();
const USHORT nGridWidth = bHasGrid ?
- GETGRIDWIDTH(pGrid,pDoc) : 0; //for textgrid refactor
+ GETGRIDWIDTH(pGrid,pDoc) : 0; //for textgrid refactor
// used for grid mode only:
// the pointer is stored, because after formatting of non-asian text,
@@ -617,7 +617,7 @@ void SwTxtFormatter::BuildPortions( SwTxtFormatInfo &rInf )
((SwMultiPortion*)pPor)->HasFlyInCntnt() ) )
SetFlyInCntBase();
// 5964: bUnderFlow muss zurueckgesetzt werden, sonst wird beim
- // naechsten Softhyphen wieder umgebrochen!
+ // naechsten Softhyphen wieder umgebrochen!
if ( !bFull )
{
rInf.ClrUnderFlow();
@@ -737,7 +737,7 @@ void SwTxtFormatter::BuildPortions( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFormatter::CalcAdjustLine()
+ * SwTxtFormatter::CalcAdjustLine()
*************************************************************************/
void SwTxtFormatter::CalcAdjustLine( SwLineLayout *pCurrent )
@@ -756,7 +756,7 @@ void SwTxtFormatter::CalcAdjustLine( SwLineLayout *pCurrent )
}
/*************************************************************************
- * SwTxtFormatter::CalcAscent()
+ * SwTxtFormatter::CalcAscent()
*************************************************************************/
void SwTxtFormatter::CalcAscent( SwTxtFormatInfo &rInf, SwLinePortion *pPor )
@@ -861,7 +861,7 @@ void SwMetaPortion::Paint( const SwTxtPaintInfo &rInf ) const
/*************************************************************************
- * SwTxtFormatter::WhichTxtPor()
+ * SwTxtFormatter::WhichTxtPor()
*************************************************************************/
SwTxtPortion *SwTxtFormatter::WhichTxtPor( SwTxtFormatInfo &rInf ) const
@@ -908,7 +908,7 @@ SwTxtPortion *SwTxtFormatter::WhichTxtPor( SwTxtFormatInfo &rInf ) const
}
/*************************************************************************
- * SwTxtFormatter::NewTxtPortion()
+ * SwTxtFormatter::NewTxtPortion()
*************************************************************************/
// Die Laenge wird ermittelt, folgende Portion-Grenzen sind definiert:
// 1) Tabs
@@ -983,7 +983,7 @@ SwTxtPortion *SwTxtFormatter::NewTxtPortion( SwTxtFormatInfo &rInf )
/*************************************************************************
- * SwTxtFormatter::WhichFirstPortion()
+ * SwTxtFormatter::WhichFirstPortion()
*************************************************************************/
SwLinePortion *SwTxtFormatter::WhichFirstPortion(SwTxtFormatInfo &rInf)
@@ -1140,7 +1140,7 @@ sal_Bool lcl_OldFieldRest( const SwLineLayout* pCurr )
}
/*************************************************************************
- * SwTxtFormatter::NewPortion()
+ * SwTxtFormatter::NewPortion()
*************************************************************************/
/* NewPortion stellt rInf.nLen ein.
@@ -1148,11 +1148,11 @@ sal_Bool lcl_OldFieldRest( const SwLineLayout* pCurr )
* attrwechsel.
* Drei Faelle koennen eintreten:
* 1) Die Zeile ist voll und der Umbruch wurde nicht emuliert
- * -> return 0;
+ * -> return 0;
* 2) Die Zeile ist voll und es wurde ein Umbruch emuliert
- * -> Breite neu einstellen und return new FlyPortion
+ * -> Breite neu einstellen und return new FlyPortion
* 3) Es muss eine neue Portion gebaut werden.
- * -> CalcFlyWidth emuliert ggf. die Breite und return Portion
+ * -> CalcFlyWidth emuliert ggf. die Breite und return Portion
*/
SwLinePortion *SwTxtFormatter::NewPortion( SwTxtFormatInfo &rInf )
@@ -1313,10 +1313,10 @@ SwLinePortion *SwTxtFormatter::NewPortion( SwTxtFormatInfo &rInf )
case CH_BREAK:
pPor = new SwBreakPortion( *rInf.GetLast() ); break;
- case CHAR_SOFTHYPHEN: // soft hyphen
+ case CHAR_SOFTHYPHEN: // soft hyphen
pPor = new SwSoftHyphPortion; break;
- case CHAR_HARDBLANK: // no-break space
+ case CHAR_HARDBLANK: // no-break space
pPor = new SwBlankPortion( ' ' ); break;
case CHAR_HARDHYPHEN: // non-breaking hyphen
@@ -1336,7 +1336,7 @@ SwLinePortion *SwTxtFormatter::NewPortion( SwTxtFormatInfo &rInf )
break;
}
// No break
- default :
+ default :
{
SwTabPortion* pLastTabPortion = rInf.GetLastTab();
if ( pLastTabPortion && cChar == rInf.GetTabDecimal() )
@@ -1477,7 +1477,7 @@ SwLinePortion *SwTxtFormatter::NewPortion( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFormatter::FormatLine()
+ * SwTxtFormatter::FormatLine()
*************************************************************************/
xub_StrLen SwTxtFormatter::FormatLine( const xub_StrLen nStartPos )
@@ -1837,7 +1837,7 @@ pCurr->GetAscent() )
}
/*************************************************************************
- * SwTxtFormatter::FeedInf()
+ * SwTxtFormatter::FeedInf()
*************************************************************************/
void SwTxtFormatter::FeedInf( SwTxtFormatInfo &rInf ) const
@@ -1882,7 +1882,7 @@ void SwTxtFormatter::FeedInf( SwTxtFormatInfo &rInf ) const
}
/*************************************************************************
- * SwTxtFormatter::FormatReset()
+ * SwTxtFormatter::FormatReset()
*************************************************************************/
void SwTxtFormatter::FormatReset( SwTxtFormatInfo &rInf )
@@ -1900,7 +1900,7 @@ void SwTxtFormatter::FormatReset( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFormatter::CalcOnceMore()
+ * SwTxtFormatter::CalcOnceMore()
*************************************************************************/
sal_Bool SwTxtFormatter::CalcOnceMore()
@@ -1917,7 +1917,7 @@ sal_Bool SwTxtFormatter::CalcOnceMore()
}
/*************************************************************************
- * SwTxtFormatter::CalcBottomLine()
+ * SwTxtFormatter::CalcBottomLine()
*************************************************************************/
SwTwips SwTxtFormatter::CalcBottomLine() const
@@ -1945,7 +1945,7 @@ SwTwips SwTxtFormatter::CalcBottomLine() const
}
/*************************************************************************
- * SwTxtFormatter::_CalcFitToContent()
+ * SwTxtFormatter::_CalcFitToContent()
*
* FME/OD: This routine does a limited text formatting.
*************************************************************************/
diff --git a/sw/source/core/text/itrform2.hxx b/sw/source/core/text/itrform2.hxx
index a2a873004a32..05a4d85d7877 100644
--- a/sw/source/core/text/itrform2.hxx
+++ b/sw/source/core/text/itrform2.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +42,17 @@ class SwFtnPortion;
class SvLongs;
/*************************************************************************
- * class SwTxtFormatter
+ * class SwTxtFormatter
*************************************************************************/
class SwTxtFormatter : public SwTxtPainter
{
const SwFmtDrop *pDropFmt;
- SwMultiPortion* pMulti; // during formatting a multi-portion
- sal_uInt8 nCntEndHyph; // zaehlt aufeinanderfolgende Hyphens am Zeilenende
- sal_uInt8 nCntMidHyph; // zaehlt aufeinanderfolgende Hyphens vor Flies
+ SwMultiPortion* pMulti; // during formatting a multi-portion
+ sal_uInt8 nCntEndHyph; // zaehlt aufeinanderfolgende Hyphens am Zeilenende
+ sal_uInt8 nCntMidHyph; // zaehlt aufeinanderfolgende Hyphens vor Flies
xub_StrLen nLeftScanIdx; // for increasing performance during
- xub_StrLen nRightScanIdx; // scanning for portion ends
+ xub_StrLen nRightScanIdx; // scanning for portion ends
sal_Bool bOnceMore : 1; // noch 'ne Runde?
sal_Bool bFlyInCntBase : 1; // Base-Referenz der zeichengeb. Rahmen setzen
sal_Bool bChanges : 1; // Flag, fuer die Berechnung des Repaint-Rechtecks
@@ -184,19 +184,19 @@ public:
inline SwMultiPortion *GetMulti() const { return pMulti; }
inline sal_Bool IsOnceMore() const { return bOnceMore; }
- inline void SetOnceMore( sal_Bool bNew ) { bOnceMore = bNew; }
+ inline void SetOnceMore( sal_Bool bNew ) { bOnceMore = bNew; }
inline sal_Bool HasChanges() const { return bChanges; }
- inline void SetChanges() { bChanges = sal_True; }
+ inline void SetChanges() { bChanges = sal_True; }
inline sal_Bool HasTruncLines() const { return bTruncLines; }
- inline void SetTruncLines( sal_Bool bNew ) { bTruncLines = bNew; }
+ inline void SetTruncLines( sal_Bool bNew ) { bTruncLines = bNew; }
inline sal_Bool IsUnclipped() const { return bUnclipped; }
- inline void SetUnclipped( sal_Bool bNew ) { bUnclipped = bNew; }
+ inline void SetUnclipped( sal_Bool bNew ) { bUnclipped = bNew; }
inline sal_Bool IsFlyInCntBase() const { return bFlyInCntBase; }
- inline void SetFlyInCntBase( sal_Bool bNew = sal_True ){ bFlyInCntBase = bNew; }
+ inline void SetFlyInCntBase( sal_Bool bNew = sal_True ){ bFlyInCntBase = bNew; }
inline SwTxtFormatInfo &GetInfo()
{ return (SwTxtFormatInfo&)SwTxtIter::GetInfo(); }
diff --git a/sw/source/core/text/itrpaint.cxx b/sw/source/core/text/itrpaint.cxx
index 4383d2827df1..d32534e7ee39 100644
--- a/sw/source/core/text/itrpaint.cxx
+++ b/sw/source/core/text/itrpaint.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +31,8 @@
#include "hintids.hxx"
-#include "flyfrm.hxx" // SwFlyInCntFrm
-#include "viewopt.hxx" // SwViewOptions
+#include "flyfrm.hxx" // SwFlyInCntFrm
+#include "viewopt.hxx" // SwViewOptions
#include "errhdl.hxx"
#include "txtatr.hxx" // SwINetFmt
#include <tools/multisel.hxx>
@@ -65,13 +65,13 @@
#include "swfont.hxx"
#include "txtpaint.hxx"
#include "portab.hxx" // SwTabPortion::IsFilled
-#include "porfly.hxx" // SwFlyCntPortion
-#include "porfld.hxx" // SwGrfNumPortion
-#include "frmfmt.hxx" // LRSpace
+#include "porfly.hxx" // SwFlyCntPortion
+#include "porfld.hxx" // SwGrfNumPortion
+#include "frmfmt.hxx" // LRSpace
#include "txatbase.hxx" // SwTxtAttr
#include "charfmt.hxx" // SwFmtCharFmt
#include "redlnitr.hxx" // SwRedlineItr
-#include "porrst.hxx" // SwArrowPortion
+#include "porrst.hxx" // SwArrowPortion
#include "pormulti.hxx"
/*************************************************************************
@@ -93,7 +93,7 @@ sal_Bool IsUnderlineBreak( const SwLinePortion& rPor, const SwFont& rFnt )
}
/*************************************************************************
- * SwTxtPainter::CtorInitTxtPainter()
+ * SwTxtPainter::CtorInitTxtPainter()
*************************************************************************/
void SwTxtPainter::CtorInitTxtPainter( SwTxtFrm *pNewFrm, SwTxtPaintInfo *pNewInf )
{
@@ -114,7 +114,7 @@ void SwTxtPainter::CtorInitTxtPainter( SwTxtFrm *pNewFrm, SwTxtPaintInfo *pNewIn
/*************************************************************************
- * SwTxtPainter::CalcPaintOfst()
+ * SwTxtPainter::CalcPaintOfst()
*************************************************************************/
SwLinePortion *SwTxtPainter::CalcPaintOfst( const SwRect &rPaint )
{
@@ -150,7 +150,7 @@ SwLinePortion *SwTxtPainter::CalcPaintOfst( const SwRect &rPaint )
}
// 7529: bei PostIts auch pLast returnen.
- if( pLast && !pLast->Width() && pLast->IsPostItsPortion() )
+ if( pLast && !pLast->Width() && pLast->IsPostItsPortion() )
{
pPor = pLast;
GetInfo().SetIdx( GetInfo().GetIdx() - pPor->GetLen() );
@@ -164,9 +164,9 @@ SwLinePortion *SwTxtPainter::CalcPaintOfst( const SwRect &rPaint )
*
* Es gibt zwei Moeglichkeiten bei transparenten Font auszugeben:
* 1) DrawRect auf die ganze Zeile und die DrawText hinterher
- * (objektiv schnell, subjektiv langsam).
+ * (objektiv schnell, subjektiv langsam).
* 2) Fuer jede Portion ein DrawRect mit anschliessendem DrawText
- * ausgefuehrt (objektiv langsam, subjektiv schnell).
+ * ausgefuehrt (objektiv langsam, subjektiv schnell).
* Da der User in der Regel subjektiv urteilt, wird die 2. Methode
* als Default eingestellt.
*************************************************************************/
@@ -235,7 +235,7 @@ void SwTxtPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip,
#if OSL_DEBUG_LEVEL > 1
static sal_Bool bClipAlways = sal_False;
if( bClip && bClipAlways )
- { bClip = sal_False;
+ { bClip = sal_False;
rClip.ChgClip( rPaint );
}
#endif
@@ -365,7 +365,7 @@ void SwTxtPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip,
else
bSeeked = sal_False;
-// bRest = sal_False;
+// bRest = sal_False;
// Wenn das Ende der Portion hinausragt, wird geclippt.
// Es wird ein Sicherheitsabstand von Height-Halbe aufaddiert,
@@ -462,7 +462,7 @@ void SwTxtPainter::DrawTextLine( const SwRect &rPaint, SwSaveClip &rClip,
if( !GetNextLine() &&
GetInfo().GetVsh() && !GetInfo().GetVsh()->IsPreView() &&
- GetInfo().GetOpt().IsParagraph() && !GetTxtFrm()->GetFollow() &&
+ GetInfo().GetOpt().IsParagraph() && !GetTxtFrm()->GetFollow() &&
GetInfo().GetIdx() >= GetInfo().GetTxt().Len() )
{
const SwTmpEndPortion aEnd( *pEndTempl );
diff --git a/sw/source/core/text/itrpaint.hxx b/sw/source/core/text/itrpaint.hxx
index 4304676f3f97..533b92c48c5e 100644
--- a/sw/source/core/text/itrpaint.hxx
+++ b/sw/source/core/text/itrpaint.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/text/itrtxt.cxx b/sw/source/core/text/itrtxt.cxx
index 431ee467a595..4b33e4053e99 100644
--- a/sw/source/core/text/itrtxt.cxx
+++ b/sw/source/core/text/itrtxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#endif
/*************************************************************************
- * SwTxtIter::CtorInitTxtIter()
+ * SwTxtIter::CtorInitTxtIter()
*************************************************************************/
void SwTxtIter::CtorInitTxtIter( SwTxtFrm *pNewFrm, SwTxtInfo *pNewInf )
@@ -101,7 +101,7 @@ void SwTxtIter::Init()
}
/*************************************************************************
- * SwTxtIter::_GetHeightAndAscent()
+ * SwTxtIter::_GetHeightAndAscent()
*************************************************************************/
void SwTxtIter::CalcAscentAndHeight( KSHORT &rAscent, KSHORT &rHeight ) const
@@ -111,7 +111,7 @@ void SwTxtIter::CalcAscentAndHeight( KSHORT &rAscent, KSHORT &rHeight ) const
}
/*************************************************************************
- * SwTxtIter::_GetPrev()
+ * SwTxtIter::_GetPrev()
*************************************************************************/
SwLineLayout *SwTxtIter::_GetPrev()
@@ -195,7 +195,7 @@ const SwLineLayout *SwTxtIter::NextLine()
}
/*************************************************************************
- * SwTxtIter::GetNextLine()
+ * SwTxtIter::GetNextLine()
*************************************************************************/
const SwLineLayout *SwTxtIter::GetNextLine() const
@@ -210,7 +210,7 @@ const SwLineLayout *SwTxtIter::GetNextLine() const
}
/*************************************************************************
- * SwTxtIter::GetPrevLine()
+ * SwTxtIter::GetPrevLine()
*************************************************************************/
const SwLineLayout *SwTxtIter::GetPrevLine()
@@ -340,7 +340,7 @@ USHORT SwTxtCursor::AdjustBaseLine( const SwLineLayout& rLine,
{
// Portions which are bigger than on grid distance are
// centered inside the whole line.
-
+
//for text refactor
const USHORT nLineNetto = rLine.Height() - nRubyHeight;
//const USHORT nLineNetto = ( nPorHeight > nGridWidth ) ?
@@ -412,7 +412,7 @@ sal_Bool lcl_NeedsFieldRest( const SwLineLayout* pCurr )
}
/*************************************************************************
- * SwTxtIter::TruncLines()
+ * SwTxtIter::TruncLines()
*************************************************************************/
void SwTxtIter::TruncLines( sal_Bool bNoteFollow )
@@ -471,7 +471,7 @@ void SwTxtIter::TruncLines( sal_Bool bNoteFollow )
}
/*************************************************************************
- * SwTxtIter::CntHyphens()
+ * SwTxtIter::CntHyphens()
*************************************************************************/
void SwTxtIter::CntHyphens( sal_uInt8 &nEndCnt, sal_uInt8 &nMidCnt) const
diff --git a/sw/source/core/text/itrtxt.hxx b/sw/source/core/text/itrtxt.hxx
index 34736e0477d3..9419a86596c6 100644
--- a/sw/source/core/text/itrtxt.hxx
+++ b/sw/source/core/text/itrtxt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwMarginPortion;
class SwFlyPortion;
/*************************************************************************
- * class SwTxtIter
+ * class SwTxtIter
*************************************************************************/
class SwTxtIter : public SwAttrIter
@@ -51,15 +51,15 @@ protected:
SwLineLayout *pPrev;
SwTwips nFrameStart;
SwTwips nY;
- SwTwips nRegStart; // Anfangsposition (Y) des Registers
- xub_StrLen nStart; // Start im Textstring, Ende = pCurr->GetLen()
- KSHORT nRegDiff; // Zeilenabstand des Registers
- MSHORT nLineNr; // Zeilennummer
- sal_Bool bPrev : 1;
- sal_Bool bRegisterOn : 1; // Registerhaltigkeit
- sal_Bool bOneBlock : 1; // Blocksatz: Einzelwoerter austreiben
- sal_Bool bLastBlock : 1; // Blocksatz: Auch die letzte Zeile
- sal_Bool bLastCenter : 1; // Blocksatz: Letzte Zeile zentrieren
+ SwTwips nRegStart; // Anfangsposition (Y) des Registers
+ xub_StrLen nStart; // Start im Textstring, Ende = pCurr->GetLen()
+ KSHORT nRegDiff; // Zeilenabstand des Registers
+ MSHORT nLineNr; // Zeilennummer
+ sal_Bool bPrev : 1;
+ sal_Bool bRegisterOn : 1; // Registerhaltigkeit
+ sal_Bool bOneBlock : 1; // Blocksatz: Einzelwoerter austreiben
+ sal_Bool bLastBlock : 1; // Blocksatz: Auch die letzte Zeile
+ sal_Bool bLastCenter : 1; // Blocksatz: Letzte Zeile zentrieren
SwLineLayout *_GetPrev();
@@ -305,7 +305,7 @@ public:
};
/*************************************************************************
- * Inline-Implementierungen
+ * Inline-Implementierungen
*************************************************************************/
inline sal_Bool SwTxtIter::SeekAndChg( SwTxtSizeInfo &rInf )
diff --git a/sw/source/core/text/noteurl.cxx b/sw/source/core/text/noteurl.cxx
index 2e5cbcc692a7..1761bc1257de 100644
--- a/sw/source/core/text/noteurl.cxx
+++ b/sw/source/core/text/noteurl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx
index fbf17d07f26a..659cf6a41f24 100644
--- a/sw/source/core/text/pordrop.hxx
+++ b/sw/source/core/text/pordrop.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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:
};
/*************************************************************************
- * class SwDropPortion
+ * class SwDropPortion
*************************************************************************/
class SwDropPortion : public SwTxtPortion
@@ -74,11 +74,11 @@ class SwDropPortion : public SwTxtPortion
friend class SwDropCapCache;
SwDropPortionPart* pPart; // due to script / attribute changes
MSHORT nLines; // Anzahl der Zeilen
- KSHORT nDropHeight; // Hoehe
- KSHORT nDropDescent; // Abstand zur naechsten Zeile
- KSHORT nDistance; // Abstand zum Text
- KSHORT nFix; // Fixposition
- short nX; // X-PaintOffset
+ KSHORT nDropHeight; // Hoehe
+ KSHORT nDropDescent; // Abstand zur naechsten Zeile
+ KSHORT nDistance; // Abstand zum Text
+ KSHORT nFix; // Fixposition
+ short nX; // X-PaintOffset
short nY; // Y-Offset
sal_Bool FormatTxt( SwTxtFormatInfo &rInf );
diff --git a/sw/source/core/text/porexp.cxx b/sw/source/core/text/porexp.cxx
index 344bc25b1f10..5a929901bd01 100644
--- a/sw/source/core/text/porexp.cxx
+++ b/sw/source/core/text/porexp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,20 +30,20 @@
#include "precompiled_sw.hxx"
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx> // SwViewOptions
#include <SwPortionHandler.hxx>
#include <inftxt.hxx>
#include <porexp.hxx>
/*************************************************************************
- * class SwExpandPortion
+ * class SwExpandPortion
*************************************************************************/
xub_StrLen SwExpandPortion::GetCrsrOfst( const MSHORT nOfst ) const
{ return SwLinePortion::GetCrsrOfst( nOfst ); }
/*************************************************************************
- * virtual SwExpandPortion::GetExpTxt()
+ * virtual SwExpandPortion::GetExpTxt()
*************************************************************************/
sal_Bool SwExpandPortion::GetExpTxt( const SwTxtSizeInfo&,
@@ -66,7 +66,7 @@ void SwExpandPortion::HandlePortion( SwPortionHandler& rPH ) const
}
/*************************************************************************
- * virtual SwExpandPortion::GetTxtSize()
+ * virtual SwExpandPortion::GetTxtSize()
*************************************************************************/
SwPosSize SwExpandPortion::GetTxtSize( const SwTxtSizeInfo &rInf ) const
@@ -99,7 +99,7 @@ sal_Bool SwExpandPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwExpandPortion::Paint()
+ * virtual SwExpandPortion::Paint()
*************************************************************************/
void SwExpandPortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -127,7 +127,7 @@ void SwExpandPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * class SwBlankPortion
+ * class SwBlankPortion
*************************************************************************/
SwLinePortion *SwBlankPortion::Compress() { return this; }
@@ -188,7 +188,7 @@ MSHORT SwBlankPortion::MayUnderFlow( const SwTxtFormatInfo &rInf,
}
/*************************************************************************
- * virtual SwBlankPortion::FormatEOL()
+ * virtual SwBlankPortion::FormatEOL()
*************************************************************************/
// Format end of Line
@@ -230,7 +230,7 @@ sal_Bool SwBlankPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwBlankPortion::Paint()
+ * virtual SwBlankPortion::Paint()
*************************************************************************/
void SwBlankPortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -241,7 +241,7 @@ void SwBlankPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * virtual SwBlankPortion::GetExpTxt()
+ * virtual SwBlankPortion::GetExpTxt()
*************************************************************************/
sal_Bool SwBlankPortion::GetExpTxt( const SwTxtSizeInfo&, XubString &rTxt ) const
diff --git a/sw/source/core/text/porexp.hxx b/sw/source/core/text/porexp.hxx
index f9275b8a92ee..a9f0a92dd6e3 100644
--- a/sw/source/core/text/porexp.hxx
+++ b/sw/source/core/text/porexp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwExpandPortion : public SwTxtPortion
{
public:
- inline SwExpandPortion() { SetWhichPor( POR_EXP ); }
+ inline SwExpandPortion() { SetWhichPor( POR_EXP ); }
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
virtual xub_StrLen GetCrsrOfst( const MSHORT nOfst ) const;
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
@@ -53,15 +53,15 @@ public:
/*************************************************************************
- * class SwBlankPortion
+ * class SwBlankPortion
*************************************************************************/
class SwBlankPortion : public SwExpandPortion
{
xub_Unicode cChar;
- BOOL bMulti; // For multiportion brackets
+ BOOL bMulti; // For multiportion brackets
public:
- inline SwBlankPortion( xub_Unicode cCh, BOOL bMult = sal_False )
+ inline SwBlankPortion( xub_Unicode cCh, BOOL bMult = sal_False )
: cChar( cCh ), bMulti( bMult )
{ cChar = cCh; SetLen(1); SetWhichPor( POR_BLANK ); }
@@ -88,8 +88,8 @@ public:
class SwPostItsPortion : public SwExpandPortion
{
- KSHORT nViewWidth;
- sal_Bool bScript;
+ KSHORT nViewWidth;
+ sal_Bool bScript;
public:
SwPostItsPortion( sal_Bool bScrpt );
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
diff --git a/sw/source/core/text/porfld.cxx b/sw/source/core/text/porfld.cxx
index 2d127388b7aa..6b7636c05a97 100644
--- a/sw/source/core/text/porfld.cxx
+++ b/sw/source/core/text/porfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +38,13 @@
#include <editeng/brshitem.hxx>
#include <vcl/metric.hxx>
#include <vcl/outdev.hxx>
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx> // SwViewOptions
#include <txtcfg.hxx>
#include <SwPortionHandler.hxx>
#include <porlay.hxx>
#include <porfld.hxx>
#include <inftxt.hxx>
-#include <blink.hxx> // pBlink
+#include <blink.hxx> // pBlink
#include <frmtool.hxx> // DrawGraphic
#include <viewsh.hxx>
#include <docsh.hxx>
@@ -153,7 +153,7 @@ KSHORT SwFldPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const
// 8653: in keinem Fall nur SetLen(0);
/*************************************************************************
- * Hilfsklasse SwFldSlot
+ * Hilfsklasse SwFldSlot
**************************************************************************/
class SwFldSlot
@@ -407,12 +407,12 @@ sal_Bool SwFldPortion::Format( SwTxtFormatInfo &rInf )
// case CHAR_RLM :
// case CHAR_LRM :
// <--
- // --> OD 2010-06-03 #i111750#
+ // --> OD 2010-06-03 #i111750#
// - Erasing further control characters from field string in
// to avoid loop.
case CH_TXTATR_BREAKWORD:
- case CH_TXTATR_INWORD:
- // <--
+ case CH_TXTATR_INWORD:
+ // <--
{
aNew.Erase( 0, 1 );
++nNextOfst;
@@ -658,8 +658,8 @@ sal_Bool SwNumberPortion::Format( SwTxtFormatInfo &rInf )
void SwNumberPortion::FormatEOL( SwTxtFormatInfo& )
{
-/* Ein FormatEOL deutet daraufhin, dass der folgende Text
- * nicht mit auf die Zeile passte. Damit die Numerierung mitwandert,
+/* Ein FormatEOL deutet daraufhin, dass der folgende Text
+ * nicht mit auf die Zeile passte. Damit die Numerierung mitwandert,
* wird diese NumberPortion verborgen.
*/
@@ -676,8 +676,8 @@ void SwNumberPortion::FormatEOL( SwTxtFormatInfo& )
void SwNumberPortion::Paint( const SwTxtPaintInfo &rInf ) const
{
-/* Eine verborgene NumberPortion wird nicht angezeigt, es sei denn, es gibt
- * Textportions in dieser Zeile oder es gibt ueberhaupt nur eine einzige Zeile.
+/* Eine verborgene NumberPortion wird nicht angezeigt, es sei denn, es gibt
+ * Textportions in dieser Zeile oder es gibt ueberhaupt nur eine einzige Zeile.
*/
if ( IsHide() && rInf.GetParaPortion() && rInf.GetParaPortion()->GetNext() )
@@ -943,8 +943,8 @@ void SwGrfNumPortion::Paint( const SwTxtPaintInfo &rInf ) const
{
if( DontPaint() )
return;
-/* Eine verborgene NumberPortion wird nicht angezeigt, es sei denn, es gibt
- * Textportions in dieser Zeile oder es gibt ueberhaupt nur eine einzige Zeile.
+/* Eine verborgene NumberPortion wird nicht angezeigt, es sei denn, es gibt
+ * Textportions in dieser Zeile oder es gibt ueberhaupt nur eine einzige Zeile.
*/
if ( IsHide() && rInf.GetParaPortion() && rInf.GetParaPortion()->GetNext() )
{
@@ -1128,7 +1128,7 @@ SwCombinedPortion::SwCombinedPortion( const XubString &rTxt )
aExpand.Erase( 6 );
// Initialization of the scripttype array,
// the arrays of width and position are filled by the format function
- if( pBreakIt->GetBreakIter().is() )
+ if( pBreakIt->GetBreakIter().is() )
{
BYTE nScr = SW_SCRIPTS;
for( USHORT i = 0; i < rTxt.Len(); ++i )
@@ -1175,7 +1175,7 @@ void SwCombinedPortion::Paint( const SwTxtPaintInfo &rInf ) const
USHORT nTop = ( nCount + 1 ) / 2;
SwFont aTmpFont( *rInf.GetFont() );
- aTmpFont.SetProportion( nProportion ); // a smaller font
+ aTmpFont.SetProportion( nProportion ); // a smaller font
SwFontSave aFontSave( rInf, &aTmpFont );
USHORT i = 0;
@@ -1184,9 +1184,9 @@ void SwCombinedPortion::Paint( const SwTxtPaintInfo &rInf ) const
while( i < nCount )
{
if( i == nTop ) // change the row
- aOutPos.Y() = aOldPos.Y() + nLowPos; // Y of the second row
- aOutPos.X() = aOldPos.X() + aPos[i]; // X position
- const BYTE nAct = aScrType[i]; // script type
+ aOutPos.Y() = aOldPos.Y() + nLowPos; // Y of the second row
+ aOutPos.X() = aOldPos.X() + aPos[i]; // X position
+ const BYTE nAct = aScrType[i]; // script type
aTmpFont.SetActual( nAct );
// if there're more than 4 characters to display, we choose fonts
// with 2/3 of the original font width.
@@ -1348,10 +1348,10 @@ sal_Bool SwCombinedPortion::Format( SwTxtFormatInfo &rInf )
aPos[0] = 0;
switch( nCount )
{
- case 5: aPos[4] = aPos[3] + nBotDiff; // no break
- case 3: aPos[nTop] = nBotDiff; break;
- case 6: aPos[4] = aPos[3] + nBotDiff; // no break
- case 4: aPos[nTop] = 0; // no break
+ case 5: aPos[4] = aPos[3] + nBotDiff; // no break
+ case 3: aPos[nTop] = nBotDiff; break;
+ case 6: aPos[4] = aPos[3] + nBotDiff; // no break
+ case 4: aPos[nTop] = 0; // no break
case 2: aPos[nCount-1] = Width() - aPos[nCount-1];
}
@@ -1359,7 +1359,7 @@ sal_Bool SwCombinedPortion::Format( SwTxtFormatInfo &rInf )
const sal_Bool bFull = rInf.Width() < rInf.X() + Width();
if( bFull )
{
- if( rInf.GetLineStart() == rInf.GetIdx() && (!rInf.GetLast()->InFldGrp()
+ if( rInf.GetLineStart() == rInf.GetIdx() && (!rInf.GetLast()->InFldGrp()
|| !((SwFldPortion*)rInf.GetLast())->IsFollow() ) )
Width( (USHORT)( rInf.Width() - rInf.X() ) );
else
@@ -1380,8 +1380,8 @@ sal_Bool SwCombinedPortion::Format( SwTxtFormatInfo &rInf )
KSHORT SwCombinedPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const
{
- if( !GetLen() ) // for the dummy part at the end of the line, where
- return 0; // the combined portion doesn't fit.
+ if( !GetLen() ) // for the dummy part at the end of the line, where
+ return 0; // the combined portion doesn't fit.
return SwFldPortion::GetViewWidth( rInf );
}
diff --git a/sw/source/core/text/porfld.hxx b/sw/source/core/text/porfld.hxx
index 2739f4a2f759..ed18c5dd1d99 100644
--- a/sw/source/core/text/porfld.hxx
+++ b/sw/source/core/text/porfld.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwFldPortion : public SwExpandPortion
protected:
XubString aExpand; // das expandierte Feld
SwFont *pFnt; // Fuer mehrzeilige Felder
- xub_StrLen nNextOffset; // Offset des Follows im Originalstring
+ xub_StrLen nNextOffset; // Offset des Follows im Originalstring
xub_StrLen nNextScriptChg;
KSHORT nViewWidth; // Screenbreite fuer leere Felder
sal_Bool bFollow : 1; // 2. oder weiterer Teil eines Feldes
- sal_Bool bLeft : 1; // wird von SwNumberPortion benutzt
+ sal_Bool bLeft : 1; // wird von SwNumberPortion benutzt
sal_Bool bHide : 1; // wird von SwNumberPortion benutzt
- sal_Bool bCenter : 1; // wird von SwNumberPortion benutzt
- sal_Bool bHasFollow : 1; // geht in der naechsten Zeile weiter
- sal_Bool bAnimated : 1; // wird von SwGrfNumPortion benutzt
- sal_Bool bNoPaint : 1; // wird von SwGrfNumPortion benutzt
- sal_Bool bReplace : 1; // wird von SwGrfNumPortion benutzt
+ sal_Bool bCenter : 1; // wird von SwNumberPortion benutzt
+ sal_Bool bHasFollow : 1; // geht in der naechsten Zeile weiter
+ sal_Bool bAnimated : 1; // wird von SwGrfNumPortion benutzt
+ sal_Bool bNoPaint : 1; // wird von SwGrfNumPortion benutzt
+ sal_Bool bReplace : 1; // wird von SwGrfNumPortion benutzt
const sal_Bool bPlaceHolder : 1;
sal_Bool m_bNoLength : 1; // HACK for meta suffix (no CH_TXTATR)
@@ -147,7 +147,7 @@ class SwNumberPortion : public SwFldPortion
{
protected:
KSHORT nFixWidth; // vgl. Glues
- KSHORT nMinDist; // minimaler Abstand zum Text
+ KSHORT nMinDist; // minimaler Abstand zum Text
// --> OD 2008-01-23 #newlistlevelattrs#
bool mbLabelAlignmentPosAndSpaceModeActive;
// <--
@@ -198,9 +198,9 @@ public:
class SwGrfNumPortion : public SwNumberPortion
{
SvxBrushItem* pBrush;
- long nId; //fuer StopAnimation
- SwTwips nYPos; //Enthaelt _immer_ die aktuelle RelPos.
- SwTwips nGrfHeight;
+ long nId; //fuer StopAnimation
+ SwTwips nYPos; //Enthaelt _immer_ die aktuelle RelPos.
+ SwTwips nGrfHeight;
sal_Int16 eOrient;
public:
// --> OD 2008-01-23 #newlistlevelattrs#
@@ -250,12 +250,12 @@ public:
class SwCombinedPortion : public SwFldPortion
{
- USHORT aPos[6]; // up to six X positions
- USHORT aWidth[3]; // one width for every scripttype
- BYTE aScrType[6]; // scripttype of every character
- USHORT nUpPos; // the Y position of the upper baseline
- USHORT nLowPos; // the Y position of the lower baseline
- BYTE nProportion; // relative font height
+ USHORT aPos[6]; // up to six X positions
+ USHORT aWidth[3]; // one width for every scripttype
+ BYTE aScrType[6]; // scripttype of every character
+ USHORT nUpPos; // the Y position of the upper baseline
+ USHORT nLowPos; // the Y position of the lower baseline
+ BYTE nProportion; // relative font height
public:
SwCombinedPortion( const XubString &rExpand );
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
diff --git a/sw/source/core/text/porfly.cxx b/sw/source/core/text/porfly.cxx
index 30e5b231f50a..f38233799b0d 100644
--- a/sw/source/core/text/porfly.cxx
+++ b/sw/source/core/text/porfly.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,11 +30,11 @@
#include "precompiled_sw.hxx"
-#include "dcontact.hxx" // SwDrawContact
-#include "dflyobj.hxx" // SwVirtFlyDrawObj
-#include "pam.hxx" // SwPosition
-#include "flyfrm.hxx" // SwFlyInCntFrm
-#include "frmfmt.hxx" // SwFrmFmt
+#include "dcontact.hxx" // SwDrawContact
+#include "dflyobj.hxx" // SwVirtFlyDrawObj
+#include "pam.hxx" // SwPosition
+#include "flyfrm.hxx" // SwFlyInCntFrm
+#include "frmfmt.hxx" // SwFrmFmt
#include "viewsh.hxx"
#include <vcl/outdev.hxx>
@@ -45,17 +45,17 @@
#include <fmtornt.hxx>
#include <frmatr.hxx>
#include "flyfrms.hxx"
-#include "txatbase.hxx" // SwTxtAttr
+#include "txatbase.hxx" // SwTxtAttr
#include "porfly.hxx"
-#include "porlay.hxx" // SetFly
-#include "inftxt.hxx" // SwTxtPaintInfo
+#include "porlay.hxx" // SetFly
+#include "inftxt.hxx" // SwTxtPaintInfo
// OD 2004-05-24 #i28701#
#include <sortedobjs.hxx>
/*************************************************************************
- * class SwFlyPortion
+ * class SwFlyPortion
*
* Wir erwarten ein framelokales SwRect !
*************************************************************************/
@@ -65,7 +65,7 @@ void SwFlyPortion::Paint( const SwTxtPaintInfo& ) const
}
/*************************************************************************
- * virtual SwFlyPortion::Format()
+ * virtual SwFlyPortion::Format()
*************************************************************************/
sal_Bool SwFlyPortion::Format( SwTxtFormatInfo &rInf )
{
@@ -89,7 +89,7 @@ sal_Bool SwFlyPortion::Format( SwTxtFormatInfo &rInf )
rInf.GetParaPortion()->SetFly( sal_True );
// trailing blank:
- if( rInf.GetIdx() < rInf.GetTxt().Len() && 1 < rInf.GetIdx()
+ if( rInf.GetIdx() < rInf.GetTxt().Len() && 1 < rInf.GetIdx()
&& !rInf.GetRest()
&& ' ' == rInf.GetChar( rInf.GetIdx() )
&& ' ' != rInf.GetChar( rInf.GetIdx() - 1 )
@@ -114,7 +114,7 @@ sal_Bool SwFlyPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwFlyCntPortion::Format()
+ * virtual SwFlyCntPortion::Format()
*************************************************************************/
sal_Bool SwFlyCntPortion::Format( SwTxtFormatInfo &rInf )
{
@@ -159,7 +159,7 @@ sal_Bool SwFlyCntPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwTxtFrm::MoveFlyInCnt() haengt jetzt die zeichengebundenen Objekte
+ * SwTxtFrm::MoveFlyInCnt() haengt jetzt die zeichengebundenen Objekte
* innerhalb des angegebenen Bereichs um, damit koennen diese vom Master
* zum Follow oder umgekehrt wandern.
*************************************************************************/
@@ -200,7 +200,7 @@ void SwTxtFrm::MoveFlyInCnt( SwTxtFrm *pNew, xub_StrLen nStart, xub_StrLen nEnd
}
/*************************************************************************
- * SwTxtFrm::CalcFlyPos()
+ * SwTxtFrm::CalcFlyPos()
*************************************************************************/
xub_StrLen SwTxtFrm::CalcFlyPos( SwFrmFmt* pSearch )
{
@@ -226,7 +226,7 @@ xub_StrLen SwTxtFrm::CalcFlyPos( SwFrmFmt* pSearch )
}
/*************************************************************************
- * virtual SwFlyCntPortion::Paint()
+ * virtual SwFlyCntPortion::Paint()
*************************************************************************/
void SwFlyCntPortion::Paint( const SwTxtPaintInfo &rInf ) const
{
@@ -286,7 +286,7 @@ void SwFlyCntPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * SwFlyCntPortion::SwFlyCntPortion()
+ * SwFlyCntPortion::SwFlyCntPortion()
*
* Es werden die Masze vom pFly->OutRect() eingestellt.
* Es erfolgt ein SetBase() !
@@ -340,7 +340,7 @@ SwFlyCntPortion::SwFlyCntPortion( const SwTxtFrm& rFrm,
/*************************************************************************
- * SwFlyCntPortion::SetBase()
+ * SwFlyCntPortion::SetBase()
*
* Nach dem Setzen des RefPoints muss der Ascent neu berechnet werden,
* da er von der RelPos abhaengt.
@@ -426,7 +426,7 @@ void SwFlyCntPortion::SetBase( const SwTxtFrm& rFrm, const Point &rBase,
}
/*************************************************************************
- * virtual SwFlyCntPortion::GetFlyCrsrOfst()
+ * virtual SwFlyCntPortion::GetFlyCrsrOfst()
*************************************************************************/
xub_StrLen SwFlyCntPortion::GetFlyCrsrOfst( const KSHORT nOfst,
@@ -444,7 +444,7 @@ xub_StrLen SwFlyCntPortion::GetFlyCrsrOfst( const KSHORT nOfst,
}
/*************************************************************************
- * virtual SwFlyCntPortion::GetCrsrOfst()
+ * virtual SwFlyCntPortion::GetCrsrOfst()
*************************************************************************/
xub_StrLen SwFlyCntPortion::GetCrsrOfst( const KSHORT nOfst ) const
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx
index ed2a7d5d8e65..e2c258d2d58f 100644
--- a/sw/source/core/text/porfly.hxx
+++ b/sw/source/core/text/porfly.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwTxtFrm;
struct SwCrsrMoveState;
/*************************************************************************
- * class SwFlyPortion
+ * class SwFlyPortion
*************************************************************************/
class SwFlyPortion : public SwFixPortion
{
KSHORT nBlankWidth;
public:
- inline SwFlyPortion( const SwRect &rFlyRect )
+ inline SwFlyPortion( const SwRect &rFlyRect )
: SwFixPortion(rFlyRect), nBlankWidth( 0 ) { SetWhichPor( POR_FLY ); }
inline KSHORT GetBlankWidth( ) const { return nBlankWidth; }
inline void SetBlankWidth( const KSHORT nNew ) { nBlankWidth = nNew; }
@@ -55,13 +55,13 @@ public:
};
/*************************************************************************
- * class SwFlyCntPortion
+ * class SwFlyCntPortion
*************************************************************************/
class SwFlyCntPortion : public SwLinePortion
{
void *pContact; // bDraw ? DrawContact : FlyInCntFrm
- Point aRef; // Relativ zu diesem Point wird die AbsPos berechnet.
+ Point aRef; // Relativ zu diesem Point wird die AbsPos berechnet.
sal_Bool bDraw : 1; // DrawContact?
sal_Bool bMax : 1; // Zeilenausrichtung und Hoehe == Zeilenhoehe
sal_uInt8 nAlign : 3; // Zeilenausrichtung? Nein, oben, mitte, unten
diff --git a/sw/source/core/text/porftn.hxx b/sw/source/core/text/porftn.hxx
index 468cb4523bcf..606c6c3479c5 100644
--- a/sw/source/core/text/porftn.hxx
+++ b/sw/source/core/text/porftn.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +34,12 @@ class SwTxtFrm;
class SwTxtFtn;
/*************************************************************************
- * class SwFtnPortion
+ * class SwFtnPortion
*************************************************************************/
class SwFtnPortion : public SwFldPortion
{
- SwTxtFrm *pFrm; // um im Dtor RemoveFtn rufen zu koennen.
+ SwTxtFrm *pFrm; // um im Dtor RemoveFtn rufen zu koennen.
SwTxtFtn *pFtn;
KSHORT nOrigHeight;
// --> OD 2009-01-29 #i98418#
@@ -49,7 +49,7 @@ class SwFtnPortion : public SwFldPortion
public:
SwFtnPortion( const XubString &rExpand, SwTxtFrm *pFrm, SwTxtFtn *pFtn,
KSHORT nOrig = KSHRT_MAX );
- inline KSHORT& Orig() { return nOrigHeight; }
+ inline KSHORT& Orig() { return nOrigHeight; }
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
@@ -65,7 +65,7 @@ public:
};
/*************************************************************************
- * class SwFtnNumPortion
+ * class SwFtnNumPortion
*************************************************************************/
class SwFtnNumPortion : public SwNumberPortion
@@ -81,12 +81,12 @@ public:
};
/*************************************************************************
- * class SwQuoVadisPortion
+ * class SwQuoVadisPortion
*************************************************************************/
class SwQuoVadisPortion : public SwFldPortion
{
- XubString aErgo;
+ XubString aErgo;
public:
SwQuoVadisPortion( const XubString &rExp, const XubString& rStr );
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
@@ -107,7 +107,7 @@ public:
};
/*************************************************************************
- * class SwErgoSumPortion
+ * class SwErgoSumPortion
*************************************************************************/
class SwErgoSumPortion : public SwFldPortion
diff --git a/sw/source/core/text/porglue.cxx b/sw/source/core/text/porglue.cxx
index cf23eedec633..6bc3e8c8ea04 100644
--- a/sw/source/core/text/porglue.cxx
+++ b/sw/source/core/text/porglue.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +32,19 @@
#include "swrect.hxx"
-#include "paratr.hxx" // pTabStop, ADJ*
-#include "viewopt.hxx" // SwViewOptions
-#include "errhdl.hxx" // ASSERT
+#include "paratr.hxx" // pTabStop, ADJ*
+#include "viewopt.hxx" // SwViewOptions
+#include "errhdl.hxx" // ASSERT
#include <SwPortionHandler.hxx>
#include "txtcfg.hxx"
#include "porglue.hxx"
#include "inftxt.hxx"
-#include "porlay.hxx" // SwParaPortion, SetFull
-#include "porfly.hxx" // SwParaPortion, SetFull
+#include "porlay.hxx" // SwParaPortion, SetFull
+#include "porfly.hxx" // SwParaPortion, SetFull
/*************************************************************************
- * class SwGluePortion
+ * class SwGluePortion
*************************************************************************/
SwGluePortion::SwGluePortion( const KSHORT nInitFixWidth )
@@ -55,7 +55,7 @@ SwGluePortion::SwGluePortion( const KSHORT nInitFixWidth )
}
/*************************************************************************
- * virtual SwGluePortion::GetCrsrOfst()
+ * virtual SwGluePortion::GetCrsrOfst()
*************************************************************************/
xub_StrLen SwGluePortion::GetCrsrOfst( const KSHORT nOfst ) const
@@ -67,7 +67,7 @@ xub_StrLen SwGluePortion::GetCrsrOfst( const KSHORT nOfst ) const
}
/*************************************************************************
- * virtual SwGluePortion::GetTxtSize()
+ * virtual SwGluePortion::GetTxtSize()
*************************************************************************/
SwPosSize SwGluePortion::GetTxtSize( const SwTxtSizeInfo &rInf ) const
@@ -79,7 +79,7 @@ SwPosSize SwGluePortion::GetTxtSize( const SwTxtSizeInfo &rInf ) const
}
/*************************************************************************
- * virtual SwGluePortion::GetExpTxt()
+ * virtual SwGluePortion::GetExpTxt()
*************************************************************************/
sal_Bool SwGluePortion::GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const
@@ -94,7 +94,7 @@ sal_Bool SwGluePortion::GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt )
}
/*************************************************************************
- * virtual SwGluePortion::Paint()
+ * virtual SwGluePortion::Paint()
*************************************************************************/
void SwGluePortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -140,7 +140,7 @@ void SwGluePortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * SwGluePortion::MoveGlue()
+ * SwGluePortion::MoveGlue()
*************************************************************************/
void SwGluePortion::MoveGlue( SwGluePortion *pTarget, const short nPrtGlue )
@@ -154,7 +154,7 @@ void SwGluePortion::MoveGlue( SwGluePortion *pTarget, const short nPrtGlue )
}
/*************************************************************************
- * void SwGluePortion::Join()
+ * void SwGluePortion::Join()
*************************************************************************/
void SwGluePortion::Join( SwGluePortion *pVictim )
@@ -171,7 +171,7 @@ void SwGluePortion::Join( SwGluePortion *pVictim )
}
/*************************************************************************
- * class SwFixPortion
+ * class SwFixPortion
*************************************************************************/
// Wir erwarten ein framelokales SwRect !
@@ -189,7 +189,7 @@ SwFixPortion::SwFixPortion(const KSHORT nFixedWidth, const KSHORT nFixedPos)
}
/*************************************************************************
- * class SwMarginPortion
+ * class SwMarginPortion
*************************************************************************/
SwMarginPortion::SwMarginPortion( const KSHORT nFixedWidth )
@@ -199,7 +199,7 @@ SwMarginPortion::SwMarginPortion( const KSHORT nFixedWidth )
}
/*************************************************************************
- * SwMarginPortion::AdjustRight()
+ * SwMarginPortion::AdjustRight()
*
* In der umschliessenden Schleife werden alle Portions durchsucht,
* dabei werden erst die am Ende liegenden GluePortions verarbeitet.
@@ -242,7 +242,7 @@ void SwMarginPortion::AdjustRight( const SwLineLayout *pCurr )
KSHORT nRightGlue = pRight && 0 < pRight->GetPrtGlue()
? KSHORT(pRight->GetPrtGlue()) : 0;
// 2) linken und rechten Glue ausgleichen
- // Bei Tabs haengen wir nix um ...
+ // Bei Tabs haengen wir nix um ...
if( pLeft && nRightGlue && !pRight->InTabGrp() )
{
// pPrev ist die Portion, die unmittelbar vor pRight liegt.
diff --git a/sw/source/core/text/porglue.hxx b/sw/source/core/text/porglue.hxx
index a498c46cbb7e..53c4f1aae4bb 100644
--- a/sw/source/core/text/porglue.hxx
+++ b/sw/source/core/text/porglue.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwRect;
class SwLineLayout;
/*************************************************************************
- * class SwGluePortion
+ * class SwGluePortion
*************************************************************************/
class SwGluePortion : public SwLinePortion
@@ -62,12 +62,12 @@ public:
};
/*************************************************************************
- * class SwFixPortion
+ * class SwFixPortion
*************************************************************************/
class SwFixPortion : public SwGluePortion
{
- KSHORT nFix; // der Width-Offset in der Zeile
+ KSHORT nFix; // der Width-Offset in der Zeile
public:
SwFixPortion( const SwRect &rFlyRect );
SwFixPortion( const KSHORT nFixWidth, const KSHORT nFixPos );
@@ -77,7 +77,7 @@ public:
};
/*************************************************************************
- * class SwMarginPortion
+ * class SwMarginPortion
*************************************************************************/
class SwMarginPortion : public SwGluePortion
@@ -89,14 +89,14 @@ public:
};
/*************************************************************************
- * inline SwGluePortion::GetPrtGlue()
+ * inline SwGluePortion::GetPrtGlue()
*************************************************************************/
inline short SwGluePortion::GetPrtGlue() const
{ return Width() - nFixWidth; }
/*************************************************************************
- * inline SwGluePortion::AdjFixWidth()
+ * inline SwGluePortion::AdjFixWidth()
* Die FixWidth darf niemals groesser sein als die Gesamtbreite !
*************************************************************************/
@@ -107,7 +107,7 @@ inline void SwGluePortion::AdjFixWidth()
}
/*************************************************************************
- * inline SwGluePortion::MoveGlue()
+ * inline SwGluePortion::MoveGlue()
*************************************************************************/
inline void SwGluePortion::MoveAllGlue( SwGluePortion *pTarget )
@@ -116,7 +116,7 @@ inline void SwGluePortion::MoveAllGlue( SwGluePortion *pTarget )
}
/*************************************************************************
- * inline SwGluePortion::MoveHalfGlue()
+ * inline SwGluePortion::MoveHalfGlue()
*************************************************************************/
inline void SwGluePortion::MoveHalfGlue( SwGluePortion *pTarget )
diff --git a/sw/source/core/text/porhyph.hxx b/sw/source/core/text/porhyph.hxx
index c3f2934cedc8..ca13f8dd5f88 100644
--- a/sw/source/core/text/porhyph.hxx
+++ b/sw/source/core/text/porhyph.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwHyphPortion : public SwExpandPortion
{
public:
- inline SwHyphPortion( ) { SetWhichPor( POR_HYPH ); }
+ inline SwHyphPortion( ) { SetWhichPor( POR_HYPH ); }
virtual sal_Bool GetExpTxt( const SwTxtSizeInfo &rInf, XubString &rTxt ) const;
virtual sal_Bool Format( SwTxtFormatInfo &rInf );
@@ -72,7 +72,7 @@ class SwSoftHyphPortion : public SwHyphPortion
{
sal_Bool bExpand;
KSHORT nViewWidth;
- KSHORT nHyphWidth;
+ KSHORT nHyphWidth;
public:
SwSoftHyphPortion();
@@ -93,7 +93,7 @@ public:
};
/*************************************************************************
- * class SwSoftHyphStrPortion
+ * class SwSoftHyphStrPortion
*************************************************************************/
class SwSoftHyphStrPortion : public SwHyphStrPortion
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index 057d0a2a668d..9c68d1140fac 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +30,18 @@
#include "precompiled_sw.hxx"
-#include "errhdl.hxx" // ASSERT
+#include "errhdl.hxx" // ASSERT
#include "txtcfg.hxx"
#include "porlay.hxx"
#include "itrform2.hxx"
#include "porglue.hxx"
-#include "porexp.hxx" // SwQuoVadisPortion
-#include "blink.hxx" // pBlink
+#include "porexp.hxx" // SwQuoVadisPortion
+#include "blink.hxx" // pBlink
#include "redlnitr.hxx" // SwRedlineItr
-#include "porfly.hxx" // SwFlyCntPortion
-#include <porrst.hxx> // SwHangingPortion
-#include <pormulti.hxx> // SwMultiPortion
+#include "porfly.hxx" // SwFlyCntPortion
+#include <porrst.hxx> // SwHangingPortion
+#include <pormulti.hxx> // SwMultiPortion
#include <breakit.hxx>
#include <unicode/uchar.h>
#include <com/sun/star/i18n/ScriptType.hdl>
@@ -227,7 +227,7 @@ sal_Bool lcl_ConnectToPrev( xub_Unicode cCh, xub_Unicode cPrevCh )
}
/*************************************************************************
- * SwLineLayout::~SwLineLayout()
+ * SwLineLayout::~SwLineLayout()
*
* class SwLineLayout: Das Layout einer einzelnen Zeile. Dazu
* gehoeren vor allen Dingen die Dimension, die Anzahl der
@@ -251,7 +251,7 @@ SwLineLayout::~SwLineLayout()
}
/*************************************************************************
- * virtual SwLineLayout::Insert()
+ * virtual SwLineLayout::Insert()
*************************************************************************/
SwLinePortion *SwLineLayout::Insert( SwLinePortion *pIns )
@@ -280,7 +280,7 @@ SwLinePortion *SwLineLayout::Insert( SwLinePortion *pIns )
}
/*************************************************************************
- * virtual SwLineLayout::Append()
+ * virtual SwLineLayout::Append()
*************************************************************************/
SwLinePortion *SwLineLayout::Append( SwLinePortion *pIns )
@@ -294,7 +294,7 @@ SwLinePortion *SwLineLayout::Append( SwLinePortion *pIns )
}
/*************************************************************************
- * virtual SwLineLayout::Format()
+ * virtual SwLineLayout::Format()
*************************************************************************/
// fuer die Sonderbehandlung bei leeren Zeilen
@@ -311,7 +311,7 @@ sal_Bool SwLineLayout::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * SwLineLayout::CalcLeftMargin()
+ * SwLineLayout::CalcLeftMargin()
*
* Wir sammeln alle FlyPortions am Anfang der Zeile zu einer MarginPortion.
*************************************************************************/
@@ -369,7 +369,7 @@ void SwLineLayout::InitSpaceAdd()
}
/*************************************************************************
- * SwLineLayout::CreateSpaceAdd()
+ * SwLineLayout::CreateSpaceAdd()
*************************************************************************/
void SwLineLayout::CreateSpaceAdd( const long nInit )
@@ -399,7 +399,7 @@ bool lcl_HasOnlyBlanks( const XubString& rTxt, xub_StrLen nStt, xub_StrLen nEnd
}
/*************************************************************************
- * SwLineLayout::CalcLine()
+ * SwLineLayout::CalcLine()
*
* Aus FormatLine() ausgelagert.
*************************************************************************/
@@ -447,9 +447,9 @@ void SwLineLayout::CalcLine( SwTxtFormatter &rLine, SwTxtFormatInfo &rInf )
SwLinePortion *pLast = this;
KSHORT nMaxDescent = 0;
- // Eine Gruppe ist ein Abschnitt in der Portion-Kette von
- // pCurr oder einer Fix-Portion bis zum Ende bzw. zur naechsten
- // Fix-Portion.
+ // Eine Gruppe ist ein Abschnitt in der Portion-Kette von
+ // pCurr oder einer Fix-Portion bis zum Ende bzw. zur naechsten
+ // Fix-Portion.
while( pPos )
{
DBG_LOOP;
@@ -713,7 +713,7 @@ void SwLineLayout::MaxAscentDescent( SwTwips& _orAscent,
}
/*************************************************************************
- * class SwCharRange
+ * class SwCharRange
*************************************************************************/
SwCharRange &SwCharRange::operator+=(const SwCharRange &rRange)
@@ -781,7 +781,7 @@ BYTE SwScriptInfo::WhichFont( xub_StrLen nIdx, const String* pTxt, const SwScrip
}
/*************************************************************************
- * SwScriptInfo::InitScriptInfo()
+ * SwScriptInfo::InitScriptInfo()
*
* searches for script changes in rTxt and stores them
*************************************************************************/
@@ -1412,7 +1412,7 @@ void SwScriptInfo::UpdateBidiInfo( const String& rTxt )
UBiDi* pBidi = ubidi_openSized( rTxt.Len(), 0, &nError );
nError = U_ZERO_ERROR;
- ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(rTxt.GetBuffer()), rTxt.Len(), // UChar != sal_Unicode in MinGW
+ ubidi_setPara( pBidi, reinterpret_cast<const UChar *>(rTxt.GetBuffer()), rTxt.Len(), // UChar != sal_Unicode in MinGW
nDefaultDir, NULL, &nError );
nError = U_ZERO_ERROR;
long nCount = ubidi_countRuns( pBidi, &nError );
@@ -1435,13 +1435,13 @@ void SwScriptInfo::UpdateBidiInfo( const String& rTxt )
/*************************************************************************
- * SwScriptInfo::NextScriptChg(..)
+ * SwScriptInfo::NextScriptChg(..)
* returns the position of the next character which belongs to another script
* than the character of the actual (input) position.
* If there's no script change until the end of the paragraph, it will return
* STRING_LEN.
* Scripts are Asian (Chinese, Japanese, Korean),
- * Latin ( English etc.)
+ * Latin ( English etc.)
* and Complex ( Hebrew, Arabian )
*************************************************************************/
@@ -1458,7 +1458,7 @@ xub_StrLen SwScriptInfo::NextScriptChg( const xub_StrLen nPos ) const
}
/*************************************************************************
- * SwScriptInfo::ScriptType(..)
+ * SwScriptInfo::ScriptType(..)
* returns the script of the character at the input position
*************************************************************************/
@@ -2278,7 +2278,7 @@ SwParaPortion::~SwParaPortion()
}
/*************************************************************************
- * SwParaPortion::GetParLen()
+ * SwParaPortion::GetParLen()
*************************************************************************/
xub_StrLen SwParaPortion::GetParLen() const
{
@@ -2294,7 +2294,7 @@ xub_StrLen SwParaPortion::GetParLen() const
}
/*************************************************************************
- * SwParaPortion::FindDropPortion()
+ * SwParaPortion::FindDropPortion()
*************************************************************************/
const SwDropPortion *SwParaPortion::FindDropPortion() const
@@ -2315,7 +2315,7 @@ const SwDropPortion *SwParaPortion::FindDropPortion() const
}
/*************************************************************************
- * SwLineLayout::Init()
+ * SwLineLayout::Init()
*************************************************************************/
void SwLineLayout::Init( SwLinePortion* pNextPortion )
diff --git a/sw/source/core/text/porlay.hxx b/sw/source/core/text/porlay.hxx
index db11bbc87f31..5a90ac88c6b1 100644
--- a/sw/source/core/text/porlay.hxx
+++ b/sw/source/core/text/porlay.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SvStream;
class SwTxtFormatter;
/*************************************************************************
- * class SwCharRange
+ * class SwCharRange
*************************************************************************/
class SwCharRange
@@ -52,7 +52,7 @@ class SwCharRange
xub_StrLen nStart, nLen;
public:
inline SwCharRange( const xub_StrLen nInitStart = 0,
- const xub_StrLen nInitLen = 0): nStart( nInitStart ), nLen(nInitLen) {}
+ const xub_StrLen nInitLen = 0): nStart( nInitStart ), nLen(nInitLen) {}
inline xub_StrLen &Start() { return nStart; }
inline const xub_StrLen &Start() const { return nStart; }
inline void LeftMove( xub_StrLen nNew )
@@ -71,7 +71,7 @@ public:
};
/*************************************************************************
- * class SwRepaint
+ * class SwRepaint
*************************************************************************/
// SwRepaint ist ein dokumentglobales SwRect mit einem nOfst der angibt,
@@ -93,7 +93,7 @@ public:
};
/*************************************************************************
- * class SwLineLayout
+ * class SwLineLayout
*************************************************************************/
class SwLineLayout : public SwTxtPortion
@@ -104,17 +104,17 @@ private:
SvUShorts* pKanaComp; // Used for Kana compression.
KSHORT nRealHeight; // Die aus Zeilenabstand/Register resultierende Hoehe.
sal_Bool bFormatAdj : 1;
- sal_Bool bDummy : 1;
- sal_Bool bFntChg : 1;
- sal_Bool bEndHyph : 1;
- sal_Bool bMidHyph : 1;
- sal_Bool bTab : 1;
+ sal_Bool bDummy : 1;
+ sal_Bool bFntChg : 1;
+ sal_Bool bEndHyph : 1;
+ sal_Bool bMidHyph : 1;
+ sal_Bool bTab : 1;
sal_Bool bFly : 1;
- sal_Bool bRest : 1;
- sal_Bool bBlinking : 1;
- sal_Bool bClipping : 1; // Clipping erforderlich wg. exakter Zeilenhoehe
- sal_Bool bContent : 1; // enthaelt Text, fuer Zeilennumerierung
- sal_Bool bRedline : 1; // enthaelt Redlining
+ sal_Bool bRest : 1;
+ sal_Bool bBlinking : 1;
+ sal_Bool bClipping : 1; // Clipping erforderlich wg. exakter Zeilenhoehe
+ sal_Bool bContent : 1; // enthaelt Text, fuer Zeilennumerierung
+ sal_Bool bRedline : 1; // enthaelt Redlining
sal_Bool bForcedLeftMargin : 1; // vom Fly verschobener linker Einzug
sal_Bool bHanging : 1; // contents a hanging portion in the margin
sal_Bool bUnderscore : 1;
@@ -279,24 +279,24 @@ class SwParaPortion : public SwLineLayout
// Wenn ein SwTxtFrm gelocked ist, werden keine Veraenderungen an den
// Formatierungsdaten (unter pLine) vorgenommen (vgl. ORPHANS)
- sal_Bool bFlys : 1; // Ueberlappen Flys ?
- sal_Bool bPrep : 1; // PREP_*
- sal_Bool bPrepWidows : 1; // PREP_WIDOWS
- sal_Bool bPrepAdjust : 1; // PREP_ADJUST_FRM
- sal_Bool bPrepMustFit : 1; // PREP_MUST_FIT
- sal_Bool bFollowField : 1; // Es steht noch ein Feldrest fuer den Follow an.
-
- sal_Bool bFixLineHeight : 1; // Feste Zeilenhoehe
- sal_Bool bFtnNum : 1; // contents a footnotenumberportion
- sal_Bool bMargin : 1; // contents a hanging punctuation in the margin
-
- sal_Bool bFlag00 : 1; //
- sal_Bool bFlag11 : 1; //
- sal_Bool bFlag12 : 1; //
- sal_Bool bFlag13 : 1; //
- sal_Bool bFlag14 : 1; //
- sal_Bool bFlag15 : 1; //
- sal_Bool bFlag16 : 1; //
+ sal_Bool bFlys : 1; // Ueberlappen Flys ?
+ sal_Bool bPrep : 1; // PREP_*
+ sal_Bool bPrepWidows : 1; // PREP_WIDOWS
+ sal_Bool bPrepAdjust : 1; // PREP_ADJUST_FRM
+ sal_Bool bPrepMustFit : 1; // PREP_MUST_FIT
+ sal_Bool bFollowField : 1; // Es steht noch ein Feldrest fuer den Follow an.
+
+ sal_Bool bFixLineHeight : 1; // Feste Zeilenhoehe
+ sal_Bool bFtnNum : 1; // contents a footnotenumberportion
+ sal_Bool bMargin : 1; // contents a hanging punctuation in the margin
+
+ sal_Bool bFlag00 : 1; //
+ sal_Bool bFlag11 : 1; //
+ sal_Bool bFlag12 : 1; //
+ sal_Bool bFlag13 : 1; //
+ sal_Bool bFlag14 : 1; //
+ sal_Bool bFlag15 : 1; //
+ sal_Bool bFlag16 : 1; //
public:
SwParaPortion();
@@ -379,7 +379,7 @@ public:
};
/*************************************************************************
- * Inline-Implementierungen
+ * Inline-Implementierungen
*************************************************************************/
inline void SwLineLayout::ResetFlags()
@@ -406,10 +406,10 @@ inline void SwParaPortion::FormatReset()
{
nDelta = 0;
aReformat = SwCharRange( 0, STRING_LEN );
-// AMA 9916: bFlys muss in SwTxtFrm::_Format() erhalten bleiben, damit
-// leere Absaetze, die Rahmen ohne Umfluss ausweichen mussten, sich
-// neu formatieren, wenn der Rahmen aus dem Bereich verschwindet.
-// bFlys = sal_False;
+// AMA 9916: bFlys muss in SwTxtFrm::_Format() erhalten bleiben, damit
+// leere Absaetze, die Rahmen ohne Umfluss ausweichen mussten, sich
+// neu formatieren, wenn der Rahmen aus dem Bereich verschwindet.
+// bFlys = sal_False;
ResetPreps();
bFollowField = bFixLineHeight = bMargin = sal_False;
}
diff --git a/sw/source/core/text/porlin.cxx b/sw/source/core/text/porlin.cxx
index cf8b4e528c9b..f2537a92fad0 100644
--- a/sw/source/core/text/porlin.cxx
+++ b/sw/source/core/text/porlin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ KSHORT SwLinePortion::GetViewWidth( const SwTxtSizeInfo & ) const
}
/*************************************************************************
- * SwLinePortion::SwLinePortion( )
+ * SwLinePortion::SwLinePortion( )
*************************************************************************/
SwLinePortion::SwLinePortion( ) :
@@ -166,7 +166,7 @@ void SwLinePortion::PrePaint( const SwTxtPaintInfo& rInf,
}
/*************************************************************************
- * SwLinePortion::CalcTxtSize()
+ * SwLinePortion::CalcTxtSize()
*************************************************************************/
void SwLinePortion::CalcTxtSize( const SwTxtSizeInfo &rInf )
@@ -182,7 +182,7 @@ void SwLinePortion::CalcTxtSize( const SwTxtSizeInfo &rInf )
}
/*************************************************************************
- * SwLinePortion::Truncate()
+ * SwLinePortion::Truncate()
*
* Es werden alle nachfolgenden Portions geloescht.
*************************************************************************/
@@ -203,7 +203,7 @@ void SwLinePortion::_Truncate()
}
/*************************************************************************
- * virtual SwLinePortion::Insert()
+ * virtual SwLinePortion::Insert()
*
* Es wird immer hinter uns eingefuegt.
*************************************************************************/
@@ -219,7 +219,7 @@ SwLinePortion *SwLinePortion::Insert( SwLinePortion *pIns )
}
/*************************************************************************
- * SwLinePortion::FindLastPortion()
+ * SwLinePortion::FindLastPortion()
*************************************************************************/
SwLinePortion *SwLinePortion::FindLastPortion()
@@ -235,7 +235,7 @@ SwLinePortion *SwLinePortion::FindLastPortion()
}
/*************************************************************************
- * virtual SwLinePortion::Append()
+ * virtual SwLinePortion::Append()
*************************************************************************/
SwLinePortion *SwLinePortion::Append( SwLinePortion *pIns )
@@ -250,7 +250,7 @@ SwLinePortion *SwLinePortion::Append( SwLinePortion *pIns )
}
/*************************************************************************
- * virtual SwLinePortion::Cut()
+ * virtual SwLinePortion::Cut()
*************************************************************************/
SwLinePortion *SwLinePortion::Cut( SwLinePortion *pVictim )
@@ -263,7 +263,7 @@ SwLinePortion *SwLinePortion::Cut( SwLinePortion *pVictim )
}
/*************************************************************************
- * SwLinePortion::FindPrevPortion()
+ * SwLinePortion::FindPrevPortion()
*************************************************************************/
SwLinePortion *SwLinePortion::FindPrevPortion( const SwLinePortion *pRoot )
@@ -281,7 +281,7 @@ SwLinePortion *SwLinePortion::FindPrevPortion( const SwLinePortion *pRoot )
}
/*************************************************************************
- * virtual SwLinePortion::GetCrsrOfst()
+ * virtual SwLinePortion::GetCrsrOfst()
*************************************************************************/
xub_StrLen SwLinePortion::GetCrsrOfst( const KSHORT nOfst ) const
@@ -293,7 +293,7 @@ xub_StrLen SwLinePortion::GetCrsrOfst( const KSHORT nOfst ) const
}
/*************************************************************************
- * virtual SwLinePortion::GetTxtSize()
+ * virtual SwLinePortion::GetTxtSize()
*************************************************************************/
SwPosSize SwLinePortion::GetTxtSize( const SwTxtSizeInfo & ) const
@@ -306,7 +306,7 @@ SwPosSize SwLinePortion::GetTxtSize( const SwTxtSizeInfo & ) const
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * virtual SwLinePortion::Check()
+ * virtual SwLinePortion::Check()
*************************************************************************/
sal_Bool SwLinePortion::Check( SvStream &, SwTxtSizeInfo & ) //$ ostream
@@ -316,7 +316,7 @@ sal_Bool SwLinePortion::Check( SvStream &, SwTxtSizeInfo & ) //$ ostream
#endif
/*************************************************************************
- * virtual SwLinePortion::Format()
+ * virtual SwLinePortion::Format()
*************************************************************************/
sal_Bool SwLinePortion::Format( SwTxtFormatInfo &rInf )
@@ -346,7 +346,7 @@ sal_Bool SwLinePortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwLinePortion::FormatEOL()
+ * virtual SwLinePortion::FormatEOL()
*************************************************************************/
// Format end of line
@@ -355,7 +355,7 @@ void SwLinePortion::FormatEOL( SwTxtFormatInfo & )
{ }
/*************************************************************************
- * SwLinePortion::Move()
+ * SwLinePortion::Move()
*************************************************************************/
void SwLinePortion::Move( SwTxtPaintInfo &rInf )
@@ -367,7 +367,7 @@ void SwLinePortion::Move( SwTxtPaintInfo &rInf )
if ( InSpaceGrp() && rInf.GetSpaceAdd() )
{
- SwTwips nTmp = PrtWidth() + CalcSpacing( rInf.GetSpaceAdd(), rInf );
+ SwTwips nTmp = PrtWidth() + CalcSpacing( rInf.GetSpaceAdd(), rInf );
if( rInf.IsRotated() )
rInf.Y( rInf.Y() + ( bB2T ? -nTmp : nTmp ) );
else if ( bCounterDir )
@@ -396,7 +396,7 @@ void SwLinePortion::Move( SwTxtPaintInfo &rInf )
}
/*************************************************************************
- * virtual SwLinePortion::CalcSpacing()
+ * virtual SwLinePortion::CalcSpacing()
*************************************************************************/
long SwLinePortion::CalcSpacing( long , const SwTxtSizeInfo & ) const
@@ -405,7 +405,7 @@ long SwLinePortion::CalcSpacing( long , const SwTxtSizeInfo & ) const
}
/*************************************************************************
- * virtual SwLinePortion::GetExpTxt()
+ * virtual SwLinePortion::GetExpTxt()
*************************************************************************/
sal_Bool SwLinePortion::GetExpTxt( const SwTxtSizeInfo &, XubString & ) const
diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx
index a57ab1c0e4ef..a3ff1b40feb4 100644
--- a/sw/source/core/text/porlin.hxx
+++ b/sw/source/core/text/porlin.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -28,7 +28,7 @@
#ifndef _PORLIN_HXX
#define _PORLIN_HXX
-#include "possiz.hxx" // SwPosSize
+#include "possiz.hxx" // SwPosSize
#if OSL_DEBUG_LEVEL > 1
#include <libxml/xmlwriter.h>
@@ -51,23 +51,23 @@ class SwPortionHandler;
#endif
// Portiongruppen
-#define PORGRP_TXT 0x8000
-#define PORGRP_EXP 0x4000
-#define PORGRP_FLD 0x2000
-#define PORGRP_HYPH 0x1000
-#define PORGRP_NUMBER 0x0800
-#define PORGRP_GLUE 0x0400
-#define PORGRP_FIX 0x0200
-#define PORGRP_TAB 0x0100
-#define PORGRP_NOTRECY 0x0080
+#define PORGRP_TXT 0x8000
+#define PORGRP_EXP 0x4000
+#define PORGRP_FLD 0x2000
+#define PORGRP_HYPH 0x1000
+#define PORGRP_NUMBER 0x0800
+#define PORGRP_GLUE 0x0400
+#define PORGRP_FIX 0x0200
+#define PORGRP_TAB 0x0100
+#define PORGRP_NOTRECY 0x0080
// kleine Spezialgruppen
-#define PORGRP_FIXMARG 0x0040
-//#define PORGRP_? 0x0020
+#define PORGRP_FIXMARG 0x0040
+//#define PORGRP_? 0x0020
#define PORGRP_TABNOTLFT 0x0010
-#define PORGRP_TOXREF 0x0008
+#define PORGRP_TOXREF 0x0008
/*************************************************************************
- * class SwLinePortion
+ * class SwLinePortion
*************************************************************************/
class SwLinePortion: public SwPosSize
@@ -77,16 +77,16 @@ protected:
SwLinePortion *pPortion;
// Anzahl der Zeichen und Spaces auf der Zeile
xub_StrLen nLineLength;
- KSHORT nAscent; // Maximaler Ascender
+ KSHORT nAscent; // Maximaler Ascender
SwLinePortion();
private:
- MSHORT nWhichPor; // Who's who?
+ MSHORT nWhichPor; // Who's who?
void _Truncate();
public:
- inline SwLinePortion(const SwLinePortion &rPortion);
+ inline SwLinePortion(const SwLinePortion &rPortion);
virtual ~SwLinePortion();
// Zugriffsmethoden
@@ -110,26 +110,26 @@ public:
virtual SwLinePortion *Insert( SwLinePortion *pPortion );
virtual SwLinePortion *Append( SwLinePortion *pPortion );
SwLinePortion *Cut( SwLinePortion *pVictim );
- inline void Truncate();
+ inline void Truncate();
// liefert 0 zurueck, wenn keine Nutzdaten enthalten sind.
virtual SwLinePortion *Compress();
- inline void SetWhichPor( const MSHORT nNew ) { nWhichPor = nNew; }
+ inline void SetWhichPor( const MSHORT nNew ) { nWhichPor = nNew; }
inline MSHORT GetWhichPor( ) const { return nWhichPor; }
// Gruppenabfragen:
- inline sal_Bool InTxtGrp( ) const { return nWhichPor & PORGRP_TXT ? sal_True : sal_False; }
- inline sal_Bool InGlueGrp( ) const { return nWhichPor & PORGRP_GLUE ? sal_True : sal_False;}
- inline sal_Bool InTabGrp( ) const { return nWhichPor & PORGRP_TAB ? sal_True : sal_False; }
- inline sal_Bool InHyphGrp( ) const { return nWhichPor & PORGRP_HYPH ? sal_True : sal_False;}
+ inline sal_Bool InTxtGrp( ) const { return nWhichPor & PORGRP_TXT ? sal_True : sal_False; }
+ inline sal_Bool InGlueGrp( ) const { return nWhichPor & PORGRP_GLUE ? sal_True : sal_False;}
+ inline sal_Bool InTabGrp( ) const { return nWhichPor & PORGRP_TAB ? sal_True : sal_False; }
+ inline sal_Bool InHyphGrp( ) const { return nWhichPor & PORGRP_HYPH ? sal_True : sal_False;}
inline sal_Bool InNumberGrp( )const { return nWhichPor & PORGRP_NUMBER ? sal_True : sal_False;}
- inline sal_Bool InFixGrp( ) const { return nWhichPor & PORGRP_FIX ? sal_True : sal_False; }
- inline sal_Bool InFldGrp( ) const { return nWhichPor & PORGRP_FLD ? sal_True : sal_False; }
- inline sal_Bool InToxRefGrp( ) const { return nWhichPor & PORGRP_TOXREF ? sal_True : sal_False; }
- inline sal_Bool InToxRefOrFldGrp( ) const { return nWhichPor &
+ inline sal_Bool InFixGrp( ) const { return nWhichPor & PORGRP_FIX ? sal_True : sal_False; }
+ inline sal_Bool InFldGrp( ) const { return nWhichPor & PORGRP_FLD ? sal_True : sal_False; }
+ inline sal_Bool InToxRefGrp( ) const { return nWhichPor & PORGRP_TOXREF ? sal_True : sal_False; }
+ inline sal_Bool InToxRefOrFldGrp( ) const { return nWhichPor &
( PORGRP_FLD | PORGRP_TOXREF ) ? sal_True : sal_False; }
- inline sal_Bool InExpGrp( ) const { return nWhichPor & PORGRP_EXP ? sal_True : sal_False; }
+ inline sal_Bool InExpGrp( ) const { return nWhichPor & PORGRP_EXP ? sal_True : sal_False; }
inline sal_Bool InTabnLftGrp( ) const
{ return nWhichPor & PORGRP_TABNOTLFT ? sal_True : sal_False; }
inline sal_Bool InFixMargGrp( )const
@@ -139,22 +139,22 @@ public:
// Individuelle Abfragen:
inline sal_Bool IsGrfNumPortion( )const{ return nWhichPor == POR_GRFNUM; }
inline sal_Bool IsFlyCntPortion( )const{ return nWhichPor == POR_FLYCNT; }
- inline sal_Bool IsBlankPortion( ) const{ return nWhichPor == POR_BLANK; }
- inline sal_Bool IsBreakPortion( ) const{ return nWhichPor == POR_BRK; }
+ inline sal_Bool IsBlankPortion( ) const{ return nWhichPor == POR_BLANK; }
+ inline sal_Bool IsBreakPortion( ) const{ return nWhichPor == POR_BRK; }
inline sal_Bool IsErgoSumPortion()const{ return nWhichPor == POR_ERGOSUM;}
inline sal_Bool IsQuoVadisPortion()const{ return nWhichPor==POR_QUOVADIS;}
inline sal_Bool IsTabCntPortion( )const{ return nWhichPor==POR_TABCENTER;}
inline sal_Bool IsTabDecimalPortion() const { return nWhichPor == POR_TABDECIMAL;}
inline sal_Bool IsTabLeftPortion()const{ return nWhichPor == POR_TABLEFT;}
inline sal_Bool IsFtnNumPortion( )const{ return nWhichPor == POR_FTNNUM; }
- inline sal_Bool IsFtnPortion( ) const{ return nWhichPor == POR_FTN; }
+ inline sal_Bool IsFtnPortion( ) const{ return nWhichPor == POR_FTN; }
inline sal_Bool IsTmpEndPortion( )const{ return nWhichPor == POR_TMPEND; }
- inline sal_Bool IsDropPortion( ) const{ return nWhichPor == POR_DROP; }
- inline sal_Bool IsLayPortion( ) const{ return nWhichPor == POR_LAY; }
- inline sal_Bool IsParaPortion( ) const{ return nWhichPor == POR_PARA; }
+ inline sal_Bool IsDropPortion( ) const{ return nWhichPor == POR_DROP; }
+ inline sal_Bool IsLayPortion( ) const{ return nWhichPor == POR_LAY; }
+ inline sal_Bool IsParaPortion( ) const{ return nWhichPor == POR_PARA; }
inline sal_Bool IsMarginPortion( )const{ return nWhichPor == POR_MARGIN; }
- inline sal_Bool IsFlyPortion( ) const{ return nWhichPor == POR_FLY; }
- inline sal_Bool IsHolePortion( ) const{ return nWhichPor == POR_HOLE; }
+ inline sal_Bool IsFlyPortion( ) const{ return nWhichPor == POR_FLY; }
+ inline sal_Bool IsHolePortion( ) const{ return nWhichPor == POR_HOLE; }
inline sal_Bool IsSoftHyphPortion()const{ return nWhichPor==POR_SOFTHYPH;}
inline sal_Bool IsPostItsPortion()const{ return nWhichPor == POR_POSTITS;}
inline sal_Bool IsCombinedPortion()const{ return nWhichPor==POR_COMBINED;}
@@ -208,7 +208,7 @@ public:
/*************************************************************************
- * inline - Implementations
+ * inline - Implementations
*************************************************************************/
inline SwLinePortion &SwLinePortion::operator=(const SwLinePortion &rPortion)
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index e965f78a3031..3d1ea042cf62 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,19 +39,19 @@
#include <fmtfld.hxx>
#include <fldbas.hxx> // SwField
#include <txatbase.hxx>
-#include <fmtruby.hxx> // SwFmtRuby
+#include <fmtruby.hxx> // SwFmtRuby
#include <txtatr.hxx> // SwTxtRuby
#include <charfmt.hxx>
#include <txtinet.hxx>
#include <fchrfmt.hxx>
-#include <layfrm.hxx> // GetUpper()
+#include <layfrm.hxx> // GetUpper()
#include <SwPortionHandler.hxx>
-#include <pormulti.hxx> // SwMultiPortion
-#include <inftxt.hxx> // SwTxtSizeInfo
+#include <pormulti.hxx> // SwMultiPortion
+#include <inftxt.hxx> // SwTxtSizeInfo
#include <itrpaint.hxx> // SwTxtPainter
-#include <viewopt.hxx> // SwViewOptions
-#include <itrform2.hxx> // SwTxtFormatter
-#include <porfld.hxx> // SwFldPortion
+#include <viewopt.hxx> // SwViewOptions
+#include <itrform2.hxx> // SwTxtFormatter
+#include <porfld.hxx> // SwFldPortion
#include <porglue.hxx>
#include <breakit.hxx>
#include <pagefrm.hxx>
@@ -289,7 +289,7 @@ SwDoubleLinePortion::SwDoubleLinePortion( SwDoubleLinePortion& rDouble,
// it contains a note only. In this cases the brackets are okay.
// But if the length and the width are both zero, the portion
// is really empty.
- if( rDouble.Width() == rDouble.BracketWidth() )
+ if( rDouble.Width() == rDouble.BracketWidth() )
rDouble.ClearBrackets();
}
}
@@ -712,8 +712,8 @@ void SwRubyPortion::_Adjust( SwTxtFormatInfo &rInf )
pCurr = GetRoot().GetNext();
rInf.SetIdx( nOldIdx + GetRoot().GetLen() );
}
- KSHORT nLeft = 0; // the space in front of the first letter
- KSHORT nRight = 0; // the space at the end of the last letter
+ KSHORT nLeft = 0; // the space in front of the first letter
+ KSHORT nRight = 0; // the space at the end of the last letter
USHORT nSub = 0;
switch ( nAdjustment )
{
@@ -995,7 +995,7 @@ SwMultiCreator* SwTxtSizeInfo::GetMultiCreator( xub_StrLen &rPos,
}
}
if( pRuby )
- { // The winner is ... a ruby attribute and so
+ { // The winner is ... a ruby attribute and so
// the end of the multiportion is the end of the ruby attribute.
rPos = *pRuby->GetEnd();
SwMultiCreator *pRet = new SwMultiCreator;
@@ -1007,7 +1007,7 @@ SwMultiCreator* SwTxtSizeInfo::GetMultiCreator( xub_StrLen &rPos,
}
if( n2Lines < nCount || ( pItem && pItem == p2Lines &&
rPos < GetTxt().Len() ) )
- { // The winner is a 2-line-attribute,
+ { // The winner is a 2-line-attribute,
// the end of the multiportion depends on the following attributes...
SwMultiCreator *pRet = new SwMultiCreator;
@@ -1050,11 +1050,11 @@ SwMultiCreator* SwTxtSizeInfo::GetMultiCreator( xub_StrLen &rPos,
// portion, if there's no interrupting attribute.
// There are two kinds of interruptors:
// - ruby attributes stops the 2-line-attribute, the end of the
- // multiline is the start of the ruby attribute
+ // multiline is the start of the ruby attribute
// - 2-line-attributes with value "Off" or with different brackets,
// these attributes may interrupt the winner, but they could be
- // neutralized by another 2-line-attribute starting at the same
- // position with the same brackets as the winner-attribute.
+ // neutralized by another 2-line-attribute starting at the same
+ // position with the same brackets as the winner-attribute.
// In the following loop rPos is the critical position and it will be
// evaluated, if at rPos starts a interrupting or a maintaining
@@ -1123,7 +1123,7 @@ SwMultiCreator* SwTxtSizeInfo::GetMultiCreator( xub_StrLen &rPos,
}
if( nRotate < nCount || ( pRotItem && pRotItem == pRotate &&
rPos < GetTxt().Len() ) )
- { // The winner is a rotate-attribute,
+ { // The winner is a rotate-attribute,
// the end of the multiportion depends on the following attributes...
SwMultiCreator *pRet = new SwMultiCreator;
pRet->nId = SW_MC_ROTATE;
@@ -1283,8 +1283,8 @@ class SwSpaceManipulator
std::vector<long>* pOldSpaceAdd;
MSHORT nOldSpIdx;
long nSpaceAdd;
- sal_Bool bSpaceChg : 1;
- sal_uInt8 nOldDir : 2;
+ sal_Bool bSpaceChg : 1;
+ sal_uInt8 nOldDir : 2;
public:
SwSpaceManipulator( SwTxtPaintInfo& rInf, SwMultiPortion& rMult );
~SwSpaceManipulator();
@@ -1310,7 +1310,7 @@ SwSpaceManipulator::SwSpaceManipulator( SwTxtPaintInfo& rInf,
{
rInfo.SetpSpaceAdd( rMulti.GetRoot().GetpLLSpaceAdd() );
rInfo.ResetSpaceIdx();
- bSpaceChg = rMulti.ChgSpaceAdd( &rMulti.GetRoot(), nSpaceAdd );
+ bSpaceChg = rMulti.ChgSpaceAdd( &rMulti.GetRoot(), nSpaceAdd );
}
else if( rMulti.HasTabulator() )
rInfo.SetpSpaceAdd( NULL );
@@ -1552,7 +1552,7 @@ void SwTxtPainter::PaintMultiPortion( const SwRect &rPaint,
if( bRest && pPor->InFldGrp() && !pPor->GetLen() )
{
- if( ((SwFldPortion*)pPor)->HasFont() )
+ if( ((SwFldPortion*)pPor)->HasFont() )
bSeeked = sal_False;
else
SeekAndChgBefore( GetInfo() );
diff --git a/sw/source/core/text/pormulti.hxx b/sw/source/core/text/pormulti.hxx
index 2c7a0d2af37d..649090fe2277 100644
--- a/sw/source/core/text/pormulti.hxx
+++ b/sw/source/core/text/pormulti.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +48,9 @@ class SwFont;
* the Ctor of the SwMultiPortion uses it.
* --------------------------------------------------*/
-#define SW_MC_DOUBLE 0
-#define SW_MC_RUBY 1
-#define SW_MC_ROTATE 2
+#define SW_MC_DOUBLE 0
+#define SW_MC_RUBY 1
+#define SW_MC_ROTATE 2
#define SW_MC_BIDI 3
struct SwMultiCreator
@@ -68,14 +68,14 @@ struct SwMultiCreator
struct SwBracket
{
- xub_StrLen nStart; // Start of text attribute determins the font
+ xub_StrLen nStart; // Start of text attribute determins the font
KSHORT nAscent; // Ascent of the brackets
- KSHORT nHeight; // Height of them
- KSHORT nPreWidth; // Width of the opening bracket
+ KSHORT nHeight; // Height of them
+ KSHORT nPreWidth; // Width of the opening bracket
KSHORT nPostWidth; // Width of the closing bracket
sal_Unicode cPre; // Initial character, e.g. '('
sal_Unicode cPost; // Final character, e.g. ')'
- BYTE nPreScript; // Script of the initial character
+ BYTE nPreScript; // Script of the initial character
BYTE nPostScript; // Script of the final character
};
@@ -90,12 +90,12 @@ struct SwBracket
class SwMultiPortion : public SwLinePortion
{
- SwLineLayout aRoot; // One or more lines
- SwFldPortion *pFldRest; // Field rest from the previous line
- sal_Bool bTab1 :1; // First line tabulator
- sal_Bool bTab2 :1; // Second line includes tabulator
- sal_Bool bDouble :1; // Double line
- sal_Bool bRuby :1; // Phonetics
+ SwLineLayout aRoot; // One or more lines
+ SwFldPortion *pFldRest; // Field rest from the previous line
+ sal_Bool bTab1 :1; // First line tabulator
+ sal_Bool bTab2 :1; // Second line includes tabulator
+ sal_Bool bDouble :1; // Double line
+ sal_Bool bRuby :1; // Phonetics
sal_Bool bBidi :1;
sal_Bool bTop :1; // Phonetic position
sal_Bool bFormatted :1; // Already formatted
@@ -159,8 +159,8 @@ public:
class SwDoubleLinePortion : public SwMultiPortion
{
- SwBracket* pBracket; // Surrounding brackets
- SwTwips nLineDiff; // Difference of the width of the both lines
+ SwBracket* pBracket; // Surrounding brackets
+ SwTwips nLineDiff; // Difference of the width of the both lines
xub_StrLen nBlank1; // Number of blanks in the first line
xub_StrLen nBlank2; // Number of blanks in the second line
public:
@@ -254,7 +254,7 @@ public:
};
/*************************************************************************
- * inline - Implementations
+ * inline - Implementations
*************************************************************************/
inline sal_Bool SwMultiPortion::HasBrackets() const
diff --git a/sw/source/core/text/porref.cxx b/sw/source/core/text/porref.cxx
index 4fb886a01b01..4f8e50a90905 100644
--- a/sw/source/core/text/porref.cxx
+++ b/sw/source/core/text/porref.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx" // SwViewOptions
#include "txtcfg.hxx"
#include "porref.hxx"
@@ -63,7 +63,7 @@ SwIsoRefPortion::SwIsoRefPortion() : nViewWidth(0)
}
/*************************************************************************
- * virtual SwIsoRefPortion::GetViewWidth()
+ * virtual SwIsoRefPortion::GetViewWidth()
*************************************************************************/
KSHORT SwIsoRefPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const
diff --git a/sw/source/core/text/porref.hxx b/sw/source/core/text/porref.hxx
index 67c64dad83d0..f08901385a5b 100644
--- a/sw/source/core/text/porref.hxx
+++ b/sw/source/core/text/porref.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwRefPortion : public SwTxtPortion
{
public:
- inline SwRefPortion(){ SetWhichPor( POR_REF ); }
+ inline SwRefPortion(){ SetWhichPor( POR_REF ); }
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
OUTPUT_OPERATOR
};
@@ -64,7 +64,7 @@ public:
};
/*************************************************************************
- * inline - Implementations
+ * inline - Implementations
*************************************************************************/
CLASSIO( SwRefPortion )
diff --git a/sw/source/core/text/porrst.cxx b/sw/source/core/text/porrst.cxx
index e8ac921d3e29..30941f351c3a 100644
--- a/sw/source/core/text/porrst.cxx
+++ b/sw/source/core/text/porrst.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,22 +37,22 @@
#include <editeng/pgrditem.hxx>
#include <vcl/window.hxx>
#include <vcl/svapp.hxx>
-#include <viewsh.hxx> // ViewShell
+#include <viewsh.hxx> // ViewShell
#include <viewopt.hxx>
-#include <ndtxt.hxx> // SwTxtNode
+#include <ndtxt.hxx> // SwTxtNode
#include <pagefrm.hxx> // SwPageFrm
#include <paratr.hxx>
#include <SwPortionHandler.hxx>
#include <txtcfg.hxx>
#include <porrst.hxx>
#include <inftxt.hxx>
-#include <txtpaint.hxx> // ClipVout
-#include <swfntcch.hxx> // SwFontAccess
+#include <txtpaint.hxx> // ClipVout
+#include <swfntcch.hxx> // SwFontAccess
#include <tgrditem.hxx>
#include <pagedesc.hxx> // SwPageDesc
#include <frmatr.hxx>
-#include <redlnitr.hxx> // SwRedlineItr
-#include <porfly.hxx> // SwFlyPortion
+#include <redlnitr.hxx> // SwRedlineItr
+#include <porfly.hxx> // SwFlyPortion
#include <atrhndl.hxx>
#include <IDocumentRedlineAccess.hxx>
@@ -73,7 +73,7 @@ SwTmpEndPortion::SwTmpEndPortion( const SwLinePortion &rPortion )
}
/*************************************************************************
- * virtual SwTmpEndPortion::Paint()
+ * virtual SwTmpEndPortion::Paint()
*************************************************************************/
void SwTmpEndPortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -87,7 +87,7 @@ void SwTmpEndPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * class SwBreakPortion
+ * class SwBreakPortion
*************************************************************************/
SwBreakPortion::SwBreakPortion( const SwLinePortion &rPortion )
: SwLinePortion( rPortion )
@@ -112,7 +112,7 @@ void SwBreakPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * virtual SwBreakPortion::Format()
+ * virtual SwBreakPortion::Format()
*************************************************************************/
sal_Bool SwBreakPortion::Format( SwTxtFormatInfo &rInf )
@@ -303,7 +303,7 @@ SwTwips SwTxtFrm::EmptyHeight() const
}
/*************************************************************************
- * SwTxtFrm::FormatEmpty()
+ * SwTxtFrm::FormatEmpty()
*************************************************************************/
sal_Bool SwTxtFrm::FormatEmpty()
diff --git a/sw/source/core/text/porrst.hxx b/sw/source/core/text/porrst.hxx
index d9b1da7b6807..865ba82666ed 100644
--- a/sw/source/core/text/porrst.hxx
+++ b/sw/source/core/text/porrst.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwTxtFormatInfo;
/*************************************************************************
- * class SwTmpEndPortion
+ * class SwTmpEndPortion
*************************************************************************/
class SwTmpEndPortion : public SwLinePortion
@@ -48,7 +48,7 @@ public:
};
/*************************************************************************
- * class SwBreakPortion
+ * class SwBreakPortion
*************************************************************************/
class SwBreakPortion : public SwLinePortion
@@ -69,7 +69,7 @@ public:
};
/*************************************************************************
- * class SwKernPortion
+ * class SwKernPortion
*************************************************************************/
class SwKernPortion : public SwLinePortion
@@ -99,7 +99,7 @@ public:
};
/*************************************************************************
- * class SwArrowPortion
+ * class SwArrowPortion
*************************************************************************/
class SwArrowPortion : public SwLinePortion
@@ -117,7 +117,7 @@ public:
};
/*************************************************************************
- * class SwHangingPortion
+ * class SwHangingPortion
* The characters which are forbidden at the start of a line like the dot and
* other punctuation marks are allowed to display in the margin of the page
* by a user option.
@@ -177,7 +177,7 @@ public:
/*************************************************************************
- * inline - Implementations
+ * inline - Implementations
*************************************************************************/
CLASSIO( SwBreakPortion )
diff --git a/sw/source/core/text/portab.hxx b/sw/source/core/text/portab.hxx
index 957f1394d6f7..4757aeaa1e2e 100644
--- a/sw/source/core/text/portab.hxx
+++ b/sw/source/core/text/portab.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwTabCenterPortion : public SwTabPortion
public:
inline SwTabCenterPortion( const KSHORT nTabPosVal, const xub_Unicode cFillChar='\0' )
: SwTabPortion( nTabPosVal, cFillChar )
- { SetWhichPor( POR_TABCENTER ); }
+ { SetWhichPor( POR_TABCENTER ); }
OUTPUT_OPERATOR
};
diff --git a/sw/source/core/text/portox.cxx b/sw/source/core/text/portox.cxx
index 2afd2c6b67ed..f8056bc0fe0b 100644
--- a/sw/source/core/text/portox.cxx
+++ b/sw/source/core/text/portox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx" // SwViewOptions
#include "txtcfg.hxx"
#include "portox.hxx"
@@ -63,7 +63,7 @@ SwIsoToxPortion::SwIsoToxPortion() : nViewWidth(0)
}
/*************************************************************************
- * virtual SwIsoToxPortion::GetViewWidth()
+ * virtual SwIsoToxPortion::GetViewWidth()
*************************************************************************/
KSHORT SwIsoToxPortion::GetViewWidth( const SwTxtSizeInfo &rInf ) const
diff --git a/sw/source/core/text/portox.hxx b/sw/source/core/text/portox.hxx
index 9c867701d7cc..66d47306817b 100644
--- a/sw/source/core/text/portox.hxx
+++ b/sw/source/core/text/portox.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwToxPortion : public SwTxtPortion
{
public:
- inline SwToxPortion(){ SetWhichPor( POR_TOX ); }
+ inline SwToxPortion(){ SetWhichPor( POR_TOX ); }
virtual void Paint( const SwTxtPaintInfo &rInf ) const;
OUTPUT_OPERATOR
};
@@ -65,7 +65,7 @@ public:
};
/*************************************************************************
- * inline - Implementations
+ * inline - Implementations
*************************************************************************/
CLASSIO( SwToxPortion )
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index a00b66a7dc21..cd80a7086d46 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/text/portxt.hxx b/sw/source/core/text/portxt.hxx
index 3b00ec7ffedb..2715c6735656 100644
--- a/sw/source/core/text/portxt.hxx
+++ b/sw/source/core/text/portxt.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#ifdef GCC
#include <sys/types.h>
#else
-#include <new.h> //fuer size_t, FIXEDMEM aus tools
+#include <new.h> //fuer size_t, FIXEDMEM aus tools
#endif
#include <tools/mempool.hxx>
@@ -39,7 +39,7 @@
class SwTxtGuess;
/*************************************************************************
- * class SwTxtPortion
+ * class SwTxtPortion
*************************************************************************/
class SwTxtPortion : public SwLinePortion
@@ -76,7 +76,7 @@ public:
};
/*************************************************************************
- * class SwHolePortion
+ * class SwHolePortion
*************************************************************************/
class SwHolePortion : public SwLinePortion
diff --git a/sw/source/core/text/possiz.hxx b/sw/source/core/text/possiz.hxx
index c97d122da2ff..28b20b4bab81 100644
--- a/sw/source/core/text/possiz.hxx
+++ b/sw/source/core/text/possiz.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,26 +56,26 @@ public:
inline SwPosSize &SwPosSize::operator=(const SwPosSize &rSize )
{
- nWidth = rSize.Width();
+ nWidth = rSize.Width();
nHeight = rSize.Height();
return *this;
}
inline void SwPosSize::SvLSize( const Size &rSize )
{
- nWidth = KSHORT(rSize.Width());
+ nWidth = KSHORT(rSize.Width());
nHeight = KSHORT(rSize.Height());
}
inline void SwPosSize::SvXSize( const Size &rSize )
{
- nHeight = KSHORT(rSize.Width());
+ nHeight = KSHORT(rSize.Width());
nWidth = KSHORT(rSize.Height());
}
inline SwPosSize &SwPosSize::operator=( const Size &rSize )
{
- nWidth = KSHORT(rSize.Width());
+ nWidth = KSHORT(rSize.Width());
nHeight = KSHORT(rSize.Height());
return *this;
}
diff --git a/sw/source/core/text/redlnitr.cxx b/sw/source/core/text/redlnitr.cxx
index e94bdc873d5a..343acded1ee3 100644
--- a/sw/source/core/text/redlnitr.cxx
+++ b/sw/source/core/text/redlnitr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +35,18 @@
#include <tools/shl.hxx>
#include <com/sun/star/i18n/ScriptType.hdl>
#include <swmodule.hxx>
-#include <redline.hxx> // SwRedline
-#include <txtatr.hxx> // SwTxt ...
-#include <docary.hxx> // SwRedlineTbl
-#include <itratr.hxx> // SwAttrIter
-#include <ndtxt.hxx> // SwTxtNode
-#include <doc.hxx> // SwDoc
+#include <redline.hxx> // SwRedline
+#include <txtatr.hxx> // SwTxt ...
+#include <docary.hxx> // SwRedlineTbl
+#include <itratr.hxx> // SwAttrIter
+#include <ndtxt.hxx> // SwTxtNode
+#include <doc.hxx> // SwDoc
#include <rootfrm.hxx>
#include <breakit.hxx>
#include <vcl/keycodes.hxx>
#include <vcl/cmdevt.hxx>
#include <vcl/settings.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
+#include <txtfrm.hxx> // SwTxtFrm
#include <vcl/svapp.hxx>
#include <redlnitr.hxx>
#include <extinput.hxx>
@@ -56,7 +56,7 @@
using namespace ::com::sun::star;
/*************************************************************************
- * SwAttrIter::CtorInitAttrIter()
+ * SwAttrIter::CtorInitAttrIter()
*************************************************************************/
void SwAttrIter::CtorInitAttrIter( SwTxtNode& rTxtNode, SwScriptInfo& rScrInf, SwTxtFrm* pFrm )
{
@@ -221,15 +221,15 @@ short SwRedlineItr::_Seek( SwFont& rFnt, xub_StrLen nNew, xub_StrLen nOld )
if( nNew >= nEnd )
{
--nRet;
- _Clear( &rFnt ); // Wir gehen hinter den aktuellen Bereich
- ++nAct; // und pruefen gleich den naechsten
+ _Clear( &rFnt ); // Wir gehen hinter den aktuellen Bereich
+ ++nAct; // und pruefen gleich den naechsten
}
else if( nNew < nStart )
{
--nRet;
- _Clear( &rFnt ); // Wir gehen vor den aktuellen Bereich
+ _Clear( &rFnt ); // Wir gehen vor den aktuellen Bereich
if( nAct > nFirst )
- nAct = nFirst; // Die Pruefung muss von vorne beginnen
+ nAct = nFirst; // Die Pruefung muss von vorne beginnen
else
return nRet + EnterExtend( rFnt, nNew ); // Es gibt keinen vor uns.
}
@@ -272,7 +272,7 @@ short SwRedlineItr::_Seek( SwFont& rFnt, xub_StrLen nNew, xub_StrLen nOld )
{
const SfxPoolItem* pItem;
if( ( nWhich < RES_CHRATR_END ) &&
- ( SFX_ITEM_SET == pSet->GetItemState( nWhich, sal_True, &pItem ) ) )
+ ( SFX_ITEM_SET == pSet->GetItemState( nWhich, sal_True, &pItem ) ) )
{
SwTxtAttr* pAttr = MakeRedlineTxtAttr(
const_cast<SwDoc&>(rDoc),
@@ -463,7 +463,7 @@ sal_Bool SwExtend::_Leave( SwFont& rFnt, xub_StrLen nNew )
MSHORT nOldAttr = rArr[ nPos - nStart ];
nPos = nNew;
if( Inside() )
- { // Wir sind innerhalb des ExtendText-Bereichs geblieben
+ { // Wir sind innerhalb des ExtendText-Bereichs geblieben
MSHORT nAttr = rArr[ nPos - nStart ];
if( nOldAttr != nAttr ) // Gibt es einen (inneren) Attributwechsel?
{
diff --git a/sw/source/core/text/redlnitr.hxx b/sw/source/core/text/redlnitr.hxx
index 13c701ca8d3d..a807cbe484f7 100644
--- a/sw/source/core/text/redlnitr.hxx
+++ b/sw/source/core/text/redlnitr.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +25,8 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-#ifndef _REDLNITR_HXX
-#define _REDLNITR_HXX
+#ifndef _REDLNITR_HXX
+#define _REDLNITR_HXX
#include "ndhints.hxx"
@@ -46,7 +46,7 @@ class SwAttrHandler;
class SwExtend
{
SwFont *pFnt;
- const SvUShorts &rArr; // XAMA: Array of xub_StrLen
+ const SvUShorts &rArr; // XAMA: Array of xub_StrLen
xub_StrLen nStart;
xub_StrLen nPos;
xub_StrLen nEnd;
diff --git a/sw/source/core/text/txtcache.cxx b/sw/source/core/text/txtcache.cxx
index defef8067aaa..61b17479c86c 100644
--- a/sw/source/core/text/txtcache.cxx
+++ b/sw/source/core/text/txtcache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
/*************************************************************************
|*
-|* SwTxtLine::SwTxtLine(), ~SwTxtLine()
+|* SwTxtLine::SwTxtLine(), ~SwTxtLine()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 16. Mar. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 16. Mar. 94
|*
|*************************************************************************/
@@ -59,10 +59,10 @@ SwTxtLine::~SwTxtLine()
/*************************************************************************
|*
-|* SwTxtLineAccess::NewObj()
+|* SwTxtLineAccess::NewObj()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 16. Mar. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 16. Mar. 94
|*
|*************************************************************************/
@@ -73,10 +73,10 @@ SwCacheObj *SwTxtLineAccess::NewObj()
/*************************************************************************
|*
-|* SwTxtLineAccess::GetPara()
+|* SwTxtLineAccess::GetPara()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 16. Mar. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 16. Mar. 94
|*
|*************************************************************************/
@@ -98,10 +98,10 @@ SwParaPortion *SwTxtLineAccess::GetPara()
/*************************************************************************
|*
-|* SwTxtLineAccess::SwTxtLineAccess()
+|* SwTxtLineAccess::SwTxtLineAccess()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 16. Mar. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 16. Mar. 94
|*
|*************************************************************************/
@@ -112,10 +112,10 @@ SwTxtLineAccess::SwTxtLineAccess( const SwTxtFrm *pOwn ) :
/*************************************************************************
|*
-|* SwTxtLineAccess::IsAvailable
+|* SwTxtLineAccess::IsAvailable
|*
-|* Ersterstellung MA 23. Mar. 94
-|* Letzte Aenderung MA 23. Mar. 94
+|* Ersterstellung MA 23. Mar. 94
+|* Letzte Aenderung MA 23. Mar. 94
|*
|*************************************************************************/
@@ -128,10 +128,10 @@ sal_Bool SwTxtLineAccess::IsAvailable() const
/*************************************************************************
|*
-|* SwTxtFrm::HasPara()
+|* SwTxtFrm::HasPara()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 22. Aug. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 22. Aug. 94
|*
|*************************************************************************/
@@ -152,17 +152,17 @@ sal_Bool SwTxtFrm::_HasPara() const
/*************************************************************************
|*
-|* SwTxtFrm::GetPara()
+|* SwTxtFrm::GetPara()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 22. Aug. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 22. Aug. 94
|*
|*************************************************************************/
SwParaPortion *SwTxtFrm::GetPara()
{
if ( GetCacheIdx() != MSHRT_MAX )
- { SwTxtLine *pLine = (SwTxtLine*)SwTxtFrm::GetTxtCache()->
+ { SwTxtLine *pLine = (SwTxtLine*)SwTxtFrm::GetTxtCache()->
Get( this, GetCacheIdx(), sal_False );
if ( pLine )
return pLine->GetPara();
@@ -175,10 +175,10 @@ SwParaPortion *SwTxtFrm::GetPara()
/*************************************************************************
|*
-|* SwTxtFrm::ClearPara()
+|* SwTxtFrm::ClearPara()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 22. Aug. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 22. Aug. 94
|*
|*************************************************************************/
@@ -201,10 +201,10 @@ void SwTxtFrm::ClearPara()
/*************************************************************************
|*
-|* SwTxtFrm::SetPara()
+|* SwTxtFrm::SetPara()
|*
-|* Ersterstellung MA 16. Mar. 94
-|* Letzte Aenderung MA 22. Aug. 94
+|* Ersterstellung MA 16. Mar. 94
+|* Letzte Aenderung MA 22. Aug. 94
|*
|*************************************************************************/
@@ -228,7 +228,7 @@ void SwTxtFrm::SetPara( SwParaPortion *pNew, sal_Bool bDelete )
}
}
else if ( pNew )
- { //Einen neuen einfuegen.
+ { //Einen neuen einfuegen.
SwTxtLine *pTxtLine = new SwTxtLine( this, pNew );
if ( SwTxtFrm::GetTxtCache()->Insert( pTxtLine ) )
nCacheIdx = pTxtLine->GetCachePos();
diff --git a/sw/source/core/text/txtcache.hxx b/sw/source/core/text/txtcache.hxx
index 46276d5d9700..9112f7a7f46a 100644
--- a/sw/source/core/text/txtcache.hxx
+++ b/sw/source/core/text/txtcache.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ public:
SwTxtLine( SwTxtFrm *pFrm, SwParaPortion *pNew = 0 );
virtual ~SwTxtLine();
- inline SwParaPortion *GetPara() { return pLine; }
+ inline SwParaPortion *GetPara() { return pLine; }
inline const SwParaPortion *GetPara() const { return pLine; }
inline void SetPara( SwParaPortion *pNew ) { pLine = pNew; }
diff --git a/sw/source/core/text/txtcfg.hxx b/sw/source/core/text/txtcfg.hxx
index 3e9bc3f93749..62fe7923e491 100644
--- a/sw/source/core/text/txtcfg.hxx
+++ b/sw/source/core/text/txtcfg.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#if OSL_DEBUG_LEVEL > 1
#include "dbgloop.hxx" // DBG_LOOP
#else
-#ifdef DBG_LOOP //kann per precompiled hereinkommen
+#ifdef DBG_LOOP //kann per precompiled hereinkommen
#undef DBG_LOOP
#undef DBG_LOOP_RESET
#endif
diff --git a/sw/source/core/text/txtdrop.cxx b/sw/source/core/text/txtdrop.cxx
index 826ad3848f19..283f1ae70bc2 100644
--- a/sw/source/core/text/txtdrop.cxx
+++ b/sw/source/core/text/txtdrop.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -38,11 +38,11 @@
#include <txtfrm.hxx> // Format()
#include <charfmt.hxx>
#include <viewopt.hxx> // SwViewOption
-#include <viewsh.hxx> // ViewShell
+#include <viewsh.hxx> // ViewShell
#include <pordrop.hxx>
#include <itrform2.hxx>
#include <txtpaint.hxx> // SwSaveClip
-#include <blink.hxx> // pBlink
+#include <blink.hxx> // pBlink
#include <breakit.hxx>
#include <com/sun/star/i18n/ScriptType.hdl>
#include <com/sun/star/i18n/WordType.hpp>
@@ -152,7 +152,7 @@ sal_Bool SwTxtSizeInfo::_HasHint( const SwTxtNode* pTxtNode, xub_StrLen nPos )
}
/*************************************************************************
- * SwTxtNode::GetDropLen()
+ * SwTxtNode::GetDropLen()
*
* nWishLen = 0 indicates that we want a whole word
*************************************************************************/
@@ -282,7 +282,7 @@ bool SwTxtNode::GetDropSize(int& rFontHeight, int& rDropHeight, int& rDropDescen
}
/*************************************************************************
- * SwDropPortion::PaintTxt()
+ * SwDropPortion::PaintTxt()
*************************************************************************/
// Die Breite manipulieren, sonst werden die Buchstaben gestretcht
@@ -323,7 +323,7 @@ void SwDropPortion::PaintTxt( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * SwDropPortion::Paint()
+ * SwDropPortion::Paint()
*************************************************************************/
void SwDropPortion::PaintDrop( const SwTxtPaintInfo &rInf ) const
@@ -374,7 +374,7 @@ void SwDropPortion::PaintDrop( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * virtual SwDropPortion::Paint()
+ * virtual SwDropPortion::Paint()
*************************************************************************/
void SwDropPortion::Paint( const SwTxtPaintInfo &rInf ) const
diff --git a/sw/source/core/text/txtfld.cxx b/sw/source/core/text/txtfld.cxx
index 5f94c1bed8c1..7b422adfe621 100644
--- a/sw/source/core/text/txtfld.cxx
+++ b/sw/source/core/text/txtfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include "pagefrm.hxx" // NewFldPortion, GetVirtPageNum()
#include "ndtxt.hxx" // NewNumberPortion, pHints->GetNum()
#include "fldbas.hxx" // SwField
-#include "viewopt.hxx" // SwViewOptions
-#include "flyfrm.hxx" //IsInBody()
+#include "viewopt.hxx" // SwViewOptions
+#include "flyfrm.hxx" //IsInBody()
#include "viewimp.hxx"
#include "txtatr.hxx" // SwTxtFld
#include "txtcfg.hxx"
@@ -60,7 +60,7 @@
#include "expfld.hxx"
#include "docufld.hxx"
#include "pagedesc.hxx" // NewFldPortion, GetNum()
-#include <pormulti.hxx> // SwMultiPortion
+#include <pormulti.hxx> // SwMultiPortion
#include "fmtmeta.hxx" // lcl_NewMetaPortion
@@ -103,7 +103,7 @@ SwExpandPortion *SwTxtFormatter::NewFldPortion( SwTxtFormatInfo &rInf,
pFld->SetLanguage( GetFnt()->GetLanguage() );
// let the visual note know about its new language
if (pFld->GetTyp()->Which()==RES_POSTITFLD)
- const_cast<SwFmtFld*> (&pHint->GetFld())->Broadcast( SwFmtFldHint( &pHint->GetFld(), SWFMTFLD_LANGUAGE ) );
+ const_cast<SwFmtFld*> (&pHint->GetFld())->Broadcast( SwFmtFldHint( &pHint->GetFld(), SWFMTFLD_LANGUAGE ) );
}
ViewShell *pSh = rInf.GetVsh();
diff --git a/sw/source/core/text/txtfly.cxx b/sw/source/core/text/txtfly.cxx
index 3ee641cb39e9..c151a6136a37 100644
--- a/sw/source/core/text/txtfly.cxx
+++ b/sw/source/core/text/txtfly.cxx
@@ -35,14 +35,14 @@
#include "viewsh.hxx"
#include "pagefrm.hxx"
#include "rootfrm.hxx"
-#include "viewimp.hxx" // SwViewImp
-#include "pam.hxx" // SwPosition
-#include "swregion.hxx" // SwRegionRects
-#include "dcontact.hxx" // SwContact
-#include "dflyobj.hxx" // SdrObject
-#include "flyfrm.hxx" // SwFlyFrm
-#include "frmtool.hxx" // ::DrawGraphic
-#include "porfld.hxx" // SwGrfNumPortion
+#include "viewimp.hxx" // SwViewImp
+#include "pam.hxx" // SwPosition
+#include "swregion.hxx" // SwRegionRects
+#include "dcontact.hxx" // SwContact
+#include "dflyobj.hxx" // SdrObject
+#include "flyfrm.hxx" // SwFlyFrm
+#include "frmtool.hxx" // ::DrawGraphic
+#include "porfld.hxx" // SwGrfNumPortion
#include "txtfrm.hxx" // SwTxtFrm
#include "itrform2.hxx" // SwTxtFormatter
#include "porfly.hxx" // NewFlyCntPortion
@@ -54,7 +54,7 @@
#include "notxtfrm.hxx"
#include "flyfrms.hxx"
#include "fmtcnct.hxx" // SwFmtChain
-#include <pormulti.hxx> // SwMultiPortion
+#include <pormulti.hxx> // SwMultiPortion
#include <svx/obj3d.hxx>
#include <editeng/txtrange.hxx>
#include <editeng/lrspitem.hxx>
@@ -83,7 +83,7 @@
#include "doc.hxx"
#if OSL_DEBUG_LEVEL > 1
-#include "viewopt.hxx" // SwViewOptions, nur zum Testen (Test2)
+#include "viewopt.hxx" // SwViewOptions, nur zum Testen (Test2)
#endif
#ifdef VERT_DISTANCE
@@ -114,11 +114,11 @@ using namespace ::com::sun::star;
* Wenn mehrere Frames mit Umlaufattributen in einer Zeile liegen,
* ergeben sich unterschiedliche Auswirkungen fuer den Textfluss:
*
- * L/R P L R K
- * P -P-P- -P-L -P R- -P K
- * L -L P- -L L -L R- -L K
- * R R-P- R-L R R- R K
- * K K P- K L K R- K K
+ * L/R P L R K
+ * P -P-P- -P-L -P R- -P K
+ * L -L P- -L L -L R- -L K
+ * R R-P- R-L R R- R K
+ * K K P- K L K R- K K
*
* (P=parallel, L=links, R=rechts, K=kein Umlauf)
*
@@ -478,7 +478,7 @@ void SwTxtFormatter::CalcFlyWidth( SwTxtFormatInfo &rInf )
const long nLeftMin = (rInf.X() || GetDropLeft()) ? nLeftMar : GetLeftMin();
SwRect aLine( rInf.X() + nLeftMin, nTop, rInf.RealWidth() - rInf.X()
- + nLeftMar - nLeftMin , nHeight );
+ + nLeftMar - nLeftMin , nHeight );
SwRect aLineVert( aLine );
if ( pFrm->IsRightToLeft() )
@@ -528,7 +528,7 @@ void SwTxtFormatter::CalcFlyWidth( SwTxtFormatInfo &rInf )
if( !aInter.HasArea() )
return;
- const sal_Bool bFullLine = aLine.Left() == aInter.Left() &&
+ const sal_Bool bFullLine = aLine.Left() == aInter.Left() &&
aLine.Right() == aInter.Right();
// Obwohl kein Text mehr da ist, muss eine weitere Zeile
@@ -620,7 +620,7 @@ void SwTxtFormatter::CalcFlyWidth( SwTxtFormatInfo &rInf )
(pPageFrm->*fnRect->fnGetPrtLeft)();
const SwDoc *pDoc = rInf.GetTxtFrm()->GetNode()->GetDoc();
- const USHORT nGridWidth = GETGRIDWIDTH( pGrid, pDoc); //for textgrid refactor
+ const USHORT nGridWidth = GETGRIDWIDTH( pGrid, pDoc); //for textgrid refactor
SwTwips nStartX = GetLeftMargin();
if ( bVert )
@@ -664,7 +664,7 @@ SwFlyCntPortion *SwTxtFormatter::NewFlyCntPortion( SwTxtFormatInfo &rInf,
// aBase bezeichnet die dokumentglobale Position,
// ab der die neue Extraportion plaziert wird.
// aBase.X() = Offset in der Zeile,
- // hinter der aktuellen Portion
+ // hinter der aktuellen Portion
// aBase.Y() = LineIter.Y() + Ascent der aktuellen Portion
long nTmpAscent, nTmpDescent, nFlyAsc, nFlyDesc;
@@ -749,7 +749,7 @@ SwFlyCntPortion *SwTxtFormatter::NewFlyCntPortion( SwTxtFormatInfo &rInf,
/*************************************************************************
- * SwTxtFly::SwTxtFly()
+ * SwTxtFly::SwTxtFly()
*************************************************************************/
SwTxtFly::SwTxtFly( const SwTxtFly& rTxtFly )
@@ -806,10 +806,10 @@ void SwTxtFly::CtorInitTxtFly( const SwTxtFrm *pFrm )
}
/*************************************************************************
- * SwTxtFly::_GetFrm()
+ * SwTxtFly::_GetFrm()
*
- * IN: dokumentglobal (rRect)
- * OUT: framelokal (return-Wert)
+ * IN: dokumentglobal (rRect)
+ * OUT: framelokal (return-Wert)
* Diese Methode wird waehrend der Formatierung vom LineIter gerufen.
* 1. um die naechste FlyPortion vorzubereiten
* 2. um nach Aenderung der Zeilenhoehe neue Ueberlappungen festzustellen
@@ -835,7 +835,7 @@ SwRect SwTxtFly::_GetFrm( const SwRect &rRect, sal_Bool bTop ) const
}
/*************************************************************************
- * SwTxtFly::IsAnyFrm()
+ * SwTxtFly::IsAnyFrm()
*
* IN: dokumentglobal
* fuer die Printarea des aktuellen Frame
@@ -858,7 +858,7 @@ sal_Bool SwTxtFly::IsAnyFrm() const
}
/*************************************************************************
- * SwTxtFly::IsAnyObj()
+ * SwTxtFly::IsAnyObj()
*
* IN: dokumentglobal
* OUT: sal_True Wenn ein Rahmen oder DrawObj beruecksichtigt werden muss
@@ -908,7 +908,7 @@ const SwCntntFrm* SwTxtFly::_GetMaster()
}
/*************************************************************************
- * SwTxtFly::DrawTextOpaque()
+ * SwTxtFly::DrawTextOpaque()
*
* IN: dokumentglobal
* DrawTextOpaque() wird von DrawText() gerufen.
@@ -1050,7 +1050,7 @@ sal_Bool SwTxtFly::DrawTextOpaque( SwDrawTextInfo &rInf )
}
/*************************************************************************
- * SwTxtFly::DrawFlyRect()
+ * SwTxtFly::DrawFlyRect()
*
* IN: windowlokal
* Zwei Feinheiten gilt es zu beachten:
@@ -1874,7 +1874,7 @@ const SwRect SwContourCache::ContourRect( const SwFmt* pFmt,
}
/*************************************************************************
- * SwContourCache::ShowContour()
+ * SwContourCache::ShowContour()
* zeichnet die PolyPolygone des Caches zu Debugzwecken.
*************************************************************************/
#if OSL_DEBUG_LEVEL > 1
@@ -1925,7 +1925,7 @@ void SwContourCache::ShowContour( OutputDevice* pOut, const SdrObject* pObj,
#endif
/*************************************************************************
- * SwTxtFly::ShowContour()
+ * SwTxtFly::ShowContour()
* zeichnet die PolyPolygone des Caches zu Debugzwecken.
*************************************************************************/
#if OSL_DEBUG_LEVEL > 1
@@ -1955,7 +1955,7 @@ void SwTxtFly::ShowContour( OutputDevice* pOut )
#endif
/*************************************************************************
- * SwTxtFly::ForEach()
+ * SwTxtFly::ForEach()
*
* sucht nach dem ersten Objekt, welches mit dem Rechteck ueberlappt
*
@@ -2054,7 +2054,7 @@ sal_Bool SwTxtFly::ForEach( const SwRect &rRect, SwRect* pRect, sal_Bool bAvoid
}
/*************************************************************************
- * SwTxtFly::GetPos()
+ * SwTxtFly::GetPos()
*
* liefert die Position im sorted Array zurueck
*************************************************************************/
@@ -2071,7 +2071,7 @@ SwAnchoredObjList::size_type SwTxtFly::GetPos( const SwAnchoredObject* pAnchored
// <--
/*************************************************************************
- * SwTxtFly::CalcRightMargin()
+ * SwTxtFly::CalcRightMargin()
*
* pObj ist das Object, der uns gerade ueberlappt.
* pCurrFrm ist der aktuelle Textframe, der ueberlappt wird.
@@ -2176,7 +2176,7 @@ void SwTxtFly::CalcRightMargin( SwRect &rFly,
// <--
/*************************************************************************
- * SwTxtFly::CalcLeftMargin()
+ * SwTxtFly::CalcLeftMargin()
*
* pFly ist der FlyFrm, der uns gerade ueberlappt.
* pCurrFrm ist der aktuelle Textframe, der ueberlappt wird.
@@ -2255,10 +2255,10 @@ void SwTxtFly::CalcLeftMargin( SwRect &rFly,
// <--
/*************************************************************************
- * SwTxtFly::FlyToRect()
+ * SwTxtFly::FlyToRect()
*
- * IN: dokumentglobal (rRect)
- * OUT: dokumentglobal (return-Wert)
+ * IN: dokumentglobal (rRect)
+ * OUT: dokumentglobal (return-Wert)
* Liefert zu einem SwFlyFrm das von ihm in Anspruch genommene Rechteck
* unter Beruecksichtigung der eingestellten Attribute fuer den Abstand
* zum Text zurueck.
@@ -2322,18 +2322,18 @@ SwRect SwTxtFly::AnchoredObjToRect( const SwAnchoredObject* pAnchoredObj,
// new method <_GetSurroundForTextWrap(..)> replaces methods
// <CalcSmart(..)> and <GetOrder(..)>
/*************************************************************************
- * SwTxtFly::CalcSmart()
+ * SwTxtFly::CalcSmart()
*
* CalcSmart() liefert die Umlaufform zurueck.
*
* Auf beiden Seiten ist weniger als 2 cm Platz fuer den Text
- * => kein Umlauf ( SURROUND_NONE )
+ * => kein Umlauf ( SURROUND_NONE )
* Auf genau einer Seite ist mehr als 2 cm Platz
* => Umlauf auf dieser Seite ( SURROUND_LEFT / SURROUND_RIGHT )
* Auf beiden Seiten ist mehr als 2 cm Platz, das Objekt ist breiter als 1,5 cm
- * => Umlauf auf der breiteren Seite ( SURROUND_LEFT / SURROUND_RIGHT )
+ * => Umlauf auf der breiteren Seite ( SURROUND_LEFT / SURROUND_RIGHT )
* Auf beiden Seiten ist mehr als 2 cm Platz, das Objekt ist schmaler als 1,5 cm
- * => beidseitiger Umlauf ( SURROUND_PARALLEL )
+ * => beidseitiger Umlauf ( SURROUND_PARALLEL )
*
*************************************************************************/
@@ -2410,7 +2410,7 @@ SwSurround SwTxtFly::_GetSurroundForTextWrap( const SwAnchoredObject* pAnchoredO
}
/*************************************************************************
- * SwTxtFly::IsAnyFrm( SwRect )
+ * SwTxtFly::IsAnyFrm( SwRect )
*
* IN: dokumentglobal
*
diff --git a/sw/source/core/text/txtfly.hxx b/sw/source/core/text/txtfly.hxx
index c3708badee1a..d5b6c6eb5372 100644
--- a/sw/source/core/text/txtfly.hxx
+++ b/sw/source/core/text/txtfly.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +57,12 @@ typedef std::vector< SwAnchoredObject* > SwAnchoredObjList;
// <--
/*************************************************************************
- * class SwFlyIter
+ * class SwFlyIter
*************************************************************************/
enum PAGESIDE { LEFT_SIDE, RIGHT_SIDE, DONTKNOW_SIDE };
/*************************************************************************
- * class SwContourCache
+ * class SwContourCache
*************************************************************************/
class SwDrawTextInfo;
@@ -107,19 +107,19 @@ public:
};
/*************************************************************************
- * class SwTxtFly
+ * class SwTxtFly
*************************************************************************/
class SwTxtFly
{
- const SwPageFrm *pPage;
+ const SwPageFrm *pPage;
// --> OD 2006-08-15 #i68520#
const SwAnchoredObject* mpCurrAnchoredObj;
// <--
const SwTxtFrm *pCurrFrm;
- const SwCntntFrm *pMaster;
+ const SwCntntFrm *pMaster;
// --> OD 2006-08-15 #i68520#
SwAnchoredObjList* mpAnchoredObjList;
// <--
@@ -202,7 +202,7 @@ public:
inline long GetNextTop() const { return nNextTop; }
// Diese temporaere Variable darf auch in const-Methoden manipuliert werden
inline void SetNextTop( long nNew ) const
- { ((SwTxtFly*)this)->nNextTop = nNew; }
+ { ((SwTxtFly*)this)->nNextTop = nNew; }
// --> OD 2006-08-15 #i68520#
// determines the demanded rectangle for an anchored object,
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx
index 2e563c681243..1a3242c4a718 100644
--- a/sw/source/core/text/txtfrm.cxx
+++ b/sw/source/core/text/txtfrm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -41,12 +41,12 @@
#include <editeng/pgrditem.hxx>
#include <swmodule.hxx>
#include <SwSmartTagMgr.hxx>
-#include <doc.hxx> // GetDoc()
-#include <pagefrm.hxx> // InvalidateSpelling
+#include <doc.hxx> // GetDoc()
+#include <pagefrm.hxx> // InvalidateSpelling
#include <rootfrm.hxx>
-#include <viewsh.hxx> // ViewShell
-#include <pam.hxx> // SwPosition
-#include <ndtxt.hxx> // SwTxtNode
+#include <viewsh.hxx> // ViewShell
+#include <pam.hxx> // SwPosition
+#include <ndtxt.hxx> // SwTxtNode
#include <txtatr.hxx>
#include <paratr.hxx>
#include <viewopt.hxx>
@@ -64,11 +64,11 @@
#include <charatr.hxx>
#include <ftninfo.hxx>
#include <fmtline.hxx>
-#include <txtfrm.hxx> // SwTxtFrm
-#include <sectfrm.hxx> // SwSectFrm
-#include <txtcfg.hxx> // DBG_LOOP
-#include <itrform2.hxx> // Iteratoren
-#include <widorp.hxx> // SwFrmBreak
+#include <txtfrm.hxx> // SwTxtFrm
+#include <sectfrm.hxx> // SwSectFrm
+#include <txtcfg.hxx> // DBG_LOOP
+#include <itrform2.hxx> // Iteratoren
+#include <widorp.hxx> // SwFrmBreak
#include <txtcache.hxx>
#include <fntcache.hxx> // GetLineSpace benutzt pLastFont
#include <SwGrammarMarkUp.hxx>
@@ -91,7 +91,7 @@
#include <IGrammarContact.hxx>
#if OSL_DEBUG_LEVEL > 1
-#include <txtpaint.hxx> // DbgRect
+#include <txtpaint.hxx> // DbgRect
extern const sal_Char *GetPrepName( const enum PrepareHint ePrep );
#endif
@@ -307,7 +307,7 @@ SwDigitModeModifier::~SwDigitModeModifier()
}
/*************************************************************************
- * SwTxtFrm::Init()
+ * SwTxtFrm::Init()
*************************************************************************/
void SwTxtFrm::Init()
@@ -325,7 +325,7 @@ void SwTxtFrm::Init()
}
/*************************************************************************
-|* SwTxtFrm::CTORen/DTOR
+|* SwTxtFrm::CTORen/DTOR
|*************************************************************************/
void SwTxtFrm::InitCtor()
@@ -385,7 +385,7 @@ void SwTxtFrm::ResetPreps()
}
/*************************************************************************
- * SwTxtFrm::IsHiddenNow()
+ * SwTxtFrm::IsHiddenNow()
*************************************************************************/
sal_Bool SwTxtFrm::IsHiddenNow() const
{
@@ -420,7 +420,7 @@ sal_Bool SwTxtFrm::IsHiddenNow() const
/*************************************************************************
- * SwTxtFrm::HideHidden()
+ * SwTxtFrm::HideHidden()
*************************************************************************/
// Entfernt die Anhaengsel des Textfrms wenn dieser hidden ist
@@ -620,7 +620,7 @@ void SwTxtFrm::HideAndShowObjects()
}
/*************************************************************************
- * SwTxtFrm::FindBrk()
+ * SwTxtFrm::FindBrk()
*
* Liefert die erste Trennmoeglichkeit in der aktuellen Zeile zurueck.
* Die Methode wird in SwTxtFrm::Format() benutzt, um festzustellen, ob
@@ -660,7 +660,7 @@ xub_StrLen SwTxtFrm::FindBrk( const XubString &rTxt,
}
/*************************************************************************
- * SwTxtFrm::IsIdxInside()
+ * SwTxtFrm::IsIdxInside()
*************************************************************************/
sal_Bool SwTxtFrm::IsIdxInside( const xub_StrLen nPos, const xub_StrLen nLen ) const
@@ -668,8 +668,8 @@ sal_Bool SwTxtFrm::IsIdxInside( const xub_StrLen nPos, const xub_StrLen nLen ) c
if( GetOfst() > nPos + nLen ) // d.h., der Bereich liegt komplett vor uns.
return sal_False;
- if( !GetFollow() ) // der Bereich liegt nicht komplett vor uns,
- return sal_True; // nach uns kommt niemand mehr.
+ if( !GetFollow() ) // der Bereich liegt nicht komplett vor uns,
+ return sal_True; // nach uns kommt niemand mehr.
const xub_StrLen nMax = GetFollow()->GetOfst();
@@ -684,7 +684,7 @@ sal_Bool SwTxtFrm::IsIdxInside( const xub_StrLen nPos, const xub_StrLen nLen ) c
}
/*************************************************************************
- * SwTxtFrm::InvalidateRange()
+ * SwTxtFrm::InvalidateRange()
*************************************************************************/
inline void SwTxtFrm::InvalidateRange(const SwCharRange &aRange, const long nD)
{
@@ -693,13 +693,13 @@ inline void SwTxtFrm::InvalidateRange(const SwCharRange &aRange, const long nD)
}
/*************************************************************************
- * SwTxtFrm::_InvalidateRange()
+ * SwTxtFrm::_InvalidateRange()
*************************************************************************/
void SwTxtFrm::_InvalidateRange( const SwCharRange &aRange, const long nD)
{
if ( !HasPara() )
- { InvalidateSize();
+ { InvalidateSize();
return;
}
@@ -734,7 +734,7 @@ void SwTxtFrm::_InvalidateRange( const SwCharRange &aRange, const long nD)
}
/*************************************************************************
- * SwTxtFrm::CalcLineSpace()
+ * SwTxtFrm::CalcLineSpace()
*************************************************************************/
void SwTxtFrm::CalcLineSpace()
@@ -902,7 +902,7 @@ void lcl_ModifyOfst( SwTxtFrm* pFrm, xub_StrLen nPos, xub_StrLen nLen )
}
/*************************************************************************
- * SwTxtFrm::Modify()
+ * SwTxtFrm::Modify()
*************************************************************************/
void SwTxtFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
@@ -1131,7 +1131,7 @@ void SwTxtFrm::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew )
}
sal_Bool bLineSpace = SFX_ITEM_SET == rNewSet.GetItemState(
RES_PARATR_LINESPACING, sal_False ),
- bRegister = SFX_ITEM_SET == rNewSet.GetItemState(
+ bRegister = SFX_ITEM_SET == rNewSet.GetItemState(
RES_PARATR_REGISTER, sal_False );
if ( bLineSpace || bRegister )
{
@@ -1360,7 +1360,7 @@ sal_Bool SwTxtFrm::GetInfo( SfxPoolItem &rHnt ) const
if ( pPage == rInfo.GetOrigPage() && !GetPrev() )
{
//Das sollte er sein (kann allenfalls temporaer anders sein,
- // sollte uns das beunruhigen?)
+ // sollte uns das beunruhigen?)
rInfo.SetInfo( pPage, this );
return sal_False;
}
@@ -1376,7 +1376,7 @@ sal_Bool SwTxtFrm::GetInfo( SfxPoolItem &rHnt ) const
}
/*************************************************************************
- * SwTxtFrm::PrepWidows()
+ * SwTxtFrm::PrepWidows()
*************************************************************************/
void SwTxtFrm::PrepWidows( const MSHORT nNeed, sal_Bool bNotify )
@@ -1420,7 +1420,7 @@ void SwTxtFrm::PrepWidows( const MSHORT nNeed, sal_Bool bNotify )
if( !nHave )
{
sal_Bool bSplit;
- if( !IsFollow() ) //Nur ein Master entscheidet ueber Orphans
+ if( !IsFollow() ) //Nur ein Master entscheidet ueber Orphans
{
const WidowsAndOrphans aWidOrp( this );
bSplit = ( aLine.GetLineNr() >= aWidOrp.GetOrphansLines() &&
@@ -1447,7 +1447,7 @@ void SwTxtFrm::PrepWidows( const MSHORT nNeed, sal_Bool bNotify )
}
/*************************************************************************
- * SwTxtFrm::Prepare
+ * SwTxtFrm::Prepare
*************************************************************************/
sal_Bool lcl_ErgoVadis( SwTxtFrm* pFrm, xub_StrLen &rPos, const PrepareHint ePrep )
@@ -1491,7 +1491,7 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
SetInvalidVert( TRUE ); // Test
case PREP_WIDOWS_ORPHANS:
case PREP_WIDOWS:
- case PREP_FTN_GONE : return;
+ case PREP_FTN_GONE : return;
case PREP_POS_CHGD :
{
@@ -1554,7 +1554,7 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
_InvalidatePrt();
_InvalidateSize();
// KEIN break
- case PREP_ADJUST_FRM : pPara->SetPrepAdjust( sal_True );
+ case PREP_ADJUST_FRM : pPara->SetPrepAdjust( sal_True );
if( IsFtnNumFrm() != pPara->IsFtnNum() ||
IsUndersized() )
{
@@ -1563,9 +1563,9 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
_SetOfst( 0 );
}
break;
- case PREP_MUST_FIT : pPara->SetPrepMustFit( sal_True );
+ case PREP_MUST_FIT : pPara->SetPrepMustFit( sal_True );
/* no break here */
- case PREP_WIDOWS_ORPHANS : pPara->SetPrepAdjust( sal_True );
+ case PREP_WIDOWS_ORPHANS : pPara->SetPrepAdjust( sal_True );
break;
case PREP_WIDOWS :
@@ -1651,7 +1651,7 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
if( nStart >= GetOfst() )
{
if( nStart >= nEnd )
- i = nSize; // fuehrt das Ende herbei
+ i = nSize; // fuehrt das Ende herbei
else
{
// 4029: wenn wir zurueckfliessen und eine Ftn besitzen, so
@@ -1751,7 +1751,7 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
_InvalidateSize();
}
else
- return; // damit kein SetPrep() erfolgt.
+ return; // damit kein SetPrep() erfolgt.
}
break;
}
@@ -1831,7 +1831,7 @@ void SwTxtFrm::Prepare( const PrepareHint ePrep, const void* pVoid,
else
_InvalidateSize();
}
- return; // damit kein SetPrep() erfolgt.
+ return; // damit kein SetPrep() erfolgt.
}
}
if( pPara )
@@ -1900,7 +1900,7 @@ SwTestFormat::SwTestFormat( SwTxtFrm* pTxtFrm, const SwFrm* pPre, SwTwips nMaxHe
pFrm->SwapWidthAndHeight();
SwTxtFormatInfo aInf( pFrm, sal_False, sal_True, sal_True );
- SwTxtFormatter aLine( pFrm, &aInf );
+ SwTxtFormatter aLine( pFrm, &aInf );
pFrm->_Format( aLine, aInf );
@@ -1931,7 +1931,7 @@ sal_Bool SwTxtFrm::TestFormat( const SwFrm* pPrv, SwTwips &rMaxHeight, sal_Bool
/*************************************************************************
- * SwTxtFrm::WouldFit()
+ * SwTxtFrm::WouldFit()
*************************************************************************/
/* SwTxtFrm::WouldFit()
@@ -2048,7 +2048,7 @@ sal_Bool SwTxtFrm::WouldFit( SwTwips &rMaxHeight, sal_Bool &bSplit, sal_Bool bTs
/*************************************************************************
- * SwTxtFrm::GetParHeight()
+ * SwTxtFrm::GetParHeight()
*************************************************************************/
KSHORT SwTxtFrm::GetParHeight() const
@@ -2087,7 +2087,7 @@ KSHORT SwTxtFrm::GetParHeight() const
/*************************************************************************
- * SwTxtFrm::GetFormatted()
+ * SwTxtFrm::GetFormatted()
*************************************************************************/
// returnt this _immer_ im formatierten Zustand!
@@ -2118,7 +2118,7 @@ SwTxtFrm* SwTxtFrm::GetFormatted( bool bForceQuickFormat )
}
/*************************************************************************
- * SwTxtFrm::CalcFitToContent()
+ * SwTxtFrm::CalcFitToContent()
*************************************************************************/
SwTwips SwTxtFrm::CalcFitToContent()
@@ -2155,7 +2155,7 @@ SwTwips SwTxtFrm::CalcFitToContent()
SwTxtFormatInfo aInf( this, sal_False, sal_True, sal_True );
aInf.SetIgnoreFly( sal_True );
- SwTxtFormatter aLine( this, &aInf );
+ SwTxtFormatter aLine( this, &aInf );
SwHookOut aHook( aInf );
// --> OD 2005-09-06 #i54031# - assure mininum of MINLAY twips.
@@ -2401,7 +2401,7 @@ void SwTxtFrm::_CalcHeightOfLastLine( const bool _bUseFont )
}
/*************************************************************************
- * SwTxtFrm::GetLineSpace()
+ * SwTxtFrm::GetLineSpace()
*************************************************************************/
// OD 07.01.2004 #i11859# - change return data type
// add default parameter <_bNoPropLineSpacing> to control, if the
@@ -2455,7 +2455,7 @@ long SwTxtFrm::GetLineSpace( const bool _bNoPropLineSpace ) const
}
/*************************************************************************
- * SwTxtFrm::FirstLineHeight()
+ * SwTxtFrm::FirstLineHeight()
*************************************************************************/
KSHORT SwTxtFrm::FirstLineHeight() const
diff --git a/sw/source/core/text/txtftn.cxx b/sw/source/core/text/txtftn.cxx
index 70edfdab8e60..a0070cfd55be 100644
--- a/sw/source/core/text/txtftn.cxx
+++ b/sw/source/core/text/txtftn.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -50,16 +50,16 @@
#include <sortedobjs.hxx>
#include "txtcfg.hxx"
-#include "swfont.hxx" // new SwFont
+#include "swfont.hxx" // new SwFont
#include "porftn.hxx"
#include "porfly.hxx"
#include "porlay.hxx"
#include "txtfrm.hxx"
#include "itrform2.hxx"
-#include "ftnfrm.hxx" // FindQuoVadisFrm(),
+#include "ftnfrm.hxx" // FindQuoVadisFrm(),
#include "pagedesc.hxx"
#include "redlnitr.hxx" // SwRedlnItr
-#include "sectfrm.hxx" // SwSectionFrm
+#include "sectfrm.hxx" // SwSectionFrm
#include "layouter.hxx" // Endnote-Collection
#include "frmtool.hxx"
#include "ndindex.hxx"
@@ -67,7 +67,7 @@
using namespace ::com::sun::star;
/*************************************************************************
- * _IsFtnNumFrm()
+ * _IsFtnNumFrm()
*************************************************************************/
sal_Bool SwTxtFrm::_IsFtnNumFrm() const
@@ -79,7 +79,7 @@ sal_Bool SwTxtFrm::_IsFtnNumFrm() const
}
/*************************************************************************
- * FindFtn()
+ * FindFtn()
*************************************************************************/
// Sucht innerhalb einer Master-Follow-Kette den richtigen TxtFrm zum SwTxtFtn
@@ -99,7 +99,7 @@ SwTxtFrm *SwTxtFrm::FindFtnRef( const SwTxtFtn *pFtn )
}
/*************************************************************************
- * CalcFtnFlag()
+ * CalcFtnFlag()
*************************************************************************/
#if OSL_DEBUG_LEVEL > 1
@@ -141,7 +141,7 @@ void SwTxtFrm::CalcFtnFlag()
}
/*************************************************************************
- * CalcPrepFtnAdjust()
+ * CalcPrepFtnAdjust()
*************************************************************************/
sal_Bool SwTxtFrm::CalcPrepFtnAdjust()
@@ -173,7 +173,7 @@ sal_Bool SwTxtFrm::CalcPrepFtnAdjust()
SwTxtFormatInfo aInf( this );
SwTxtFormatter aLine( this, &aInf );
aLine.TruncLines();
- SetPara( 0 ); //Wird ggf. geloescht!
+ SetPara( 0 ); //Wird ggf. geloescht!
ResetPreps();
return sal_False;
}
@@ -288,7 +288,7 @@ SwTwips lcl_GetFtnLower( const SwTxtFrm* pFrm, SwTwips nLower )
/*************************************************************************
- * SwTxtFrm::GetFtnLine()
+ * SwTxtFrm::GetFtnLine()
*************************************************************************/
SwTwips SwTxtFrm::GetFtnLine( const SwTxtFtn *pFtn ) const
@@ -327,7 +327,7 @@ SwTwips SwTxtFrm::GetFtnLine( const SwTxtFtn *pFtn ) const
}
/*************************************************************************
- * SwTxtFrm::GetFtnRstHeight()
+ * SwTxtFrm::GetFtnRstHeight()
*************************************************************************/
// Ermittelt die max. erreichbare Hoehe des TxtFrm im Ftn-Bereich.
@@ -408,7 +408,7 @@ SwTwips SwTxtFrm::_GetFtnFrmHeight() const
}
/*************************************************************************
- * SwTxtFrm::FindQuoVadisFrm()
+ * SwTxtFrm::FindQuoVadisFrm()
*************************************************************************/
SwTxtFrm *SwTxtFrm::FindQuoVadisFrm()
@@ -428,14 +428,14 @@ SwTxtFrm *SwTxtFrm::FindQuoVadisFrm()
return NULL;
const SwCntntFrm *pLast;
do
- { pLast = pCnt;
+ { pLast = pCnt;
pCnt = pCnt->GetNextCntntFrm();
} while( pCnt && pFtnFrm->IsAnLower( pCnt ) );
return (SwTxtFrm*)pLast;
}
/*************************************************************************
- * SwTxtFrm::RemoveFtn()
+ * SwTxtFrm::RemoveFtn()
*************************************************************************/
void SwTxtFrm::RemoveFtn( const xub_StrLen nStart, const xub_StrLen nLen )
@@ -510,11 +510,11 @@ void SwTxtFrm::RemoveFtn( const xub_StrLen nStart, const xub_StrLen nLen )
// Wir loeschen nicht, sondern wollen die Ftn verschieben.
// Drei Faelle koennen auftreten:
// 1) Es gibt weder Follow noch PrevFollow
- // -> RemoveFtn() (vielleicht sogar ein OSL_ENSURE(wert)
+ // -> RemoveFtn() (vielleicht sogar ein OSL_ENSURE(wert)
// 2) nStart > GetOfst, ich habe einen Follow
- // -> Ftn wandert in den Follow
+ // -> Ftn wandert in den Follow
// 3) nStart < GetOfst, ich bin ein Follow
- // -> Ftn wandert in den PrevFollow
+ // -> Ftn wandert in den PrevFollow
// beide muessen auf einer Seite/in einer Spalte stehen.
SwFtnFrm *pFtnFrm = bEndn ? pEndBoss->FindFtn( pSource, pFtn ) :
@@ -615,7 +615,7 @@ void SwTxtFrm::RemoveFtn( const xub_StrLen nStart, const xub_StrLen nLen )
}
/*************************************************************************
- * SwTxtFormatter::ConnectFtn()
+ * SwTxtFormatter::ConnectFtn()
*************************************************************************/
// sal_False, wenn irgendetwas schief gegangen ist.
// Es gibt eigentlich nur zwei Moeglichkeiten:
@@ -635,7 +635,7 @@ void SwTxtFrm::ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine )
"SwTxtFrm::ConnectFtn with swapped frame" );
bFtn = sal_True;
- bInFtnConnect = sal_True; //Bloss zuruecksetzen!
+ bInFtnConnect = sal_True; //Bloss zuruecksetzen!
sal_Bool bEnd = pFtn->GetFtn().IsEndNote();
//
@@ -725,7 +725,7 @@ void SwTxtFrm::ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine )
SwSaveFtnHeight aHeight( pBoss, nDeadLine );
- if( !pSrcFrm ) // Es wurde ueberhaupt keine Ftn gefunden.
+ if( !pSrcFrm ) // Es wurde ueberhaupt keine Ftn gefunden.
pBoss->AppendFtn( this, pFtn );
else
{
@@ -734,7 +734,7 @@ void SwTxtFrm::ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine )
sal_Bool bBrutal = sal_False;
- if( pFtnBoss == pBoss ) // Ref und Ftn sind auf der selben Seite/Spalte.
+ if( pFtnBoss == pBoss ) // Ref und Ftn sind auf der selben Seite/Spalte.
{
SwFrm *pCont = pFtnFrm->GetUpper();
@@ -842,7 +842,7 @@ void SwTxtFrm::ConnectFtn( SwTxtFtn *pFtn, const SwTwips nDeadLine )
/*************************************************************************
- * SwTxtFormatter::NewFtnPortion()
+ * SwTxtFormatter::NewFtnPortion()
*************************************************************************/
// Die Portion fuer die Ftn-Referenz im Text
@@ -989,7 +989,7 @@ SwFtnPortion *SwTxtFormatter::NewFtnPortion( SwTxtFormatInfo &rInf,
}
/*************************************************************************
- * SwTxtFormatter::NewFtnNumPortion()
+ * SwTxtFormatter::NewFtnNumPortion()
*************************************************************************/
// Die Portion fuer die Ftn-Nummerierung im Ftn-Bereich
@@ -1047,7 +1047,7 @@ SwNumberPortion *SwTxtFormatter::NewFtnNumPortion( SwTxtFormatInfo &rInf ) const
}
/*************************************************************************
- * SwTxtFormatter::NewErgoSumPortion()
+ * SwTxtFormatter::NewErgoSumPortion()
*************************************************************************/
XubString lcl_GetPageNumber( const SwPageFrm* pPage )
@@ -1088,7 +1088,7 @@ SwErgoSumPortion *SwTxtFormatter::NewErgoSumPortion( SwTxtFormatInfo &rInf ) con
}
/*************************************************************************
- * SwTxtFormatter::FormatQuoVadis()
+ * SwTxtFormatter::FormatQuoVadis()
*************************************************************************/
xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
@@ -1129,7 +1129,7 @@ xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
// Ein Wort zu QuoVadis/ErgoSum:
// Fuer diese Texte wird der am Absatz eingestellte Font verwendet.
// Wir initialisieren uns also:
-// ResetFont();
+// ResetFont();
FeedInf( rInf );
SeekStartAndChg( rInf, sal_True );
if( GetRedln() && pCurr->HasRedline() )
@@ -1283,8 +1283,8 @@ xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
#if OSL_DEBUG_LEVEL > 1
if( OPTDBG( rInf ) )
{
-// aDbstream << "FormatQuoVadis:" << endl;
-// pCurr->DebugPortions( aDbstream, rInf.GetTxt(), nStart );
+// aDbstream << "FormatQuoVadis:" << endl;
+// pCurr->DebugPortions( aDbstream, rInf.GetTxt(), nStart );
}
#endif
@@ -1294,7 +1294,7 @@ xub_StrLen SwTxtFormatter::FormatQuoVadis( const xub_StrLen nOffset )
/*************************************************************************
- * SwTxtFormatter::MakeDummyLine()
+ * SwTxtFormatter::MakeDummyLine()
*************************************************************************/
// MakeDummyLine() erzeugt eine Line, die bis zum unteren Seitenrand
@@ -1372,7 +1372,7 @@ SwFtnSave::SwFtnSave( const SwTxtSizeInfo &rInf,
pInfo = &pDoc->GetEndNoteInfo();
else
pInfo = &pDoc->GetFtnInfo();
- const SwAttrSet& rSet = pInfo->GetAnchorCharFmt((SwDoc&)*pDoc)->GetAttrSet();
+ const SwAttrSet& rSet = pInfo->GetAnchorCharFmt((SwDoc&)*pDoc)->GetAttrSet();
pFnt->SetDiffFnt( &rSet, rInf.GetTxtFrm()->GetNode()->getIDocumentSettingAccess() );
// we reduce footnote size, if we are inside a double line portion
@@ -1402,7 +1402,7 @@ SwFtnSave::SwFtnSave( const SwTxtSizeInfo &rInf,
}
/*************************************************************************
- * SwFtnSave::~SwFtnSave()
+ * SwFtnSave::~SwFtnSave()
*************************************************************************/
SwFtnSave::~SwFtnSave()
@@ -1418,7 +1418,7 @@ SwFtnSave::~SwFtnSave()
}
/*************************************************************************
- * SwFtnPortion::SwFtnPortion()
+ * SwFtnPortion::SwFtnPortion()
*************************************************************************/
SwFtnPortion::SwFtnPortion( const XubString &rExpand, SwTxtFrm *pFrame,
@@ -1437,7 +1437,7 @@ SwFtnPortion::SwFtnPortion( const XubString &rExpand, SwTxtFrm *pFrame,
}
/*************************************************************************
- * SwFtnPortion::GetExpTxt()
+ * SwFtnPortion::GetExpTxt()
*************************************************************************/
sal_Bool SwFtnPortion::GetExpTxt( const SwTxtSizeInfo &, XubString &rTxt ) const
@@ -1447,7 +1447,7 @@ sal_Bool SwFtnPortion::GetExpTxt( const SwTxtSizeInfo &, XubString &rTxt ) const
}
/*************************************************************************
- * virtual SwFtnPortion::Format()
+ * virtual SwFtnPortion::Format()
*************************************************************************/
sal_Bool SwFtnPortion::Format( SwTxtFormatInfo &rInf )
@@ -1471,7 +1471,7 @@ sal_Bool SwFtnPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwFtnPortion::Paint()
+ * virtual SwFtnPortion::Paint()
*************************************************************************/
void SwFtnPortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -1485,7 +1485,7 @@ void SwFtnPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * virtual SwFtnPortion::GetTxtSize()
+ * virtual SwFtnPortion::GetTxtSize()
*************************************************************************/
SwPosSize SwFtnPortion::GetTxtSize( const SwTxtSizeInfo &rInfo ) const
@@ -1506,7 +1506,7 @@ void SwFtnPortion::SetPreferredScriptType( BYTE nPreferredScriptType )
// <--
/*************************************************************************
- * class SwQuoVadisPortion
+ * class SwQuoVadisPortion
*************************************************************************/
SwFldPortion *SwQuoVadisPortion::Clone( const XubString &rExpand ) const
@@ -1520,7 +1520,7 @@ SwQuoVadisPortion::SwQuoVadisPortion( const XubString &rExp, const XubString& rS
}
/*************************************************************************
- * virtual SwQuoVadisPortion::Format()
+ * virtual SwQuoVadisPortion::Format()
*************************************************************************/
sal_Bool SwQuoVadisPortion::Format( SwTxtFormatInfo &rInf )
@@ -1551,7 +1551,7 @@ sal_Bool SwQuoVadisPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwQuoVadisPortion::GetExpTxt()
+ * virtual SwQuoVadisPortion::GetExpTxt()
*************************************************************************/
sal_Bool SwQuoVadisPortion::GetExpTxt( const SwTxtSizeInfo &, XubString &rTxt ) const
@@ -1576,7 +1576,7 @@ void SwQuoVadisPortion::HandlePortion( SwPortionHandler& rPH ) const
}
/*************************************************************************
- * virtual SwQuoVadisPortion::Paint()
+ * virtual SwQuoVadisPortion::Paint()
*************************************************************************/
void SwQuoVadisPortion::Paint( const SwTxtPaintInfo &rInf ) const
@@ -1593,7 +1593,7 @@ void SwQuoVadisPortion::Paint( const SwTxtPaintInfo &rInf ) const
}
/*************************************************************************
- * class SwErgoSumPortion
+ * class SwErgoSumPortion
*************************************************************************/
SwFldPortion *SwErgoSumPortion::Clone( const XubString &rExpand ) const
@@ -1619,7 +1619,7 @@ xub_StrLen SwErgoSumPortion::GetCrsrOfst( const KSHORT ) const
}
/*************************************************************************
- * virtual SwErgoSumPortion::Format()
+ * virtual SwErgoSumPortion::Format()
*************************************************************************/
sal_Bool SwErgoSumPortion::Format( SwTxtFormatInfo &rInf )
@@ -1642,7 +1642,7 @@ sal_Bool SwErgoSumPortion::Format( SwTxtFormatInfo &rInf )
/*************************************************************************
- * SwParaPortion::SetErgoSumNum()
+ * SwParaPortion::SetErgoSumNum()
*************************************************************************/
void SwParaPortion::SetErgoSumNum( const XubString& rErgo )
@@ -1653,7 +1653,7 @@ void SwParaPortion::SetErgoSumNum( const XubString& rErgo )
DBG_LOOP;
pLay = pLay->GetNext();
}
- SwLinePortion *pPor = pLay;
+ SwLinePortion *pPor = pLay;
SwQuoVadisPortion *pQuo = 0;
while( pPor && !pQuo )
{
@@ -1666,7 +1666,7 @@ void SwParaPortion::SetErgoSumNum( const XubString& rErgo )
}
/*************************************************************************
- * SwParaPortion::UpdateQuoVadis()
+ * SwParaPortion::UpdateQuoVadis()
*
* Wird im SwTxtFrm::Prepare() gerufen
*************************************************************************/
@@ -1679,7 +1679,7 @@ sal_Bool SwParaPortion::UpdateQuoVadis( const XubString &rQuo )
DBG_LOOP;
pLay = pLay->GetNext();
}
- SwLinePortion *pPor = pLay;
+ SwLinePortion *pPor = pLay;
SwQuoVadisPortion *pQuo = 0;
while( pPor && !pQuo )
{
diff --git a/sw/source/core/text/txthyph.cxx b/sw/source/core/text/txthyph.cxx
index dfba164b9dcc..2612cc67a787 100644
--- a/sw/source/core/text/txthyph.cxx
+++ b/sw/source/core/text/txthyph.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,16 +34,16 @@
#include <editeng/unolingu.hxx>
#include <com/sun/star/i18n/WordType.hpp>
#include <EnhancedPDFExportHelper.hxx>
-#include <viewopt.hxx> // SwViewOptions
+#include <viewopt.hxx> // SwViewOptions
#include <viewsh.hxx>
#include <errhdl.hxx>
#include <txtcfg.hxx>
#include <SwPortionHandler.hxx>
-#include <porhyph.hxx> //
+#include <porhyph.hxx> //
#include <inftxt.hxx>
#include <itrform2.hxx> //
-#include <guess.hxx> //
-#include <splargs.hxx> // SwInterHyphInfo
+#include <guess.hxx> //
+#include <splargs.hxx> // SwInterHyphInfo
#if OSL_DEBUG_LEVEL > 1
extern const sal_Char *GetLangName( const MSHORT nLang );
@@ -57,7 +57,7 @@ using namespace ::com::sun::star::linguistic2;
using namespace ::com::sun::star::i18n;
/*************************************************************************
- * SwTxtFormatInfo::HyphWord()
+ * SwTxtFormatInfo::HyphWord()
*************************************************************************/
Reference< XHyphenatedWord > SwTxtFormatInfo::HyphWord(
@@ -78,7 +78,7 @@ Reference< XHyphenatedWord > SwTxtFormatInfo::HyphWord(
}
/*************************************************************************
- * SwTxtFrm::Hyphenate
+ * SwTxtFrm::Hyphenate
*
* Wir formatieren eine Zeile fuer die interaktive Trennung
*************************************************************************/
@@ -137,7 +137,7 @@ sal_Bool SwTxtFrm::Hyphenate( SwInterHyphInfo &rHyphInf )
}
/*************************************************************************
- * SwTxtFormatter::Hyphenate
+ * SwTxtFormatter::Hyphenate
*
* Wir formatieren eine Zeile fuer die interaktive Trennung
*************************************************************************/
@@ -293,7 +293,7 @@ sal_Bool SwTxtFormatter::Hyphenate( SwInterHyphInfo &rHyphInf )
{
rHyphInf.SetHyphWord( xHyphWord );
rHyphInf.nWordStart = nWrdStart;
- rHyphInf.nWordLen = nLen+nCnt;
+ rHyphInf.nWordLen = nLen+nCnt;
rHyphInf.SetNoLang( sal_False );
rHyphInf.SetCheck( sal_True );
}
@@ -314,7 +314,7 @@ sal_Bool SwTxtFormatter::Hyphenate( SwInterHyphInfo &rHyphInf )
}
/*************************************************************************
- * SwTxtPortion::CreateHyphen()
+ * SwTxtPortion::CreateHyphen()
*************************************************************************/
sal_Bool SwTxtPortion::CreateHyphen( SwTxtFormatInfo &rInf, SwTxtGuess &rGuess )
@@ -557,7 +557,7 @@ sal_Bool SwSoftHyphPortion::Format( SwTxtFormatInfo &rInf )
sal_Bool bFull = sal_True;
// special case for old german spelling
- if( rInf.IsUnderFlow() )
+ if( rInf.IsUnderFlow() )
{
if( rInf.GetSoftHyphPos() )
return sal_True;
@@ -608,7 +608,7 @@ sal_Bool SwSoftHyphPortion::Format( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwSoftHyphPortion::FormatEOL()
+ * virtual SwSoftHyphPortion::FormatEOL()
*************************************************************************/
// Format end of Line
@@ -640,7 +640,7 @@ void SwSoftHyphPortion::FormatEOL( SwTxtFormatInfo &rInf )
}
/*************************************************************************
- * virtual SwSoftHyphPortion::GetExpTxt()
+ * virtual SwSoftHyphPortion::GetExpTxt()
*
* Wir expandieren:
* - wenn die Sonderzeichen sichtbar sein sollen
@@ -674,7 +674,7 @@ void SwSoftHyphPortion::HandlePortion( SwPortionHandler& rPH ) const
}
/*************************************************************************
- * SwSoftHyphStrPortion::Paint
+ * SwSoftHyphStrPortion::Paint
*************************************************************************/
void SwSoftHyphStrPortion::Paint( const SwTxtPaintInfo &rInf ) const
diff --git a/sw/source/core/text/txtinit.cxx b/sw/source/core/text/txtinit.cxx
index f8ffbbe7dc3f..74468830a8c8 100644
--- a/sw/source/core/text/txtinit.cxx
+++ b/sw/source/core/text/txtinit.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +49,9 @@
#include "porftn.hxx"
#include "porhyph.hxx"
#include "pordrop.hxx"
-#include "blink.hxx" // Blink-Manager
+#include "blink.hxx" // Blink-Manager
#include "init.hxx" // Deklarationen fuer _TextInit() und _TextFinit()
-#include "txtfly.hxx" // SwContourCache
+#include "txtfly.hxx" // SwContourCache
#include "dbg_lay.hxx" // Layout Debug Fileausgabe
SwCache *SwTxtFrm::pTxtCache = 0;
@@ -59,11 +59,11 @@ long SwTxtFrm::nMinPrtLine = 0;
SwContourCache *pContourCache = 0;
SwDropCapCache *pDropCapCache = 0;
-IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtLine, 50, 50 )
-IMPL_FIXEDMEMPOOL_NEWDEL( SwParaPortion, 50, 50 ) //Absaetze
-IMPL_FIXEDMEMPOOL_NEWDEL( SwLineLayout, 150, 150 ) //Zeilen
-IMPL_FIXEDMEMPOOL_NEWDEL( SwHolePortion, 150, 150 ) //z.B. Blanks am Zeilenende
-IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtPortion, 200, 100 ) //Attributwechsel
+IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtLine, 50, 50 )
+IMPL_FIXEDMEMPOOL_NEWDEL( SwParaPortion, 50, 50 ) //Absaetze
+IMPL_FIXEDMEMPOOL_NEWDEL( SwLineLayout, 150, 150 ) //Zeilen
+IMPL_FIXEDMEMPOOL_NEWDEL( SwHolePortion, 150, 150 ) //z.B. Blanks am Zeilenende
+IMPL_FIXEDMEMPOOL_NEWDEL( SwTxtPortion, 200, 100 ) //Attributwechsel
/*************************************************************************
* _TextInit(), _TextFinit()
diff --git a/sw/source/core/text/txtio.cxx b/sw/source/core/text/txtio.cxx
index e0c727c88f26..d93d8d13f7eb 100644
--- a/sw/source/core/text/txtio.cxx
+++ b/sw/source/core/text/txtio.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
// #define AMA_LAYOUT
#ifdef AMA_LAYOUT
#include <stdio.h>
-#include <stdlib.h> // getenv()
+#include <stdlib.h> // getenv()
#include <flowfrm.hxx>
#include <pagefrm.hxx>
#include <svx/svdobj.hxx>
@@ -520,7 +520,7 @@ const char *GetLangName( const MSHORT /*nLang*/ )
SvStream &SwLinePortion::operator<<( SvStream &rOs ) const //$ ostream
{
rOs << " {";
- rOs << "L:" << nLineLength;
+ rOs << "L:" << nLineLength;
rOs << " H:" << Height();
rOs << " W:" << PrtWidth();
rOs << " A:" << nAscent;
diff --git a/sw/source/core/text/txtpaint.cxx b/sw/source/core/text/txtpaint.cxx
index 54069949423d..915a03b2f789 100644
--- a/sw/source/core/text/txtpaint.cxx
+++ b/sw/source/core/text/txtpaint.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ void SwSaveClip::Reset()
}
/*************************************************************************
- * SwSaveClip::_ChgClip()
+ * SwSaveClip::_ChgClip()
*************************************************************************/
void SwSaveClip::_ChgClip( const SwRect &rRect, const SwTxtFrm* pFrm,
diff --git a/sw/source/core/text/txtpaint.hxx b/sw/source/core/text/txtpaint.hxx
index 0a7a36beda48..735236b96265 100644
--- a/sw/source/core/text/txtpaint.hxx
+++ b/sw/source/core/text/txtpaint.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,18 +29,18 @@
#define _TXTPAINT_HXX
#include <vcl/outdev.hxx>
-class SwRect; // SwSaveClip
+class SwRect; // SwSaveClip
#include <txtfrm.hxx>
/*************************************************************************
- * class SwSaveClip
+ * class SwSaveClip
*************************************************************************/
class SwSaveClip
{
- Region aClip;
- const sal_Bool bOn;
- sal_Bool bChg;
+ Region aClip;
+ const sal_Bool bOn;
+ sal_Bool bChg;
protected:
OutputDevice* pOut;
void _ChgClip( const SwRect &rRect, const SwTxtFrm* pFrm,
@@ -52,7 +52,7 @@ public:
sal_Bool bEnlargeRect = sal_False)
{ if( pOut ) _ChgClip( rRect, pFrm, bEnlargeRect ); }
void Reset();
- inline sal_Bool IsOn() const { return bOn; }
+ inline sal_Bool IsOn() const { return bOn; }
inline sal_Bool IsChg() const { return bChg; }
inline sal_Bool IsOut() const { return 0 != pOut; }
inline OutputDevice *GetOut() { return pOut; }
@@ -72,7 +72,7 @@ inline SwSaveClip::~SwSaveClip()
#if OSL_DEBUG_LEVEL > 1
/*************************************************************************
- * class SwDbgOut
+ * class SwDbgOut
*************************************************************************/
class SwDbgOut
@@ -84,7 +84,7 @@ public:
};
/*************************************************************************
- * class DbgColor
+ * class DbgColor
*************************************************************************/
class DbgColor
@@ -98,12 +98,12 @@ public:
};
/*************************************************************************
- * class DbgBrush
+ * class DbgBrush
*************************************************************************/
class DbgBackColor : public SwDbgOut
{
- Color aOldFillColor;
+ Color aOldFillColor;
public:
DbgBackColor( OutputDevice* pOut, const sal_Bool bOn = sal_True,
ColorData nColor = COL_YELLOW );
@@ -111,7 +111,7 @@ public:
};
/*************************************************************************
- * class DbgRect
+ * class DbgRect
*************************************************************************/
class DbgRect : public SwDbgOut
@@ -123,7 +123,7 @@ public:
};
/*************************************************************************
- * Inline-Implementierung
+ * Inline-Implementierung
*************************************************************************/
inline SwDbgOut::SwDbgOut( OutputDevice* pOutDev, const sal_Bool bOn )
diff --git a/sw/source/core/text/txttab.cxx b/sw/source/core/text/txttab.cxx
index 0a2b980eb0ea..a53f8ada8a03 100644
--- a/sw/source/core/text/txttab.cxx
+++ b/sw/source/core/text/txttab.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <frmatr.hxx>
#include <SwPortionHandler.hxx>
-#include "viewopt.hxx" // SwViewOptions
+#include "viewopt.hxx" // SwViewOptions
#include "txtcfg.hxx"
#include "portab.hxx"
#include "inftxt.hxx"
diff --git a/sw/source/core/text/widorp.cxx b/sw/source/core/text/widorp.cxx
index 5576cff68fb6..e561356161d3 100644
--- a/sw/source/core/text/widorp.cxx
+++ b/sw/source/core/text/widorp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,26 +49,26 @@
#include "widorp.hxx"
#include "txtfrm.hxx"
#include "itrtxt.hxx"
-#include "sectfrm.hxx" //SwSectionFrm
+#include "sectfrm.hxx" //SwSectionFrm
#include "ftnfrm.hxx"
#undef WIDOWTWIPS
/*************************************************************************
- * inline IsNastyFollow()
+ * inline IsNastyFollow()
*************************************************************************/
// Ein Follow, der auf der selben Seite steht, wie sein Master ist nasty.
inline sal_Bool IsNastyFollow( const SwTxtFrm *pFrm )
{
- OSL_ENSURE( !pFrm->IsFollow() || !pFrm->GetPrev() ||
+ OSL_ENSURE( !pFrm->IsFollow() || !pFrm->GetPrev() ||
((const SwTxtFrm*)pFrm->GetPrev())->GetFollow() == pFrm,
"IsNastyFollow: Was ist denn hier los?" );
- return pFrm->IsFollow() && pFrm->GetPrev();
+ return pFrm->IsFollow() && pFrm->GetPrev();
}
/*************************************************************************
- * SwTxtFrmBreak::SwTxtFrmBreak()
+ * SwTxtFrmBreak::SwTxtFrmBreak()
*************************************************************************/
SwTxtFrmBreak::SwTxtFrmBreak( SwTxtFrm *pNewFrm, const SwTwips nRst )
@@ -110,7 +110,7 @@ SwTxtFrmBreak::SwTxtFrmBreak( SwTxtFrm *pNewFrm, const SwTwips nRst )
*/
/*************************************************************************
- * SwTxtFrmBreak::IsInside()
+ * SwTxtFrmBreak::IsInside()
*************************************************************************/
/* BP(22.07.92): Berechnung von Witwen und Waisen.
@@ -175,7 +175,7 @@ sal_Bool SwTxtFrmBreak::IsInside( SwTxtMargin &rLine ) const
}
/*************************************************************************
- * SwTxtFrmBreak::IsBreakNow()
+ * SwTxtFrmBreak::IsBreakNow()
*************************************************************************/
sal_Bool SwTxtFrmBreak::IsBreakNow( SwTxtMargin &rLine )
@@ -231,11 +231,11 @@ void SwTxtFrmBreak::SetRstHeight( const SwTxtMargin &rLine )
}
/*************************************************************************
- * WidowsAndOrphans::WidowsAndOrphans()
+ * WidowsAndOrphans::WidowsAndOrphans()
*************************************************************************/
WidowsAndOrphans::WidowsAndOrphans( SwTxtFrm *pNewFrm, const SwTwips nRst,
- sal_Bool bChkKeep )
+ sal_Bool bChkKeep )
: SwTxtFrmBreak( pNewFrm, nRst ), nWidLines( 0 ), nOrphLines( 0 )
{
SWAP_IF_SWAPPED( pFrm )
@@ -310,7 +310,7 @@ WidowsAndOrphans::WidowsAndOrphans( SwTxtFrm *pNewFrm, const SwTwips nRst,
}
/*************************************************************************
- * WidowsAndOrphans::FindBreak()
+ * WidowsAndOrphans::FindBreak()
*************************************************************************/
/* Die Find*-Methoden suchen nicht nur, sondern stellen den SwTxtMargin auf
@@ -367,13 +367,13 @@ sal_Bool WidowsAndOrphans::FindBreak( SwTxtFrm *pFrame, SwTxtMargin &rLine,
}
/*************************************************************************
- * WidowsAndOrphans::FindWidows()
+ * WidowsAndOrphans::FindWidows()
*************************************************************************/
-/* FindWidows positioniert den SwTxtMargin des Masters auf die umzubrechende
- * Zeile, indem der Follow formatiert und untersucht wird.
- * Liefert sal_True zurueck, wenn die Widows-Regelung in Kraft tritt,
- * d.h. der Absatz _zusammengehalten_ werden soll !
+/* FindWidows positioniert den SwTxtMargin des Masters auf die umzubrechende
+ * Zeile, indem der Follow formatiert und untersucht wird.
+ * Liefert sal_True zurueck, wenn die Widows-Regelung in Kraft tritt,
+ * d.h. der Absatz _zusammengehalten_ werden soll !
*/
sal_Bool WidowsAndOrphans::FindWidows( SwTxtFrm *pFrame, SwTxtMargin &rLine )
@@ -448,8 +448,8 @@ sal_Bool WidowsAndOrphans::FindWidows( SwTxtFrm *pFrame, SwTxtMargin &rLine )
// 8575: Follow to Master II
// Wenn der Follow *schrumpft*, so besteht fuer den Master die Chance,
// den kompletten Orphan zu inhalieren.
- // (0W, 2O, 2M, 1F) - 1F = 3M, 0F -> PREP_ADJUST_FRM
- // (0W, 2O, 3M, 2F) - 1F = 2M, 2F -> PREP_WIDOWS
+ // (0W, 2O, 2M, 1F) - 1F = 3M, 0F -> PREP_ADJUST_FRM
+ // (0W, 2O, 3M, 2F) - 1F = 2M, 2F -> PREP_WIDOWS
if( 0 > nChg && !pMaster->IsLocked() && pMaster->GetUpper() )
{
@@ -503,7 +503,7 @@ sal_Bool WidowsAndOrphans::FindWidows( SwTxtFrm *pFrame, SwTxtMargin &rLine )
}
/*************************************************************************
- * WidowsAndOrphans::WouldFit()
+ * WidowsAndOrphans::WouldFit()
*************************************************************************/
sal_Bool WidowsAndOrphans::WouldFit( SwTxtMargin &rLine, SwTwips &rMaxHeight, sal_Bool bTst )
diff --git a/sw/source/core/text/widorp.hxx b/sw/source/core/text/widorp.hxx
index a0730d1b171e..5505dd84dfbd 100644
--- a/sw/source/core/text/widorp.hxx
+++ b/sw/source/core/text/widorp.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,16 +39,16 @@ private:
SwTwips nOrigin;
protected:
SwTxtFrm *pFrm;
- sal_Bool bBreak;
- sal_Bool bKeep;
+ sal_Bool bBreak;
+ sal_Bool bKeep;
public:
SwTxtFrmBreak( SwTxtFrm *pFrm, const SwTwips nRst = 0 );
sal_Bool IsBreakNow( SwTxtMargin &rLine );
- sal_Bool IsBroken() const { return bBreak; }
+ sal_Bool IsBroken() const { return bBreak; }
sal_Bool IsKeepAlways() const { return bKeep; }
- void Keep() { bKeep = sal_True; }
- void Break() { bKeep = sal_False; bBreak = sal_True; }
+ void Keep() { bKeep = sal_True; }
+ void Break() { bKeep = sal_False; bBreak = sal_True; }
inline sal_Bool GetKeep() const { return bKeep; }
inline void SetKeep( const sal_Bool bNew ) { bKeep = bNew; }
@@ -70,7 +70,7 @@ public:
class WidowsAndOrphans : public SwTxtFrmBreak
{
private:
- MSHORT nWidLines, nOrphLines;
+ MSHORT nWidLines, nOrphLines;
public:
WidowsAndOrphans( SwTxtFrm *pFrm, const SwTwips nRst = 0,
diff --git a/sw/source/core/text/wrong.cxx b/sw/source/core/text/wrong.cxx
index 0bd7d126ebf2..f77d9635a7c2 100644
--- a/sw/source/core/text/wrong.cxx
+++ b/sw/source/core/text/wrong.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
/*************************************************************************
* SwWrongList::SwWrongList()
*************************************************************************/
-SwWrongList::SwWrongList( WrongListType eType ) :
+SwWrongList::SwWrongList( WrongListType eType ) :
meType (eType),
nBeginInvalid(STRING_LEN), // everything correct... (the invalid area starts beyond the string)
nEndInvalid (STRING_LEN)
@@ -133,7 +133,7 @@ sal_Bool SwWrongList::Check( xub_StrLen &rChk, xub_StrLen &rLn ) const
if( nEnd == rChk )
{
++nPos;
- if( nPos == Count() )
+ if( nPos == Count() )
return sal_False;
else
{
@@ -259,7 +259,7 @@ void SwWrongList::_Invalidate( xub_StrLen nBegin, xub_StrLen nEnd )
}
void SwWrongList::SetInvalid( xub_StrLen nBegin, xub_StrLen nEnd )
-{
+{
nBeginInvalid = nBegin;
nEndInvalid = nEnd;
}
@@ -403,7 +403,7 @@ void SwWrongList::Invalidate( xub_StrLen nBegin, xub_StrLen nEnd )
{
if (STRING_LEN == GetBeginInv())
SetInvalid( nBegin, nEnd );
- else
+ else
_Invalidate( nBegin, nEnd );
}
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index 012db518d9ec..e6cdd53e42de 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -595,7 +595,7 @@ SwTOXBase::~SwTOXBase()
}
void SwTOXBase::SetTitle(const String& rTitle)
- { aTitle = rTitle; }
+ { aTitle = rTitle; }
SwTOXBase & SwTOXBase::operator = (const SwTOXBase & rSource)
diff --git a/sw/source/core/tox/toxhlp.cxx b/sw/source/core/tox/toxhlp.cxx
index fb9b97a265b4..4b06ddb44141 100644
--- a/sw/source/core/tox/toxhlp.cxx
+++ b/sw/source/core/tox/toxhlp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ String IndexEntrySupplierWrapper::GetIndexKey( const String& rTxt,
const STAR_NMSPC::lang::Locale& rLocale ) const
{
String sRet;
- try {
+ try {
sRet = xIES->getIndexKey( rTxt, rTxtReading, rLocale );
}
catch ( UNO_NMSPC::Exception&
@@ -101,7 +101,7 @@ String IndexEntrySupplierWrapper::GetIndexKey( const String& rTxt,
String IndexEntrySupplierWrapper::GetFollowingText( BOOL bMorePages ) const
{
String sRet;
- try {
+ try {
sRet = xIES->getIndexFollowPageWord( bMorePages, aLcl );
}
catch ( UNO_NMSPC::Exception&
@@ -124,7 +124,7 @@ IndexEntrySupplierWrapper::GetAlgorithmList( const STAR_NMSPC::lang::Locale& rLc
{
uno::Sequence< ::rtl::OUString > sRet;
- try {
+ try {
sRet = xIES->getAlgorithmList( rLcl );
}
catch ( UNO_NMSPC::Exception&
@@ -147,7 +147,7 @@ sal_Bool IndexEntrySupplierWrapper::LoadAlgorithm(
const String& sSortAlgorithm, long nOptions ) const
{
sal_Bool bRet = sal_False;
- try {
+ try {
bRet = xIES->loadAlgorithm( rLcl, sSortAlgorithm, nOptions );
}
catch ( UNO_NMSPC::Exception&
@@ -172,7 +172,7 @@ sal_Int16 IndexEntrySupplierWrapper::CompareIndexEntry(
const STAR_NMSPC::lang::Locale& rLocale2 ) const
{
sal_Int16 nRet = 0;
- try {
+ try {
nRet = xIES->compareIndexEntry( rTxt1, rTxtReading1, rLocale1,
rTxt2, rTxtReading2, rLocale2 );
}
diff --git a/sw/source/core/tox/txmsrt.cxx b/sw/source/core/tox/txmsrt.cxx
index 78cd69e73cef..c905c7b9023d 100644
--- a/sw/source/core/tox/txmsrt.cxx
+++ b/sw/source/core/tox/txmsrt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ String SwTOXInternational::GetFollowingText( BOOL bMorePages ) const
}
/*--------------------------------------------------------------------
- Beschreibung: SortierElement fuer Verzeichniseintraege
+ Beschreibung: SortierElement fuer Verzeichniseintraege
--------------------------------------------------------------------*/
@@ -237,7 +237,7 @@ BOOL SwTOXSortTabBase::operator==( const SwTOXSortTabBase& rCmp )
{
// beide Pointer vorhanden -> vergleiche Text
// beide Pointer nicht vorhanden -> vergleiche AlternativText
- const xub_StrLen *pEnd = pTxtMark->GetEnd(),
+ const xub_StrLen *pEnd = pTxtMark->GetEnd(),
*pEndCmp = rCmp.pTxtMark->GetEnd();
String sMyTxt;
@@ -408,7 +408,7 @@ void SwTOXIndex::_GetText( String& rTxt, String& rTxtReading )
const SwTOXMark& rTOXMark = pTxtMark->GetTOXMark();
switch(nKeyLevel)
{
- case FORM_PRIMARY_KEY :
+ case FORM_PRIMARY_KEY :
{
rTxt = rTOXMark.GetPrimaryKey();
rTxtReading = rTOXMark.GetPrimaryKeyReading();
@@ -420,7 +420,7 @@ void SwTOXIndex::_GetText( String& rTxt, String& rTxtReading )
rTxtReading = rTOXMark.GetSecondaryKeyReading();
}
break;
- case FORM_ENTRY :
+ case FORM_ENTRY :
{
rTxt = rTOXMark.GetText();
rTxtReading = rTOXMark.GetTextReading();
@@ -549,7 +549,7 @@ SwTOXContent::SwTOXContent( const SwTxtNode& rNd, const SwTxtTOXMark* pMark,
}
-// Der Text des Inhalts
+// Der Text des Inhalts
//
void SwTOXContent::_GetText( String& rTxt, String& rTxtReading )
@@ -688,13 +688,13 @@ void SwTOXPara::FillText( SwTxtNode& rNd, const SwIndex& rInsPos, USHORT ) const
USHORT SwTOXPara::GetLevel() const
{
USHORT nRet = m_nLevel;
- const SwCntntNode* pNd = aTOXSources[0].pNd;
+ const SwCntntNode* pNd = aTOXSources[0].pNd;
if( nsSwTOXElement::TOX_OUTLINELEVEL == eType && pNd->GetTxtNode() )
{
//USHORT nTmp = ((SwTxtNode*)pNd)->GetTxtColl()->GetOutlineLevel();//#outline level,zhaojianwei
//if(nTmp < NO_NUMBERING)
- // nRet = nTmp + 1;
+ // nRet = nTmp + 1;
const int nTmp = ((SwTxtNode*)pNd)->GetAttrOutlineLevel();//#outline level,zhaojianwei????
if(nTmp != 0 )
nRet = static_cast<USHORT>(nTmp);
@@ -775,7 +775,7 @@ String SwTOXPara::GetURL() const
case nsSwTOXElement::TOX_OLE: pStr = pMarkToOLE; break;
case nsSwTOXElement::TOX_GRAPHIC: pStr = pMarkToGraphic; break;
case nsSwTOXElement::TOX_FRAME: pStr = pMarkToFrame; break;
- default: pStr = 0;
+ default: pStr = 0;
}
if( pStr )
aTxt.AppendAscii( pStr );
@@ -877,7 +877,7 @@ void SwTOXAuthority::_GetText( String& rTxt, String& )
/* -----------------21.09.99 12:50-------------------
--------------------------------------------------*/
-void SwTOXAuthority::FillText( SwTxtNode& rNd,
+void SwTOXAuthority::FillText( SwTxtNode& rNd,
const SwIndex& rInsPos, USHORT nAuthField ) const
{
SwAuthorityField* pField = (SwAuthorityField*)m_rField.GetFld();
@@ -906,7 +906,7 @@ void SwTOXAuthority::FillText( SwTxtNode& rNd,
/* -----------------14.10.99 09:35-------------------
--------------------------------------------------*/
-BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
+BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
{
return nType == rCmp.nType &&
((SwAuthorityField*)m_rField.GetFld())->GetHandle() ==
@@ -915,7 +915,7 @@ BOOL SwTOXAuthority::operator==( const SwTOXSortTabBase& rCmp)
/* -----------------21.10.99 09:52-------------------
--------------------------------------------------*/
-BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
+BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
{
BOOL bRet = FALSE;
SwAuthorityField* pField = (SwAuthorityField*)m_rField.GetFld();
@@ -931,7 +931,7 @@ BOOL SwTOXAuthority::operator<( const SwTOXSortTabBase& rBase)
for(USHORT i = 0; i < pType->GetSortKeyCount(); i++)
{
- const SwTOXSortKey* pKey = pType->GetSortKey(i);
+ const SwTOXSortKey* pKey = pType->GetSortKey(i);
String sMyTxt = pField->GetFieldText(pKey->eField);
String sMyTxtReading;
String sOtherTxt = pCmpField->GetFieldText(pKey->eField);
diff --git a/sw/source/core/txtnode/SwGrammarContact.cxx b/sw/source/core/txtnode/SwGrammarContact.cxx
index a9ee7f529cdb..5425db5bb119 100644
--- a/sw/source/core/txtnode/SwGrammarContact.cxx
+++ b/sw/source/core/txtnode/SwGrammarContact.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ class SwGrammarContact : public IGrammarContact, public SwClient
bool mbFinished;
SwTxtNode* getMyTxtNode() { return (SwTxtNode*)pRegisteredIn; }
DECL_LINK( TimerRepaint, Timer * );
-
+
public:
SwGrammarContact();
~SwGrammarContact() { aTimer.Stop(); delete mpProxyList; }
@@ -210,7 +210,7 @@ void repaintTextFrames( SwModify& rModify )
ViewShell *pCurShell = pRootFrm ? pRootFrm->GetCurrShell() : NULL;
if( pCurShell )
pCurShell->InvalidateWindows( aRec );
- }
+ }
}
void finishGrammarCheck( SwTxtNode& rTxtNode )
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index 843705204a21..ab654abeb7e6 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -94,7 +94,7 @@ SwFmtFld::~SwFmtFld()
SwFieldType* pType = pField ? pField->GetTyp() : 0;
if (pType && pType->Which() == RES_DBFLD)
- pType = 0; // DB-Feldtypen zerstoeren sich selbst
+ pType = 0; // DB-Feldtypen zerstoeren sich selbst
Broadcast( SwFmtFldHint( this, SWFMTFLD_REMOVED ) );
delete pField;
@@ -256,7 +256,7 @@ BOOL SwFmtFld::IsProtect() const
|*
|* Beschreibung Attribut fuer automatischen Text, Ctor
|* Ersterstellung BP 30.04.92
-|* Letzte Aenderung JP 15.08.94
+|* Letzte Aenderung JP 15.08.94
|*
*************************************************************************/
@@ -285,7 +285,7 @@ SwTxtFld::~SwTxtFld( )
|*
|* Beschreibung exandiert das Feld und tauscht den Text im Node
|* Ersterstellung BP 30.04.92
-|* Letzte Aenderung JP 15.08.94
+|* Letzte Aenderung JP 15.08.94
|*
*************************************************************************/
@@ -313,7 +313,7 @@ void SwTxtFld::Expand() const
{
// BP: das muesste man noch optimieren!
//JP 12.06.97: stimmt, man sollte auf jedenfall eine Status-
- // aenderung an die Frames posten
+ // aenderung an die Frames posten
if( m_pTxtNode->CalcHiddenParaField() )
{
m_pTxtNode->Modify( 0, 0 );
@@ -382,7 +382,7 @@ void SwTxtFld::CopyFld( SwTxtFld *pDest ) const
{
// erzeuge aus der internen (fuer CORE) die externe (fuer UI) Formel
const SwTableNode* pTblNd = m_pTxtNode->FindTableNode();
- if( pTblNd ) // steht in einer Tabelle
+ if( pTblNd ) // steht in einer Tabelle
((SwTblField*)rFmtFld.GetFld())->PtrToBoxNm( &pTblNd->GetTable() );
}
}
diff --git a/sw/source/core/txtnode/atrflyin.cxx b/sw/source/core/txtnode/atrflyin.cxx
index bd765b43e937..7bc2ab4c1440 100644
--- a/sw/source/core/txtnode/atrflyin.cxx
+++ b/sw/source/core/txtnode/atrflyin.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +126,8 @@ void SwTxtFlyCnt::CopyFlyFmt( SwDoc* pDoc )
(pDoc != pFmt->GetDoc())) // different documents?
{
// JP 03.06.96: dann sorge dafuer, das der koperierte Anker auf
- // gueltigen Content zeigt! Die Umsetzung auf die
- // richtige Position erfolgt spaeter.
+ // gueltigen Content zeigt! Die Umsetzung auf die
+ // richtige Position erfolgt spaeter.
SwNodeIndex aIdx( pDoc->GetNodes().GetEndOfExtras(), +2 );
SwCntntNode* pCNd = aIdx.GetNode().GetCntntNode();
if( !pCNd )
@@ -186,7 +186,7 @@ void SwTxtFlyCnt::SetAnchor( const SwTxtNode *pNode )
// beim Ankerwechsel werden immer alle FlyFrms vom Attribut geloescht
// JP 25.04.95: wird innerhalb des SplitNodes die Frames verschoben
- // koennen die Frames erhalten bleiben.
+ // koennen die Frames erhalten bleiben.
if( ( !pNode->GetpSwpHints() || !pNode->GetpSwpHints()->IsInSplitNode() )
&& RES_DRAWFRMFMT != pFmt->Which() )
pFmt->DelFrms();
diff --git a/sw/source/core/txtnode/atrftn.cxx b/sw/source/core/txtnode/atrftn.cxx
index d9be255d1d02..f1c243d7c043 100644
--- a/sw/source/core/txtnode/atrftn.cxx
+++ b/sw/source/core/txtnode/atrftn.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,17 +72,17 @@ SwFmtFtn::SwFmtFtn( bool bEndNote )
int SwFmtFtn::operator==( const SfxPoolItem& rAttr ) const
{
OSL_ENSURE( SfxPoolItem::operator==( rAttr ), "keine gleichen Attribute" );
- return nNumber == ((SwFmtFtn&)rAttr).nNumber &&
- aNumber == ((SwFmtFtn&)rAttr).aNumber &&
+ return nNumber == ((SwFmtFtn&)rAttr).nNumber &&
+ aNumber == ((SwFmtFtn&)rAttr).aNumber &&
m_bEndNote == ((SwFmtFtn&)rAttr).m_bEndNote;
}
SfxPoolItem* SwFmtFtn::Clone( SfxItemPool* ) const
{
- SwFmtFtn* pNew = new SwFmtFtn;
- pNew->aNumber = aNumber;
- pNew->nNumber = nNumber;
+ SwFmtFtn* pNew = new SwFmtFtn;
+ pNew->aNumber = aNumber;
+ pNew->nNumber = nNumber;
pNew->m_bEndNote = m_bEndNote;
return pNew;
}
@@ -170,7 +170,7 @@ XubString SwFmtFtn::GetViewNumStr( const SwDoc& rDoc, BOOL bInclStrings ) const
}
/*************************************************************************
- * class SwTxt/FmtFnt
+ * class SwTxt/FmtFnt
*************************************************************************/
SwTxtFtn::SwTxtFtn( SwFmtFtn& rAttr, xub_StrLen nStartPos )
@@ -217,10 +217,10 @@ void SwTxtFtn::SetStartNode( const SwNodeIndex *pNewNode, BOOL bDelNode )
else
{
//JP 27.01.97: der sw3-Reader setzt einen StartNode aber das
- // Attribut ist noch nicht im TextNode verankert.
- // Wird es geloescht (z.B. bei Datei einfuegen mit
- // Ftn in einen Rahmen), muss auch der Inhalt
- // geloescht werden
+ // Attribut ist noch nicht im TextNode verankert.
+ // Wird es geloescht (z.B. bei Datei einfuegen mit
+ // Ftn in einen Rahmen), muss auch der Inhalt
+ // geloescht werden
pDoc = m_pStartNode->GetNodes().GetDoc();
}
@@ -385,7 +385,7 @@ void SwTxtFtn::DelFrms()
}
}
//JP 13.05.97: falls das Layout vorm loeschen der Fussnoten entfernt
- // wird, sollte man das ueber die Fussnote selbst tun
+ // wird, sollte man das ueber die Fussnote selbst tun
if ( !bFrmFnd && m_pStartNode )
{
SwNodeIndex aIdx( *m_pStartNode );
diff --git a/sw/source/core/txtnode/atrref.cxx b/sw/source/core/txtnode/atrref.cxx
index b9c66e4b782f..f6e40747bb71 100644
--- a/sw/source/core/txtnode/atrref.cxx
+++ b/sw/source/core/txtnode/atrref.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SfxPoolItem* SwFmtRefMark::Clone( SfxItemPool* ) const
}
/*************************************************************************
- * class SwTxtRefMark
+ * class SwTxtRefMark
*************************************************************************/
// Attribut fuer Inhalts-/Positions-Referenzen im Text
diff --git a/sw/source/core/txtnode/atrtox.cxx b/sw/source/core/txtnode/atrtox.cxx
index 31820ab10978..ffbef0c517a9 100644
--- a/sw/source/core/txtnode/atrtox.cxx
+++ b/sw/source/core/txtnode/atrtox.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/txtnode/chrfmt.cxx b/sw/source/core/txtnode/chrfmt.cxx
index 71d7e48f6d74..90332e45bff3 100644
--- a/sw/source/core/txtnode/chrfmt.cxx
+++ b/sw/source/core/txtnode/chrfmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <charfmt.hxx>
-TYPEINIT1( SwCharFmt, SwFmt ); //rtti fuer SwCharFmt
+TYPEINIT1( SwCharFmt, SwFmt ); //rtti fuer SwCharFmt
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index 2d27ec119286..7830b0ea78b6 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <charfmt.hxx>
#include <hints.hxx> // SwUpdateAttr
#include <unostyle.hxx>
-#include <unoevent.hxx> // SwHyperlinkEventDescriptor
+#include <unoevent.hxx> // SwHyperlinkEventDescriptor
#include <com/sun/star/text/RubyAdjust.hdl>
#include <cmdid.h>
@@ -273,7 +273,7 @@ int SwFmtINetFmt::operator==( const SfxPoolItem& rAttr ) const
{
const SvxMacro *pOwnMac = rOwn.GetObject(nNo);
const SvxMacro *pOtherMac = rOther.GetObject(nNo);
- if ( rOwn.GetKey(pOwnMac) != rOther.GetKey(pOtherMac) ||
+ if ( rOwn.GetKey(pOwnMac) != rOther.GetKey(pOtherMac) ||
pOwnMac->GetLibName() != pOtherMac->GetLibName() ||
pOwnMac->GetMacName() != pOtherMac->GetMacName() )
return FALSE;
@@ -438,7 +438,7 @@ bool SwFmtINetFmt::PutValue( const uno::Any& rVal, BYTE nMemberId )
String aString;
SwStyleNameMapper::FillUIName( sVal, aString, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, sal_True );
aINetFmt = OUString ( aString );
- nINetId = SwStyleNameMapper::GetPoolIdFromUIName( aINetFmt, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
+ nINetId = SwStyleNameMapper::GetPoolIdFromUIName( aINetFmt, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT );
}
break;
default:
@@ -511,8 +511,8 @@ bool SwFmtRuby::QueryValue( uno::Any& rVal,
nMemberId &= ~CONVERT_TWIPS;
switch( nMemberId )
{
- case MID_RUBY_TEXT: rVal <<= (OUString)sRubyTxt; break;
- case MID_RUBY_ADJUST: rVal <<= (sal_Int16)nAdjustment; break;
+ case MID_RUBY_TEXT: rVal <<= (OUString)sRubyTxt; break;
+ case MID_RUBY_ADJUST: rVal <<= (sal_Int16)nAdjustment; break;
case MID_RUBY_CHARSTYLE:
{
String aString;
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx
index 8296d7c7822d..69b993fc44bd 100644
--- a/sw/source/core/txtnode/fntcache.cxx
+++ b/sw/source/core/txtnode/fntcache.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <com/sun/star/i18n/CharacterIteratorMode.hdl>
#include <com/sun/star/i18n/WordType.hdl>
#include <breakit.hxx>
-#include <viewsh.hxx> // Bildschirmabgleich
-#include <viewopt.hxx> // Bildschirmabgleich abschalten, ViewOption
+#include <viewsh.hxx> // Bildschirmabgleich
+#include <viewopt.hxx> // Bildschirmabgleich abschalten, ViewOption
#include <fntcache.hxx>
#include <IDocumentSettingAccess.hxx>
#include <swfont.hxx> // CH_BLANK + CH_BULLET
@@ -95,10 +95,10 @@ USHORT GetDefaultFontHeight( SwDrawTextInfo &rInf )
/*************************************************************************
|*
-|* SwFntCache::Flush()
+|* SwFntCache::Flush()
|*
-|* Ersterstellung AMA 16. Dez. 94
-|* Letzte Aenderung AMA 16. Dez. 94
+|* Ersterstellung AMA 16. Dez. 94
+|* Letzte Aenderung AMA 16. Dez. 94
|*
|*************************************************************************/
@@ -114,10 +114,10 @@ void SwFntCache::Flush( )
/*************************************************************************
|*
-|* SwFntObj::SwFntObj(), ~SwFntObj()
+|* SwFntObj::SwFntObj(), ~SwFntObj()
|*
-|* Ersterstellung AMA 7. Nov. 94
-|* Letzte Aenderung AMA 7. Nov. 94
+|* Ersterstellung AMA 7. Nov. 94
+|* Letzte Aenderung AMA 7. Nov. 94
|*
|*************************************************************************/
@@ -292,11 +292,11 @@ void lcl_calcLinePos( const CalcLinePosData &rData,
*
* USHORT SwFntObj::GetFontAscent( const OutputDevice& rOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* Beschreibung: liefern den Ascent des Fonts auf dem
- * gewuenschten Outputdevice zurueck, ggf. muss der Bildschirmfont erst
+ * gewuenschten Outputdevice zurueck, ggf. muss der Bildschirmfont erst
* erzeugt werden.
*************************************************************************/
@@ -424,8 +424,8 @@ USHORT SwFntObj::GetFontLeading( const ViewShell *pSh, const OutputDevice& rOut
*
* SwFntObj::CreateScrFont( const ViewShell& rSh, const OutputDevice& rOut )
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* pOut is the output device, not the reference device
*
@@ -601,10 +601,10 @@ void SwFntObj::GuessLeading( const ViewShell&
/*************************************************************************
*
- * void SwFntObj::SetDeviceFont( const OutputDevice *pOut ),
+ * void SwFntObj::SetDeviceFont( const OutputDevice *pOut ),
*
- * Ersterstellung AMA 7. Nov. 94
- * Letzte Aenderung AMA 7. Nov. 94
+ * Ersterstellung AMA 7. Nov. 94
+ * Letzte Aenderung AMA 7. Nov. 94
*
* Beschreibung: stellt den Font am gewuenschten OutputDevice ein,
* am Bildschirm muss eventuell erst den Abgleich durchgefuehrt werden.
@@ -643,13 +643,13 @@ void SwFntObj::SetDevFont( const ViewShell *pSh, OutputDevice& rOut )
*
* void SwFntObj::DrawText( ... )
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
+ * Ersterstellung AMA 16. Dez. 94
+ * Letzte Aenderung AMA 16. Dez. 94
*
* Beschreibung: Textausgabe
- * auf dem Bildschirm => DrawTextArray
- * auf dem Drucker, !Kerning => DrawText
- * auf dem Drucker + Kerning => DrawStretchText
+ * auf dem Bildschirm => DrawTextArray
+ * auf dem Drucker, !Kerning => DrawText
+ * auf dem Drucker + Kerning => DrawStretchText
*
*************************************************************************/
@@ -1866,11 +1866,11 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf )
/*************************************************************************
*
- * Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
- * const USHORT nIdx, const USHORT nLen, const short nKern = 0 );
+ * Size SwFntObj::GetTextSize( const OutputDevice *pOut, const String &rTxt,
+ * const USHORT nIdx, const USHORT nLen, const short nKern = 0 );
*
- * Ersterstellung AMA 16. Dez. 94
- * Letzte Aenderung AMA 16. Dez. 94
+ * Ersterstellung AMA 16. Dez. 94
+ * Letzte Aenderung AMA 16. Dez. 94
*
* Beschreibung: ermittelt die TextSize (des Druckers)
*
@@ -1973,7 +1973,7 @@ Size SwFntObj::GetTextSize( SwDrawTextInfo& rInf )
rInf.GetScriptInfo()->CountCompChg() &&
lcl_IsMonoSpaceFont( rInf.GetOut() );
- OSL_ENSURE( !bCompress || ( rInf.GetScriptInfo() && rInf.GetScriptInfo()->
+ OSL_ENSURE( !bCompress || ( rInf.GetScriptInfo() && rInf.GetScriptInfo()->
CountCompChg()), "Compression without info" );
// This is the part used e.g., for cursor travelling
@@ -2295,10 +2295,10 @@ xub_StrLen SwFntObj::GetCrsrOfst( SwDrawTextInfo &rInf )
/*************************************************************************
|*
-|* SwFntAccess::SwFntAccess()
+|* SwFntAccess::SwFntAccess()
|*
-|* Ersterstellung AMA 9. Nov. 94
-|* Letzte Aenderung AMA 9. Nov. 94
+|* Ersterstellung AMA 9. Nov. 94
+|* Letzte Aenderung AMA 9. Nov. 94
|*
|*************************************************************************/
@@ -2345,7 +2345,7 @@ SwFntAccess::SwFntAccess( const void* &rMagic,
((SwSubFont*)pOwn)->GetPropWidth() )
return; // Die Ueberpruefung ergab: Drucker+Zoom okay.
pFntObj->Unlock( ); // Vergiss dies Objekt, es wurde leider
- pObj = NULL; // eine Drucker/Zoomaenderung festgestellt.
+ pObj = NULL; // eine Drucker/Zoomaenderung festgestellt.
}
// Search by font comparison, quite expensive!
diff --git a/sw/source/core/txtnode/fntcap.cxx b/sw/source/core/txtnode/fntcap.cxx
index 38d69deb2c63..fb8025fd5faf 100644
--- a/sw/source/core/txtnode/fntcap.cxx
+++ b/sw/source/core/txtnode/fntcap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ using namespace ::com::sun::star::i18n;
#define KAPITAELCHENPROP 80
/*************************************************************************
- * class SwCapitalInfo
+ * class SwCapitalInfo
*
* The information encapsulated in SwCapitalInfo is required
* by the ::Do functions. They contain the information about
@@ -70,7 +70,7 @@ public:
};
/*************************************************************************
- * xub_StrLen lcl_CalcCaseMap()
+ * xub_StrLen lcl_CalcCaseMap()
*
* rFnt: required for CalcCaseMap
* rOrigString: The original string
@@ -114,7 +114,7 @@ xub_StrLen lcl_CalcCaseMap( const SwFont& rFnt,
}
/*************************************************************************
- * class SwDoCapitals
+ * class SwDoCapitals
*************************************************************************/
class SwDoCapitals
@@ -134,7 +134,7 @@ public:
};
/*************************************************************************
- * class SwDoGetCapitalSize
+ * class SwDoGetCapitalSize
*************************************************************************/
class SwDoGetCapitalSize : public SwDoCapitals
@@ -162,7 +162,7 @@ void SwDoGetCapitalSize::Do()
}
/*************************************************************************
- * SwSubFont::GetCapitalSize()
+ * SwSubFont::GetCapitalSize()
*************************************************************************/
Size SwSubFont::GetCapitalSize( SwDrawTextInfo& rInf )
@@ -189,7 +189,7 @@ Size SwSubFont::GetCapitalSize( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * class SwDoGetCapitalBreak
+ * class SwDoGetCapitalBreak
*************************************************************************/
class SwDoGetCapitalBreak : public SwDoCapitals
@@ -254,12 +254,12 @@ void SwDoGetCapitalBreak::Do()
}
/*************************************************************************
- * SwFont::GetCapitalBreak()
+ * SwFont::GetCapitalBreak()
*************************************************************************/
xub_StrLen SwFont::GetCapitalBreak( ViewShell* pSh, const OutputDevice* pOut,
const SwScriptInfo* pScript, const XubString& rTxt, long nTextWidth,
- xub_StrLen *pExtra, const xub_StrLen nIdx, const xub_StrLen nLen )
+ xub_StrLen *pExtra, const xub_StrLen nIdx, const xub_StrLen nLen )
{
// Start:
Point aPos( 0, 0 );
@@ -281,7 +281,7 @@ xub_StrLen SwFont::GetCapitalBreak( ViewShell* pSh, const OutputDevice* pOut,
}
/*************************************************************************
- * class SwDoDrawCapital
+ * class SwDoDrawCapital
*************************************************************************/
class SwDoDrawCapital : public SwDoCapitals
@@ -325,7 +325,7 @@ void SwDoDrawCapital::Do()
}
/*************************************************************************
- * SwDoDrawCapital::DrawSpace()
+ * SwDoDrawCapital::DrawSpace()
*************************************************************************/
void SwDoDrawCapital::DrawSpace( Point &rPos )
@@ -362,7 +362,7 @@ void SwDoDrawCapital::DrawSpace( Point &rPos )
}
/*************************************************************************
- * SwSubFont::DrawCapital()
+ * SwSubFont::DrawCapital()
*************************************************************************/
void SwSubFont::DrawCapital( SwDrawTextInfo &rInf )
@@ -377,7 +377,7 @@ void SwSubFont::DrawCapital( SwDrawTextInfo &rInf )
}
/*************************************************************************
- * class SwDoDrawCapital
+ * class SwDoDrawCapital
*************************************************************************/
class SwDoCapitalCrsrOfst : public SwDoCapitals
@@ -442,7 +442,7 @@ void SwDoCapitalCrsrOfst::Do()
}
/*************************************************************************
- * SwSubFont::GetCapitalCrsrOfst()
+ * SwSubFont::GetCapitalCrsrOfst()
*************************************************************************/
xub_StrLen SwSubFont::GetCapitalCrsrOfst( SwDrawTextInfo& rInf )
@@ -459,7 +459,7 @@ xub_StrLen SwSubFont::GetCapitalCrsrOfst( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * class SwDoDrawStretchCapital
+ * class SwDoDrawStretchCapital
*************************************************************************/
class SwDoDrawStretchCapital : public SwDoDrawCapital
@@ -479,7 +479,7 @@ public:
};
/*************************************************************************
- * SwDoDrawStretchCapital
+ * SwDoDrawStretchCapital
*************************************************************************/
void SwDoDrawStretchCapital::Do()
@@ -524,7 +524,7 @@ void SwDoDrawStretchCapital::Do()
}
/*************************************************************************
- * SwSubFont::DrawStretchCapital()
+ * SwSubFont::DrawStretchCapital()
*************************************************************************/
void SwSubFont::DrawStretchCapital( SwDrawTextInfo &rInf )
@@ -547,7 +547,7 @@ void SwSubFont::DrawStretchCapital( SwDrawTextInfo &rInf )
}
/*************************************************************************
- * SwSubFont::DoOnCapitals() const
+ * SwSubFont::DoOnCapitals() const
*************************************************************************/
// JP 22.8.2001 - global optimization off - Bug 91245 / 91223
@@ -832,7 +832,7 @@ void SwSubFont::DoOnCapitals( SwDoCapitals &rDo )
if ( bWordWise )
delete pSpaceFontAccess;
}
- pLastFont = pOldLast;
+ pLastFont = pOldLast;
pLastFont->SetDevFont( rDo.GetInf().GetShell(), rDo.GetOut() );
delete pSmallFontAccess;
diff --git a/sw/source/core/txtnode/modeltoviewhelper.cxx b/sw/source/core/txtnode/modeltoviewhelper.cxx
index 8d4940b1ec67..67687d27d497 100644
--- a/sw/source/core/txtnode/modeltoviewhelper.cxx
+++ b/sw/source/core/txtnode/modeltoviewhelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 ModelToViewHelper
{
-
+
/** Converts a model position into a view position
*/
sal_uInt32 ConvertToViewPosition( const ConversionMap* pMap, sal_uInt32 nModelPos )
@@ -59,7 +59,7 @@ sal_uInt32 ConvertToViewPosition( const ConversionMap* pMap, sal_uInt32 nModelPo
return nRet;
}
-
+
/** Converts a view position into a model position
*/
diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx
index 48293a96584f..9a76e6ffa92c 100644
--- a/sw/source/core/txtnode/ndhints.cxx
+++ b/sw/source/core/txtnode/ndhints.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ inline BOOL IsEqual( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
// unser SEEK_PTR_TO_OBJECT_NOTL( name,ArrElement )
// Sortierreihenfolge: Start, Ende (umgekehrt!), Which-Wert (umgekehrt!),
-// als letztes die Adresse selbst
+// als letztes die Adresse selbst
static BOOL lcl_IsLessStart( const SwTxtAttr &rHt1, const SwTxtAttr &rHt2 )
{
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index a242e6cd8633..62caad92a37b 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <ndtxt.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <pam.hxx> // fuer SwPosition
+#include <pam.hxx> // fuer SwPosition
#include <fldbas.hxx>
#include <errhdl.hxx>
#include <paratr.hxx>
@@ -72,9 +72,9 @@
#include <ftnfrm.hxx>
#include <ftnboss.hxx>
#include <rootfrm.hxx>
-#include <pagedesc.hxx> // fuer SwPageDesc
-#include <expfld.hxx> // fuer SwTblField
-#include <section.hxx> // fuer SwSection
+#include <pagedesc.hxx> // fuer SwPageDesc
+#include <expfld.hxx> // fuer SwTblField
+#include <section.hxx> // fuer SwSection
#include <mvsave.hxx>
#include <swcache.hxx>
#include <SwGrammarMarkUp.hxx>
@@ -180,7 +180,7 @@ SwTxtNode *SwNodes::MakeTxtNode( const SwNodeIndex & rWhere,
if( !GoPrevSection( &aTmp, TRUE, FALSE ) ||
aTmp.GetNode().FindTableNode() !=
pNode->FindTableNode() )
- return pNode; // schade, das wars
+ return pNode; // schade, das wars
}
else
aTmp = *pNd->StartOfSectionNode();
@@ -284,7 +284,7 @@ xub_StrLen SwTxtNode::Len() const
/*---------------------------------------------------------------------------
* lcl_ChangeFtnRef
- * After a split node, it's necessary to actualize the ref-pointer of the
+ * After a split node, it's necessary to actualize the ref-pointer of the
* ftnfrms.
* --------------------------------------------------------------------------*/
@@ -395,11 +395,11 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
if ( GetDepends() && m_Text.Len() && (nTxtLen / 2) < nSplitPos )
{
// JP 25.04.95: Optimierung fuer SplitNode:
-// Wird am Ende vom Node gesplittet, dann verschiebe die
-// Frames vom akt. auf den neuen und erzeuge fuer den akt.
-// neue. Dadurch entfaellt das neu aufbauen vom Layout.
+// Wird am Ende vom Node gesplittet, dann verschiebe die
+// Frames vom akt. auf den neuen und erzeuge fuer den akt.
+// neue. Dadurch entfaellt das neu aufbauen vom Layout.
- LockModify(); // Benachrichtigungen abschalten
+ LockModify(); // Benachrichtigungen abschalten
// werden FlyFrames mit verschoben, so muessen diese nicht ihre
// Frames zerstoeren. Im SwTxtFly::SetAnchor wird es abgefragt!
@@ -449,7 +449,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
// alle zeichengebundenen Rahmen, die im neuen Absatz laden
// muessen aus den alten Frame entfernt werden:
// JP 01.10.96: alle leeren und nicht zu expandierenden
- // Attribute loeschen
+ // Attribute loeschen
if ( HasHints() )
{
for ( USHORT j = m_pSwpHints->Count(); j; )
@@ -497,7 +497,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
SetInCache( FALSE );
}
- UnlockModify(); // Benachrichtigungen wieder freischalten
+ UnlockModify(); // Benachrichtigungen wieder freischalten
const SwRootFrm * const pRootFrm = pNode->GetDoc()->GetRootFrm();
// If there is an accessible layout we must call modify even
@@ -523,7 +523,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
{
MoveTxtAttr_To_AttrSet();
}
- pNode->MakeFrms( *this ); // neue Frames anlegen.
+ pNode->MakeFrms( *this ); // neue Frames anlegen.
lcl_ChangeFtnRef( *this );
}
else
@@ -547,7 +547,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
CutText( pNode, aIdx, nSplitPos );
// JP 01.10.96: alle leeren und nicht zu expandierenden
- // Attribute loeschen
+ // Attribute loeschen
if ( HasHints() )
{
for ( USHORT j = m_pSwpHints->Count(); j; )
@@ -585,7 +585,7 @@ SwCntntNode *SwTxtNode::SplitCntntNode( const SwPosition &rPos )
if ( GetDepends() )
{
- MakeFrms( *pNode ); // neue Frames anlegen.
+ MakeFrms( *pNode ); // neue Frames anlegen.
}
lcl_ChangeFtnRef( *pNode );
}
@@ -1257,7 +1257,7 @@ SwTxtNode::GetTxtAttrAt(xub_StrLen const nIndex, RES_TXTATR const nWhich,
}
/*************************************************************************
- * CopyHint()
+ * CopyHint()
*************************************************************************/
SwCharFmt* lcl_FindCharFmt( const SwCharFmts* pCharFmts, const XubString& rName )
@@ -1371,8 +1371,8 @@ void lcl_CopyHint( const USHORT nWhich, const SwTxtAttr * const pHt,
}
}
//JP 24.04.98: Bug 49753 - ein TextNode muss am Attribut
- // gesetzt sein, damit die Vorlagen erzeugt
- // werden koenne
+ // gesetzt sein, damit die Vorlagen erzeugt
+ // werden koenne
SwTxtINetFmt* const pINetHt = static_cast<SwTxtINetFmt*>(pNewHt);
if ( !pINetHt->GetpTxtNode() )
{
@@ -1399,12 +1399,12 @@ void lcl_CopyHint( const USHORT nWhich, const SwTxtAttr * const pHt,
}
/*************************************************************************
-|* SwTxtNode::CopyAttr()
-|* Beschreibung kopiert Attribute an der Position nStart in pDest.
-|* BP 7.6.93: Es werden mit Absicht nur die Attribute _mit_ EndIdx
-|* kopiert! CopyAttr wird vornehmlich dann gerufen,
-|* wenn Attribute fuer einen Node mit leerem String
-|* gesetzt werden sollen.
+|* SwTxtNode::CopyAttr()
+|* Beschreibung kopiert Attribute an der Position nStart in pDest.
+|* BP 7.6.93: Es werden mit Absicht nur die Attribute _mit_ EndIdx
+|* kopiert! CopyAttr wird vornehmlich dann gerufen,
+|* wenn Attribute fuer einen Node mit leerem String
+|* gesetzt werden sollen.
*************************************************************************/
void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
@@ -1420,7 +1420,7 @@ void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
SwTxtAttr *const pHt = m_pSwpHints->GetTextHint(i);
xub_StrLen const nAttrStartIdx = *pHt->GetStart();
if ( nTxtStartIdx < nAttrStartIdx )
- break; // ueber das Textende, da nLen == 0
+ break; // ueber das Textende, da nLen == 0
const xub_StrLen *const pEndIdx = pHt->GetEnd();
if ( pEndIdx && !pHt->HasDummyChar() )
@@ -1461,9 +1461,9 @@ void SwTxtNode::CopyAttr( SwTxtNode *pDest, const xub_StrLen nTxtStartIdx,
}
/*************************************************************************
-|* SwTxtNode::Copy()
-|* Beschreibung kopiert Zeichen und Attibute in pDest,
-|* wird angehaengt
+|* SwTxtNode::Copy()
+|* Beschreibung kopiert Zeichen und Attibute in pDest,
+|* wird angehaengt
*************************************************************************/
// --> OD 2008-11-18 #i96213#
@@ -1486,7 +1486,7 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
const bool bForceCopyOfAllAttrs )
{
xub_StrLen nTxtStartIdx = rStart.GetIndex();
- xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
+ xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
if (pDest->GetDoc()->IsClipBoard() && this->GetNum())
{
@@ -1535,8 +1535,8 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
// 1. Text kopieren
const xub_StrLen oldLen = pDest->m_Text.Len();
//JP 15.02.96: Bug 25537 - Attributbehandlung am Ende fehlt! Darum
- // ueber die InsertMethode den Text einfuegen und nicht
- // selbst direkt
+ // ueber die InsertMethode den Text einfuegen und nicht
+ // selbst direkt
pDest->InsertText( m_Text.Copy( nTxtStartIdx, nLen ), rDestStart,
IDocumentContentOperations::INS_EMPTYEXPAND );
@@ -1610,11 +1610,11 @@ void SwTxtNode::CopyText( SwTxtNode *const pDest,
const USHORT nWhich = pHt->Which();
// JP 26.04.94: REFMARK's werden nie kopiert. Hat das Refmark aber
- // keinen Bereich umspannt, so steht im Text ein 255
- // dieses muss entfernt werden. Trick: erst kopieren,
- // erkennen und sammeln, nach dem kopieren Loeschen.
- // Nimmt sein Zeichen mit ins Grab !!
- // JP 14.08.95: Duerfen RefMarks gemovt werden?
+ // keinen Bereich umspannt, so steht im Text ein 255
+ // dieses muss entfernt werden. Trick: erst kopieren,
+ // erkennen und sammeln, nach dem kopieren Loeschen.
+ // Nimmt sein Zeichen mit ins Grab !!
+ // JP 14.08.95: Duerfen RefMarks gemovt werden?
int bCopyRefMark = RES_TXTATR_REFMARK == nWhich && ( bUndoNodes ||
(!pOtherDoc ? GetDoc()->IsCopyIsMove()
: 0 == pOtherDoc->GetRefMark(
@@ -1825,11 +1825,11 @@ void SwTxtNode::InsertText( const XubString & rStr, const SwIndex & rIdx,
/*************************************************************************
|*
-|* SwTxtNode::Cut()
+|* SwTxtNode::Cut()
|*
-|* Beschreibung text.doc
-|* Ersterstellung VB 20.03.91
-|* Letzte Aenderung JP 11.08.94
+|* Beschreibung text.doc
+|* Ersterstellung VB 20.03.91
+|* Letzte Aenderung JP 11.08.94
|*
*************************************************************************/
@@ -1880,7 +1880,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
}
xub_StrLen nTxtStartIdx = rStart.GetIndex();
- xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
+ xub_StrLen nDestStart = rDestStart.GetIndex(); // alte Pos merken
const xub_StrLen nInitSize = pDest->m_Text.Len();
// wird in sich selbst verschoben, muss es gesondert behandelt werden !!
@@ -1938,7 +1938,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
if( pEndIdx )
*pHt->GetEnd() = *pEndIdx - nTxtStartIdx;
aArr.C40_INSERT( SwTxtAttr, pHt, aArr.Count() );
- continue; // while-Schleife weiter, ohne ++ !
+ continue; // while-Schleife weiter, ohne ++ !
}
// das Ende liegt dahinter
else if (RES_TXTATR_REFMARK != nWhich && !pHt->HasDummyChar())
@@ -2016,7 +2016,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
pDest->m_Text.Insert( m_Text, nTxtStartIdx, nLen, nDestStart );
m_Text.Erase( nTxtStartIdx, nLen );
nLen = pDest->m_Text.Len() - nInitSize; // update w/ current size!
- if( !nLen ) // String nicht gewachsen ??
+ if( !nLen ) // String nicht gewachsen ??
return;
if( bUpdate )
@@ -2138,7 +2138,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
{
GetDoc()->GetDocShell()->Broadcast( SfxSimpleHint(SFX_HINT_USER04));
}
- continue; // while-Schleife weiter, ohne ++ !
+ continue; // while-Schleife weiter, ohne ++ !
}
// das Ende liegt dahinter
else if( RES_TXTATR_REFMARK != nWhich || bUndoNodes )
@@ -2166,7 +2166,7 @@ void SwTxtNode::CutImpl( SwTxtNode * const pDest, const SwIndex & rDestStart,
// sollten jetzt noch leere Attribute rumstehen, dann haben diese
// eine hoehere Praezedenz. Also herausholen und das Array updaten.
// Die dabei entstehenden leeren Hints werden von den gesicherten
- // "uebergeplaettet". (Bug: 6977)
+ // "uebergeplaettet". (Bug: 6977)
if( m_pSwpHints && nAttrCnt < m_pSwpHints->Count() )
{
SwpHts aArr( 5 );
@@ -2317,14 +2317,14 @@ void SwTxtNode::EraseText(const SwIndex &rIdx, const xub_StrLen nCount,
}
/***********************************************************************
-#* Class : SwTxtNode
-#* Methode : GCAttr
+#* Class : SwTxtNode
+#* Methode : GCAttr
#*
-#* Beschreibung
-#* text.doc
+#* Beschreibung
+#* text.doc
#*
-#* Datum : MS 28.11.90
-#* Update : VB 24.07.91
+#* Datum : MS 28.11.90
+#* Update : VB 24.07.91
#***********************************************************************/
void SwTxtNode::GCAttr()
@@ -2479,7 +2479,7 @@ SwTxtNode* SwTxtNode::_MakeNewTxtNode( const SwNodeIndex& rPos, BOOL bNext,
pNewAttrSet = new SwAttrSet( *GetpSwAttrSet() );
const SfxItemSet* pTmpSet = GetpSwAttrSet();
- if( bNext ) // der naechste erbt keine Breaks!
+ if( bNext ) // der naechste erbt keine Breaks!
pTmpSet = pNewAttrSet;
// PageBreaks/PageDesc/ColBreak rausschmeissen.
@@ -2569,7 +2569,7 @@ SwTxtNode* SwTxtNode::_MakeNewTxtNode( const SwNodeIndex& rPos, BOOL bNext,
// nochmal uebergeplaettet werden !!
if( pColl != pNode->GetTxtColl() ||
( bChgFollow && pColl != GetTxtColl() ))
- return pNode; // mehr duerfte nicht gemacht werden oder ????
+ return pNode; // mehr duerfte nicht gemacht werden oder ????
pNode->_ChgTxtCollUpdateNum( 0, pColl ); // fuer Nummerierung/Gliederung
if( bNext || !bChgFollow )
@@ -2628,7 +2628,7 @@ SwCntntNode* SwTxtNode::AppendNode( const SwPosition & rPos )
}
/*************************************************************************
- * SwTxtNode::GetTxtAttr
+ * SwTxtNode::GetTxtAttr
*************************************************************************/
SwTxtAttr * SwTxtNode::GetTxtAttrForCharAt( const xub_StrLen nIndex,
@@ -3037,7 +3037,7 @@ BOOL SwTxtNode::GetExpandTxt( SwTxtNode& rDestNd, const SwIndex* pDestIdx,
const xub_StrLen nAttrStartIdx = *pHt->GetStart();
const USHORT nWhich = pHt->Which();
if (nIdx + nLen <= nAttrStartIdx)
- break; // ueber das Textende
+ break; // ueber das Textende
const xub_StrLen *pEndIdx = pHt->GetEnd();
if( pEndIdx && *pEndIdx > nIdx &&
@@ -3067,7 +3067,7 @@ BOOL SwTxtNode::GetExpandTxt( SwTxtNode& rDestNd, const SwIndex* pDestIdx,
->ExpandField(GetDoc()->IsClipBoard()));
if( aExpand.Len() )
{
- aDestIdx++; // dahinter einfuegen;
+ aDestIdx++; // dahinter einfuegen;
rDestNd.InsertText( aExpand, aDestIdx );
aDestIdx = nInsPos + nAttrStartIdx;
nInsPos = nInsPos + aExpand.Len();
@@ -3221,11 +3221,11 @@ XubString SwTxtNode::GetRedlineTxt( xub_StrLen nIdx, xub_StrLen nLen,
else
{
aRedlArr.Insert( GetTxt().Len(), aRedlArr.Count() );
- break; // mehr kann nicht kommen
+ break; // mehr kann nicht kommen
}
}
else
- break; // mehr kann nicht kommen
+ break; // mehr kann nicht kommen
}
}
}
@@ -3517,10 +3517,10 @@ void SwTxtNode::Modify( SfxPoolItem* pOldValue, SfxPoolItem* pNewValue )
m_bNotifiable = false;
// Bug 24616/24617:
- // Modify ueberladen, damit beim Loeschen von Vorlagen diese
- // wieder richtig verwaltet werden (Outline-Numerierung!!)
- // Bug25481:
- // bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen.
+ // Modify ueberladen, damit beim Loeschen von Vorlagen diese
+ // wieder richtig verwaltet werden (Outline-Numerierung!!)
+ // Bug25481:
+ // bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen.
if( pOldValue && pNewValue && RES_FMT_CHG == pOldValue->Which() &&
pRegisteredIn == ((SwFmtChg*)pNewValue)->pChangedFmt &&
GetNodes().IsDocNodes() )
@@ -4260,7 +4260,7 @@ namespace {
{
mbAddTxtNodeToList = true;
// --> OD 2010-05-12 #i105562#
- //
+ //
mrTxtNode.ResetEmptyListStyleDueToResetOutlineLevelAttr();
// <--
}
diff --git a/sw/source/core/txtnode/swfntcch.cxx b/sw/source/core/txtnode/swfntcch.cxx
index 590742575b7d..f4a6a1ce20bd 100644
--- a/sw/source/core/txtnode/swfntcch.cxx
+++ b/sw/source/core/txtnode/swfntcch.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwFontCache *pSwFontCache = NULL;
/*************************************************************************
|*
-|* SwFontObj::SwFontObj(), ~SwFontObj()
+|* SwFontObj::SwFontObj(), ~SwFontObj()
|*
-|* Ersterstellung AMA 25. Jun. 95
-|* Letzte Aenderung AMA 25. Jun. 95
+|* Ersterstellung AMA 25. Jun. 95
+|* Letzte Aenderung AMA 25. Jun. 95
|*
|*************************************************************************/
@@ -67,10 +67,10 @@ SwFontObj::~SwFontObj()
/*************************************************************************
|*
-|* SwFontAccess::SwFontAccess()
+|* SwFontAccess::SwFontAccess()
|*
-|* Ersterstellung AMA 25. Jun. 95
-|* Letzte Aenderung AMA 25. Jun. 95
+|* Ersterstellung AMA 25. Jun. 95
+|* Letzte Aenderung AMA 25. Jun. 95
|*
|*************************************************************************/
diff --git a/sw/source/core/txtnode/swfont.cxx b/sw/source/core/txtnode/swfont.cxx
index 28f483a3f6ae..e7f7620c8a1a 100644
--- a/sw/source/core/txtnode/swfont.cxx
+++ b/sw/source/core/txtnode/swfont.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <IDocumentSettingAccess.hxx>
#include <vcl/window.hxx>
#include <charatr.hxx>
-#include <viewsh.hxx> // Bildschirmabgleich
+#include <viewsh.hxx> // Bildschirmabgleich
#include <swfont.hxx>
#include <fntcache.hxx> // FontCache
#include <txtfrm.hxx> // SwTxtFrm
@@ -173,12 +173,12 @@ void SwFont::SetVertical( USHORT nDir, const BOOL bVertFormat )
Escapement:
frEsc: Fraction, Grad des Escapements
Esc = resultierendes Escapement
- A1 = Original-Ascent (nOrgAscent)
- A2 = verkleinerter Ascent (nEscAscent)
- Ax = resultierender Ascent (GetAscent())
- H1 = Original-Hoehe (nOrgHeight)
- H2 = verkleinerter Hoehe (nEscHeight)
- Hx = resultierender Hoehe (GetHeight())
+ A1 = Original-Ascent (nOrgAscent)
+ A2 = verkleinerter Ascent (nEscAscent)
+ Ax = resultierender Ascent (GetAscent())
+ H1 = Original-Hoehe (nOrgHeight)
+ H2 = verkleinerter Hoehe (nEscHeight)
+ Hx = resultierender Hoehe (GetHeight())
Bx = resultierende Baseline fuer die Textausgabe (CalcPos())
(Vorsicht: Y - A1!)
@@ -198,7 +198,7 @@ void SwFont::SetVertical( USHORT nDir, const BOOL bVertFormat )
*************************************************************************/
/*************************************************************************
- * SwSubFont::CalcEscAscent( const USHORT nOldAscent )
+ * SwSubFont::CalcEscAscent( const USHORT nOldAscent )
*************************************************************************/
// nEsc ist der Prozentwert
@@ -423,7 +423,7 @@ void SwFont::SetDiffFnt( const SfxItemSet *pAttrSet,
}
/*************************************************************************
- * class SwFont
+ * class SwFont
*************************************************************************/
SwFont::SwFont( const SwFont &rFont )
@@ -600,7 +600,7 @@ SwFont& SwFont::operator=( const SwFont &rFont )
}
/*************************************************************************
- * SwFont::GoMagic()
+ * SwFont::GoMagic()
*************************************************************************/
void SwFont::GoMagic( ViewShell *pSh, BYTE nWhich )
@@ -610,7 +610,7 @@ void SwFont::GoMagic( ViewShell *pSh, BYTE nWhich )
}
/*************************************************************************
- * SwSubFont::IsSymbol()
+ * SwSubFont::IsSymbol()
*************************************************************************/
BOOL SwSubFont::IsSymbol( ViewShell *pSh )
@@ -620,7 +620,7 @@ BOOL SwSubFont::IsSymbol( ViewShell *pSh )
}
/*************************************************************************
- * SwSubFont::ChgFnt()
+ * SwSubFont::ChgFnt()
*************************************************************************/
BOOL SwSubFont::ChgFnt( ViewShell *pSh, OutputDevice& rOut )
@@ -641,7 +641,7 @@ BOOL SwSubFont::ChgFnt( ViewShell *pSh, OutputDevice& rOut )
}
/*************************************************************************
- * SwFont::ChgPhysFnt()
+ * SwFont::ChgPhysFnt()
*************************************************************************/
void SwFont::ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut )
@@ -671,11 +671,11 @@ void SwFont::ChgPhysFnt( ViewShell *pSh, OutputDevice& rOut )
}
/*************************************************************************
- * SwFont::CalcEscHeight()
+ * SwFont::CalcEscHeight()
* Height = MaxAscent + MaxDescent
* MaxAscent = Max (T1_ascent, T2_ascent + (Esc * T1_height) );
* MaxDescent = Max (T1_height-T1_ascent,
- * T2_height-T2_ascent - (Esc * T1_height)
+ * T2_height-T2_ascent - (Esc * T1_height)
*************************************************************************/
USHORT SwSubFont::CalcEscHeight( const USHORT nOldHeight,
@@ -717,7 +717,7 @@ USHORT SwSubFont::GetAscent( ViewShell *pSh, const OutputDevice& rOut )
}
/*************************************************************************
- * SwSubFont::GetHeight()
+ * SwSubFont::GetHeight()
*************************************************************************/
USHORT SwSubFont::GetHeight( ViewShell *pSh, const OutputDevice& rOut )
@@ -734,7 +734,7 @@ USHORT SwSubFont::GetHeight( ViewShell *pSh, const OutputDevice& rOut )
}
/*************************************************************************
- * SwSubFont::_GetTxtSize()
+ * SwSubFont::_GetTxtSize()
*************************************************************************/
Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
{
@@ -836,7 +836,7 @@ Size SwSubFont::_GetTxtSize( SwDrawTextInfo& rInf )
}
/*************************************************************************
- * SwSubFont::_DrawText()
+ * SwSubFont::_DrawText()
*************************************************************************/
void SwSubFont::_DrawText( SwDrawTextInfo &rInf, const BOOL bGrey )
@@ -1054,7 +1054,7 @@ static sal_Char __READONLY_DATA sDoubleSpace[] = " ";
}
/*************************************************************************
- * SwSubFont::_GetCrsrOfst()
+ * SwSubFont::_GetCrsrOfst()
*************************************************************************/
xub_StrLen SwSubFont::_GetCrsrOfst( SwDrawTextInfo& rInf )
diff --git a/sw/source/core/txtnode/thints.cxx b/sw/source/core/txtnode/thints.cxx
index a04fd4ea2404..f2961715466a 100644
--- a/sw/source/core/txtnode/thints.cxx
+++ b/sw/source/core/txtnode/thints.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -71,7 +71,7 @@
#include <pam.hxx>
#include <ndtxt.hxx>
#include <txtfrm.hxx>
-#include <rolbck.hxx> // fuer SwRegHistory
+#include <rolbck.hxx> // fuer SwRegHistory
#include <ddefld.hxx>
#include <docufld.hxx>
#include <expfld.hxx>
@@ -962,7 +962,7 @@ void SwpHints::BuildPortions( SwTxtNode& rNode, SwTxtAttr& rNewHint,
}
/*************************************************************************
- * SwTxtNode::MakeTxtAttr()
+ * SwTxtNode::MakeTxtAttr()
*************************************************************************/
SwTxtAttr* MakeRedlineTxtAttr( SwDoc & rDoc, SfxPoolItem & rAttr )
@@ -1116,7 +1116,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
// siehe auch die Anmerkung "Loeschen von Formaten
// zeichengebundener Frames" in fesh.cxx, SwFEShell::DelFmt()
SwFrmFmt* pFmt = pAttr->GetFlyCnt().GetFrmFmt();
- if( pFmt ) // vom Undo auf 0 gesetzt ??
+ if( pFmt ) // vom Undo auf 0 gesetzt ??
pDoc->DelLayoutFmt( (SwFlyFrmFmt*)pFmt );
}
break;
@@ -1201,7 +1201,7 @@ void SwTxtNode::DestroyAttr( SwTxtAttr* pAttr )
}
/*************************************************************************
- * SwTxtNode::Insert()
+ * SwTxtNode::Insert()
*************************************************************************/
SwTxtAttr*
@@ -1589,7 +1589,7 @@ void SwTxtNode::DeleteAttributes( const USHORT nWhich,
SwUpdateAttr aHint( nStart, *pEndIdx, nWhich );
m_pSwpHints->DeleteAtPos( nPos ); // gefunden, loeschen,
SwTxtAttr::Destroy( pTxtHt, GetDoc()->GetAttrPool() );
- SwModify::Modify( 0, &aHint ); // die Frames benachrichtigen
+ SwModify::Modify( 0, &aHint ); // die Frames benachrichtigen
}
}
}
@@ -1597,7 +1597,7 @@ void SwTxtNode::DeleteAttributes( const USHORT nWhich,
}
/*************************************************************************
- * SwTxtNode::DelSoftHyph()
+ * SwTxtNode::DelSoftHyph()
*************************************************************************/
void SwTxtNode::DelSoftHyph( const xub_StrLen nStt, const xub_StrLen nEnd )
@@ -1795,10 +1795,10 @@ void lcl_MergeAttr_ExpandChrFmt( SfxItemSet& rSet, const SfxPoolItem& rAttr )
/* wenn mehrere Attribute ueberlappen gewinnt der letze !!
z.B
1234567890123456789
- |------------| Font1
- |------| Font2
+ |------------| Font1
+ |------| Font2
^ ^
- |--| Abfragebereich: -> Gueltig ist Font2
+ |--| Abfragebereich: -> Gueltig ist Font2
*/
rSet.Put( rAttr );
}
@@ -1843,14 +1843,14 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
/* stelle erstmal fest, welche Text-Attribut in dem Bereich gueltig
* sind. Dabei gibt es folgende Faelle:
- * UnEindeutig wenn: (wenn != Format-Attribut)
- * - das Attribut liegt vollstaendig im Bereich
- * - das Attributende liegt im Bereich
- * - der Attributanfang liegt im Bereich:
+ * UnEindeutig wenn: (wenn != Format-Attribut)
+ * - das Attribut liegt vollstaendig im Bereich
+ * - das Attributende liegt im Bereich
+ * - der Attributanfang liegt im Bereich:
* Eindeutig (im Set mergen):
- * - das Attrib umfasst den Bereich
+ * - das Attrib umfasst den Bereich
* nichts tun:
- * das Attribut liegt ausserhalb des Bereiches
+ * das Attribut liegt ausserhalb des Bereiches
*/
void (*fnMergeAttr)( SfxItemSet&, const SfxPoolItem& )
@@ -1878,7 +1878,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
const SwTxtAttr* pHt = (*m_pSwpHints)[n];
const xub_StrLen nAttrStart = *pHt->GetStart();
- if( nAttrStart > nEnd ) // ueber den Bereich hinaus
+ if( nAttrStart > nEnd ) // ueber den Bereich hinaus
break;
const xub_StrLen* pAttrEnd = pHt->GetEnd();
@@ -1893,7 +1893,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
(*fnMergeAttr)( rSet, pHt->GetAttr() );
}
}
- else // es ist ein Bereich definiert
+ else // es ist ein Bereich definiert
{
// --> FME 2007-03-13 #i75299#
::std::auto_ptr< std::vector< SwPoolItemEndPair > > pAttrArr;
@@ -1906,7 +1906,7 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
{
const SwTxtAttr* pHt = (*m_pSwpHints)[n];
const xub_StrLen nAttrStart = *pHt->GetStart();
- if( nAttrStart > nEnd ) // ueber den Bereich hinaus
+ if( nAttrStart > nEnd ) // ueber den Bereich hinaus
break;
const xub_StrLen* pAttrEnd = pHt->GetEnd();
@@ -1919,15 +1919,15 @@ BOOL SwTxtNode::GetAttr( SfxItemSet& rSet, xub_StrLen nStt, xub_StrLen nEnd,
if( *pAttrEnd <= nStt ) // liegt davor
continue;
- if( nEnd <= *pAttrEnd ) // hinter oder genau Ende
+ if( nEnd <= *pAttrEnd ) // hinter oder genau Ende
(*fnMergeAttr)( aFmtSet, pHt->GetAttr() );
else
-// else if( pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
+// else if( pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
// uneindeutig
bChkInvalid = TRUE;
}
- else if( nAttrStart < nEnd // reicht in den Bereich
-)// && pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
+ else if( nAttrStart < nEnd // reicht in den Bereich
+)// && pHt->GetAttr() != aFmtSet.Get( pHt->Which() ) )
bChkInvalid = TRUE;
if( bChkInvalid )
@@ -2352,7 +2352,7 @@ void SwTxtNode::FmtToTxtAttr( SwTxtNode* pNd )
}
/*************************************************************************
- * SwpHints::CalcFlags()
+ * SwpHints::CalcFlags()
*************************************************************************/
void SwpHints::CalcFlags()
@@ -2385,7 +2385,7 @@ void SwpHints::CalcFlags()
}
/*************************************************************************
- * SwpHints::CalcVisibleFlag()
+ * SwpHints::CalcVisibleFlag()
*************************************************************************/
bool SwpHints::CalcHiddenParaField()
@@ -2393,7 +2393,7 @@ bool SwpHints::CalcHiddenParaField()
m_bCalcHiddenParaField = false;
bool bOldHasHiddenParaField = m_bHasHiddenParaField;
bool bNewHasHiddenParaField = false;
- const USHORT nSize = Count();
+ const USHORT nSize = Count();
const SwTxtAttr *pTxtHt;
for( USHORT nPos = 0; nPos < nSize; ++nPos )
@@ -2424,7 +2424,7 @@ bool SwpHints::CalcHiddenParaField()
/*************************************************************************
- * SwpHints::NoteInHistory()
+ * SwpHints::NoteInHistory()
*************************************************************************/
void SwpHints::NoteInHistory( SwTxtAttr *pAttr, const bool bNew )
@@ -2580,7 +2580,7 @@ void lcl_CheckSortNumber( const SwpHints& rHints, SwTxtCharFmt& rNewCharFmt )
}
/*************************************************************************
- * SwpHints::Insert()
+ * SwpHints::Insert()
*************************************************************************/
/*
@@ -2602,7 +2602,7 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
// Felder bilden eine Ausnahme:
// 1) Sie koennen nie ueberlappen
// 2) Wenn zwei Felder genau aneinander liegen,
- // sollen sie nicht zu einem verschmolzen werden.
+ // sollen sie nicht zu einem verschmolzen werden.
// Wir koennen also auf die while-Schleife verzichten
xub_StrLen *pHtEnd = pHint->GetEnd();
@@ -2735,12 +2735,12 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
switch( eCmp )
{
case POS_BEFORE:
- case POS_BEHIND: bDelOld = FALSE; break;
+ case POS_BEHIND: bDelOld = FALSE; break;
- case POS_OUTSIDE: bChgStart = bChgEnd = TRUE; break;
+ case POS_OUTSIDE: bChgStart = bChgEnd = TRUE; break;
case POS_COLLIDE_END:
- case POS_OVERLAP_BEFORE: bChgStart = TRUE; break;
+ case POS_OVERLAP_BEFORE: bChgStart = TRUE; break;
case POS_COLLIDE_START:
case POS_OVERLAP_BEHIND: bChgEnd = TRUE; break;
default: break;
@@ -2893,7 +2893,7 @@ bool SwpHints::TryInsertHint( SwTxtAttr* const pHint, SwTxtNode &rNode,
}
/*************************************************************************
- * SwpHints::DeleteAtPos()
+ * SwpHints::DeleteAtPos()
*************************************************************************/
void SwpHints::DeleteAtPos( const USHORT nPos )
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index ae370d5afe42..50396024549c 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/txtnode/txatritr.cxx b/sw/source/core/txtnode/txatritr.cxx
index 9122b2d42e08..e59b4a05f1b9 100644
--- a/sw/source/core/txtnode/txatritr.cxx
+++ b/sw/source/core/txtnode/txatritr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ void SwTxtAttrIterator::SearchNextChg()
{
aSIter.Next();
pParaItem = 0;
- nAttrPos = 0; // must be restart at the beginning, because
+ nAttrPos = 0; // must be restart at the beginning, because
// some attributes can start before or inside
// the current scripttype!
aStack.Remove( 0, aStack.Count() );
diff --git a/sw/source/core/txtnode/txtatr2.cxx b/sw/source/core/txtnode/txtatr2.cxx
index 0e4434679d7b..de3a16425560 100644
--- a/sw/source/core/txtnode/txtatr2.cxx
+++ b/sw/source/core/txtnode/txtatr2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <fmtinfmt.hxx>
#include <charfmt.hxx>
#include <ndtxt.hxx> // SwCharFmt, SwTxtNode
-#include <poolfmt.hxx> // RES_POOLCHR_INET_...
-#include <doc.hxx> // SwDoc
+#include <poolfmt.hxx> // RES_POOLCHR_INET_...
+#include <doc.hxx> // SwDoc
#include <fmtruby.hxx>
#include <fmtmeta.hxx>
@@ -51,7 +51,7 @@ TYPEINIT1(SwTxtRuby,SwClient);
/*************************************************************************
- * class SwTxtCharFmt
+ * class SwTxtCharFmt
*************************************************************************/
SwTxtCharFmt::SwTxtCharFmt( SwFmtCharFmt& rAttr,
@@ -118,7 +118,7 @@ SwTxtAttrNesting::~SwTxtAttrNesting()
/*************************************************************************
- * class SwTxtINetFmt
+ * class SwTxtINetFmt
*************************************************************************/
SwTxtINetFmt::SwTxtINetFmt( SwFmtINetFmt& rAttr,
@@ -159,7 +159,7 @@ SwCharFmt* SwTxtINetFmt::GetCharFmt()
nId = static_cast<USHORT>(IsVisited() ? RES_POOLCHR_INET_VISIT : RES_POOLCHR_INET_NORMAL);
// JP 10.02.2000, Bug 72806: dont modify the doc for getting the
- // correct charstyle.
+ // correct charstyle.
BOOL bResetMod = !pDoc->IsModified();
Link aOle2Lnk;
if( bResetMod )
@@ -220,7 +220,7 @@ BOOL SwTxtINetFmt::IsProtect( ) const
}
/*************************************************************************
- * class SwTxtRuby
+ * class SwTxtRuby
*************************************************************************/
SwTxtRuby::SwTxtRuby( SwFmtRuby& rAttr,
@@ -276,7 +276,7 @@ SwCharFmt* SwTxtRuby::GetCharFmt()
nId = rFmt.GetCharFmtId();
// JP 10.02.2000, Bug 72806: dont modify the doc for getting the
- // correct charstyle.
+ // correct charstyle.
BOOL bResetMod = !pDoc->IsModified();
Link aOle2Lnk;
if( bResetMod )
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 8ba83e61ddf5..cc03200ad775 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -32,9 +32,9 @@
// So kann man die Linguistik-Statistik ( (Tmp-Path)\swlingu.stk ) aktivieren:
//#define LINGU_STATISTIK
#ifdef LINGU_STATISTIK
- #include <stdio.h> // in SwLinguStatistik::DTOR
- #include <stdlib.h> // getenv()
- #include <time.h> // clock()
+ #include <stdio.h> // in SwLinguStatistik::DTOR
+ #include <stdlib.h> // getenv()
+ #include <time.h> // clock()
#include <tools/stream.hxx>
#endif
@@ -55,7 +55,7 @@
#include <splargs.hxx>
#include <viewopt.hxx>
#include <acmplwrd.hxx>
-#include <doc.hxx> // GetDoc()
+#include <doc.hxx> // GetDoc()
#include <docsh.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
@@ -73,8 +73,8 @@
#include <crstate.hxx>
#include <undobj.hxx>
#include <txatritr.hxx>
-#include <redline.hxx> // SwRedline
-#include <docary.hxx> // SwRedlineTbl
+#include <redline.hxx> // SwRedline
+#include <docary.hxx> // SwRedlineTbl
#include <scriptinfo.hxx>
#include <docstat.hxx>
#include <editsh.hxx>
@@ -410,7 +410,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
xub_StrLen nAttrStart;
SwTxtAttr *pHt;
- BOOL bChanged = FALSE;
+ BOOL bChanged = FALSE;
// nMin and nMax initialized to maximum / minimum (inverse)
xub_StrLen nMin = m_Text.Len();
@@ -493,7 +493,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
// Falls wir nur ein nichtaufgespanntes Attribut entfernen,
// tun wir mal so, als ob sich nichts geaendert hat.
bChanged = bChanged || nEnd > nAttrStart || bNoLen;
- if( *pAttrEnd <= nEnd ) // Fall: 1
+ if( *pAttrEnd <= nEnd ) // Fall: 1
{
const xub_StrLen nAttrEnd = *pAttrEnd;
@@ -522,7 +522,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
continue;
}
- else // Fall: 3
+ else // Fall: 3
{
m_pSwpHints->NoteInHistory( pHt );
*pHt->GetStart() = nEnd;
@@ -539,10 +539,10 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
}
}
}
- else // Faelle: 2,4,5
+ else // Faelle: 2,4,5
if( *pAttrEnd > nStt ) // Faelle: 2,4
{
- if( *pAttrEnd < nEnd ) // Fall: 2
+ if( *pAttrEnd < nEnd ) // Fall: 2
{
if ( nMin > nAttrStart )
nMin = nAttrStart;
@@ -563,8 +563,8 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
InsertHint( pNew, nsSetAttrMode::SETATTR_NOHINTADJUST );
}
}
- else if( nLen ) // Fall: 4
- { // bei Lange 0 werden beide Hints vom Insert(Ht)
+ else if( nLen ) // Fall: 4
+ { // bei Lange 0 werden beide Hints vom Insert(Ht)
// wieder zu einem zusammengezogen !!!!
if ( nMin > nAttrStart )
nMin = nAttrStart;
@@ -622,7 +622,7 @@ void SwTxtNode::RstAttr(const SwIndex &rIdx, xub_StrLen nLen, USHORT nWhich,
}
/*************************************************************************
- * SwTxtNode::GetCurWord()
+ * SwTxtNode::GetCurWord()
*
* Aktuelles Wort zurueckliefern:
* Wir suchen immer von links nach rechts, es wird also das Wort
@@ -1058,7 +1058,7 @@ USHORT SwTxtNode::Convert( SwConversionArgs &rArgs )
}
nBegin = nChPos; // start of next language portion
}
- } while (!bFound && aIter.Next()); /* loop while nothing was found and still sth is left to be searched */
+ } while (!bFound && aIter.Next()); /* loop while nothing was found and still sth is left to be searched */
}
// keep resulting text within selection / range of text to be converted
@@ -1448,7 +1448,7 @@ void SwTxtFrm::CollectAutoCmplWrds( SwCntntNode* pActNode, xub_StrLen nActPos )
}
/*************************************************************************
- * SwTxtNode::Hyphenate
+ * SwTxtNode::Hyphenate
*************************************************************************/
// Findet den TxtFrm und sucht dessen CalcHyph
diff --git a/sw/source/core/undo/SwRewriter.cxx b/sw/source/core/undo/SwRewriter.cxx
index f26b663e7de8..9db43b4ee85b 100644
--- a/sw/source/core/undo/SwRewriter.cxx
+++ b/sw/source/core/undo/SwRewriter.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/SwUndoField.cxx b/sw/source/core/undo/SwUndoField.cxx
index 24607494d7de..7bb38c30d814 100644
--- a/sw/source/core/undo/SwUndoField.cxx
+++ b/sw/source/core/undo/SwUndoField.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/SwUndoFmt.cxx b/sw/source/core/undo/SwUndoFmt.cxx
index f054abe32e71..d123f7514b28 100644
--- a/sw/source/core/undo/SwUndoFmt.cxx
+++ b/sw/source/core/undo/SwUndoFmt.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/SwUndoPageDesc.cxx b/sw/source/core/undo/SwUndoPageDesc.cxx
index bb80176b7e6f..893cb248bf7a 100644
--- a/sw/source/core/undo/SwUndoPageDesc.cxx
+++ b/sw/source/core/undo/SwUndoPageDesc.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/SwUndoTOXChange.cxx b/sw/source/core/undo/SwUndoTOXChange.cxx
index f4f55422e809..a6d56fce5ad0 100644
--- a/sw/source/core/undo/SwUndoTOXChange.cxx
+++ b/sw/source/core/undo/SwUndoTOXChange.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ void SwUndoTOXChange::UpdateTOXBaseSection()
if (pTOX->ISA(SwTOXBaseSection))
{
SwTOXBaseSection * pTOXBase = static_cast<SwTOXBaseSection *>(pTOX);
-
+
pTOXBase->Update();
pTOXBase->UpdatePageNum();
}
diff --git a/sw/source/core/undo/docundo.cxx b/sw/source/core/undo/docundo.cxx
index 79f0ac2adfc9..ec1c0e68750f 100644
--- a/sw/source/core/undo/docundo.cxx
+++ b/sw/source/core/undo/docundo.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@
#include <doc.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <undobj.hxx>
#include <rolbck.hxx>
#include <docary.hxx>
@@ -45,7 +45,7 @@
using namespace ::com::sun::star;
-USHORT SwDoc::nUndoActions = UNDO_ACTION_COUNT; // anzahl von Undo-Action
+USHORT SwDoc::nUndoActions = UNDO_ACTION_COUNT; // anzahl von Undo-Action
// the undo array should never grow beyond this limit:
#define UNDO_ACTION_LIMIT (USHRT_MAX - 1000)
@@ -161,10 +161,10 @@ void SwDoc::AppendUndo( SwUndo* pUndo )
++nUndoPos;
switch( pUndo->GetId() )
{
- case UNDO_START: ++nUndoSttEnd;
+ case UNDO_START: ++nUndoSttEnd;
break;
- case UNDO_END: OSL_ENSURE( nUndoSttEnd, "Undo-Ende ohne Start" );
+ case UNDO_END: OSL_ENSURE( nUndoSttEnd, "Undo-Ende ohne Start" );
--nUndoSttEnd;
// kein break !!!
default:
@@ -191,9 +191,9 @@ void SwDoc::AppendUndo( SwUndo* pUndo )
return;
// folgende Array-Grenzen muessen ueberwacht werden:
- // - Undo, Grenze: fester Wert oder USHRT_MAX - 1000
- // - UndoNodes, Grenze: USHRT_MAX - 1000
- // - AttrHistory Grenze: USHRT_MAX - 1000
+ // - Undo, Grenze: fester Wert oder USHRT_MAX - 1000
+ // - UndoNodes, Grenze: USHRT_MAX - 1000
+ // - AttrHistory Grenze: USHRT_MAX - 1000
// (defined in UNDO_ACTION_LIMIT at the top of this file)
USHORT nEnde = UNDO_ACTION_LIMIT;
@@ -237,7 +237,7 @@ void SwDoc::ClearRedo()
{
if( DoesUndo() && nUndoPos != pUndos->Count() )
{
-//?? why ?? if( !nUndoSttEnd )
+//?? why ?? if( !nUndoSttEnd )
{
// setze UndoCnt auf den neuen Wert
SwUndo* pUndo;
@@ -285,11 +285,11 @@ void SwDoc::DelAllUndoObj()
// loescht alle UndoObjecte vom Anfang bis zum angegebenen Ende
BOOL SwDoc::DelUndoObj( USHORT nEnde )
{
- if( !nEnde ) // sollte mal 0 uebergeben werden,
+ if( !nEnde ) // sollte mal 0 uebergeben werden,
{
if( !pUndos->Count() )
return FALSE;
- ++nEnde; // dann korrigiere es auf 1
+ ++nEnde; // dann korrigiere es auf 1
}
DoUndo( FALSE );
@@ -313,8 +313,8 @@ BOOL SwDoc::DelUndoObj( USHORT nEnde )
"Undo-Del-Ende liegt in einer Redo-Aktion" );
// dann setze ab Ende bis Undo-Ende bei allen Undo-Objecte die Werte um
- nSttEndCnt = nCnt; // Position merken
- if( nUndoSavePos < nSttEndCnt ) // SavePos wird aufgegeben
+ nSttEndCnt = nCnt; // Position merken
+ if( nUndoSavePos < nSttEndCnt ) // SavePos wird aufgegeben
nUndoSavePos = USHRT_MAX;
else if( nUndoSavePos != USHRT_MAX )
nUndoSavePos = nUndoSavePos - nSttEndCnt;
@@ -387,7 +387,7 @@ bool SwDoc::Undo( SwUndoIter& rUndoIter )
// zum spaeteren ueberpruefen
SwUndoId nAktId = pUndo->GetId();
//JP 11.05.98: FlyFormate ueber die EditShell selektieren, nicht aus dem
- // Undo heraus
+ // Undo heraus
switch( nAktId )
{
case UNDO_START:
@@ -416,10 +416,10 @@ bool SwDoc::Undo( SwUndoIter& rUndoIter )
--nUndoPos;
// JP 29.10.96: Start und End setzen kein Modify-Flag.
- // Sonst gibt es Probleme mit der autom. Aufnahme von Ausnahmen
- // bei der Autokorrektur
+ // Sonst gibt es Probleme mit der autom. Aufnahme von Ausnahmen
+ // bei der Autokorrektur
if( UNDO_START != nAktId && UNDO_END != nAktId )
- SetModified(); // default: immer setzen, kann zurueck gesetzt werden
+ SetModified(); // default: immer setzen, kann zurueck gesetzt werden
// ist die History leer und wurde nicht wegen Speichermangel
// verworfen, so kann das Dokument als unveraendert gelten
@@ -489,7 +489,7 @@ SwUndoId SwDoc::EndUndo(SwUndoId eUndoId, const SwRewriter * pRewriter)
while( nSize )
if( UNDO_START == ( nId = (pUndo = (*pUndos)[ --nSize ] )->GetId()) &&
!((SwUndoStart*)pUndo)->GetEndOffset() )
- break; // Start gefunden
+ break; // Start gefunden
if( nId != UNDO_START )
{
@@ -558,7 +558,7 @@ SwUndoId SwDoc::EndUndo(SwUndoId eUndoId, const SwRewriter * pRewriter)
if( !nEndCnt ) // falls mal ein Start ohne Ende vorhanden ist
continue;
--nEndCnt;
- if( !nEndCnt ) // hier ist der Anfang
+ if( !nEndCnt ) // hier ist der Anfang
break;
}
else if( UNDO_END == nTmpId )
@@ -826,7 +826,7 @@ bool SwDoc::Redo( SwUndoIter& rUndoIter )
SetRedlineMode_intern( (RedlineMode_t)(eTmpMode | nsRedlineMode_t::REDLINE_IGNORE));
//JP 11.05.98: FlyFormate ueber die EditShell selektieren, nicht aus dem
- // Undo heraus
+ // Undo heraus
if( UNDO_START != pUndo->GetId() && UNDO_END != pUndo->GetId() )
rUndoIter.ClearSelections();
@@ -936,7 +936,7 @@ bool SwDoc::Repeat( SwUndoIter& rUndoIter, sal_uInt16 nRepeatCnt )
SwPaM* pTmpCrsr = rUndoIter.pAktPam;
SwUndoId nId = UNDO_EMPTY;
- if( pTmpCrsr != pTmpCrsr->GetNext() || !bOneUndo ) // Undo-Klammerung aufbauen
+ if( pTmpCrsr != pTmpCrsr->GetNext() || !bOneUndo ) // Undo-Klammerung aufbauen
{
if (pUndo->GetId() == UNDO_END)
{
@@ -948,12 +948,12 @@ bool SwDoc::Repeat( SwUndoIter& rUndoIter, sal_uInt16 nRepeatCnt )
StartUndo( nId, NULL );
}
- do { // dann durchlaufe mal den gesamten Ring
+ do { // dann durchlaufe mal den gesamten Ring
for( USHORT nRptCnt = nRepeatCnt; nRptCnt > 0; --nRptCnt )
{
rUndoIter.pLastUndoObj = 0;
for( USHORT nCnt = nSize; nCnt < nEndCnt; ++nCnt )
- (*pUndos)[ nCnt ]->Repeat( rUndoIter ); // Repeat ausfuehren
+ (*pUndos)[ nCnt ]->Repeat( rUndoIter ); // Repeat ausfuehren
}
} while( pTmpCrsr !=
( rUndoIter.pAktPam = (SwPaM*)rUndoIter.pAktPam->GetNext() ));
diff --git a/sw/source/core/undo/rolbck.cxx b/sw/source/core/undo/rolbck.cxx
index 43418fb58a98..4214c1c22abb 100644
--- a/sw/source/core/undo/rolbck.cxx
+++ b/sw/source/core/undo/rolbck.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <ftnidx.hxx>
#include <doc.hxx> // SwDoc.GetNodes()
#include <docary.hxx>
-#include <ndtxt.hxx> // SwTxtNode
-#include <paratr.hxx> //
-#include <cellatr.hxx> //
-#include <fldbas.hxx> // fuer Felder
-#include <pam.hxx> // fuer SwPaM
+#include <ndtxt.hxx> // SwTxtNode
+#include <paratr.hxx> //
+#include <cellatr.hxx> //
+#include <fldbas.hxx> // fuer Felder
+#include <pam.hxx> // fuer SwPaM
#include <swtable.hxx>
#include <rolbck.hxx>
-#include <ndgrf.hxx> // SwGrfNode
-#include <undobj.hxx> // fuer UndoDelete
-#include <IMark.hxx> // fuer SwBookmark
+#include <ndgrf.hxx> // SwGrfNode
+#include <undobj.hxx> // fuer UndoDelete
+#include <IMark.hxx> // fuer SwBookmark
#include <charfmt.hxx> // #i27615#
#include <comcore.hrc>
#include <tools/resid.hxx>
@@ -747,8 +747,8 @@ SwHistorySetAttrSet::SwHistorySetAttrSet( const SfxItemSet& rSet,
case RES_BOXATR_FORMULA:
{
//JP 20.04.98: Bug 49502 - wenn eine Formel gesetzt ist, nie den
- // Value mit sichern. Der muss gegebenfalls neu
- // errechnet werden!
+ // Value mit sichern. Der muss gegebenfalls neu
+ // errechnet werden!
//JP 30.07.98: Bug 54295 - Formeln immer im Klartext speichern
m_OldSet.ClearItem( RES_BOXATR_VALUE );
@@ -1039,7 +1039,7 @@ SwHistory::~SwHistory()
|*
|* void SwHistory::Add()
|*
-|* Beschreibung Dokument 1.0
+|* Beschreibung Dokument 1.0
|* Ersterstellung JP 18.02.91
|* Letzte Aenderung JP 18.02.91
|*
@@ -1195,7 +1195,7 @@ void SwHistory::Add(const SfxItemSet & rSet, const SwCharFmt & rFmt)
|*
|* BOOL SwHistory::Rollback()
|*
-|* Beschreibung Dokument 1.0
+|* Beschreibung Dokument 1.0
|* Ersterstellung JP 18.02.91
|* Letzte Aenderung JP 18.02.91
|*
@@ -1314,7 +1314,7 @@ void SwHistory::CopyAttr( SwpHints* pHts, ULONG nNodeIdx,
pHt = pHts->GetTextHint(n);
nAttrStt = *pHt->GetStart();
// JP: ???? wieso nAttrStt >= nEnd
-// if( 0 != ( pEndIdx = pHt->GetEnd() ) && nAttrStt >= nEnd )
+// if( 0 != ( pEndIdx = pHt->GetEnd() ) && nAttrStt >= nEnd )
if( 0 != ( pEndIdx = pHt->GetEnd() ) && nAttrStt > nEnd )
break;
@@ -1341,7 +1341,7 @@ void SwHistory::CopyAttr( SwpHints* pHts, ULONG nNodeIdx,
{
if ( nEnd > nAttrStt
// JP: ???? wieso nAttrStt >= nEnd
-// || (nEnd == nAttrStt && (!pEndIdx || nEnd == pEndIdx->GetIndex()))
+// || (nEnd == nAttrStt && (!pEndIdx || nEnd == pEndIdx->GetIndex()))
)
{
Add( pHt, nNodeIdx, false );
diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx
index 01bd9f37256c..959fbbfb2748 100644
--- a/sw/source/core/undo/unattr.cxx
+++ b/sw/source/core/undo/unattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <ftnidx.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <swtable.hxx>
@@ -378,8 +378,8 @@ void SwUndoFmtAttr::Repeat( SwUndoIter& rUndoIter)
}
break;
-// case RES_CHRFMT:
-// case RES_FRMFMT:
+// case RES_CHRFMT:
+// case RES_FRMFMT:
case RES_FLYFRMFMT:
{
@@ -444,12 +444,12 @@ void SwUndoFmtAttr::SaveFlyAnchor( bool bSvDrwPt )
// store old value as attribute, to keep SwUndoFmtAttr small
m_pOldSet->Put( SwFmtFrmSize( ATT_VAR_SIZE, aPt.X(), aPt.Y() ) );
}
-/* else
+/* else
{
pOldSet->Put( pFmt->GetVertOrient() );
pOldSet->Put( pFmt->GetHoriOrient() );
}
-*/ }
+*/ }
const SwFmtAnchor& rAnchor =
static_cast<const SwFmtAnchor&>( m_pOldSet->Get( RES_ANCHOR, FALSE ) );
@@ -535,7 +535,7 @@ bool SwUndoFmtAttr::RestoreFlyAnchor( SwUndoIter& rIter )
// den akt. wieder zwischenspeichern
aDrawOldPt = pFrmFmt->FindSdrObject()->GetRelativePos();
//JP 08.10.97: ist laut AMA/MA nicht mehr noetig
-// pCont->DisconnectFromLayout();
+// pCont->DisconnectFromLayout();
}
else
{
@@ -595,7 +595,7 @@ bool SwUndoFmtAttr::RestoreFlyAnchor( SwUndoIter& rIter )
// Darum verhinder hier, das durch setzen des Ankers das
// Contact-Object seine Position aendert.
//JP 08.10.97: ist laut AMA/MA nicht mehr noetig
-// pCont->ConnectToLayout();
+// pCont->ConnectToLayout();
SdrObject* pObj = pCont->GetMaster();
if( pCont->GetAnchorFrm() && !pObj->IsInserted() )
diff --git a/sw/source/core/undo/unbkmk.cxx b/sw/source/core/undo/unbkmk.cxx
index 8382444d6a5f..817f5d242ac5 100644
--- a/sw/source/core/undo/unbkmk.cxx
+++ b/sw/source/core/undo/unbkmk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "doc.hxx"
#include "docary.hxx"
-#include "swundo.hxx" // fuer die UndoIds
+#include "swundo.hxx" // fuer die UndoIds
#include "pam.hxx"
#include "undobj.hxx"
@@ -87,7 +87,7 @@ SwRewriter SwUndoBookmark::GetRewriter() const
return aResult;
}
-//----------------------------------------------------------------------
+//----------------------------------------------------------------------
SwUndoInsBookmark::SwUndoInsBookmark( const ::sw::mark::IMark& rBkmk )
diff --git a/sw/source/core/undo/undel.cxx b/sw/source/core/undo/undel.cxx
index c8ab7076b826..480d9243f8b3 100644
--- a/sw/source/core/undo/undel.cxx
+++ b/sw/source/core/undo/undel.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <fmtanchr.hxx>
#include <doc.hxx>
#include <swtable.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -179,7 +179,7 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, BOOL bFullPara, BOOL bCalledByTblCpy )
pHistory->Add( pSttTxtNd->GetTxtColl(),pStt->nNode.GetIndex(), ND_TEXTNODE );
pHistory->Add( pEndTxtNd->GetTxtColl(),pEnd->nNode.GetIndex(), ND_TEXTNODE );
- if( !bJoinNext ) // Selection von Unten nach Oben
+ if( !bJoinNext ) // Selection von Unten nach Oben
{
// Beim JoinPrev() werden die AUTO-PageBreak's richtig
// kopiert. Um diese beim Undo wieder herzustellen, muss das
@@ -207,14 +207,14 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, BOOL bFullPara, BOOL bCalledByTblCpy )
if( !pSttTxtNd && !pEndTxtNd )
rPam.GetPoint()->nNode--;
- rPam.DeleteMark(); // der SPoint ist aus dem Bereich
+ rPam.DeleteMark(); // der SPoint ist aus dem Bereich
if( !pEndTxtNd )
nEndCntnt = 0;
if( !pSttTxtNd )
nSttCntnt = 0;
- if( bMoveNds ) // sind noch Nodes zu verschieben ?
+ if( bMoveNds ) // sind noch Nodes zu verschieben ?
{
SwNodes& rNds = (SwNodes&)*pDoc->GetUndoNds();
SwNodes& rDocNds = pDoc->GetNodes();
@@ -302,7 +302,7 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, BOOL bFullPara, BOOL bCalledByTblCpy )
nNode = rNds.GetEndOfContent().GetIndex();
rDocNds._MoveNodes( aRg, rNds, SwNodeIndex( rNds.GetEndOfContent() ));
pMvStt = new SwNodeIndex( rNds, nNode );
- nNode = rNds.GetEndOfContent().GetIndex() - nNode; // Differenz merken !
+ nNode = rNds.GetEndOfContent().GetIndex() - nNode; // Differenz merken !
if( pSttTxtNd && pEndTxtNd )
{
//Step 4: Moving around sections
@@ -329,7 +329,7 @@ SwUndoDelete::SwUndoDelete( SwPaM& rPam, BOOL bFullPara, BOOL bCalledByTblCpy )
bJoinNext ? pEndTxtNd->GetIndex() : pSttTxtNd->GetIndex() );
}
else
- nNode = 0; // kein Node verschoben -> keine Differenz zum Ende
+ nNode = 0; // kein Node verschoben -> keine Differenz zum Ende
// wurden davor noch Nodes geloescht ?? (FootNotes haben ContentNodes!)
if( !pSttTxtNd && !pEndTxtNd )
@@ -521,7 +521,7 @@ SwUndoDelete::~SwUndoDelete()
{
delete pSttStr;
delete pEndStr;
- if( pMvStt ) // loesche noch den Bereich aus dem UndoNodes Array
+ if( pMvStt ) // loesche noch den Bereich aus dem UndoNodes Array
{
// Insert speichert den Inhalt in der IconSection
pMvStt->GetNode().GetNodes().Delete( *pMvStt, nNode );
@@ -658,7 +658,7 @@ void SwUndoDelete::Undo( SwUndoIter& rUndoIter )
SwNodeIndex aIdx( pDoc->GetNodes(), nCalcStt );
SwNode* pInsNd = &aIdx.GetNode();
- { // Block, damit der SwPosition beim loeschen vom Node
+ { // Block, damit der SwPosition beim loeschen vom Node
// abgemeldet ist
SwPosition aPos( aIdx );
if( !bDelFullPara )
@@ -676,11 +676,11 @@ void SwUndoDelete::Undo( SwUndoIter& rUndoIter )
if( pInsNd->IsCntntNode() )
aPos.nContent.Assign( (SwCntntNode*)pInsNd, nSttCntnt );
if( !bTblDelLastNd )
- pInsNd = 0; // Node nicht loeschen !!
+ pInsNd = 0; // Node nicht loeschen !!
}
}
else
- pInsNd = 0; // Node nicht loeschen !!
+ pInsNd = 0; // Node nicht loeschen !!
SwNodes* pUNds = (SwNodes*)pDoc->GetUndoNds();
BOOL bNodeMove = 0 != nNode;
@@ -801,7 +801,7 @@ void SwUndoDelete::Undo( SwUndoIter& rUndoIter )
pTxtNd->ClearSwpHintsArr( true );
// SectionNode-Modus und von oben nach unten selektiert:
- // -> im StartNode steht noch der Rest vom Join => loeschen
+ // -> im StartNode steht noch der Rest vom Join => loeschen
aPos.nContent.Assign( pTxtNd, nSttCntnt );
pTxtNd->InsertText( *pSttStr, aPos.nContent,
IDocumentContentOperations::INS_NOHINTEXPAND );
@@ -813,7 +813,7 @@ void SwUndoDelete::Undo( SwUndoIter& rUndoIter )
if( pHistory )
{
pHistory->TmpRollback( pDoc, nSetPos, false );
- if( nSetPos ) // es gab Fussnoten/FlyFrames
+ if( nSetPos ) // es gab Fussnoten/FlyFrames
{
// gibts ausser diesen noch andere ?
if( nSetPos < pHistory->Count() )
@@ -850,7 +850,7 @@ void SwUndoDelete::Undo( SwUndoIter& rUndoIter )
if( pRedlSaveData )
SetSaveData( *pDoc, *pRedlSaveData );
- pDoc->DoUndo( bUndo ); // Undo wieder einschalten
+ pDoc->DoUndo( bUndo ); // Undo wieder einschalten
SetPaM( rUndoIter, TRUE );
}
diff --git a/sw/source/core/undo/undo.hrc b/sw/source/core/undo/undo.hrc
index 8edccd344adf..707ff307be48 100644
--- a/sw/source/core/undo/undo.hrc
+++ b/sw/source/core/undo/undo.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
@@ -52,31 +52,31 @@
#define STR_INSERTSECTION (UNDO_BASE +19)
#define STR_OUTLINE_LR (UNDO_BASE +20)
#define STR_OUTLINE_UD (UNDO_BASE +21)
-#define STR_INSNUM (UNDO_BASE +22)
-#define STR_NUMUP (UNDO_BASE +23)
-#define STR_MOVENUM (UNDO_BASE +24)
-#define STR_INSERTDRAW (UNDO_BASE +25)
-#define STR_NUMORNONUM (UNDO_BASE +26)
-#define STR_INC_LEFTMARGIN (UNDO_BASE +27)
-#define STR_DEC_LEFTMARGIN (UNDO_BASE +28)
-#define STR_INSERTLABEL (UNDO_BASE +29)
-#define STR_SETNUMRULESTART (UNDO_BASE +30)
-#define STR_CHANGEFTN (UNDO_BASE +31)
-#define STR_REDLINE (UNDO_BASE +32)
-#define STR_ACCEPT_REDLINE (UNDO_BASE +33)
-#define STR_REJECT_REDLINE (UNDO_BASE +34)
-#define STR_SPLIT_TABLE (UNDO_BASE +35)
-#define STR_DONTEXPAND (UNDO_BASE +36)
-#define STR_AUTOCORRECT (UNDO_BASE +37)
-#define STR_MERGE_TABLE (UNDO_BASE +38)
-#define STR_TRANSLITERATE (UNDO_BASE +39)
+#define STR_INSNUM (UNDO_BASE +22)
+#define STR_NUMUP (UNDO_BASE +23)
+#define STR_MOVENUM (UNDO_BASE +24)
+#define STR_INSERTDRAW (UNDO_BASE +25)
+#define STR_NUMORNONUM (UNDO_BASE +26)
+#define STR_INC_LEFTMARGIN (UNDO_BASE +27)
+#define STR_DEC_LEFTMARGIN (UNDO_BASE +28)
+#define STR_INSERTLABEL (UNDO_BASE +29)
+#define STR_SETNUMRULESTART (UNDO_BASE +30)
+#define STR_CHANGEFTN (UNDO_BASE +31)
+#define STR_REDLINE (UNDO_BASE +32)
+#define STR_ACCEPT_REDLINE (UNDO_BASE +33)
+#define STR_REJECT_REDLINE (UNDO_BASE +34)
+#define STR_SPLIT_TABLE (UNDO_BASE +35)
+#define STR_DONTEXPAND (UNDO_BASE +36)
+#define STR_AUTOCORRECT (UNDO_BASE +37)
+#define STR_MERGE_TABLE (UNDO_BASE +38)
+#define STR_TRANSLITERATE (UNDO_BASE +39)
#define STR_PASTE_CLIPBOARD_UNDO (UNDO_BASE +40)
-#define STR_TYPING_UNDO (UNDO_BASE +41)
+#define STR_TYPING_UNDO (UNDO_BASE +41)
-#define STR_REPEAT_DUMMY_6 (UNDO_BASE +42)
-#define STR_REPEAT_DUMMY_7 (UNDO_BASE +43)
-#define STR_REPEAT_DUMMY_8 (UNDO_BASE +44)
-#define STR_REPEAT_DUMMY_9 (UNDO_BASE +45)
+#define STR_REPEAT_DUMMY_6 (UNDO_BASE +42)
+#define STR_REPEAT_DUMMY_7 (UNDO_BASE +43)
+#define STR_REPEAT_DUMMY_8 (UNDO_BASE +44)
+#define STR_REPEAT_DUMMY_9 (UNDO_BASE +45)
// !!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!!!!!!!! umsetzen !!!!
#define CORE_REPEAT_END STR_REPEAT_DUMMY_9// !!!! umsetzen !!!
@@ -99,10 +99,10 @@
#define STR_DRAWGROUP (CORE_REPEAT_END +15)
#define STR_DRAWUNGROUP (CORE_REPEAT_END +16)
#define STR_DRAWDELETE (CORE_REPEAT_END +17)
-#define STR_REREAD (CORE_REPEAT_END +18)
-#define STR_DELGRF (CORE_REPEAT_END +19)
-#define STR_DELOLE (CORE_REPEAT_END +20)
-#define STR_TABLE_ATTR (CORE_REPEAT_END +21)
+#define STR_REREAD (CORE_REPEAT_END +18)
+#define STR_DELGRF (CORE_REPEAT_END +19)
+#define STR_DELOLE (CORE_REPEAT_END +20)
+#define STR_TABLE_ATTR (CORE_REPEAT_END +21)
#define STR_TABLE_AUTOFMT (CORE_REPEAT_END +22)
#define STR_TABLE_INSCOL (CORE_REPEAT_END +23)
#define STR_TABLE_INSROW (CORE_REPEAT_END +24)
@@ -110,40 +110,40 @@
#define STR_TABLE_SPLIT (CORE_REPEAT_END +26)
#define STR_TABLE_MERGE (CORE_REPEAT_END +27)
#define STR_TABLE_NUMFORMAT (CORE_REPEAT_END +28)
-#define STR_INSERT_TOX (CORE_REPEAT_END +29)
-#define STR_CLEAR_TOX_RANGE (CORE_REPEAT_END +30)
-#define STR_TABLE_TBLCPYTBL (CORE_REPEAT_END +31)
-#define STR_TABLE_CPYTBL (CORE_REPEAT_END +32)
-#define STR_INS_FROM_SHADOWCRSR (CORE_REPEAT_END +33)
-#define STR_UNDO_CHAIN (CORE_REPEAT_END +34)
-#define STR_UNDO_UNCHAIN (CORE_REPEAT_END +35)
-#define STR_UNDO_FTNINFO (CORE_REPEAT_END +36)
-#define STR_UNDO_ENDNOTEINFO (CORE_REPEAT_END +37)
-#define STR_UNDO_COMPAREDOC (CORE_REPEAT_END +38)
-#define STR_UNDO_SETFLYFRMFMT (CORE_REPEAT_END +39)
-#define STR_UNDO_SETRUBYATTR (CORE_REPEAT_END +40)
+#define STR_INSERT_TOX (CORE_REPEAT_END +29)
+#define STR_CLEAR_TOX_RANGE (CORE_REPEAT_END +30)
+#define STR_TABLE_TBLCPYTBL (CORE_REPEAT_END +31)
+#define STR_TABLE_CPYTBL (CORE_REPEAT_END +32)
+#define STR_INS_FROM_SHADOWCRSR (CORE_REPEAT_END +33)
+#define STR_UNDO_CHAIN (CORE_REPEAT_END +34)
+#define STR_UNDO_UNCHAIN (CORE_REPEAT_END +35)
+#define STR_UNDO_FTNINFO (CORE_REPEAT_END +36)
+#define STR_UNDO_ENDNOTEINFO (CORE_REPEAT_END +37)
+#define STR_UNDO_COMPAREDOC (CORE_REPEAT_END +38)
+#define STR_UNDO_SETFLYFRMFMT (CORE_REPEAT_END +39)
+#define STR_UNDO_SETRUBYATTR (CORE_REPEAT_END +40)
// #102505#
-#define STR_UNDO_TMPAUTOCORR (CORE_REPEAT_END +41)
+#define STR_UNDO_TMPAUTOCORR (CORE_REPEAT_END +41)
-#define STR_TOXCHANGE (CORE_REPEAT_END +42)
+#define STR_TOXCHANGE (CORE_REPEAT_END +42)
#define STR_UNDO_PAGEDESC_CREATE (CORE_REPEAT_END +43)
-#define STR_UNDO_PAGEDESC (CORE_REPEAT_END +44)
-#define STR_UNDO_PAGEDESC_DELETE (CORE_REPEAT_END +45)
-#define STR_UNDO_HEADER_FOOTER (CORE_REPEAT_END +46) // #i7983#
-#define STR_UNDO_FIELD (CORE_REPEAT_END +47) // #111840#
-#define STR_UNDO_TXTFMTCOL_CREATE (CORE_REPEAT_END +48)
-#define STR_UNDO_TXTFMTCOL_DELETE (CORE_REPEAT_END +49)
-#define STR_UNDO_TXTFMTCOL_RENAME (CORE_REPEAT_END +50)
-#define STR_UNDO_CHARFMT_CREATE (CORE_REPEAT_END +51)
-#define STR_UNDO_CHARFMT_DELETE (CORE_REPEAT_END +52)
-#define STR_UNDO_CHARFMT_RENAME (CORE_REPEAT_END +53)
-#define STR_UNDO_FRMFMT_CREATE (CORE_REPEAT_END +54)
-#define STR_UNDO_FRMFMT_DELETE (CORE_REPEAT_END +55)
-#define STR_UNDO_FRMFMT_RENAME (CORE_REPEAT_END +56)
-#define STR_UNDO_NUMRULE_CREATE (CORE_REPEAT_END +57)
-#define STR_UNDO_NUMRULE_DELETE (CORE_REPEAT_END +58)
-#define STR_UNDO_NUMRULE_RENAME (CORE_REPEAT_END +59)
-#define STR_UNDO_BOOKMARK_RENAME (CORE_REPEAT_END +60)
+#define STR_UNDO_PAGEDESC (CORE_REPEAT_END +44)
+#define STR_UNDO_PAGEDESC_DELETE (CORE_REPEAT_END +45)
+#define STR_UNDO_HEADER_FOOTER (CORE_REPEAT_END +46) // #i7983#
+#define STR_UNDO_FIELD (CORE_REPEAT_END +47) // #111840#
+#define STR_UNDO_TXTFMTCOL_CREATE (CORE_REPEAT_END +48)
+#define STR_UNDO_TXTFMTCOL_DELETE (CORE_REPEAT_END +49)
+#define STR_UNDO_TXTFMTCOL_RENAME (CORE_REPEAT_END +50)
+#define STR_UNDO_CHARFMT_CREATE (CORE_REPEAT_END +51)
+#define STR_UNDO_CHARFMT_DELETE (CORE_REPEAT_END +52)
+#define STR_UNDO_CHARFMT_RENAME (CORE_REPEAT_END +53)
+#define STR_UNDO_FRMFMT_CREATE (CORE_REPEAT_END +54)
+#define STR_UNDO_FRMFMT_DELETE (CORE_REPEAT_END +55)
+#define STR_UNDO_FRMFMT_RENAME (CORE_REPEAT_END +56)
+#define STR_UNDO_NUMRULE_CREATE (CORE_REPEAT_END +57)
+#define STR_UNDO_NUMRULE_DELETE (CORE_REPEAT_END +58)
+#define STR_UNDO_NUMRULE_RENAME (CORE_REPEAT_END +59)
+#define STR_UNDO_BOOKMARK_RENAME (CORE_REPEAT_END +60)
#define STR_UNDO_INDEX_ENTRY_INSERT (CORE_REPEAT_END +61)
#define STR_UNDO_INDEX_ENTRY_DELETE (CORE_REPEAT_END +62)
#define STR_UNDO_COL_DELETE (CORE_REPEAT_END +63)
@@ -166,12 +166,12 @@
#define STR_DRAG_AND_COPY (UI_UNDO_BEGIN + 5)
#define STR_DRAG_AND_MOVE (UI_UNDO_BEGIN + 6)
#define STR_INSERT_RULER (UI_UNDO_BEGIN + 7)
-#define STR_INSERT_CHART (UI_UNDO_BEGIN + 8)
-#define STR_INSERT_FOOTNOTE (UI_UNDO_BEGIN + 9)
-#define STR_INSERT_URLBTN (UI_UNDO_BEGIN + 10)
-#define STR_INSERT_URLTXT (UI_UNDO_BEGIN + 11)
-#define STR_DELETE_INVISIBLECNTNT (UI_UNDO_BEGIN + 12)
-#define STR_REPLACE_STYLE (UI_UNDO_BEGIN + 13)
+#define STR_INSERT_CHART (UI_UNDO_BEGIN + 8)
+#define STR_INSERT_FOOTNOTE (UI_UNDO_BEGIN + 9)
+#define STR_INSERT_URLBTN (UI_UNDO_BEGIN + 10)
+#define STR_INSERT_URLTXT (UI_UNDO_BEGIN + 11)
+#define STR_DELETE_INVISIBLECNTNT (UI_UNDO_BEGIN + 12)
+#define STR_REPLACE_STYLE (UI_UNDO_BEGIN + 13)
#define UI_UNDO_END STR_REPLACE_STYLE
#define UNDO_MORE_STRINGS_BEGIN (UI_UNDO_END + 1)
diff --git a/sw/source/core/undo/undo.src b/sw/source/core/undo/undo.src
index 1035d8cb0d0f..4ad1e70b7869 100644
--- a/sw/source/core/undo/undo.src
+++ b/sw/source/core/undo/undo.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/sw/source/core/undo/undobj.cxx b/sw/source/core/undo/undobj.cxx
index e665beb6c8e9..d405afa98011 100644
--- a/sw/source/core/undo/undobj.cxx
+++ b/sw/source/core/undo/undobj.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <frmfmt.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -128,12 +128,12 @@ void SwUndRng::SetPaM( SwPaM & rPam, BOOL bCorrToCntnt ) const
else
rPam.GetPoint()->nContent.Assign( 0, 0 );
- if( !nEndNode && STRING_MAXLEN == nEndCntnt ) // keine Selection
+ if( !nEndNode && STRING_MAXLEN == nEndCntnt ) // keine Selection
return ;
rPam.SetMark();
if( nSttNode == nEndNode && nSttCntnt == nEndCntnt )
- return; // nichts mehr zu tun
+ return; // nichts mehr zu tun
rPam.GetPoint()->nNode = nEndNode;
if( (pNd = rPam.GetNode())->IsCntntNode() )
@@ -276,11 +276,11 @@ SwUndoSaveCntnt::~SwUndoSaveCntnt()
// Inhalte in das UndoNodesArray verschoben. Diese Methoden fuegen
// am Ende eines TextNodes fuer die Attribute einen Trenner ein.
// Dadurch werden die Attribute nicht expandiert.
- // MoveTo.. verschiebt aus dem NodesArray in das UndoNodesArray
- // MoveFrom.. verschiebt aus dem UndoNodesArray in das NodesArray
+ // MoveTo.. verschiebt aus dem NodesArray in das UndoNodesArray
+ // MoveFrom.. verschiebt aus dem UndoNodesArray in das NodesArray
- // 2.8.93: ist pEndNdIdx angebenen, wird vom Undo/Redo -Ins/DelFly
- // aufgerufen. Dann soll die gesamte Section verschoben werden.
+ // 2.8.93: ist pEndNdIdx angebenen, wird vom Undo/Redo -Ins/DelFly
+ // aufgerufen. Dann soll die gesamte Section verschoben werden.
void SwUndoSaveCntnt::MoveToUndoNds( SwPaM& rPaM, SwNodeIndex* pNodeIdx,
SwIndex* pCntIdx, ULONG* pEndNdIdx, xub_StrLen* pEndCntIdx )
@@ -327,7 +327,7 @@ void SwUndoSaveCntnt::MoveToUndoNds( SwPaM& rPaM, SwNodeIndex* pNodeIdx,
rDoc.GetNodes().MoveRange( rPaM, aPos, rNds );
SwTxtNode* pTxtNd = aPos.nNode.GetNode().GetTxtNode();
- if( pTxtNd ) // fuege einen Trenner fuer die Attribute ein !
+ if( pTxtNd ) // fuege einen Trenner fuer die Attribute ein !
{
// weil aber beim Insert die Attribute angefasst/sprich
// aus dem Array geloescht und wieder eingefuegt werden, koennen
@@ -379,13 +379,13 @@ void SwUndoSaveCntnt::MoveFromUndoNds( SwDoc& rDoc, ULONG nNodeIdx,
// jetzt kommt das wiederherstellen
SwNodes& rNds = (SwNodes&)*rDoc.GetUndoNds();
if( nNodeIdx == rNds.GetEndOfPostIts().GetIndex() )
- return; // nichts gespeichert
+ return; // nichts gespeichert
BOOL bUndo = rDoc.DoesUndo();
rDoc.DoUndo( FALSE );
SwPaM aPaM( rInsPos );
- if( pEndNdIdx ) // dann hole aus diesem den Bereich
+ if( pEndNdIdx ) // dann hole aus diesem den Bereich
aPaM.GetPoint()->nNode.Assign( rNds, *pEndNdIdx );
else
{
@@ -394,7 +394,7 @@ void SwUndoSaveCntnt::MoveFromUndoNds( SwDoc& rDoc, ULONG nNodeIdx,
}
SwTxtNode* pTxtNd = aPaM.GetNode()->GetTxtNode();
- if( !pEndNdIdx && pTxtNd ) // loesche den Trenner wieder
+ if( !pEndNdIdx && pTxtNd ) // loesche den Trenner wieder
{
if( pEndCntIdx )
aPaM.GetPoint()->nContent.Assign( pTxtNd, *pEndCntIdx );
@@ -414,7 +414,7 @@ void SwUndoSaveCntnt::MoveFromUndoNds( SwDoc& rDoc, ULONG nNodeIdx,
// noch den letzen Node loeschen.
if( !aPaM.GetPoint()->nContent.GetIndex() ||
- ( aPaM.GetPoint()->nNode++ && // noch leere Nodes am Ende ??
+ ( aPaM.GetPoint()->nNode++ && // noch leere Nodes am Ende ??
&rNds.GetEndOfExtras() != &aPaM.GetPoint()->nNode.GetNode() ))
{
aPaM.GetPoint()->nContent.Assign( 0, 0 );
@@ -525,7 +525,7 @@ void SwUndoSaveCntnt::DelCntntIndex( const SwPosition& rMark,
( &pEnd->nNode.GetNode() == pFtnNd &&
nFtnSttIdx >= pEnd->nContent.GetIndex() )) )
{
- ++nPos; // weiter suchen
+ ++nPos; // weiter suchen
continue;
}
@@ -551,7 +551,7 @@ void SwUndoSaveCntnt::DelCntntIndex( const SwPosition& rMark,
pStt->nContent.GetIndex() > nFtnSttIdx ) ||
( &pEnd->nNode.GetNode() == pFtnNd &&
nFtnSttIdx >= pEnd->nContent.GetIndex() )))
- continue; // weiter suchen
+ continue; // weiter suchen
// es muss leider ein Index angelegt werden. Sonst knallts im
// TextNode, weil im DTOR der SwFtn dieser geloescht wird !!
@@ -824,7 +824,7 @@ SwUndoSaveSection::SwUndoSaveSection()
SwUndoSaveSection::~SwUndoSaveSection()
{
- if( pMvStt ) // loesche noch den Bereich aus dem UndoNodes Array
+ if( pMvStt ) // loesche noch den Bereich aus dem UndoNodes Array
{
// SaveSection speichert den Inhalt in der PostIt-Section
SwNodes& rUNds = pMvStt->GetNode().GetNodes();
@@ -875,7 +875,7 @@ void SwUndoSaveSection::SaveSection( SwDoc* , const SwNodeRange& rRange )
void SwUndoSaveSection::RestoreSection( SwDoc* pDoc, SwNodeIndex* pIdx,
USHORT nSectType )
{
- if( ULONG_MAX != nStartPos ) // gab es ueberhaupt Inhalt ?
+ if( ULONG_MAX != nStartPos ) // gab es ueberhaupt Inhalt ?
{
// ueberpruefe, ob der Inhalt an der alten Position steht
SwNodeIndex aSttIdx( pDoc->GetNodes(), nStartPos );
@@ -895,7 +895,7 @@ void SwUndoSaveSection::RestoreSection( SwDoc* pDoc, SwNodeIndex* pIdx,
void SwUndoSaveSection::RestoreSection( SwDoc* pDoc, const SwNodeIndex& rInsPos )
{
- if( ULONG_MAX != nStartPos ) // gab es ueberhaupt Inhalt ?
+ if( ULONG_MAX != nStartPos ) // gab es ueberhaupt Inhalt ?
{
SwPosition aInsPos( rInsPos );
ULONG nEnd = pMvStt->GetIndex() + nMvLen - 1;
@@ -1051,23 +1051,23 @@ SwRedlineSaveData::SwRedlineSaveData( SwComparePosition eCmpPos,
switch( eCmpPos )
{
- case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
+ case POS_OVERLAP_BEFORE: // Pos1 ueberlappt Pos2 am Anfang
nEndNode = rEndPos.nNode.GetIndex();
nEndCntnt = rEndPos.nContent.GetIndex();
break;
- case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
+ case POS_OVERLAP_BEHIND: // Pos1 ueberlappt Pos2 am Ende
nSttNode = rSttPos.nNode.GetIndex();
nSttCntnt = rSttPos.nContent.GetIndex();
break;
- case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
+ case POS_INSIDE: // Pos1 liegt vollstaendig in Pos2
nSttNode = rSttPos.nNode.GetIndex();
nSttCntnt = rSttPos.nContent.GetIndex();
nEndNode = rEndPos.nNode.GetIndex();
nEndCntnt = rEndPos.nContent.GetIndex();
break;
- case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
+ case POS_OUTSIDE: // Pos2 liegt vollstaendig in Pos1
if( rRedl.GetContentIdx() )
{
// dann den Bereich ins UndoArray verschieben und merken
@@ -1076,7 +1076,7 @@ SwRedlineSaveData::SwRedlineSaveData( SwComparePosition eCmpPos,
}
break;
- case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
+ case POS_EQUAL: // Pos1 ist genauso gross wie Pos2
break;
default:
diff --git a/sw/source/core/undo/undobj1.cxx b/sw/source/core/undo/undobj1.cxx
index 08673ba275e5..7e8f6d7331ae 100644
--- a/sw/source/core/undo/undobj1.cxx
+++ b/sw/source/core/undo/undobj1.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -39,11 +39,11 @@
#include <frmfmt.hxx>
#include <flyfrm.hxx>
#include <undobj.hxx>
-#include <rolbck.hxx> // fuer die Attribut History
+#include <rolbck.hxx> // fuer die Attribut History
#include <doc.hxx>
#include <docary.hxx>
#include <rootfrm.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
// OD 26.06.2003 #108784#
@@ -62,7 +62,7 @@ SwUndoFlyBase::SwUndoFlyBase( SwFrmFmt* pFormat, SwUndoId nUndoId )
SwUndoFlyBase::~SwUndoFlyBase()
{
- if( bDelFmt ) // loeschen waehrend eines Undo's ??
+ if( bDelFmt ) // loeschen waehrend eines Undo's ??
delete pFrmFmt;
}
@@ -118,9 +118,9 @@ void SwUndoFlyBase::InsFly( SwUndoIter& rUndoIter, BOOL bShowSelFrm )
}
//JP 18.12.98: Bug 60505 - InCntntAttribut erst setzen, wenn der Inhalt
- // vorhanden ist! Sonst wuerde das Layout den Fly vorher
- // formatieren, aber keine Inhalt finden; so geschene bei
- // Grafiken aus dem Internet
+ // vorhanden ist! Sonst wuerde das Layout den Fly vorher
+ // formatieren, aber keine Inhalt finden; so geschene bei
+ // Grafiken aus dem Internet
if (FLY_AS_CHAR == nRndId)
{
// es muss mindestens das Attribut im TextNode stehen
@@ -163,8 +163,8 @@ void SwUndoFlyBase::InsFly( SwUndoIter& rUndoIter, BOOL bShowSelFrm )
void SwUndoFlyBase::DelFly( SwDoc* pDoc )
{
- bDelFmt = TRUE; // im DTOR das Format loeschen
- pFrmFmt->DelFrms(); // Frms vernichten.
+ bDelFmt = TRUE; // im DTOR das Format loeschen
+ pFrmFmt->DelFrms(); // Frms vernichten.
// alle Uno-Objecte sollten sich jetzt abmelden
{
@@ -274,7 +274,7 @@ SwUndoInsLayFmt::~SwUndoInsLayFmt()
void SwUndoInsLayFmt::Undo( SwUndoIter& rUndoIter )
{
const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt();
- if( rCntnt.GetCntntIdx() ) // kein Inhalt
+ if( rCntnt.GetCntntIdx() ) // kein Inhalt
{
bool bRemoveIdx = true;
if( mnCrsrSaveIndexPara > 0 )
@@ -441,7 +441,7 @@ void SwUndoDelLayFmt::Undo( SwUndoIter& rUndoIter )
void SwUndoDelLayFmt::Redo( SwUndoIter& rUndoIter )
{
const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt();
- if( rCntnt.GetCntntIdx() ) // kein Inhalt
+ if( rCntnt.GetCntntIdx() ) // kein Inhalt
RemoveIdxFromSection( rUndoIter.GetDoc(),
rCntnt.GetCntntIdx()->GetIndex() );
@@ -451,7 +451,7 @@ void SwUndoDelLayFmt::Redo( SwUndoIter& rUndoIter )
void SwUndoDelLayFmt::Redo()
{
const SwFmtCntnt& rCntnt = pFrmFmt->GetCntnt();
- if( rCntnt.GetCntntIdx() ) // kein Inhalt
+ if( rCntnt.GetCntntIdx() ) // kein Inhalt
RemoveIdxFromSection( *pFrmFmt->GetDoc(),
rCntnt.GetCntntIdx()->GetIndex() );
@@ -467,7 +467,7 @@ SwUndoSetFlyFmt::SwUndoSetFlyFmt( SwFrmFmt& rFlyFmt, SwFrmFmt& rNewFrmFmt )
rFlyFmt.GetAttrSet().GetRanges() )),
nOldNode( 0 ), nNewNode( 0 ),
nOldCntnt( 0 ), nNewCntnt( 0 ),
- nOldAnchorTyp( 0 ), nNewAnchorTyp( 0 ), bAnchorChgd( FALSE )
+ nOldAnchorTyp( 0 ), nNewAnchorTyp( 0 ), bAnchorChgd( FALSE )
{
}
diff --git a/sw/source/core/undo/undoflystrattr.cxx b/sw/source/core/undo/undoflystrattr.cxx
index 3facce917f88..072115ec6798 100644
--- a/sw/source/core/undo/undoflystrattr.cxx
+++ b/sw/source/core/undo/undoflystrattr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/undraw.cxx b/sw/source/core/undo/undraw.cxx
index 81f6dce132b1..a571e8101fff 100644
--- a/sw/source/core/undo/undraw.cxx
+++ b/sw/source/core/undo/undraw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <doc.hxx>
#include <docary.hxx>
#include <frame.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -218,7 +218,7 @@ SwUndoDrawGroup::~SwUndoDrawGroup()
delete pTmp->pFmt;
}
else
- delete pObjArr->pFmt; // das GroupObject-Format
+ delete pObjArr->pFmt; // das GroupObject-Format
delete [] pObjArr;
}
@@ -230,7 +230,7 @@ void SwUndoDrawGroup::Undo( SwUndoIter& )
// das Group-Object sichern
SwDrawFrmFmt* pFmt = pObjArr->pFmt;
SwDrawContact* pDrawContact = (SwDrawContact*)pFmt->FindContactObj();
- SdrObject* pObj = pDrawContact->GetMaster();
+ SdrObject* pObj = pDrawContact->GetMaster();
pObjArr->pObj = pObj;
//loescht sich selbst!
@@ -383,7 +383,7 @@ SwUndoDrawUnGroup::~SwUndoDrawUnGroup()
delete pTmp->pFmt;
}
else
- delete pObjArr->pFmt; // das GroupObject-Format
+ delete pObjArr->pFmt; // das GroupObject-Format
delete [] pObjArr;
}
diff --git a/sw/source/core/undo/unfmco.cxx b/sw/source/core/undo/unfmco.cxx
index a9874091b3ce..555a207dfa1b 100644
--- a/sw/source/core/undo/unfmco.cxx
+++ b/sw/source/core/undo/unfmco.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "doc.hxx"
-#include "swundo.hxx" // fuer die UndoIds
+#include "swundo.hxx" // fuer die UndoIds
#include "pam.hxx"
#include "ndtxt.hxx"
@@ -88,7 +88,7 @@ void SwUndoFmtColl::Redo( SwUndoIter& rUndoIter )
SetPaM( rUndoIter );
rUndoIter.pLastUndoObj = 0;
- Repeat( rUndoIter ); // Collection setzen
+ Repeat( rUndoIter ); // Collection setzen
rUndoIter.pLastUndoObj = 0;
}
diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx
index 8fd74df0151f..644ea3291eb6 100644
--- a/sw/source/core/undo/unins.cxx
+++ b/sw/source/core/undo/unins.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <fmtanchr.hxx>
#include <frmfmt.hxx>
#include <doc.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -94,9 +94,9 @@ inline SwDoc& SwUndoIter::GetDoc() const { return *pAktPam->GetDoc(); }
// zwei Zugriffs-Funktionen
inline SwPosition* IterPt( SwUndoIter& rUIter )
-{ return rUIter.pAktPam->GetPoint(); }
+{ return rUIter.pAktPam->GetPoint(); }
inline SwPosition* IterMk( SwUndoIter& rUIter )
-{ return rUIter.pAktPam->GetMark(); }
+{ return rUIter.pAktPam->GetMark(); }
//------------------------------------------------------------
@@ -242,7 +242,7 @@ SwUndoInsert::~SwUndoInsert()
pPos->nNode.GetIndex() );
delete pPos;
}
- else if( pTxt ) // der eingefuegte Text
+ else if( pTxt ) // der eingefuegte Text
delete pTxt;
delete pRedlData;
}
@@ -292,7 +292,7 @@ void SwUndoInsert::Undo( SwUndoIter& rUndoIter )
pTxt = new String( pTxtNode->GetTxt().Copy(nCntnt-nLen, nLen) );
pTxtNode->EraseText( aPaM.GetPoint()->nContent, nLen );
}
- else // ansonsten Grafik/OLE/Text/...
+ else // ansonsten Grafik/OLE/Text/...
{
aPaM.Move(fnMoveBackward);
if( IDocumentRedlineAccess::IsRedlineOn( GetRedlineMode() ))
@@ -413,7 +413,7 @@ void SwUndoInsert::Repeat( SwUndoIter& rUndoIter )
SwNodeIndex aNd( rDoc.GetNodes(), nNode );
SwCntntNode* pCNd = aNd.GetNode().GetCntntNode();;
- if( !bIsAppend && 1 == nLen ) // >1 dann immer nur Text, ansonsten Grafik/OLE/Text/...
+ if( !bIsAppend && 1 == nLen ) // >1 dann immer nur Text, ansonsten Grafik/OLE/Text/...
{
SwPaM aPaM( *pCNd, nCntnt );
aPaM.SetMark();
@@ -530,7 +530,7 @@ void SwUndoReplace::Undo( SwUndoIter& rUndoIter )
aArr[ --nAktPos ]->Undo( rUndoIter );
- if( !nAktPos ) // alten Status wieder zurueck
+ if( !nAktPos ) // alten Status wieder zurueck
rUndoIter.bWeiter = bOldIterFlag;
}
@@ -549,7 +549,7 @@ void SwUndoReplace::Redo( SwUndoIter& rUndoIter )
aArr[ nAktPos ]->Redo( rUndoIter );
- if( ++nAktPos >= aArr.Count() ) // alten Status wieder zurueck
+ if( ++nAktPos >= aArr.Count() ) // alten Status wieder zurueck
{
nAktPos = USHRT_MAX;
rUndoIter.bWeiter = bOldIterFlag;
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx
index 8e2bcdf547b5..ccb48192518b 100644
--- a/sw/source/core/undo/unmove.cxx
+++ b/sw/source/core/undo/unmove.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <doc.hxx>
#include <pam.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <ndtxt.hxx>
#include <undobj.hxx>
#include <rolbck.hxx>
@@ -115,7 +115,7 @@ SwUndoMove::SwUndoMove( SwDoc* pDoc, const SwNodeRange& rRg,
nSttNode = rRg.aStart.GetIndex();
nEndNode = rRg.aEnd.GetIndex();
-// DelFtn( rRange );
+// DelFtn( rRange );
// wird aus dem CntntBereich in den Sonderbereich verschoben ?
ULONG nCntntStt = pDoc->GetNodes().GetEndOfAutotext().GetIndex();
@@ -150,13 +150,13 @@ void SwUndoMove::SetDestRange( const SwPaM& rRange,
? rRange.GetMark()
: rRange.GetPoint();
- nDestSttNode = pStt->nNode.GetIndex();
- nDestSttCntnt = pStt->nContent.GetIndex();
- nDestEndNode = pEnd->nNode.GetIndex();
- nDestEndCntnt = pEnd->nContent.GetIndex();
+ nDestSttNode = pStt->nNode.GetIndex();
+ nDestSttCntnt = pStt->nContent.GetIndex();
+ nDestEndNode = pEnd->nNode.GetIndex();
+ nDestEndCntnt = pEnd->nContent.GetIndex();
nInsPosNode = rInsPos.nNode.GetIndex();
- nInsPosCntnt = rInsPos.nContent.GetIndex();
+ nInsPosCntnt = rInsPos.nContent.GetIndex();
if( bCorrPam )
{
@@ -239,7 +239,7 @@ void SwUndoMove::Undo( SwUndoIter& rUndoIter )
aPam.Exchange();
aPam.DeleteMark();
-// pDoc->ResetAttr( aPam, FALSE );
+// pDoc->ResetAttr( aPam, FALSE );
if( aPam.GetNode()->IsCntntNode() )
aPam.GetNode()->GetCntntNode()->ResetAllAttr();
// der Pam wird jetzt aufgegeben.
diff --git a/sw/source/core/undo/unnum.cxx b/sw/source/core/undo/unnum.cxx
index c6f76dc63efc..6da4a95b1ba7 100644
--- a/sw/source/core/undo/unnum.cxx
+++ b/sw/source/core/undo/unnum.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <hintids.hxx>
#include <editeng/lrspitem.hxx>
#include <doc.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -275,8 +275,8 @@ SwUndoMoveNum::SwUndoMoveNum( const SwPaM& rPam, long nOff, BOOL bIsOutlMv )
SwUndRng( rPam ),
nNewStt( 0 ), nOffset( nOff )
{
- // nOffset: nach unten => 1
- // nach oben => -1
+ // nOffset: nach unten => 1
+ // nach oben => -1
}
@@ -284,9 +284,9 @@ void SwUndoMoveNum::Undo( SwUndoIter& rUndoIter )
{
ULONG nTmpStt = nSttNode, nTmpEnd = nEndNode;
- if( nEndNode || USHRT_MAX != nEndCntnt ) // Bereich ?
+ if( nEndNode || USHRT_MAX != nEndCntnt ) // Bereich ?
{
- if( nNewStt < nSttNode ) // nach vorne verschoben
+ if( nNewStt < nSttNode ) // nach vorne verschoben
nEndNode = nEndNode - ( nSttNode - nNewStt );
else
nEndNode = nEndNode + ( nNewStt - nSttNode );
@@ -294,8 +294,8 @@ void SwUndoMoveNum::Undo( SwUndoIter& rUndoIter )
nSttNode = nNewStt;
//JP 22.06.95: wird wollen die Bookmarks/Verzeichnisse behalten, oder?
-// SetPaM( rUndoIter );
-// RemoveIdxFromRange( *rUndoIter.pAktPam, TRUE );
+// SetPaM( rUndoIter );
+// RemoveIdxFromRange( *rUndoIter.pAktPam, TRUE );
SetPaM( rUndoIter );
rUndoIter.GetDoc().MoveParagraph( *rUndoIter.pAktPam, -nOffset,
@@ -308,8 +308,8 @@ void SwUndoMoveNum::Undo( SwUndoIter& rUndoIter )
void SwUndoMoveNum::Redo( SwUndoIter& rUndoIter )
{
//JP 22.06.95: wird wollen die Bookmarks/Verzeichnisse behalten, oder?
-// SetPaM( rUndoIter );
-// RemoveIdxFromRange( *rUndoIter.pAktPam, TRUE );
+// SetPaM( rUndoIter );
+// RemoveIdxFromRange( *rUndoIter.pAktPam, TRUE );
SetPaM( rUndoIter );
rUndoIter.GetDoc().MoveParagraph( *rUndoIter.pAktPam, nOffset,
@@ -333,8 +333,8 @@ SwUndoNumUpDown::SwUndoNumUpDown( const SwPaM& rPam, short nOff )
: SwUndo( nOff > 0 ? UNDO_NUMUP : UNDO_NUMDOWN ), SwUndRng( rPam ),
nOffset( nOff )
{
- // nOffset: Down => 1
- // Up => -1
+ // nOffset: Down => 1
+ // Up => -1
}
diff --git a/sw/source/core/undo/unoutl.cxx b/sw/source/core/undo/unoutl.cxx
index d30aba417043..cfdea00be125 100644
--- a/sw/source/core/undo/unoutl.cxx
+++ b/sw/source/core/undo/unoutl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 "doc.hxx"
-#include "swundo.hxx" // fuer die UndoIds
+#include "swundo.hxx" // fuer die UndoIds
#include "pam.hxx"
#include "ndtxt.hxx"
diff --git a/sw/source/core/undo/unovwr.cxx b/sw/source/core/undo/unovwr.cxx
index eb1ff8b846ec..a9608aaf4365 100644
--- a/sw/source/core/undo/unovwr.cxx
+++ b/sw/source/core/undo/unovwr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <unotools/transliterationwrapper.hxx>
#include <comphelper/processfactory.hxx>
#include <doc.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -54,9 +54,9 @@ using namespace ::com::sun::star::uno;
// zwei Zugriffs-Funktionen
inline SwPosition* IterPt( SwUndoIter& rUIter )
-{ return rUIter.pAktPam->GetPoint(); }
+{ return rUIter.pAktPam->GetPoint(); }
inline SwPosition* IterMk( SwUndoIter& rUIter )
-{ return rUIter.pAktPam->GetMark(); }
+{ return rUIter.pAktPam->GetMark(); }
inline SwDoc& SwUndoIter::GetDoc() const { return *pAktPam->GetDoc(); }
@@ -88,7 +88,7 @@ SwUndoOverwrite::SwUndoOverwrite( SwDoc* pDoc, SwPosition& rPos,
bInsChar = TRUE;
xub_StrLen nTxtNdLen = pTxtNd->GetTxt().Len();
- if( nSttCntnt < nTxtNdLen ) // kein reines Einfuegen ?
+ if( nSttCntnt < nTxtNdLen ) // kein reines Einfuegen ?
{
aDelStr.Insert( pTxtNd->GetTxt().GetChar( nSttCntnt ) );
if( !pHistory )
@@ -368,7 +368,7 @@ struct _UndoTransliterate_Data
void SetChangeAtNode( SwDoc& rDoc );
};
-SwUndoTransliterate::SwUndoTransliterate(
+SwUndoTransliterate::SwUndoTransliterate(
const SwPaM& rPam,
const utl::TransliterationWrapper& rTrans )
: SwUndo( UNDO_TRANSLITERATE ), SwUndRng( rPam ), nType( rTrans.getType() )
@@ -388,7 +388,7 @@ void SwUndoTransliterate::Undo( SwUndoIter& rUndoIter )
rDoc.DoUndo( FALSE );
// since the changes were added to the vector from the end of the string/node towards
- // the start, we need to revert them from the start towards the end now to keep the
+ // the start, we need to revert them from the start towards the end now to keep the
// offset information of the undo data in sync with the changing text.
// Thus we need to iterate from the end of the vector to the start
for (sal_Int32 i = aChanges.size() - 1; i >= 0; --i)
@@ -400,7 +400,7 @@ void SwUndoTransliterate::Undo( SwUndoIter& rUndoIter )
void SwUndoTransliterate::Redo( SwUndoIter& rUndoIter )
{
-/* ??? */ rUndoIter.SetUpdateAttr( TRUE );
+/* ??? */ rUndoIter.SetUpdateAttr( TRUE );
SetPaM( *rUndoIter.pAktPam );
Repeat( rUndoIter );
@@ -469,7 +469,7 @@ void SwUndoTransliterate::AddChanges( SwTxtNode& rTNd,
// same node and have a history?
pNew->pHistory = pD->pHistory;
pD->pHistory = 0;
- break; // more can't exist
+ break; // more can't exist
}
}
diff --git a/sw/source/core/undo/unredln.cxx b/sw/source/core/undo/unredln.cxx
index a994e5e1faa9..ffb72815590e 100644
--- a/sw/source/core/undo/unredln.cxx
+++ b/sw/source/core/undo/unredln.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <hintids.hxx>
#include <unotools/charclass.hxx>
#include <doc.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -80,8 +80,8 @@ SwUndoRedline::SwUndoRedline( SwUndoId nUsrId, const SwPaM& rRange )
else
{
bHiddenRedlines = HasHiddenRedlines( *pRedlSaveData );
- if( bHiddenRedlines ) // dann muessen die NodeIndizies
- { // vom SwUndRng korrigiert werden
+ if( bHiddenRedlines ) // dann muessen die NodeIndizies
+ { // vom SwUndRng korrigiert werden
nEndExtra -= rDoc.GetNodes().GetEndOfExtras().GetIndex();
nSttNode -= nEndExtra;
nEndNode -= nEndExtra;
@@ -303,7 +303,7 @@ void SwUndoRedlineSort::_Redo( SwUndoIter& rIter )
SwNodeIndex aPrevIdx( pStart->nNode, -1 );
ULONG nOffsetTemp = pEnd->nNode.GetIndex() - pStart->nNode.GetIndex();
- xub_StrLen nCntStt = pStart->nContent.GetIndex();
+ xub_StrLen nCntStt = pStart->nContent.GetIndex();
rIter.GetDoc().SortText( rPam, *pOpt );
@@ -517,8 +517,8 @@ void SwUndoCompDoc::Redo( SwUndoIter& rIter )
}
else
{
-// SwRedlineMode eOld = pDoc->GetRedlineMode();
-// pDoc->SetRedlineMode_intern( ( eOld & ~REDLINE_IGNORE) | REDLINE_ON );
+// SwRedlineMode eOld = pDoc->GetRedlineMode();
+// pDoc->SetRedlineMode_intern( ( eOld & ~REDLINE_IGNORE) | REDLINE_ON );
if( pUnDel2 )
{
@@ -535,7 +535,7 @@ void SwUndoCompDoc::Redo( SwUndoIter& rIter )
if (pTmp) // #i19649#
pTmp->InvalidateRange();
-// pDoc->SetRedlineMode_intern( eOld );
+// pDoc->SetRedlineMode_intern( eOld );
}
SetPaM( rIter, TRUE );
diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx
index a78f911f30f0..8d51db6b1aa9 100644
--- a/sw/source/core/undo/unsect.cxx
+++ b/sw/source/core/undo/unsect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 <fmtcntnt.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
diff --git a/sw/source/core/undo/unsort.cxx b/sw/source/core/undo/unsort.cxx
index b89c08d9bed3..03aebaa89458 100644
--- a/sw/source/core/undo/unsort.cxx
+++ b/sw/source/core/undo/unsort.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_sw.hxx"
#include <doc.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <swtable.hxx>
#include <ndtxt.hxx>
@@ -95,7 +95,7 @@ SwUndoSort::~SwUndoSort()
void SwUndoSort::Undo( SwUndoIter& rIter)
{
- SwDoc& rDoc = rIter.GetDoc();
+ SwDoc& rDoc = rIter.GetDoc();
if(pSortOpt->bTable)
{
// Undo Tabelle
@@ -144,7 +144,7 @@ void SwUndoSort::Undo( SwUndoIter& rIter)
// fuer die sorted Positions einen Index anlegen.
// JP 25.11.97: Die IndexList muss aber nach SourcePosition
- // aufsteigend sortiert aufgebaut werden
+ // aufsteigend sortiert aufgebaut werden
SwUndoSortList aIdxList( (BYTE)aSortList.Count() );
USHORT i;
@@ -225,7 +225,7 @@ void SwUndoSort::Redo( SwUndoIter& rIter)
USHORT i;
for( i = 0; i < aSortList.Count(); ++i)
- { // aktuelle Pos ist die Ausgangslage
+ { // aktuelle Pos ist die Ausgangslage
SwNodeIndex* pIdx = new SwNodeIndex( rDoc.GetNodes(),
aSortList[i]->SORT_TXT_TBL.TXT.nSource);
aIdxList.C40_INSERT( SwNodeIndex, pIdx, i );
diff --git a/sw/source/core/undo/unspnd.cxx b/sw/source/core/undo/unspnd.cxx
index f1fd1fda60da..875da9c9bca7 100644
--- a/sw/source/core/undo/unspnd.cxx
+++ b/sw/source/core/undo/unspnd.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index e6e450088b22..735c8c734039 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <pam.hxx>
#include <cntfrm.hxx>
#include <tblsel.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <undobj.hxx>
#include <rolbck.hxx>
#include <ddefld.hxx>
@@ -225,7 +225,7 @@ SV_IMPL_PTRARR( _UndoTblCpyTbl_Entries, _UndoTblCpyTbl_EntryPtr )
USHORT __FAR_DATA aSave_BoxCntntSet[] = {
RES_CHRATR_COLOR, RES_CHRATR_CROSSEDOUT,
RES_CHRATR_FONT, RES_CHRATR_FONTSIZE,
- RES_CHRATR_POSTURE, RES_CHRATR_POSTURE,
+ RES_CHRATR_POSTURE, RES_CHRATR_POSTURE,
RES_CHRATR_SHADOWED, RES_CHRATR_WEIGHT,
RES_PARATR_ADJUST, RES_PARATR_ADJUST,
0 };
@@ -331,7 +331,7 @@ void SwUndoInsTbl::Redo( SwUndoIter& rUndoIter )
SwDDEFieldType* pNewType = (SwDDEFieldType*)rDoc.InsertFldType(
*pDDEFldType);
SwDDETable* pDDETbl = new SwDDETable( pTblNode->GetTable(), pNewType );
- pTblNode->SetNewTable( pDDETbl ); // setze die DDE-Tabelle
+ pTblNode->SetNewTable( pDDETbl ); // setze die DDE-Tabelle
delete pDDEFldType, pDDEFldType = 0;
}
@@ -488,7 +488,7 @@ void SwUndoTblToTxt::Undo( SwUndoIter& rUndoIter )
SwTableNode* pTblNd = rDoc.GetNodes().UndoTableToText( nSttNd, nEndNd, *pBoxSaves );
pTblNd->GetTable().SetTableModel( pTblSave->IsNewModel() );
SwTableFmt* pTableFmt = rDoc.MakeTblFrmFmt( sTblNm, rDoc.GetDfltFrmFmt() );
- pTableFmt->Add( &pTblNd->GetTable() ); // das Frame-Format setzen
+ pTableFmt->Add( &pTblNd->GetTable() ); // das Frame-Format setzen
pTblNd->GetTable().SetRowsToRepeat( nHdlnRpt );
// erzeuge die alte Tabellen Struktur
@@ -499,7 +499,7 @@ void SwUndoTblToTxt::Undo( SwUndoIter& rUndoIter )
SwDDEFieldType* pNewType = (SwDDEFieldType*)rDoc.InsertFldType(
*pDDEFldType);
SwDDETable* pDDETbl = new SwDDETable( pTblNd->GetTable(), pNewType );
- pTblNd->SetNewTable( pDDETbl, FALSE ); // setze die DDE-Tabelle
+ pTblNd->SetNewTable( pDDETbl, FALSE ); // setze die DDE-Tabelle
delete pDDEFldType, pDDEFldType = 0;
}
@@ -745,7 +745,7 @@ void SwUndoTxtToTbl::Undo( SwUndoIter& rUndoIter )
ULONG nTblNd = nSttNode;
if( nSttCntnt )
- ++nTblNd; // Node wurde vorher gesplittet
+ ++nTblNd; // Node wurde vorher gesplittet
SwNodeIndex aIdx( rDoc.GetNodes(), nTblNd );
SwTableNode* pTNd = rDoc.GetNodes()[ aIdx ]->GetTableNode();
OSL_ENSURE( pTNd, "keinen Tabellen-Node gefunden" );
@@ -813,7 +813,7 @@ void SwUndoTxtToTbl::Undo( SwUndoIter& rUndoIter )
}
}
- SetPaM( rUndoIter ); // manipulierten Bereich selectieren
+ SetPaM( rUndoIter ); // manipulierten Bereich selectieren
}
@@ -938,8 +938,8 @@ USHORT _SaveTable::AddFmt( SwFrmFmt* pFmt, bool bIsLine )
bIsLine ? aTableLineSetRange : aTableBoxSetRange );
pSet->Put( pFmt->GetAttrSet() );
//JP 20.04.98: Bug 49502 - wenn eine Formel gesetzt ist, nie den
- // Value mit sichern. Der muss gegebenfalls neu
- // errechnet werden!
+ // Value mit sichern. Der muss gegebenfalls neu
+ // errechnet werden!
//JP 30.07.98: Bug 54295 - Formeln immer im Klartext speichern
const SfxPoolItem* pItem;
if( SFX_ITEM_SET == pSet->GetItemState( RES_BOXATR_FORMULA, TRUE, &pItem ))
@@ -1272,7 +1272,7 @@ _SaveBox::_SaveBox( _SaveBox* pPrev, const SwTableBox& rBox, _SaveTable& rSTbl )
_SaveBox::~_SaveBox()
{
- if( ULONG_MAX == nSttNode ) // keine EndBox
+ if( ULONG_MAX == nSttNode ) // keine EndBox
delete Ptrs.pLine;
else
delete Ptrs.pCntntAttrs;
@@ -1284,7 +1284,7 @@ void _SaveBox::RestoreAttr( SwTableBox& rBox, _SaveTable& rSTbl )
{
rSTbl.NewFrmFmt( &rBox, FALSE, nItemSet, rBox.GetFrmFmt() );
- if( ULONG_MAX == nSttNode ) // keine EndBox
+ if( ULONG_MAX == nSttNode ) // keine EndBox
{
if( !rBox.GetTabLines().Count() )
{
@@ -1343,7 +1343,7 @@ void _SaveBox::RestoreAttr( SwTableBox& rBox, _SaveTable& rSTbl )
void _SaveBox::SaveCntntAttrs( SwDoc* pDoc )
{
- if( ULONG_MAX == nSttNode ) // keine EndBox
+ if( ULONG_MAX == nSttNode ) // keine EndBox
{
// weiter in der Line
Ptrs.pLine->SaveCntntAttrs( pDoc );
@@ -1385,7 +1385,7 @@ void _SaveBox::CreateNew( SwTable& rTbl, SwTableLine& rParent, _SaveTable& rSTbl
rSTbl.aFrmFmts.Replace( pFmt, nItemSet );
}
- if( ULONG_MAX == nSttNode ) // keine EndBox
+ if( ULONG_MAX == nSttNode ) // keine EndBox
{
SwTableBox* pNew = new SwTableBox( pFmt, 1, &rParent );
rParent.GetTabBoxes().C40_INSERT( SwTableBox, pNew, rParent.GetTabBoxes().Count() );
@@ -1950,7 +1950,7 @@ void SwUndoTblNdsChg::Redo( SwUndoIter& rUndoIter )
TblChgMode eOldMode = rTbl.GetTblChgMode();
rTbl.SetTblChgMode( (TblChgMode)nCount );
- rDoc.DoUndo( TRUE ); // wir brauchen die SaveSections!
+ rDoc.DoUndo( TRUE ); // wir brauchen die SaveSections!
SwUndoTblNdsChg* pUndo = 0;
switch( nSetColType & 0xff )
@@ -2152,7 +2152,7 @@ CHECKTABLE(pTblNd->GetTable())
pHistory->TmpRollback( &rDoc, 0 );
pHistory->SetTmpEnd( pHistory->Count() );
}
-// nTblNode = pTblNd->GetIndex();
+// nTblNode = pTblNd->GetIndex();
SwPaM* pPam = rUndoIter.pAktPam;
pPam->DeleteMark();
@@ -2408,14 +2408,14 @@ void SwUndoTblNumFmt::Redo( SwUndoIter& rIter )
OSL_ENSURE( pBox, "keine TabellenBox gefunden" );
SwFrmFmt* pBoxFmt = pBox->ClaimFrmFmt();
- if( bNewFmt || bNewFml || bNewValue )
+ if( bNewFmt || bNewFml || bNewValue )
{
SfxItemSet aBoxSet( rDoc.GetAttrPool(),
RES_BOXATR_FORMAT, RES_BOXATR_VALUE );
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->LockModify();
if( bNewFml )
@@ -2447,8 +2447,8 @@ void SwUndoTblNumFmt::Redo( SwUndoIter& rIter )
aBoxSet.Put( SwTblBoxValue( fNum ));
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->LockModify();
pBoxFmt->ResetFmtAttr( RES_BOXATR_FORMULA );
pBoxFmt->UnlockModify();
@@ -2464,8 +2464,8 @@ void SwUndoTblNumFmt::Redo( SwUndoIter& rIter )
// es ist keine Zahl
// JP 15.01.99: Nur Attribute zuruecksetzen reicht nicht.
- // Sorge dafuer, das der Text auch entsprechend
- // formatiert wird!
+ // Sorge dafuer, das der Text auch entsprechend
+ // formatiert wird!
pBoxFmt->SetFmtAttr( *GetDfltAttr( RES_BOXATR_FORMAT ));
pBoxFmt->ResetFmtAttr( RES_BOXATR_FORMAT, RES_BOXATR_VALUE );
@@ -3117,7 +3117,7 @@ void SwUndoMergeTbl::Undo( SwUndoIter& rIter )
pTbl = &pNew->GetTable();
pTbl->GetFrmFmt()->SetName( aName );
-// pSavTbl->CreateNew( *pTbl, FALSE );
+// pSavTbl->CreateNew( *pTbl, FALSE );
pSavTbl->RestoreAttr( *pTbl );
@@ -3184,7 +3184,7 @@ void SwUndoMergeTbl::SaveFormula( SwHistory& rHistory )
void InsertSort( SvUShorts& rArr, USHORT nIdx, USHORT* pInsPos )
{
- USHORT nO = rArr.Count(), nM, nU = 0;
+ USHORT nO = rArr.Count(), nM, nU = 0;
if( nO > 0 )
{
nO--;
@@ -3211,7 +3211,7 @@ void InsertSort( SvUShorts& rArr, USHORT nIdx, USHORT* pInsPos )
void InsertSort( SvULongs& rArr, ULONG nIdx, USHORT* pInsPos )
{
- USHORT nO = rArr.Count(), nM, nU = 0;
+ USHORT nO = rArr.Count(), nM, nU = 0;
if( nO > 0 )
{
nO--;
diff --git a/sw/source/core/undo/untblk.cxx b/sw/source/core/undo/untblk.cxx
index f3d7dbecb785..7eb48657e99b 100644
--- a/sw/source/core/undo/untblk.cxx
+++ b/sw/source/core/undo/untblk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -35,7 +35,7 @@
#include <frmfmt.hxx>
#include <doc.hxx>
#include <docary.hxx>
-#include <swundo.hxx> // fuer die UndoIds
+#include <swundo.hxx> // fuer die UndoIds
#include <pam.hxx>
#include <ndtxt.hxx>
#include <undobj.hxx>
@@ -61,7 +61,7 @@ SwUndoInserts::SwUndoInserts( SwUndoId nUndoId, const SwPaM& rPam )
if( pTxtNd->HasSwAttrSet() )
pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nSttNode );
- if( !nSttCntnt ) // dann werden Flys mitgenommen !!
+ if( !nSttCntnt ) // dann werden Flys mitgenommen !!
{
USHORT nArrLen = pDoc->GetSpzFrmFmts()->Count();
for( USHORT n = 0; n < nArrLen; ++n )
@@ -106,9 +106,9 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, BOOL bScanFlys,
nSttNode = pTmpPos->nNode.GetIndex();
nSttCntnt = pTmpPos->nContent.GetIndex();
- if( !bSttIsTxtNd ) // wird eine Tabellenselektion eingefuegt,
+ if( !bSttIsTxtNd ) // wird eine Tabellenselektion eingefuegt,
{
- ++nSttNode; // dann stimmt der CopyPam nicht ganz
+ ++nSttNode; // dann stimmt der CopyPam nicht ganz
bSttWasTxtNd = FALSE;
}
}
@@ -147,11 +147,11 @@ void SwUndoInserts::SetInsertRange( const SwPaM& rPam, BOOL bScanFlys,
SwUndoInserts::~SwUndoInserts()
{
- if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array
+ if( pPos ) // loesche noch den Bereich aus dem UndoNodes Array
{
// Insert speichert den Inhalt in der IconSection
SwNodes& rUNds = pPos->nNode.GetNodes();
- if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen
+ if( pPos->nContent.GetIndex() ) // nicht den gesamten Node loeschen
{
SwTxtNode* pTxtNd = pPos->nNode.GetNode().GetTxtNode();
OSL_ENSURE( pTxtNd, "kein TextNode, aus dem geloescht werden soll" );
@@ -231,7 +231,7 @@ void SwUndoInserts::Undo( SwUndoIter& rUndoIter )
SwTxtNode* pTxtNode = rIdx.GetNode().GetTxtNode();
if( pTxtNode )
{
- if( !pTxtFmtColl ) // falls 0, dann war hier auch kein TextNode,
+ if( !pTxtFmtColl ) // falls 0, dann war hier auch kein TextNode,
{ // dann muss dieser geloescht werden,
SwNodeIndex aDelIdx( rIdx );
rIdx++;
diff --git a/sw/source/core/unocore/SwXTextDefaults.cxx b/sw/source/core/unocore/SwXTextDefaults.cxx
index c39ece11ede0..5e4581722828 100644
--- a/sw/source/core/unocore/SwXTextDefaults.cxx
+++ b/sw/source/core/unocore/SwXTextDefaults.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/TextCursorHelper.cxx b/sw/source/core/unocore/TextCursorHelper.cxx
index e72abba9c992..f4a234ca3ae7 100644
--- a/sw/source/core/unocore/TextCursorHelper.cxx
+++ b/sw/source/core/unocore/TextCursorHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/XMLRangeHelper.cxx b/sw/source/core/unocore/XMLRangeHelper.cxx
index 362b9245af23..ee1cabf84463 100644
--- a/sw/source/core/unocore/XMLRangeHelper.cxx
+++ b/sw/source/core/unocore/XMLRangeHelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/XMLRangeHelper.hxx b/sw/source/core/unocore/XMLRangeHelper.hxx
index 0b4b34e57153..dd35367aa9b5 100644
--- a/sw/source/core/unocore/XMLRangeHelper.hxx
+++ b/sw/source/core/unocore/XMLRangeHelper.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/swunohelper.cxx b/sw/source/core/unocore/swunohelper.cxx
index 83a4667eecd4..8a6904eda6bd 100644
--- a/sw/source/core/unocore/swunohelper.cxx
+++ b/sw/source/core/unocore/swunohelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -201,11 +201,11 @@ BOOL UCB_IsDirectory( const String& rURL )
{
}
return bExists;
-}
+}
// get a list of files from the folder of the URL
// options: pExtension = 0 -> all, else this specific extension
- // pDateTime != 0 -> returns also the modified date/time of
+ // pDateTime != 0 -> returns also the modified date/time of
// the files in a SvPtrarr -->
// !! objects must be deleted from the caller!!
BOOL UCB_GetFileListOfFolder( const String& rURL, SvStrings& rList,
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx
index e4d85ec72b1f..99a3ee8ab8e2 100644
--- a/sw/source/core/unocore/unobkm.cxx
+++ b/sw/source/core/unocore/unobkm.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index b125081bace7..ef57f019a727 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SwChartHelper::DoUpdateAllCharts( SwDoc* pDoc )
catch ( uno::Exception& )
{
}
-
+
}
}
aIdx.Assign( *pStNd->EndOfSectionNode(), + 1 );
@@ -357,7 +357,7 @@ static sal_Bool GetTableAndCellsFromRangeRep(
aEndCell = aTmp;
}
}
- else // a single cell like in "Table1.B3"
+ else // a single cell like in "Table1.B3"
{
aStartCell = aEndCell = aRange;
}
@@ -1127,10 +1127,10 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume
nCurValuesSeqLen = xCurValues->getData().getLength();
// check for consistent use of 'first cell as label'
- if (nLabelSeqLen == -1) // set initial value to compare with below further on
+ if (nLabelSeqLen == -1) // set initial value to compare with below further on
nLabelSeqLen = nCurLabelSeqLen;
if (nLabelSeqLen != nCurLabelSeqLen)
- nLabelSeqLen = -2; // failed / no consistent use of label cells
+ nLabelSeqLen = -2; // failed / no consistent use of label cells
// get table and cell names for label and values data sequences
// (start and end cell will be sorted, i.e. start cell <= end cell)
@@ -1193,7 +1193,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume
nDtaSrcIsColumns = nDirection;
if (nDtaSrcIsColumns != nDirection)
{
- nDtaSrcIsColumns = -2; // failed
+ nDtaSrcIsColumns = -2; // failed
}
@@ -1364,7 +1364,7 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SwChartDataProvider::detectArgume
if (!pIt)
return aResult; // failed -> return empty property sequence
pSequenceMapping[i] = pIt - pSortedMapping;
-
+
if (i != pSequenceMapping[i])
bNeedSequenceMapping = sal_True;
}
@@ -1660,8 +1660,8 @@ void SwChartDataProvider::DisposeAllDataSequences( const SwTable *pTable )
if (!bDisposed)
pTable->GetFrmFmt()->GetDoc()->GetChartControllerHelper().StartOrContinueLocking();
- //! make a copy of the STL container!
- //! This is necessary since calling 'dispose' will implicitly remove an element
+ //! make a copy of the STL container!
+ //! This is necessary since calling 'dispose' will implicitly remove an element
//! of the original container, and thus any iterator in the original container
//! would become invalid.
const Set_DataSequenceRef_t aSet( aDataSequences[ pTable ] );
@@ -1711,12 +1711,12 @@ void SwChartDataProvider::AddRowCols(
if (rTable.IsTblComplex())
return;
- const USHORT nBoxes = rBoxes.Count();
+ const USHORT nBoxes = rBoxes.Count();
if (nBoxes < 1 || nLines < 1)
return;
- SwTableBox* pFirstBox = *( rBoxes.GetData() + 0 );
- SwTableBox* pLastBox = *( rBoxes.GetData() + nBoxes - 1 );
+ SwTableBox* pFirstBox = *( rBoxes.GetData() + 0 );
+ SwTableBox* pLastBox = *( rBoxes.GetData() + nBoxes - 1 );
sal_Int32 nFirstCol = -1, nFirstRow = -1, nLastCol = -1, nLastRow = -1;
if (pFirstBox && pLastBox)
diff --git a/sw/source/core/unocore/unocoll.cxx b/sw/source/core/unocore/unocoll.cxx
index 845a41684cb0..373ed9c8b436 100644
--- a/sw/source/core/unocore/unocoll.cxx
+++ b/sw/source/core/unocore/unocoll.cxx
@@ -280,7 +280,7 @@ public:
struct ProvNamesId_Type
{
const char * pName;
- sal_uInt16 nType;
+ sal_uInt16 nType;
};
// note: this thing is indexed as an array, so do not insert/remove entries!
@@ -448,7 +448,7 @@ const ProvNamesId_Type __FAR_DATA aProvNamesId[] =
{ CSS_TEXT_TEXTFIELD_DOCINFO_SUBJECT, SW_SERVICE_FIELDTYPE_DOCINFO_SUBJECT },
{ CSS_TEXT_TEXTFIELD_DOCINFO_TITLE, SW_SERVICE_FIELDTYPE_DOCINFO_TITLE },
{ CSS_TEXT_TEXTFIELD_DOCINFO_REVISION, SW_SERVICE_FIELDTYPE_DOCINFO_REVISION },
- { CSS_TEXT_TEXTFIELD_DOCINFO_CUSTOM, SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM },
+ { CSS_TEXT_TEXTFIELD_DOCINFO_CUSTOM, SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM },
{ CSS_TEXT_TEXTFIELD_BIBLIOGRAPHY, SW_SERVICE_FIELDTYPE_BIBLIOGRAPHY },
{ CSS_TEXT_TEXTFIELD_COMBINED_CHARACTERS, SW_SERVICE_FIELDTYPE_COMBINED_CHARACTERS },
{ CSS_TEXT_TEXTFIELD_DROP_DOWN, SW_SERVICE_FIELDTYPE_DROPDOWN },
@@ -476,7 +476,7 @@ const SvEventDescription* lcl_GetSupportedMacroItems()
/******************************************************************
* SwXServiceProvider
******************************************************************/
-OUString SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
+OUString SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
{
SolarMutexGuard aGuard;
OUString sRet;
@@ -486,7 +486,7 @@ OUString SwXServiceProvider::GetProviderName(sal_uInt16 nObjectType)
return sRet;
}
-uno::Sequence<OUString> SwXServiceProvider::GetAllServiceNames()
+uno::Sequence<OUString> SwXServiceProvider::GetAllServiceNames()
{
sal_uInt16 nEntries = SAL_N_ELEMENTS(aProvNamesId);
uno::Sequence<OUString> aRet(nEntries);
@@ -506,7 +506,7 @@ uno::Sequence<OUString> SwXServiceProvider::GetAllServiceNames()
}
-sal_uInt16 SwXServiceProvider::GetProviderType(const OUString& rServiceName)
+sal_uInt16 SwXServiceProvider::GetProviderType(const OUString& rServiceName)
{
sal_uInt16 nEntries = SAL_N_ELEMENTS(aProvNamesId);
for(sal_uInt16 i = 0; i < nEntries; i++ )
@@ -1005,7 +1005,7 @@ XTextTable* SwXTextTables::GetObject( SwFrmFmt& rFmt )
}
/******************************************************************
- * SwXFrameEnumeration
+ * SwXFrameEnumeration
******************************************************************/
namespace
{
@@ -1155,7 +1155,7 @@ Sequence< OUString > SwXFrameEnumeration<T>::getSupportedServiceNames(void) thro
}
/******************************************************************
- * SwXFrames
+ * SwXFrames
******************************************************************/
OUString SwXFrames::getImplementationName(void) throw( RuntimeException )
{
@@ -1352,7 +1352,7 @@ SwXTextFrames::~SwXTextFrames()
}
/******************************************************************
- * SwXTextGraphicObjects
+ * SwXTextGraphicObjects
******************************************************************/
//SMART_UNO_IMPLEMENTATION( SwXTextGraphicObjects, UsrObject );
OUString SwXTextGraphicObjects::getImplementationName(void) throw( RuntimeException )
@@ -1383,7 +1383,7 @@ SwXTextGraphicObjects::~SwXTextGraphicObjects()
}
/******************************************************************
- * SwXTextEmbeddedObjects
+ * SwXTextEmbeddedObjects
******************************************************************/
OUString SwXTextEmbeddedObjects::getImplementationName(void) throw( RuntimeException )
{
@@ -1861,7 +1861,7 @@ sal_Bool SwXFootnotes::hasElements(void) throw( uno::RuntimeException )
return GetDoc()->GetFtnIdxs().Count() > 0;
}
-Reference<XFootnote> SwXFootnotes::GetObject( SwDoc& rDoc, const SwFmtFtn& rFmt )
+Reference<XFootnote> SwXFootnotes::GetObject( SwDoc& rDoc, const SwFmtFtn& rFmt )
{
return SwXFootnote::CreateXFootnote(rDoc, rFmt);
}
@@ -1980,7 +1980,7 @@ sal_Bool SwXReferenceMarks::hasElements(void) throw( uno::RuntimeException )
SolarMutexGuard aGuard;
if(!IsValid())
throw uno::RuntimeException();
- return 0 != GetDoc()->GetRefMarks();
+ return 0 != GetDoc()->GetRefMarks();
}
SwXReferenceMark* SwXReferenceMarks::GetObject( SwDoc* pDoc, const SwFmtRefMark* pMark )
diff --git a/sw/source/core/unocore/unocore.src b/sw/source/core/unocore/unocore.src
index 4bab91813490..1827049dd692 100644
--- a/sw/source/core/unocore/unocore.src
+++ b/sw/source/core/unocore/unocore.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/sw/source/core/unocore/unocrsrhelper.cxx b/sw/source/core/unocore/unocrsrhelper.cxx
index abdb5610247f..360b8cc5b311 100644
--- a/sw/source/core/unocore/unocrsrhelper.cxx
+++ b/sw/source/core/unocore/unocrsrhelper.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ GetNestedTextContent(SwTxtNode & rTextNode, xub_StrLen const nIndex,
}
/* -----------------16.09.98 12:27-------------------
-* Lesen spezieller Properties am Cursor
+* Lesen spezieller Properties am Cursor
* --------------------------------------------------*/
sal_Bool getCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry
, SwPaM& rPam
@@ -393,8 +393,8 @@ sal_Bool getCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry
eNewState = PropertyState_DEFAULT_VALUE;
}
break;
-/* laesst sich nicht feststellen
-* case FN_UNO_BOOKMARK:
+/* laesst sich nicht feststellen
+* case FN_UNO_BOOKMARK:
{
if()
{
@@ -689,7 +689,7 @@ void setNumberingProperty(const Any& rValue, SwPaM& rPam)
const SvxFontListItem* pFontListItem =
(const SvxFontListItem* )pDoc->GetDocShell()
->GetItem( SID_ATTR_CHAR_FONTLIST );
- const FontList* pList = pFontListItem->GetFontList();
+ const FontList* pList = pFontListItem->GetFontList();
FontInfo aInfo = pList->Get(
pBulletFontNames[i],WEIGHT_NORMAL, ITALIC_NONE);
@@ -784,7 +784,7 @@ void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPa
switch(rEntry.nWID)
{
case FN_UNO_PARA_STYLE :
-// lcl_SetTxtFmtColl(aValue, pUnoCrsr);
+// lcl_SetTxtFmtColl(aValue, pUnoCrsr);
break;
case FN_UNO_PAGE_STYLE :
break;
@@ -792,7 +792,7 @@ void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPa
{
UnoActionContext aAction(pDoc);
- if( rPam.GetNext() != &rPam ) // Mehrfachselektion ?
+ if( rPam.GetNext() != &rPam ) // Mehrfachselektion ?
{
pDoc->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( rPam );
@@ -809,7 +809,7 @@ void resetCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry, SwPaM& rPa
case FN_UNO_NUM_LEVEL :
break;
case FN_UNO_NUM_RULES:
-// lcl_setNumberingProperty(aValue, pUnoCrsr);
+// lcl_setNumberingProperty(aValue, pUnoCrsr);
break;
case FN_UNO_CHARFMT_SEQUENCE:
{
@@ -925,11 +925,11 @@ void InsertFile(SwUnoCrsr* pUnoCrsr,
SfxObjectShellRef aRef( pDocSh );
pDocSh->RegisterTransfer( *pMed );
- pMed->DownLoad(); // ggfs. den DownLoad anstossen
- if( aRef.Is() && 1 < aRef->GetRefCount() ) // noch gueltige Ref?
+ pMed->DownLoad(); // ggfs. den DownLoad anstossen
+ if( aRef.Is() && 1 < aRef->GetRefCount() ) // noch gueltige Ref?
{
SwReader* pRdr;
- SfxItemSet* pSet = pMed->GetItemSet();
+ SfxItemSet* pSet = pMed->GetItemSet();
pSet->Put(SfxBoolItem(FN_API_CALL, sal_True));
if(sPassword.getLength())
pSet->Put(SfxStringItem(SID_PASSWORD, sPassword));
@@ -962,11 +962,11 @@ void InsertFile(SwUnoCrsr* pUnoCrsr,
delete pRdr;
// ggfs. alle Verzeichnisse updaten:
-/* if( pWrtShell->IsUpdateTOX() )
+/* if( pWrtShell->IsUpdateTOX() )
{
SfxRequest aReq( *this, FN_UPDATE_TOX );
Execute( aReq );
- pWrtShell->SetUpdateTOX( sal_False ); // wieder zurueck setzen
+ pWrtShell->SetUpdateTOX( sal_False ); // wieder zurueck setzen
}*/
}
diff --git a/sw/source/core/unocore/unodraw.cxx b/sw/source/core/unocore/unodraw.cxx
index 3b5e047829d0..acc3b9e4a05a 100644
--- a/sw/source/core/unocore/unodraw.cxx
+++ b/sw/source/core/unocore/unodraw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,12 +97,12 @@ static SwShapeImplementationIdMap aImplementationIdMap;
class SwShapeDescriptor_Impl
{
- SwFmtHoriOrient* pHOrient;
- SwFmtVertOrient* pVOrient;
- SwFmtAnchor* pAnchor;
- SwFmtSurround* pSurround;
- SvxULSpaceItem* pULSpace;
- SvxLRSpaceItem* pLRSpace;
+ SwFmtHoriOrient* pHOrient;
+ SwFmtVertOrient* pVOrient;
+ SwFmtAnchor* pAnchor;
+ SwFmtSurround* pSurround;
+ SvxULSpaceItem* pULSpace;
+ SvxLRSpaceItem* pLRSpace;
sal_Bool bOpaque;
uno::Reference< text::XTextRange > xTextRange;
// OD 2004-04-21 #i26791#
@@ -153,7 +153,7 @@ public:
// OD 2004-05-05 #i28701#
delete pWrapInfluenceOnObjPos;
}
- SwFmtAnchor* GetAnchor(sal_Bool bCreate = sal_False)
+ SwFmtAnchor* GetAnchor(sal_Bool bCreate = sal_False)
{
if(bCreate && !pAnchor)
{
@@ -180,19 +180,19 @@ public:
return pVOrient;
}
- SwFmtSurround* GetSurround(sal_Bool bCreate = sal_False)
+ SwFmtSurround* GetSurround(sal_Bool bCreate = sal_False)
{
if(bCreate && !pSurround)
pSurround = new SwFmtSurround();
return pSurround;
}
- SvxLRSpaceItem* GetLRSpace(sal_Bool bCreate = sal_False)
+ SvxLRSpaceItem* GetLRSpace(sal_Bool bCreate = sal_False)
{
if(bCreate && !pLRSpace)
pLRSpace = new SvxLRSpaceItem(RES_LR_SPACE);
return pLRSpace;
}
- SvxULSpaceItem* GetULSpace(sal_Bool bCreate = sal_False)
+ SvxULSpaceItem* GetULSpace(sal_Bool bCreate = sal_False)
{
if(bCreate && !pULSpace)
pULSpace = new SvxULSpaceItem(RES_UL_SPACE);
@@ -290,7 +290,7 @@ SwFmDrawPage::~SwFmDrawPage() throw ()
RemovePageView();
}
-const SdrMarkList& SwFmDrawPage::PreGroup(const uno::Reference< drawing::XShapes > & xShapes)
+const SdrMarkList& SwFmDrawPage::PreGroup(const uno::Reference< drawing::XShapes > & xShapes)
{
_SelectObjectsInView( xShapes, GetPageView() );
const SdrMarkList& rMarkList = mpView->GetMarkedObjectList();
@@ -303,21 +303,21 @@ void SwFmDrawPage::PreUnGroup(const uno::Reference< drawing::XShapeGroup > xSha
_SelectObjectInView( xShape, GetPageView() );
}
-SdrPageView* SwFmDrawPage::GetPageView()
+SdrPageView* SwFmDrawPage::GetPageView()
{
if(!pPageView)
pPageView = mpView->ShowSdrPage( mpPage );
return pPageView;
}
-void SwFmDrawPage::RemovePageView()
+void SwFmDrawPage::RemovePageView()
{
if(pPageView && mpView)
mpView->HideSdrPage();
pPageView = 0;
}
-uno::Reference< uno::XInterface > SwFmDrawPage::GetInterface( SdrObject* pObj )
+uno::Reference< uno::XInterface > SwFmDrawPage::GetInterface( SdrObject* pObj )
{
uno::Reference< XInterface > xShape;
if( pObj )
@@ -613,9 +613,9 @@ void SwXDrawPage::add(const uno::Reference< drawing::XShape > & xShape)
SvxShape* pSvxShape = 0;
if(xShapeTunnel.is())
{
- pShape = reinterpret_cast< SwXShape * >(
+ pShape = reinterpret_cast< SwXShape * >(
sal::static_int_cast< sal_IntPtr >( xShapeTunnel->getSomething(SwXShape::getUnoTunnelId()) ));
- pSvxShape = reinterpret_cast< SvxShape * >(
+ pSvxShape = reinterpret_cast< SvxShape * >(
sal::static_int_cast< sal_IntPtr >( xShapeTunnel->getSomething(SvxShape::getUnoTunnelId()) ));
}
@@ -640,7 +640,7 @@ void SwXDrawPage::add(const uno::Reference< drawing::XShape > & xShape)
// <--
GetSvxPage()->add(xShape);
- uno::Reference< uno::XAggregation > xAgg = pShape->GetAggregationInterface();
+ uno::Reference< uno::XAggregation > xAgg = pShape->GetAggregationInterface();
DBG_ASSERT(pSvxShape, "warum gibt es hier kein SvxShape?");
//diese Position ist auf jeden Fall in 1/100 mm
@@ -862,7 +862,7 @@ void SwXDrawPage::ungroup(const uno::Reference< drawing::XShapeGroup > & xShapeG
}
}
-SwFmDrawPage* SwXDrawPage::GetSvxPage()
+SwFmDrawPage* SwXDrawPage::GetSvxPage()
{
if(!xPageAgg.is() && pDoc)
{
@@ -1086,8 +1086,8 @@ uno::Sequence< sal_Int8 > SwXShape::getImplementationId( ) throw(uno::RuntimeEx
{
// we need to create a new implementation id for this
// note: this memory is not free'd until application exists
- // but since we have a fixed set of shapetypes and the
- // memory will be reused this is ok.
+ // but since we have a fixed set of shapetypes and the
+ // memory will be reused this is ok.
pImplementationId = new uno::Sequence< sal_Int8 >( 16 );
rtl_createUuid( (sal_uInt8 *) pImplementationId->getArray(), 0, sal_True );
aImplementationIdMap[ aShapeType ] = pImplementationId;
@@ -1139,7 +1139,7 @@ void SwXShape::setPropertyValue(const rtl::OUString& rPropertyName, const uno::A
uno::RuntimeException)
{
SolarMutexGuard aGuard;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap()->getByName( rPropertyName );
if(xShapeAgg.is())
{
@@ -1501,7 +1501,7 @@ uno::Any SwXShape::getPropertyValue(const rtl::OUString& rPropertyName)
{
SolarMutexGuard aGuard;
uno::Any aRet;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(xShapeAgg.is())
{
const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap()->getByName( rPropertyName );
@@ -1766,7 +1766,7 @@ uno::Sequence< beans::PropertyState > SwXShape::getPropertyStates(
throw(beans::UnknownPropertyException, uno::RuntimeException)
{
SolarMutexGuard aGuard;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
uno::Sequence< beans::PropertyState > aRet(aPropertyNames.getLength());
if(xShapeAgg.is())
{
@@ -1867,7 +1867,7 @@ void SwXShape::setPropertyToDefault( const rtl::OUString& rPropertyName )
throw(beans::UnknownPropertyException, uno::RuntimeException)
{
SolarMutexGuard aGuard;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(xShapeAgg.is())
{
const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap()->getByName( rPropertyName );
@@ -1887,12 +1887,12 @@ void SwXShape::setPropertyToDefault( const rtl::OUString& rPropertyName )
{
switch(pEntry->nWID)
{
- case RES_ANCHOR: pImpl->RemoveAnchor(); break;
- case RES_HORI_ORIENT: pImpl->RemoveHOrient(); break;
- case RES_VERT_ORIENT: pImpl->RemoveVOrient(); break;
- case RES_LR_SPACE: pImpl->RemoveLRSpace(); break;
- case RES_UL_SPACE: pImpl->RemoveULSpace(); break;
- case RES_SURROUND: pImpl->RemoveSurround();break;
+ case RES_ANCHOR: pImpl->RemoveAnchor(); break;
+ case RES_HORI_ORIENT: pImpl->RemoveHOrient(); break;
+ case RES_VERT_ORIENT: pImpl->RemoveVOrient(); break;
+ case RES_LR_SPACE: pImpl->RemoveLRSpace(); break;
+ case RES_UL_SPACE: pImpl->RemoveULSpace(); break;
+ case RES_SURROUND: pImpl->RemoveSurround();break;
case RES_OPAQUE : pImpl->SetOpaque(sal_False); break;
case FN_TEXT_RANGE :
break;
@@ -1930,7 +1930,7 @@ uno::Any SwXShape::getPropertyDefault( const rtl::OUString& rPropertyName )
uno::RuntimeException )
{
SolarMutexGuard aGuard;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
uno::Any aRet;
if(xShapeAgg.is())
{
@@ -2031,9 +2031,9 @@ void SwXShape::attach(const uno::Reference< text::XTextRange > & xTextRange)
SwXText* pText = 0;
SwXParagraph* pParagraph = 0;
- pRange = reinterpret_cast< SwXTextRange * >(
+ pRange = reinterpret_cast< SwXTextRange * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXTextRange::getUnoTunnelId()) ));
- pText = reinterpret_cast< SwXText * >(
+ pText = reinterpret_cast< SwXText * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXText::getUnoTunnelId()) ));
pCursor = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
@@ -2211,7 +2211,7 @@ uno::Sequence< rtl::OUString > SwXShape::getSupportedServiceNames(void) throw( u
return aSeq;
}
-SvxShape* SwXShape::GetSvxShape()
+SvxShape* SwXShape::GetSvxShape()
{
SvxShape* pSvxShape = 0;
if(xShapeAgg.is())
diff --git a/sw/source/core/unocore/unoevent.cxx b/sw/source/core/unocore/unoevent.cxx
index 51897bea4d2d..60ccd2a63328 100644
--- a/sw/source/core/unocore/unoevent.cxx
+++ b/sw/source/core/unocore/unoevent.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,66 +73,66 @@ const sal_Char sAPI_SwAutoTextEventDescriptor[] =
const struct SvEventDescription aGraphicEvents[] =
{
- { SW_EVENT_OBJECT_SELECT, "OnSelect" },
- { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
- { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
- { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
- { SVX_EVENT_IMAGE_LOAD, "OnLoadDone" },
- { SVX_EVENT_IMAGE_ABORT, "OnLoadCancel" },
- { SVX_EVENT_IMAGE_ERROR, "OnLoadError" },
+ { SW_EVENT_OBJECT_SELECT, "OnSelect" },
+ { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
+ { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
+ { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
+ { SVX_EVENT_IMAGE_LOAD, "OnLoadDone" },
+ { SVX_EVENT_IMAGE_ABORT, "OnLoadCancel" },
+ { SVX_EVENT_IMAGE_ERROR, "OnLoadError" },
{ 0, NULL }
};
const struct SvEventDescription aFrameEvents[] =
{
- { SW_EVENT_OBJECT_SELECT, "OnSelect" },
- { SW_EVENT_FRM_KEYINPUT_ALPHA, "OnAlphaCharInput" },
- { SW_EVENT_FRM_KEYINPUT_NOALPHA, "OnNonAlphaCharInput" },
- { SW_EVENT_FRM_RESIZE, "OnResize" },
- { SW_EVENT_FRM_MOVE, "OnMove" },
- { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
- { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
- { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
+ { SW_EVENT_OBJECT_SELECT, "OnSelect" },
+ { SW_EVENT_FRM_KEYINPUT_ALPHA, "OnAlphaCharInput" },
+ { SW_EVENT_FRM_KEYINPUT_NOALPHA, "OnNonAlphaCharInput" },
+ { SW_EVENT_FRM_RESIZE, "OnResize" },
+ { SW_EVENT_FRM_MOVE, "OnMove" },
+ { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
+ { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
+ { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
{ 0, NULL }
};
const struct SvEventDescription aOLEEvents[] =
{
- { SW_EVENT_OBJECT_SELECT, "OnSelect" },
- { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
- { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
- { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
+ { SW_EVENT_OBJECT_SELECT, "OnSelect" },
+ { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
+ { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
+ { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
{ 0, NULL }
};
const struct SvEventDescription aHyperlinkEvents[] =
{
- { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
- { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
- { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
+ { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
+ { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
+ { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
{ 0, NULL }
};
const struct SvEventDescription aAutotextEvents[] =
{
- { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" },
- { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" },
+ { SW_EVENT_START_INS_GLOSSARY, "OnInsertStart" },
+ { SW_EVENT_END_INS_GLOSSARY, "OnInsertDone" },
{ 0, NULL }
};
const struct SvEventDescription aFrameStyleEvents[] =
{
- { SW_EVENT_OBJECT_SELECT, "OnSelect" },
- { SW_EVENT_FRM_KEYINPUT_ALPHA, "OnAlphaCharInput" },
- { SW_EVENT_FRM_KEYINPUT_NOALPHA, "OnNonAlphaCharInput" },
- { SW_EVENT_FRM_RESIZE, "OnResize" },
- { SW_EVENT_FRM_MOVE, "OnMove" },
- { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
- { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
- { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
- { SVX_EVENT_IMAGE_LOAD, "OnLoadDone" },
- { SVX_EVENT_IMAGE_ABORT, "OnLoadCancel" },
- { SVX_EVENT_IMAGE_ERROR, "OnLoadError" },
+ { SW_EVENT_OBJECT_SELECT, "OnSelect" },
+ { SW_EVENT_FRM_KEYINPUT_ALPHA, "OnAlphaCharInput" },
+ { SW_EVENT_FRM_KEYINPUT_NOALPHA, "OnNonAlphaCharInput" },
+ { SW_EVENT_FRM_RESIZE, "OnResize" },
+ { SW_EVENT_FRM_MOVE, "OnMove" },
+ { SFX_EVENT_MOUSEOVER_OBJECT, "OnMouseOver" },
+ { SFX_EVENT_MOUSECLICK_OBJECT, "OnClick" },
+ { SFX_EVENT_MOUSEOUT_OBJECT, "OnMouseOut" },
+ { SVX_EVENT_IMAGE_LOAD, "OnLoadDone" },
+ { SVX_EVENT_IMAGE_ABORT, "OnLoadCancel" },
+ { SVX_EVENT_IMAGE_ERROR, "OnLoadError" },
{ 0, NULL }
};
diff --git a/sw/source/core/unocore/unoevtlstnr.cxx b/sw/source/core/unocore/unoevtlstnr.cxx
index 0e20fd81af9f..d87af6152f8e 100644
--- a/sw/source/core/unocore/unoevtlstnr.cxx
+++ b/sw/source/core/unocore/unoevtlstnr.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ SwEventListenerContainer::~SwEventListenerContainer()
delete pListenerArr;
}
-void SwEventListenerContainer::AddListener(const uno::Reference< lang::XEventListener > & rxListener)
+void SwEventListenerContainer::AddListener(const uno::Reference< lang::XEventListener > & rxListener)
{
if(!pListenerArr)
pListenerArr = new SwEvtLstnrArray;
@@ -66,7 +66,7 @@ void SwEventListenerContainer::AddListener(const uno::Reference< lang::XEvent
pListenerArr->Insert(pInsert, pListenerArr->Count());
}
-sal_Bool SwEventListenerContainer::RemoveListener(const uno::Reference< lang::XEventListener > & rxListener)
+sal_Bool SwEventListenerContainer::RemoveListener(const uno::Reference< lang::XEventListener > & rxListener)
{
if(!pListenerArr)
return sal_False;
@@ -88,7 +88,7 @@ sal_Bool SwEventListenerContainer::RemoveListener(const uno::Reference< lang:
return sal_False;
}
-void SwEventListenerContainer::Disposing()
+void SwEventListenerContainer::Disposing()
{
if(!pListenerArr)
return;
diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx
index 65f926e5a2d9..0f9093a49958 100644
--- a/sw/source/core/unocore/unofield.cxx
+++ b/sw/source/core/unocore/unofield.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ using ::rtl::OUString;
using namespace ::com::sun::star;
using namespace nsSwDocInfoSubType;
-#define COM_TEXT_FLDMASTER "com.sun.star.text.FieldMaster."
+#define COM_TEXT_FLDMASTER "com.sun.star.text.FieldMaster."
// case-corrected version of the first part for the service names (see #i67811)
#define COM_TEXT_FLDMASTER_CC "com.sun.star.text.fieldmaster."
@@ -107,23 +107,23 @@ using namespace nsSwDocInfoSubType;
// note: this thing is indexed as an array, so do not insert/remove entries!
static const sal_uInt16 aDocInfoSubTypeFromService[] =
{
- DI_CHANGE | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_AUTHOR
- DI_CHANGE | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME
- DI_EDIT | DI_SUB_TIME, //PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME
- DI_COMMENT, //PROPERTY_MAP_FLDTYP_DOCINFO_DESCRIPTION
- DI_CREATE | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_AUTHOR
- DI_CREATE | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME
- 0, //DUMMY
- 0, //DUMMY
- 0, //DUMMY
- 0, //DUMMY
- DI_CUSTOM, //PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM
- DI_PRINT | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_PRINT_AUTHOR
- DI_PRINT | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_PRINT_DATE_TIME
- DI_KEYS, //PROPERTY_MAP_FLDTYP_DOCINFO_KEY_WORDS
- DI_THEMA, //PROPERTY_MAP_FLDTYP_DOCINFO_SUBJECT
- DI_TITEL, //PROPERTY_MAP_FLDTYP_DOCINFO_TITLE
- DI_DOCNO //PROPERTY_MAP_FLDTYP_DOCINFO_REVISION
+ DI_CHANGE | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_AUTHOR
+ DI_CHANGE | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_CHANGE_DATE_TIME
+ DI_EDIT | DI_SUB_TIME, //PROPERTY_MAP_FLDTYP_DOCINFO_EDIT_TIME
+ DI_COMMENT, //PROPERTY_MAP_FLDTYP_DOCINFO_DESCRIPTION
+ DI_CREATE | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_AUTHOR
+ DI_CREATE | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_CREATE_DATE_TIME
+ 0, //DUMMY
+ 0, //DUMMY
+ 0, //DUMMY
+ 0, //DUMMY
+ DI_CUSTOM, //PROPERTY_MAP_FLDTYP_DOCINFO_CUSTOM
+ DI_PRINT | DI_SUB_AUTHOR, //PROPERTY_MAP_FLDTYP_DOCINFO_PRINT_AUTHOR
+ DI_PRINT | DI_SUB_DATE, //PROPERTY_MAP_FLDTYP_DOCINFO_PRINT_DATE_TIME
+ DI_KEYS, //PROPERTY_MAP_FLDTYP_DOCINFO_KEY_WORDS
+ DI_THEMA, //PROPERTY_MAP_FLDTYP_DOCINFO_SUBJECT
+ DI_TITEL, //PROPERTY_MAP_FLDTYP_DOCINFO_TITLE
+ DI_DOCNO //PROPERTY_MAP_FLDTYP_DOCINFO_REVISION
};
struct ServiceIdResId
@@ -134,59 +134,59 @@ struct ServiceIdResId
static const ServiceIdResId aServiceToRes[] =
{
- {RES_DATETIMEFLD, SW_SERVICE_FIELDTYPE_DATETIME },
- {RES_USERFLD, SW_SERVICE_FIELDTYPE_USER },
- {RES_SETEXPFLD, SW_SERVICE_FIELDTYPE_SET_EXP } ,
- {RES_GETEXPFLD, SW_SERVICE_FIELDTYPE_GET_EXP } ,
- {RES_FILENAMEFLD, SW_SERVICE_FIELDTYPE_FILE_NAME },
- {RES_PAGENUMBERFLD, SW_SERVICE_FIELDTYPE_PAGE_NUM } ,
- {RES_AUTHORFLD, SW_SERVICE_FIELDTYPE_AUTHOR } ,
- {RES_CHAPTERFLD, SW_SERVICE_FIELDTYPE_CHAPTER },
- {RES_GETREFFLD, SW_SERVICE_FIELDTYPE_GET_REFERENCE } ,
- {RES_HIDDENTXTFLD, SW_SERVICE_FIELDTYPE_CONDITIONED_TEXT },
- {RES_POSTITFLD, SW_SERVICE_FIELDTYPE_ANNOTATION } ,
- {RES_INPUTFLD, SW_SERVICE_FIELDTYPE_INPUT },
- {RES_MACROFLD, SW_SERVICE_FIELDTYPE_MACRO },
- {RES_DDEFLD, SW_SERVICE_FIELDTYPE_DDE },
- {RES_HIDDENPARAFLD, SW_SERVICE_FIELDTYPE_HIDDEN_PARA } ,
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOC_INFO },
- {RES_TEMPLNAMEFLD, SW_SERVICE_FIELDTYPE_TEMPLATE_NAME },
- {RES_EXTUSERFLD, SW_SERVICE_FIELDTYPE_USER_EXT },
- {RES_REFPAGESETFLD, SW_SERVICE_FIELDTYPE_REF_PAGE_SET } ,
- {RES_REFPAGEGETFLD, SW_SERVICE_FIELDTYPE_REF_PAGE_GET } ,
- {RES_JUMPEDITFLD, SW_SERVICE_FIELDTYPE_JUMP_EDIT },
- {RES_SCRIPTFLD, SW_SERVICE_FIELDTYPE_SCRIPT } ,
- {RES_DBNEXTSETFLD, SW_SERVICE_FIELDTYPE_DATABASE_NEXT_SET },
- {RES_DBNUMSETFLD, SW_SERVICE_FIELDTYPE_DATABASE_NUM_SET },
+ {RES_DATETIMEFLD, SW_SERVICE_FIELDTYPE_DATETIME },
+ {RES_USERFLD, SW_SERVICE_FIELDTYPE_USER },
+ {RES_SETEXPFLD, SW_SERVICE_FIELDTYPE_SET_EXP } ,
+ {RES_GETEXPFLD, SW_SERVICE_FIELDTYPE_GET_EXP } ,
+ {RES_FILENAMEFLD, SW_SERVICE_FIELDTYPE_FILE_NAME },
+ {RES_PAGENUMBERFLD, SW_SERVICE_FIELDTYPE_PAGE_NUM } ,
+ {RES_AUTHORFLD, SW_SERVICE_FIELDTYPE_AUTHOR } ,
+ {RES_CHAPTERFLD, SW_SERVICE_FIELDTYPE_CHAPTER },
+ {RES_GETREFFLD, SW_SERVICE_FIELDTYPE_GET_REFERENCE } ,
+ {RES_HIDDENTXTFLD, SW_SERVICE_FIELDTYPE_CONDITIONED_TEXT },
+ {RES_POSTITFLD, SW_SERVICE_FIELDTYPE_ANNOTATION } ,
+ {RES_INPUTFLD, SW_SERVICE_FIELDTYPE_INPUT },
+ {RES_MACROFLD, SW_SERVICE_FIELDTYPE_MACRO },
+ {RES_DDEFLD, SW_SERVICE_FIELDTYPE_DDE },
+ {RES_HIDDENPARAFLD, SW_SERVICE_FIELDTYPE_HIDDEN_PARA } ,
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOC_INFO },
+ {RES_TEMPLNAMEFLD, SW_SERVICE_FIELDTYPE_TEMPLATE_NAME },
+ {RES_EXTUSERFLD, SW_SERVICE_FIELDTYPE_USER_EXT },
+ {RES_REFPAGESETFLD, SW_SERVICE_FIELDTYPE_REF_PAGE_SET } ,
+ {RES_REFPAGEGETFLD, SW_SERVICE_FIELDTYPE_REF_PAGE_GET } ,
+ {RES_JUMPEDITFLD, SW_SERVICE_FIELDTYPE_JUMP_EDIT },
+ {RES_SCRIPTFLD, SW_SERVICE_FIELDTYPE_SCRIPT } ,
+ {RES_DBNEXTSETFLD, SW_SERVICE_FIELDTYPE_DATABASE_NEXT_SET },
+ {RES_DBNUMSETFLD, SW_SERVICE_FIELDTYPE_DATABASE_NUM_SET },
{RES_DBSETNUMBERFLD, SW_SERVICE_FIELDTYPE_DATABASE_SET_NUM } ,
- {RES_DBFLD, SW_SERVICE_FIELDTYPE_DATABASE } ,
- {RES_DBNAMEFLD, SW_SERVICE_FIELDTYPE_DATABASE_NAME },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_PAGE_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_PARAGRAPH_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_WORD_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_CHARACTER_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_TABLE_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_GRAPHIC_OBJECT_COUNT },
- {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_EMBEDDED_OBJECT_COUNT },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_AUTHOR },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_DATE_TIME},
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_EDIT_TIME },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_DESCRIPTION },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CREATE_AUTHOR },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CREATE_DATE_TIME},
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_AUTHOR },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_DATE_TIME },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_KEY_WORDS },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_SUBJECT },
- {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_TITLE },
- {RES_INPUTFLD, SW_SERVICE_FIELDTYPE_INPUT_USER },
- {RES_HIDDENTXTFLD, SW_SERVICE_FIELDTYPE_HIDDEN_TEXT },
- {RES_AUTHORITY, SW_SERVICE_FIELDTYPE_BIBLIOGRAPHY },
- {RES_COMBINED_CHARS, SW_SERVICE_FIELDTYPE_COMBINED_CHARACTERS },
- {RES_DROPDOWN, SW_SERVICE_FIELDTYPE_DROPDOWN },
+ {RES_DBFLD, SW_SERVICE_FIELDTYPE_DATABASE } ,
+ {RES_DBNAMEFLD, SW_SERVICE_FIELDTYPE_DATABASE_NAME },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_PAGE_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_PARAGRAPH_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_WORD_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_CHARACTER_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_TABLE_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_GRAPHIC_OBJECT_COUNT },
+ {RES_DOCSTATFLD, SW_SERVICE_FIELDTYPE_EMBEDDED_OBJECT_COUNT },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_AUTHOR },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_DATE_TIME},
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_EDIT_TIME },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_DESCRIPTION },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CREATE_AUTHOR },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CREATE_DATE_TIME},
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_AUTHOR },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_DATE_TIME },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_KEY_WORDS },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_SUBJECT },
+ {RES_DOCINFOFLD, SW_SERVICE_FIELDTYPE_DOCINFO_TITLE },
+ {RES_INPUTFLD, SW_SERVICE_FIELDTYPE_INPUT_USER },
+ {RES_HIDDENTXTFLD, SW_SERVICE_FIELDTYPE_HIDDEN_TEXT },
+ {RES_AUTHORITY, SW_SERVICE_FIELDTYPE_BIBLIOGRAPHY },
+ {RES_COMBINED_CHARS, SW_SERVICE_FIELDTYPE_COMBINED_CHARACTERS },
+ {RES_DROPDOWN, SW_SERVICE_FIELDTYPE_DROPDOWN },
{RES_TABLEFLD, SW_SERVICE_FIELDTYPE_TABLE_FORMULA },
- {USHRT_MAX, USHRT_MAX }
+ {USHRT_MAX, USHRT_MAX }
};
sal_uInt16 lcl_ServiceIdToResId(sal_uInt16 nServiceId)
@@ -232,13 +232,13 @@ sal_uInt16 lcl_GetServiceForField( const SwField& rFld )
? SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_AUTHOR
: SW_SERVICE_FIELDTYPE_DOCINFO_PRINT_DATE_TIME;
break;
- case DI_EDIT: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_EDIT_TIME;break;
+ case DI_EDIT: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_EDIT_TIME;break;
case DI_COMMENT:nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_DESCRIPTION;break;
case DI_KEYS: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_KEY_WORDS;break;
- case DI_THEMA: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_SUBJECT; break;
- case DI_TITEL: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_TITLE; break;
- case DI_DOCNO: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_REVISION; break;
- case DI_CUSTOM: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM; break;
+ case DI_THEMA: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_SUBJECT; break;
+ case DI_TITEL: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_TITLE; break;
+ case DI_DOCNO: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_REVISION; break;
+ case DI_CUSTOM: nSrvId = SW_SERVICE_FIELDTYPE_DOCINFO_CUSTOM; break;
}
}
break;
@@ -286,12 +286,12 @@ sal_uInt16 lcl_GetPropMapIdForFieldType( USHORT nWhich )
sal_uInt16 nId;
switch( nWhich )
{
- case RES_USERFLD: nId = PROPERTY_MAP_FLDMSTR_USER; break;
- case RES_DBFLD: nId = PROPERTY_MAP_FLDMSTR_DATABASE; break;
- case RES_SETEXPFLD: nId = PROPERTY_MAP_FLDMSTR_SET_EXP; break;
- case RES_DDEFLD: nId = PROPERTY_MAP_FLDMSTR_DDE; break;
- case RES_AUTHORITY: nId = PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY; break;
- default: nId = PROPERTY_MAP_FLDMSTR_DUMMY0;
+ case RES_USERFLD: nId = PROPERTY_MAP_FLDMSTR_USER; break;
+ case RES_DBFLD: nId = PROPERTY_MAP_FLDMSTR_DATABASE; break;
+ case RES_SETEXPFLD: nId = PROPERTY_MAP_FLDMSTR_SET_EXP; break;
+ case RES_DDEFLD: nId = PROPERTY_MAP_FLDMSTR_DDE; break;
+ case RES_AUTHORITY: nId = PROPERTY_MAP_FLDMSTR_BIBLIOGRAPHY; break;
+ default: nId = PROPERTY_MAP_FLDMSTR_DUMMY0;
}
return nId;
}
@@ -429,11 +429,11 @@ BOOL SwXFieldMaster::supportsService(const OUString& rServiceName) throw( uno::R
const sal_Char* pEntry;
switch( nResTypeId )
{
- case RES_USERFLD: pEntry = "User"; break;
- case RES_DBFLD: pEntry = "Database"; break;
- case RES_SETEXPFLD: pEntry = "SetExpression"; break;
- case RES_DDEFLD: pEntry = "DDE"; break;
- case RES_AUTHORITY: pEntry = "Bibliography"; break;
+ case RES_USERFLD: pEntry = "User"; break;
+ case RES_DBFLD: pEntry = "Database"; break;
+ case RES_SETEXPFLD: pEntry = "SetExpression"; break;
+ case RES_DDEFLD: pEntry = "DDE"; break;
+ case RES_AUTHORITY: pEntry = "Bibliography"; break;
default: pEntry = 0;
}
if( pEntry )
@@ -456,11 +456,11 @@ uno::Sequence< OUString > SwXFieldMaster::getSupportedServiceNames(void) throw(
const sal_Char* pEntry1;
switch( nResTypeId )
{
- case RES_USERFLD: pEntry1 = "User"; break;
- case RES_DBFLD: pEntry1 = "Database"; break;
- case RES_SETEXPFLD: pEntry1 = "SetExpression"; break;
- case RES_DDEFLD: pEntry1 = "DDE"; break;
- case RES_AUTHORITY: pEntry1 = "Bibliography"; break;
+ case RES_USERFLD: pEntry1 = "User"; break;
+ case RES_DBFLD: pEntry1 = "Database"; break;
+ case RES_SETEXPFLD: pEntry1 = "SetExpression"; break;
+ case RES_DDEFLD: pEntry1 = "DDE"; break;
+ case RES_AUTHORITY: pEntry1 = "Bibliography"; break;
default: pEntry1 = 0;
}
if( pEntry1 )
@@ -507,7 +507,7 @@ uno::Reference< beans::XPropertySetInfo > SwXFieldMaster::getPropertySetInfo(vo
throw( uno::RuntimeException )
{
SolarMutexGuard aGuard;
- uno::Reference< beans::XPropertySetInfo > aRef =
+ uno::Reference< beans::XPropertySetInfo > aRef =
aSwMapProvider.GetPropertySet(
lcl_GetPropMapIdForFieldType( nResTypeId ) )->getPropertySetInfo();
return aRef;
@@ -537,7 +537,7 @@ void SwXFieldMaster::setPropertyValue( const OUString& rPropertyName,
};
for(const sal_uInt16 * pIds = nIds; *pIds; ++pIds)
{
- if(sTypeName == *rExtraArr[ *pIds ] )
+ if(sTypeName == *rExtraArr[ *pIds ] )
{
bSetValue = sal_False;
break;
@@ -609,7 +609,7 @@ void SwXFieldMaster::setPropertyValue( const OUString& rPropertyName,
}
break;
case RES_DBFLD :
- {
+ {
::GetString( rValue, sParam3 );
pType = GetFldType();
}
@@ -898,7 +898,7 @@ void SwXFieldMaster::removeVetoableChangeListener(const OUString& /*PropertyName
DBG_WARNING("not implemented");
}
-void SwXFieldMaster::dispose(void) throw( uno::RuntimeException )
+void SwXFieldMaster::dispose(void) throw( uno::RuntimeException )
{
SolarMutexGuard aGuard;
SwFieldType* pFldType = GetFldType(sal_True);
@@ -970,14 +970,14 @@ const Programmatic2UIName_Impl* lcl_GetFieldNameTable()
{
bInitialized = TRUE;
int nName = 0;
- aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_ABB ));
- aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_ABB));
- aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_TABLE ));
- aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_TABLE));
- aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_FRAME));
- aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_FRAME));
- aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_DRAWING ));
- aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_DRAWING));
+ aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_ABB ));
+ aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_ABB));
+ aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_TABLE ));
+ aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_TABLE));
+ aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_FRAME));
+ aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_FRAME));
+ aFieldNames[nName].sUIName = String (SW_RES(STR_POOLCOLL_LABEL_DRAWING ));
+ aFieldNames[nName++].sProgrammaticName = String (SW_RES(STR_POCO_PRGM_LABEL_DRAWING));
}
return &aFieldNames[0];
}
@@ -1042,28 +1042,28 @@ SwXTextField * CreateSwXTextField(SwDoc & rDoc, SwFmtFld const& rFmt)
struct SwFieldProperties_Impl
{
- String sPar1;
- String sPar2;
- String sPar3;
- String sPar4;
+ String sPar1;
+ String sPar2;
+ String sPar3;
+ String sPar4;
String sPar5;
String sPar6;
- Date aDate;
- double fDouble;
- uno::Sequence<beans::PropertyValue> aPropSeq;
+ Date aDate;
+ double fDouble;
+ uno::Sequence<beans::PropertyValue> aPropSeq;
uno::Sequence<OUString> aStrings;
- util::DateTime* pDateTime;
-
- sal_Int32 nSubType;
- sal_Int32 nFormat;
- sal_uInt16 nUSHORT1;
- sal_uInt16 nUSHORT2;
- sal_Int16 nSHORT1;
- sal_Int8 nByte1;
+ util::DateTime* pDateTime;
+
+ sal_Int32 nSubType;
+ sal_Int32 nFormat;
+ sal_uInt16 nUSHORT1;
+ sal_uInt16 nUSHORT2;
+ sal_Int16 nSHORT1;
+ sal_Int8 nByte1;
sal_Bool bFormatIsDefault;
- sal_Bool bBool1;
- sal_Bool bBool2;
- sal_Bool bBool3;
+ sal_Bool bBool1;
+ sal_Bool bBool2;
+ sal_Bool bBool3;
sal_Bool bBool4;
SwFieldProperties_Impl():
@@ -1183,9 +1183,9 @@ uno::Reference< beans::XPropertySet > SwXTextField::getTextFieldMaster(void) th
if( m_bIsDescriptor && m_aFieldTypeClient.GetRegisteredIn() )
{
pType = (SwFieldType*)m_aFieldTypeClient.GetRegisteredIn();
- }
+ }
else
- {
+ {
if(!GetRegisteredIn())
throw uno::RuntimeException();
pType = pFmtFld->GetFld()->GetTyp();
@@ -1222,9 +1222,9 @@ void SwXTextField::attachToRange(
OTextCursorHelper* pCursor = 0;
if(xRangeTunnel.is())
{
- pRange = reinterpret_cast< SwXTextRange * >(
+ pRange = reinterpret_cast< SwXTextRange * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXTextRange::getUnoTunnelId()) ));
- pCursor = reinterpret_cast< OTextCursorHelper * >(
+ pCursor = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
}
@@ -1241,7 +1241,7 @@ void SwXTextField::attachToRange(
case SW_SERVICE_FIELDTYPE_ANNOTATION:
{
SwFieldType* pFldType = pDoc->GetSysFldType(RES_POSTITFLD);
-
+
DateTime aDateTime;
if (m_pProps->pDateTime)
{
@@ -1380,7 +1380,7 @@ void SwXTextField::attachToRange(
m_pProps->nUSHORT1, m_pProps->sPar2, m_pProps->sPar1);
}
break;
- case SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_AUTHOR :
+ case SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_AUTHOR :
case SW_SERVICE_FIELDTYPE_DOCINFO_CHANGE_DATE_TIME :
case SW_SERVICE_FIELDTYPE_DOCINFO_EDIT_TIME :
case SW_SERVICE_FIELDTYPE_DOCINFO_DESCRIPTION :
@@ -1573,7 +1573,7 @@ void SwXTextField::attachToRange(
m_pProps->nUSHORT2 != USHRT_MAX ? //#i79471# the field can have a number format or a number_ing_ format
m_pProps->nUSHORT2 : m_pProps->nFormat);
- sal_uInt16 nSubType = pFld->GetSubType();
+ sal_uInt16 nSubType = pFld->GetSubType();
if(m_pProps->bBool2)
nSubType &= ~nsSwExtendedSubType::SUB_INVISIBLE;
else
@@ -1613,8 +1613,8 @@ void SwXTextField::attachToRange(
static_cast< SwSetExpFieldType* >(pSetExpFld)->GetType() == nsSwGetSetExpType::GSE_STRING )
nSubType = nsSwGetSetExpType::GSE_STRING;
}
- else
- bSetGetExpFieldUninitialized = true; // #i82544#
+ else
+ bSetGetExpFieldUninitialized = true; // #i82544#
if(m_pProps->bBool2)
nSubType |= nsSwExtendedSubType::SUB_CMD;
@@ -1626,7 +1626,7 @@ void SwXTextField::attachToRange(
//TODO: SubType auswerten!
if(m_pProps->sPar4.Len())
((SwGetExpField*)pFld)->ChgExpStr(m_pProps->sPar4);
- // #i82544#
+ // #i82544#
if( bSetGetExpFieldUninitialized )
((SwGetExpField*)pFld)->SetLateInitialization();
}
@@ -1678,7 +1678,7 @@ void SwXTextField::attachToRange(
sal_uInt16 nSubType = DS_PAGE;
switch(m_nServiceId)
{
-// case SW_SERVICE_FIELDTYPE_PAGE_COUNT : break;
+// case SW_SERVICE_FIELDTYPE_PAGE_COUNT : break;
case SW_SERVICE_FIELDTYPE_PARAGRAPH_COUNT : nSubType = DS_PARA;break;
case SW_SERVICE_FIELDTYPE_WORD_COUNT : nSubType = DS_WORD;break;
case SW_SERVICE_FIELDTYPE_CHARACTER_COUNT : nSubType = DS_CHAR;break;
@@ -1929,12 +1929,12 @@ void SwXTextField::setPropertyValue(const OUString& rPropertyName, const uno::An
{
pFmtFld->GetTxtFld()->Expand();
}
-
+
//#i100374# changing a document field should set the modify flag
SwDoc* pDoc = GetDoc();
if (pDoc)
pDoc->SetModified();
-
+
}
else if(m_pProps)
{
@@ -2142,7 +2142,7 @@ uno::Any SwXTextField::getPropertyValue(const OUString& rPropertyName)
m_pTextObject = new SwTextAPIObject( pObj );
m_pTextObject->acquire();
}
-
+
uno::Reference < text::XText > xText( m_pTextObject );
aRet <<= xText;
break;
diff --git a/sw/source/core/unocore/unoflatpara.cxx b/sw/source/core/unocore/unoflatpara.cxx
index 035f2986d7b0..2090dc747374 100644
--- a/sw/source/core/unocore/unoflatpara.cxx
+++ b/sw/source/core/unocore/unoflatpara.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 SAL_CALL SwXFlatParagraph::commitTextMarkup(::sal_Int32 nType, const ::rtl:
{
SolarMutexGuard aGuard;
SwXTextMarkup::commitTextMarkup( nType, rIdentifier, nStart, nLength, rxMarkupInfoContainer );
-}
+}
// text::XFlatParagraph:
::rtl::OUString SAL_CALL SwXFlatParagraph::getText() throw (uno::RuntimeException)
@@ -179,7 +179,7 @@ void SAL_CALL SwXFlatParagraph::setChecked( ::sal_Int32 nType, ::sal_Bool bVal )
}
// text::XFlatParagraph:
-lang::Locale SAL_CALL SwXFlatParagraph::getLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen)
+lang::Locale SAL_CALL SwXFlatParagraph::getLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen)
throw (uno::RuntimeException, lang::IllegalArgumentException)
{
SolarMutexGuard aGuard;
@@ -191,7 +191,7 @@ lang::Locale SAL_CALL SwXFlatParagraph::getLanguageOfText(::sal_Int32 nPos, ::sa
}
// text::XFlatParagraph:
-lang::Locale SAL_CALL SwXFlatParagraph::getPrimaryLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen)
+lang::Locale SAL_CALL SwXFlatParagraph::getPrimaryLanguageOfText(::sal_Int32 nPos, ::sal_Int32 nLen)
throw (uno::RuntimeException, lang::IllegalArgumentException)
{
SolarMutexGuard aGuard;
@@ -362,10 +362,10 @@ uno::Reference< text::XFlatParagraph > SwXFlatParagraphIterator::getNextPara()
{
SwTxtNode* pTxtNode = dynamic_cast<SwTxtNode*>( pCnt->GetNode()->GetTxtNode() );
- if ( pTxtNode &&
- ((mnType == text::TextMarkupType::SPELLCHECK &&
+ if ( pTxtNode &&
+ ((mnType == text::TextMarkupType::SPELLCHECK &&
pTxtNode->IsWrongDirty()) ||
- (mnType == text::TextMarkupType::PROOFREADING &&
+ (mnType == text::TextMarkupType::PROOFREADING &&
pTxtNode->IsGrammarCheckDirty())) )
{
pRet = pTxtNode;
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index afc9a0aaee6a..3b7e2909b6d2 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -210,7 +210,7 @@ sal_Bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const
{
SvxBrushItem aBrush ( static_cast < const :: SvxBrushItem & > ( rFromSet.Get ( RES_BACKGROUND ) ) );
if(pCol )
- bRet &= ((SfxPoolItem&)aBrush).PutValue(*pCol,MID_BACK_COLOR );
+ bRet &= ((SfxPoolItem&)aBrush).PutValue(*pCol,MID_BACK_COLOR );
if(pColTrans)
bRet &= ((SfxPoolItem&)aBrush).PutValue(*pColTrans, MID_BACK_COLOR_TRANSPARENCY);
if(pRGBCol)
@@ -373,7 +373,7 @@ sal_Bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const
{
SwFmtSurround aSrnd ( static_cast < const :: SwFmtSurround & > ( rFromSet.Get ( RES_SURROUND ) ) );
if(pSur)
- bRet &= ((SfxPoolItem&)aSrnd).PutValue(*pSur, MID_SURROUND_SURROUNDTYPE );
+ bRet &= ((SfxPoolItem&)aSrnd).PutValue(*pSur, MID_SURROUND_SURROUNDTYPE );
if(pSurAnch)
bRet &= ((SfxPoolItem&)aSrnd).PutValue(*pSurAnch, MID_SURROUND_ANCHORONLY);
rToSet.Put(aSrnd);
@@ -396,17 +396,17 @@ sal_Bool BaseFrameProperties_Impl::FillBaseProperties(SfxItemSet& rToSet, const
GetProperty(RES_BOX, CONVERT_TWIPS|TOP_BORDER_DISTANCE, pTopDistance);
const ::uno::Any* pBottomDistance = 0;
GetProperty(RES_BOX, CONVERT_TWIPS|BOTTOM_BORDER_DISTANCE, pBottomDistance);
- if( pLeft || pRight || pTop || pBottom || pDistance ||
+ if( pLeft || pRight || pTop || pBottom || pDistance ||
pLeftDistance || pRightDistance || pTopDistance || pBottomDistance )
{
SvxBoxItem aBox ( static_cast < const :: SvxBoxItem & > ( rFromSet.Get ( RES_BOX ) ) );
- if( pLeft )
+ if( pLeft )
bRet &= ((SfxPoolItem&)aBox).PutValue(*pLeft, CONVERT_TWIPS|LEFT_BORDER );
- if( pRight )
+ if( pRight )
bRet &= ((SfxPoolItem&)aBox).PutValue(*pRight, CONVERT_TWIPS|RIGHT_BORDER );
- if( pTop )
+ if( pTop )
bRet &= ((SfxPoolItem&)aBox).PutValue(*pTop, CONVERT_TWIPS|TOP_BORDER);
- if( pBottom )
+ if( pBottom )
bRet &= ((SfxPoolItem&)aBox).PutValue(*pBottom, CONVERT_TWIPS|BOTTOM_BORDER);
if( pDistance )
bRet &= ((SfxPoolItem&)aBox).PutValue(*pDistance, CONVERT_TWIPS|BORDER_DISTANCE);
@@ -620,7 +620,7 @@ inline void lcl_FillMirror ( SfxItemSet &rToSet, const :: SfxItemSet &rFromSet,
}
}
-sal_Bool SwGraphicProperties_Impl::AnyToItemSet(
+sal_Bool SwGraphicProperties_Impl::AnyToItemSet(
SwDoc* pDoc,
SfxItemSet& rFrmSet,
SfxItemSet& rGrSet,
@@ -714,7 +714,7 @@ sal_Bool SwOLEProperties_Impl::AnyToItemSet(
}
/******************************************************************
- * SwXFrame
+ * SwXFrame
******************************************************************/
const :: uno::Sequence< sal_Int8 > & SwXFrame::getUnoTunnelId()
{
@@ -1150,7 +1150,7 @@ void SwXFrame::setPropertyValue(const :: OUString& rPropertyName, const :: uno::
if(pIdx)
{
SwNodeIndex aIdx(*pIdx, 1);
-// SwNoTxtNode* pNoTxt = aIdx.GetNode().GetNoTxtNode();
+// SwNoTxtNode* pNoTxt = aIdx.GetNode().GetNoTxtNode();
SwGrfNode* pGrfNode = aIdx.GetNode().GetGrfNode();
if(!pGrfNode)
{
@@ -1495,7 +1495,7 @@ uno::Any SwXFrame::getPropertyValue(const OUString& rPropertyName)
if(pIdx)
{
SwNodeIndex aIdx(*pIdx, 1);
-// SwNoTxtNode* pNoTxt = aIdx.GetNode().GetNoTxtNode();
+// SwNoTxtNode* pNoTxt = aIdx.GetNode().GetNoTxtNode();
SwGrfNode* pGrfNode = aIdx.GetNode().GetGrfNode();
if(!pGrfNode)
throw uno::RuntimeException();
@@ -1914,7 +1914,7 @@ void SwXFrame::removeEventListener(const uno::Reference< lang::XEventListener >
throw uno::RuntimeException();
}
-void SwXFrame::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
+void SwXFrame::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
{
ClientModify(this, pOld, pNew);
if(!GetRegisteredIn())
@@ -1996,7 +1996,7 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
OTextCursorHelper* pCursor = 0;
if(xRangeTunnel.is())
{
- pRange = reinterpret_cast< SwXTextRange * >(
+ pRange = reinterpret_cast< SwXTextRange * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXTextRange::getUnoTunnelId()) ));
pCursor = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
@@ -2014,14 +2014,14 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
aPam.Move( fnMoveBackward, fnGoDoc );
static sal_uInt16 __READONLY_DATA aFrmAttrRange[] =
{
- RES_FRMATR_BEGIN, RES_FRMATR_END-1,
- SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
+ RES_FRMATR_BEGIN, RES_FRMATR_END-1,
+ SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
RES_UNKNOWNATR_CONTAINER, RES_UNKNOWNATR_CONTAINER,
0
};
static sal_uInt16 __READONLY_DATA aGrAttrRange[] =
{
- RES_GRFATR_BEGIN, RES_GRFATR_END-1,
+ RES_GRFATR_BEGIN, RES_GRFATR_END-1,
0
};
SfxItemSet aGrSet(pDoc->GetAttrPool(), aGrAttrRange );
@@ -2330,7 +2330,7 @@ void SwXFrame::attach(const uno::Reference< text::XTextRange > & xTextRange)
OTextCursorHelper* pCursor = 0;
if(xRangeTunnel.is())
{
- pRange = reinterpret_cast< SwXTextRange * >(
+ pRange = reinterpret_cast< SwXTextRange * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXTextRange::getUnoTunnelId()) ));
pCursor = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
@@ -2388,7 +2388,7 @@ OUString SwXFrame::getShapeType(void) throw( uno::RuntimeException )
}
/******************************************************************
- * SwXTextFrame
+ * SwXTextFrame
******************************************************************/
SwXTextFrame::SwXTextFrame( SwDoc *_pDoc ) :
SwXText(0, CURSOR_FRAME),
@@ -2577,11 +2577,11 @@ uno::Reference< container::XEnumeration > SwXTextFrame::createEnumeration(void)
::std::auto_ptr<SwUnoCrsr> pUnoCursor(
GetDoc()->CreateUnoCrsr(aPos, sal_False));
pUnoCursor->Move(fnMoveForward, fnGoNode);
-// // no Cursor in protected sections
-// SwCrsrSaveState aSave( *pUnoCrsr );
-// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
-// pUnoCrsr->IsSelOvr( SELOVER_TOGGLE | SELOVER_CHANGEPOS ))
-// throw uno::RuntimeException() );
+// // no Cursor in protected sections
+// SwCrsrSaveState aSave( *pUnoCrsr );
+// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
+// pUnoCrsr->IsSelOvr( SELOVER_TOGGLE | SELOVER_CHANGEPOS ))
+// throw uno::RuntimeException() );
aRef = new SwXParagraphEnumeration(this, pUnoCursor, CURSOR_FRAME);
}
return aRef;
@@ -2691,7 +2691,7 @@ sal_Int64 SAL_CALL SwXTextFrame::getSomething( const uno::Sequence< sal_Int8 >&
}
/******************************************************************
- * SwXTextGraphicObject
+ * SwXTextGraphicObject
******************************************************************/
SwXTextGraphicObject::SwXTextGraphicObject( SwDoc *pDoc ) :
SwXFrame(FLYCNTTYPE_GRF, aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_GRAPHIC), pDoc)
@@ -2926,12 +2926,12 @@ void SwXTextEmbeddedObject::removeEventListener(const uno::Reference< lang::XEve
uno::Reference< lang::XComponent > SwXTextEmbeddedObject::getEmbeddedObject(void) throw( uno::RuntimeException )
{
uno::Reference< lang::XComponent > xRet;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwDoc* pDoc = pFmt->GetDoc();
const SwFmtCntnt* pCnt = &pFmt->GetCntnt();
- DBG_ASSERT( pCnt->GetCntntIdx() &&
+ DBG_ASSERT( pCnt->GetCntntIdx() &&
pDoc->GetNodes()[ pCnt->GetCntntIdx()->
GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
@@ -2968,12 +2968,12 @@ uno::Reference< embed::XEmbeddedObject > SAL_CALL SwXTextEmbeddedObject::getExte
throw( uno::RuntimeException )
{
uno::Reference< embed::XEmbeddedObject > xResult;
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwDoc* pDoc = pFmt->GetDoc();
const SwFmtCntnt* pCnt = &pFmt->GetCntnt();
- DBG_ASSERT( pCnt->GetCntntIdx() &&
+ DBG_ASSERT( pCnt->GetCntntIdx() &&
pDoc->GetNodes()[ pCnt->GetCntntIdx()->
GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
@@ -3008,12 +3008,12 @@ uno::Reference< embed::XEmbeddedObject > SAL_CALL SwXTextEmbeddedObject::getExte
sal_Int64 SAL_CALL SwXTextEmbeddedObject::getAspect() throw (uno::RuntimeException)
{
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwDoc* pDoc = pFmt->GetDoc();
const SwFmtCntnt* pCnt = &pFmt->GetCntnt();
- DBG_ASSERT( pCnt->GetCntntIdx() &&
+ DBG_ASSERT( pCnt->GetCntntIdx() &&
pDoc->GetNodes()[ pCnt->GetCntntIdx()->
GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
@@ -3025,12 +3025,12 @@ sal_Int64 SAL_CALL SwXTextEmbeddedObject::getAspect() throw (uno::RuntimeExcepti
void SAL_CALL SwXTextEmbeddedObject::setAspect( sal_Int64 nAspect ) throw (uno::RuntimeException)
{
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwDoc* pDoc = pFmt->GetDoc();
const SwFmtCntnt* pCnt = &pFmt->GetCntnt();
- DBG_ASSERT( pCnt->GetCntntIdx() &&
+ DBG_ASSERT( pCnt->GetCntntIdx() &&
pDoc->GetNodes()[ pCnt->GetCntntIdx()->
GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
@@ -3040,12 +3040,12 @@ void SAL_CALL SwXTextEmbeddedObject::setAspect( sal_Int64 nAspect ) throw (uno::
uno::Reference< graphic::XGraphic > SAL_CALL SwXTextEmbeddedObject::getReplacementGraphic() throw (uno::RuntimeException)
{
- SwFrmFmt* pFmt = GetFrmFmt();
+ SwFrmFmt* pFmt = GetFrmFmt();
if(pFmt)
{
SwDoc* pDoc = pFmt->GetDoc();
const SwFmtCntnt* pCnt = &pFmt->GetCntnt();
- DBG_ASSERT( pCnt->GetCntntIdx() &&
+ DBG_ASSERT( pCnt->GetCntntIdx() &&
pDoc->GetNodes()[ pCnt->GetCntntIdx()->
GetIndex() + 1 ]->GetOLENode(), "kein OLE-Node?");
diff --git a/sw/source/core/unocore/unoftn.cxx b/sw/source/core/unocore/unoftn.cxx
index 1e6f98b63496..3d24614466d5 100644
--- a/sw/source/core/unocore/unoftn.cxx
+++ b/sw/source/core/unocore/unoftn.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/unoidx.cxx b/sw/source/core/unocore/unoidx.cxx
index 07745d549d3a..aca14a1fe0f3 100644
--- a/sw/source/core/unocore/unoidx.cxx
+++ b/sw/source/core/unocore/unoidx.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -526,7 +526,7 @@ throw (uno::RuntimeException)
USHORT nObjectType = SW_SERVICE_TYPE_INDEX;
switch (m_pImpl->m_eTOXType)
{
-// case TOX_INDEX: break;
+// case TOX_INDEX: break;
case TOX_USER: nObjectType = SW_SERVICE_USER_INDEX;
break;
case TOX_CONTENT: nObjectType = SW_SERVICE_CONTENT_INDEX;
@@ -954,7 +954,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
}
}
break;
- case WID_IDX_TITLE :
+ case WID_IDX_TITLE :
{
OUString uRet(pTOXBase->GetTitle());
aRet <<= uRet;
@@ -985,7 +985,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
case WID_IDX_SORT_ALGORITHM:
aRet <<= OUString(pTOXBase->GetSortAlgorithm());
break;
- case WID_LEVEL :
+ case WID_LEVEL :
aRet <<= static_cast<sal_Int16>(pTOXBase->GetLevel());
break;
case WID_CREATE_FROM_MARKS:
diff --git a/sw/source/core/unocore/unomap.cxx b/sw/source/core/unocore/unomap.cxx
index 7340237918a9..e3df0023e4bb 100644
--- a/sw/source/core/unocore/unomap.cxx
+++ b/sw/source/core/unocore/unomap.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ using namespace ::com::sun::star::beans;
using ::rtl::OUString;
using namespace ::comphelper;
-#define SW_PROP_NMID(id) ((const char*)id), 0
+#define SW_PROP_NMID(id) ((const char*)id), 0
#ifndef MID_TXT_LMARGIN
#define MID_TXT_LMARGIN 11
@@ -85,70 +85,70 @@ SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider()
}
#define _STANDARD_FONT_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT), RES_CHRATR_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE), RES_CHRATR_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
+ { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT), RES_CHRATR_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE), RES_CHRATR_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
#define _CJK_FONT_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_ASIAN), RES_CHRATR_CJK_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_ASIAN), RES_CHRATR_CJK_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_ASIAN), RES_CHRATR_CJK_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
+ { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_ASIAN), RES_CHRATR_CJK_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_ASIAN), RES_CHRATR_CJK_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_ASIAN), RES_CHRATR_CJK_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
#define _CTL_FONT_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},\
- { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_COMPLEX), RES_CHRATR_CTL_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
- { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_COMPLEX), RES_CHRATR_CTL_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
- { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_COMPLEX), RES_CHRATR_CTL_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
+ { SW_PROP_NMID(UNO_NAME_CHAR_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_FONTHEIGHT|CONVERT_TWIPS},\
+ { SW_PROP_NMID(UNO_NAME_CHAR_WEIGHT_COMPLEX), RES_CHRATR_CTL_WEIGHT , CPPU_E2T(CPPUTYPE_FLOAT), PropertyAttribute::MAYBEVOID, MID_WEIGHT}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH }, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_POSTURE_COMPLEX), RES_CHRATR_CTL_POSTURE , CPPU_E2T(CPPUTYPE_FONTSLANT), PropertyAttribute::MAYBEVOID, MID_POSTURE}, \
+ { SW_PROP_NMID(UNO_NAME_CHAR_LOCALE_COMPLEX), RES_CHRATR_CTL_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE) , PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
#define _REDLINE_NODE_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_START_REDLINE), FN_UNO_REDLINE_NODE_START , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff }, \
- { SW_PROP_NMID(UNO_NAME_END_REDLINE), FN_UNO_REDLINE_NODE_END , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff },
+ { SW_PROP_NMID(UNO_NAME_START_REDLINE), FN_UNO_REDLINE_NODE_START , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff }, \
+ { SW_PROP_NMID(UNO_NAME_END_REDLINE), FN_UNO_REDLINE_NODE_END , CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0xff },
#define _REDLINE_PROPERTIES \
- {SW_PROP_NMID(UNO_NAME_REDLINE_AUTHOR), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_DATE_TIME), 0, CPPU_E2T(CPPUTYPE_DATETIME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_COMMENT), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_TYPE), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_SUCCESSOR_DATA), 0, CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_IDENTIFIER), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_IS_IN_HEADER_FOOTER), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_REDLINE_TEXT), 0, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
- {SW_PROP_NMID(UNO_NAME_MERGE_LAST_PARA), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_REDLINE_AUTHOR), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_DATE_TIME), 0, CPPU_E2T(CPPUTYPE_DATETIME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_COMMENT), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_TYPE), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_SUCCESSOR_DATA), 0, CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_IDENTIFIER), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_IS_IN_HEADER_FOOTER), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_REDLINE_TEXT), 0, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
+ {SW_PROP_NMID(UNO_NAME_MERGE_LAST_PARA), 0, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
/* -----------------24.06.98 18:12-------------------
*
* --------------------------------------------------*/
#define COMMON_CRSR_PARA_PROPERTIES_FN_ONLY \
- { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
- { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0}, \
- { SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER), FN_UNO_IS_NUMBER, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
- { SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), FN_UNO_NUM_LEVEL, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0}, \
- { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, CPPU_E2T(CPPUTYPE_REFIDXREPL), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE), FN_UNO_NUM_START_VALUE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), FN_UNO_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
- { SW_PROP_NMID(UNO_NAME_TEXT_TABLE), FN_UNO_TEXT_TABLE, CPPU_E2T(CPPUTYPE_REFTXTTABLE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
- { SW_PROP_NMID(UNO_NAME_CELL), FN_UNO_CELL, CPPU_E2T(CPPUTYPE_REFCELL), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
- { SW_PROP_NMID(UNO_NAME_TEXT_FRAME), FN_UNO_TEXT_FRAME, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
- { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLE_NAME), FN_UNO_PARA_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
+ { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), FN_UNO_PAGE_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0}, \
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_IS_NUMBER), FN_UNO_IS_NUMBER, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0}, \
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_LEVEL), FN_UNO_NUM_LEVEL, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, 0}, \
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, CPPU_E2T(CPPUTYPE_REFIDXREPL), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_START_VALUE), FN_UNO_NUM_START_VALUE, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), FN_UNO_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
+ { SW_PROP_NMID(UNO_NAME_TEXT_TABLE), FN_UNO_TEXT_TABLE, CPPU_E2T(CPPUTYPE_REFTXTTABLE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
+ { SW_PROP_NMID(UNO_NAME_CELL), FN_UNO_CELL, CPPU_E2T(CPPUTYPE_REFCELL), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
+ { SW_PROP_NMID(UNO_NAME_TEXT_FRAME), FN_UNO_TEXT_FRAME, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
+ { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 }, \
{ SW_PROP_NMID(UNO_NAME_PARA_CHAPTER_NUMBERING_LEVEL), FN_UNO_PARA_CHAPTER_NUMBERING_LEVEL,CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0}, \
- { SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), FN_UNO_PARA_CONDITIONAL_STYLE_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0}, \
+ { SW_PROP_NMID(UNO_NAME_PARA_CONDITIONAL_STYLE_NAME), FN_UNO_PARA_CONDITIONAL_STYLE_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0}, \
{ SW_PROP_NMID(UNO_NAME_LIST_ID), FN_UNO_LIST_ID, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0}, \
{ SW_PROP_NMID(UNO_NAME_PARA_IS_NUMBERING_RESTART), FN_NUMBER_NEWSTART, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID, 0 }, \
{ SW_PROP_NMID(UNO_NAME_PARA_CONTINUEING_PREVIOUS_SUB_TREE), FN_UNO_PARA_CONT_PREV_SUBTREE, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0 }, \
@@ -295,67 +295,67 @@ SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider()
{ SW_PROP_NMID(UNO_NAME_CONTENT_SECTION), WID_IDX_CONTENT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION) , PropertyAttribute::READONLY, 0},\
{ SW_PROP_NMID(UNO_NAME_HEADER_SECTION), WID_IDX_HEADER_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION) , PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},\
-#define ANCHOR_TYPES_PROPERTY { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPES), FN_UNO_ANCHOR_TYPES, CPPU_E2T(CPPUTYPE_SEQANCHORTYPE),PropertyAttribute::READONLY, 0xff},
+#define ANCHOR_TYPES_PROPERTY { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPES), FN_UNO_ANCHOR_TYPES, CPPU_E2T(CPPUTYPE_SEQANCHORTYPE),PropertyAttribute::READONLY, 0xff},
// OD 18.09.2003 #i18732# - add property
// OD 2004-05-05 #i28701# - add property 'WrapInfluenceOnObjPos'
// OD 2009-07-13 #i73249# - add properties 'Title' and 'Description'
#define COMMON_FRAME_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ANCHOR_PAGENUM }, \
- { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PROPERTY_NONE, MID_ANCHOR_ANCHORTYPE}, \
+ { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ANCHOR_PAGENUM }, \
+ { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PROPERTY_NONE, MID_ANCHOR_ANCHORTYPE}, \
{ SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME}, \
ANCHOR_TYPES_PROPERTY\
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR }, \
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR }, \
{ SW_PROP_NMID(UNO_NAME_BACK_COLOR_R_G_B), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR_R_G_B}, \
{ SW_PROP_NMID(UNO_NAME_BACK_COLOR_TRANSPARENCY), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_BACK_COLOR_TRANSPARENCY}, \
{ SW_PROP_NMID(UNO_NAME_CONTENT_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_CONTENT }, \
{ SW_PROP_NMID(UNO_NAME_FRAME_STYLE_NAME), FN_UNO_FRAME_STYLE_NAME,CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0}, \
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL }, \
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, \
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, \
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL }, \
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER }, \
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION}, \
{ SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_TRANSPARENCY), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENCY}, \
{ SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS},\
- { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS},\
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_ORIENT }, \
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_HORIORIENT_POSITION|CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_RELATION }, \
- { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_URL}, \
- { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_TARGET}, \
- { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_HYPERLINKNAME }, \
- { SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
- { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE }, \
- { SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_POSITION}, \
- { SW_PROP_NMID(UNO_NAME_PRINT), RES_PRINT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
- { SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT }, \
- { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH }, \
- { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS},\
+ { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS},\
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_ORIENT }, \
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_HORIORIENT_POSITION|CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_RELATION }, \
+ { SW_PROP_NMID(UNO_NAME_HYPER_LINK_U_R_L), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_URL}, \
+ { SW_PROP_NMID(UNO_NAME_HYPER_LINK_TARGET), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_TARGET}, \
+ { SW_PROP_NMID(UNO_NAME_HYPER_LINK_NAME), RES_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_URL_HYPERLINKNAME }, \
+ { SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
+ { SW_PROP_NMID(UNO_NAME_PAGE_TOGGLE), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_HORIORIENT_PAGETOGGLE }, \
+ { SW_PROP_NMID(UNO_NAME_POSITION_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_POSITION}, \
+ { SW_PROP_NMID(UNO_NAME_PRINT), RES_PRINT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
+ { SW_PROP_NMID(UNO_NAME_RELATIVE_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT }, \
+ { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH }, \
+ { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS}, \
{ SW_PROP_NMID(UNO_NAME_IMAGE_MAP), RES_URL, CPPU_E2T(CPPUTYPE_REFIDXCNTNR), PROPERTY_NONE, MID_URL_CLIENTMAP}, \
{ SW_PROP_NMID(UNO_NAME_SERVER_MAP), RES_URL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_URL_SERVERMAP }, \
- { SW_PROP_NMID(UNO_NAME_SIZE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PROPERTY_NONE, MID_FRMSIZE_SIZE|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_SIZE }, \
- { SW_PROP_NMID(UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT }, \
- { SW_PROP_NMID(UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH }, \
- { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, \
+ { SW_PROP_NMID(UNO_NAME_SIZE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PROPERTY_NONE, MID_FRMSIZE_SIZE|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_SIZE_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_PROTECT_SIZE }, \
+ { SW_PROP_NMID(UNO_NAME_IS_SYNC_WIDTH_TO_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_FRMSIZE_IS_SYNC_WIDTH_TO_HEIGHT }, \
+ { SW_PROP_NMID(UNO_NAME_IS_SYNC_HEIGHT_TO_WIDTH), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, MID_FRMSIZE_IS_SYNC_HEIGHT_TO_WIDTH }, \
+ { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, \
{ SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE }, \
- { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_ANCHORONLY }, \
- { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, \
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_ORIENT }, \
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_VERTORIENT_POSITION|CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_RELATION }, \
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS }, \
- { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff}, \
+ { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_ANCHORONLY }, \
+ { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT }, \
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_ORIENT }, \
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_VERTORIENT_POSITION|CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_RELATION }, \
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS }, \
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff}, \
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },\
{ SW_PROP_NMID(UNO_NAME_Z_ORDER), FN_UNO_Z_ORDER, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0}, \
{ SW_PROP_NMID(UNO_NAME_IS_FOLLOWING_TEXT_FLOW), RES_FOLLOW_TEXT_FLOW, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0}, \
@@ -367,17 +367,17 @@ SwUnoPropertyMapProvider::~SwUnoPropertyMapProvider()
#define COMMON_TEXT_CONTENT_PROPERTIES \
- { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), FN_UNO_ANCHOR_TYPE, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PropertyAttribute::READONLY, MID_ANCHOR_ANCHORTYPE},\
+ { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), FN_UNO_ANCHOR_TYPE, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PropertyAttribute::READONLY, MID_ANCHOR_ANCHORTYPE},\
ANCHOR_TYPES_PROPERTY\
- { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), FN_UNO_TEXT_WRAP, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PropertyAttribute::READONLY, MID_SURROUND_SURROUNDTYPE },
+ { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), FN_UNO_TEXT_WRAP, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PropertyAttribute::READONLY, MID_SURROUND_SURROUNDTYPE },
-#define _PROP_DIFF_FONTHEIGHT \
- { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
+#define _PROP_DIFF_FONTHEIGHT \
+ { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
{ SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT), RES_CHRATR_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
- { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
+ { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
{ SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_ASIAN), RES_CHRATR_CJK_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},\
- { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
+ { SW_PROP_NMID(UNO_NAME_CHAR_PROP_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_FLOAT), PROPERTY_NONE , MID_FONTHEIGHT_PROP},\
{ SW_PROP_NMID(UNO_NAME_CHAR_DIFF_HEIGHT_COMPLEX), RES_CHRATR_CTL_FONTSIZE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_FONTHEIGHT_DIFF|CONVERT_TWIPS},
@@ -550,42 +550,42 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aCharStyleMap [] =
{
- { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},
- { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ESC },
- { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT8) , PROPERTY_NONE, MID_ESC_HEIGHT},
- { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_AUTO_KERNING), RES_CHRATR_AUTOKERN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_BACK_TRANSPARENT), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_CHAR_BACK_COLOR), RES_CHRATR_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_CHAR_CASE_MAP), RES_CHRATR_CASEMAP, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_COLOR), RES_CHRATR_COLOR, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_STRIKEOUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_CROSS_OUT},
+ { SW_PROP_NMID(UNO_NAME_CHAR_CROSSED_OUT), RES_CHRATR_CROSSEDOUT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ESC },
+ { SW_PROP_NMID(UNO_NAME_CHAR_ESCAPEMENT_HEIGHT), RES_CHRATR_ESCAPEMENT, CPPU_E2T(CPPUTYPE_INT8) , PROPERTY_NONE, MID_ESC_HEIGHT},
+ { SW_PROP_NMID(UNO_NAME_CHAR_FLASH), RES_CHRATR_BLINK , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CHAR_HIDDEN), RES_CHRATR_HIDDEN, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
_STANDARD_FONT_PROPERTIES
_CJK_FONT_PROPERTIES
_CTL_FONT_PROPERTIES
- { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},
- { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},
- { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},
- { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},
- { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},
- { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},
- { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},
+ { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},
+ { SW_PROP_NMID(UNO_NAME_CHAR_UNDERLINE_HAS_COLOR), RES_CHRATR_UNDERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},
+ { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_TL_STYLE},
+ { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_TL_COLOR},
+ { SW_PROP_NMID(UNO_NAME_CHAR_OVERLINE_HAS_COLOR), RES_CHRATR_OVERLINE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TL_HASCOLOR},
+ { SW_PROP_NMID(UNO_NAME_CHAR_KERNING), RES_CHRATR_KERNING , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_CHAR_NO_HYPHENATION), RES_CHRATR_NOHYPHEN , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_SHADOWED), RES_CHRATR_SHADOWED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHAR_CONTOURED), RES_CHRATR_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CHAR_WORD_MODE), RES_CHRATR_WORDLINEMODE,CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TWOLINES},
- { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_START_BRACKET},
- { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_END_BRACKET},
- { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_EMPHASIS},
+ { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_IS_ON), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_TWOLINES},
+ { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_PREFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_START_BRACKET},
+ { SW_PROP_NMID(UNO_NAME_CHAR_COMBINE_SUFFIX), RES_CHRATR_TWO_LINES, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, MID_END_BRACKET},
+ { SW_PROP_NMID(UNO_NAME_CHAR_EMPHASIS), RES_CHRATR_EMPHASIS_MARK, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_EMPHASIS},
_PROP_DIFF_FONTHEIGHT
- { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ROTATE },
- { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FITTOLINE },
- { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
+ { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_ROTATE },
+ { SW_PROP_NMID(UNO_NAME_CHAR_ROTATION_IS_FIT_TO_LINE), RES_CHRATR_ROTATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FITTOLINE },
+ { SW_PROP_NMID(UNO_NAME_CHAR_SCALE_WIDTH), RES_CHRATR_SCALEW, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_CHAR_RELIEF), RES_CHRATR_RELIEF, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, MID_RELIEF },
{0,0,0,0,0,0}
};
@@ -758,105 +758,105 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aPageStyleMap [] =
{
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEADER_BACK_COLOR), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- // { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC), FN_UNO_HEADER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
- { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_URL), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_FILTER), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_LOCATION), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_MARGIN), FN_UNO_HEADER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_MARGIN), FN_UNO_HEADER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEADER_BACK_TRANSPARENT), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_BACK_COLOR), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ // { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC), FN_UNO_HEADER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
+ { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_URL), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_FILTER), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_HEADER_GRAPHIC_LOCATION), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_MARGIN), FN_UNO_HEADER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_MARGIN), FN_UNO_HEADER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HEADER_BACK_TRANSPARENT), FN_UNO_HEADER_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_HEADER_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_SHADOW_FORMAT), FN_UNO_HEADER_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEADER_BODY_DISTANCE), FN_UNO_HEADER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_LO_MARGIN|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT), FN_UNO_HEADER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
- { SW_PROP_NMID(UNO_NAME_HEADER_IS_SHARED), FN_UNO_HEADER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
- { SW_PROP_NMID(UNO_NAME_HEADER_HEIGHT), FN_UNO_HEADER_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HEADER_IS_ON), FN_UNO_HEADER_ON, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_HEADER_LEFT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_RIGHT_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_TOP_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_BOTTOM_BORDER_DISTANCE), FN_UNO_HEADER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_SHADOW_FORMAT), FN_UNO_HEADER_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HEADER_BODY_DISTANCE), FN_UNO_HEADER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_LO_MARGIN|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_IS_DYNAMIC_HEIGHT), FN_UNO_HEADER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_HEADER_IS_SHARED), FN_UNO_HEADER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_HEADER_HEIGHT), FN_UNO_HEADER_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HEADER_IS_ON), FN_UNO_HEADER_ON, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
{ SW_PROP_NMID(UNO_NAME_HEADER_DYNAMIC_SPACING), FN_UNO_HEADER_EAT_SPACING, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,0 },
- { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_COLOR), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- // { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC), FN_UNO_FOOTER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
- { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_URL), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_FILTER), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_LOCATION), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_MARGIN), FN_UNO_FOOTER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_MARGIN), FN_UNO_FOOTER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_TRANSPARENT), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_COLOR), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ // { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC), FN_UNO_FOOTER_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
+ { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_URL), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_FILTER), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_GRAPHIC_LOCATION), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_MARGIN), FN_UNO_FOOTER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_MARGIN), FN_UNO_FOOTER_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_BACK_TRANSPARENT), FN_UNO_FOOTER_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_FOOTER_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_SHADOW_FORMAT), FN_UNO_FOOTER_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_FOOTER_BODY_DISTANCE), FN_UNO_FOOTER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_UP_MARGIN|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT), FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
- { SW_PROP_NMID(UNO_NAME_FOOTER_IS_SHARED), FN_UNO_FOOTER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
- { SW_PROP_NMID(UNO_NAME_FOOTER_HEIGHT), FN_UNO_FOOTER_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTER_IS_ON), FN_UNO_FOOTER_ON, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_LEFT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_RIGHT_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_TOP_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_BOTTOM_BORDER_DISTANCE), FN_UNO_FOOTER_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_SHADOW_FORMAT), FN_UNO_FOOTER_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_BODY_DISTANCE), FN_UNO_FOOTER_BODY_DISTANCE,CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_UP_MARGIN|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_IS_DYNAMIC_HEIGHT), FN_UNO_FOOTER_IS_DYNAMIC_DISTANCE,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_IS_SHARED), FN_UNO_FOOTER_SHARE_CONTENT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_HEIGHT), FN_UNO_FOOTER_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_SIZE_HEIGHT|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTER_IS_ON), FN_UNO_FOOTER_ON, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
{ SW_PROP_NMID(UNO_NAME_FOOTER_DYNAMIC_SPACING), FN_UNO_FOOTER_EAT_SPACING, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::MAYBEVOID ,0 },
- { SW_PROP_NMID(UNO_NAME_IS_LANDSCAPE), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_PAGE_ORIENTATION },
- { SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_PAGE_NUMTYPE },
- { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_LAYOUT), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_PAGESTYLELAY), PROPERTY_NONE ,MID_PAGE_LAYOUT },
- { SW_PROP_NMID(UNO_NAME_PRINTER_PAPER_TRAY), RES_PAPER_BIN, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE , 0 },
-// { SW_PROP_NMID(UNO_NAME_REGISTER_MODE_ACTIVE), SID_SWREGISTER_MODE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , 0 },
- { SW_PROP_NMID(UNO_NAME_REGISTER_PARAGRAPH_STYLE), SID_SWREGISTER_COLLECTION, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE , 0 },
- { SW_PROP_NMID(UNO_NAME_SIZE), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PROPERTY_NONE, MID_SIZE_SIZE|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_WIDTH), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_SIZE_WIDTH|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEIGHT), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_SIZE_HEIGHT|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_IS_LANDSCAPE), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_PAGE_ORIENTATION },
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_PAGE_NUMTYPE },
+ { SW_PROP_NMID(UNO_NAME_PAGE_STYLE_LAYOUT), SID_ATTR_PAGE, CPPU_E2T(CPPUTYPE_PAGESTYLELAY), PROPERTY_NONE ,MID_PAGE_LAYOUT },
+ { SW_PROP_NMID(UNO_NAME_PRINTER_PAPER_TRAY), RES_PAPER_BIN, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE , 0 },
+// { SW_PROP_NMID(UNO_NAME_REGISTER_MODE_ACTIVE), SID_SWREGISTER_MODE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , 0 },
+ { SW_PROP_NMID(UNO_NAME_REGISTER_PARAGRAPH_STYLE), SID_SWREGISTER_COLLECTION, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE , 0 },
+ { SW_PROP_NMID(UNO_NAME_SIZE), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_AWTSIZE), PROPERTY_NONE, MID_SIZE_SIZE|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_WIDTH), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_SIZE_WIDTH|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HEIGHT), SID_ATTR_PAGE_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_SIZE_HEIGHT|CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HEADER_TEXT), FN_UNO_HEADER, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_LEFT), FN_UNO_HEADER_LEFT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_RIGHT), FN_UNO_HEADER_RIGHT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT), FN_UNO_FOOTER, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_LEFT), FN_UNO_FOOTER_LEFT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_RIGHT), FN_UNO_FOOTER_RIGHT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE), FN_UNO_FOLLOW_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HEADER_TEXT), FN_UNO_HEADER, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_LEFT), FN_UNO_HEADER_LEFT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_HEADER_TEXT_RIGHT), FN_UNO_HEADER_RIGHT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT), FN_UNO_FOOTER, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_LEFT), FN_UNO_FOOTER_LEFT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_FOOTER_TEXT_RIGHT), FN_UNO_FOOTER_RIGHT, CPPU_E2T(CPPUTYPE_REFTEXT), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_FOLLOW_STYLE), FN_UNO_FOLLOW_STYLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_HEIGHT), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_FTN_HEIGHT|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_WEIGHT), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_LINE_WEIGHT|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_COLOR), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_COLOR},
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE , MID_LINE_RELWIDTH },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_ADJUST), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_LINE_ADJUST },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_TEXT_DISTANCE), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_TEXT_DIST |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_DISTANCE), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_FOOTNOTE_DIST|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_HEIGHT), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_FTN_HEIGHT|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_WEIGHT), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_LINE_WEIGHT|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_COLOR), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_COLOR},
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_RELATIVE_WIDTH), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE , MID_LINE_RELWIDTH },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_ADJUST), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_LINE_ADJUST },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_TEXT_DISTANCE), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_TEXT_DIST |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_LINE_DISTANCE), FN_PARAM_FTN_INFO, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_LINE_FOOTNOTE_DIST|CONVERT_TWIPS},
{ SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
// writing grid
{ SW_PROP_NMID(UNO_NAME_GRID_COLOR), RES_TEXTGRID, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_GRID_COLOR},
@@ -879,8 +879,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aNumStyleMap [] =
{
- { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, CPPU_E2T(CPPUTYPE_REFIDXREPL), PROPERTY_NONE, CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_NUMBERING_RULES), FN_UNO_NUM_RULES, CPPU_E2T(CPPUTYPE_REFIDXREPL), PROPERTY_NONE, CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_IS_PHYSICAL), FN_UNO_IS_PHYSICAL, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_DISPLAY_NAME), FN_UNO_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
@@ -891,37 +891,37 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aTablePropertyMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK, CPPU_E2T(CPPUTYPE_BREAK), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_ORIENT },
- { SW_PROP_NMID(UNO_NAME_KEEP_TOGETHER), RES_KEEP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SPLIT), RES_LAYOUT_SPLIT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BREAK_TYPE), RES_BREAK, CPPU_E2T(CPPUTYPE_BREAK), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_L_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_HORIORIENT_ORIENT },
+ { SW_PROP_NMID(UNO_NAME_KEEP_TOGETHER), RES_KEEP, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SPLIT), RES_LAYOUT_SPLIT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_PAGE_NUMBER_OFFSET), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_PAGEDESC_PAGENUMOFFSET},
{ SW_PROP_NMID(UNO_NAME_PAGE_DESC_NAME), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0xff},
- { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), FN_TABLE_RELATIVE_WIDTH,CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0xff },
- { SW_PROP_NMID(UNO_NAME_REPEAT_HEADLINE), FN_TABLE_HEADLINE_REPEAT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0xff},
+ { SW_PROP_NMID(UNO_NAME_RELATIVE_WIDTH), FN_TABLE_RELATIVE_WIDTH,CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0xff },
+ { SW_PROP_NMID(UNO_NAME_REPEAT_HEADLINE), FN_TABLE_HEADLINE_REPEAT,CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0xff},
{ SW_PROP_NMID(UNO_NAME_HEADER_ROW_COUNT), FN_TABLE_HEADLINE_COUNT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0xff},
- { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_WIDTH), FN_TABLE_WIDTH, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, 0xff},
- { SW_PROP_NMID(UNO_NAME_IS_WIDTH_RELATIVE), FN_TABLE_IS_RELATIVE_WIDTH, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0xff},
- { SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL), FN_UNO_RANGE_ROW_LABEL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL), FN_UNO_RANGE_COL_LABEL, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_TABLE_BORDER), FN_UNO_TABLE_BORDER, CPPU_E2T(CPPUTYPE_TABLEBORDER), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_WIDTH), FN_TABLE_WIDTH, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, 0xff},
+ { SW_PROP_NMID(UNO_NAME_IS_WIDTH_RELATIVE), FN_TABLE_IS_RELATIVE_WIDTH, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0xff},
+ { SW_PROP_NMID(UNO_NAME_CHART_ROW_AS_LABEL), FN_UNO_RANGE_ROW_LABEL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CHART_COLUMN_AS_LABEL), FN_UNO_RANGE_COL_LABEL, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_TABLE_BORDER), FN_UNO_TABLE_BORDER, CPPU_E2T(CPPUTYPE_TABLEBORDER), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_TABLE_BORDER_DISTANCES), FN_UNO_TABLE_BORDER_DISTANCES, CPPU_E2T(CPPUTYPE_TABLEBORDERDISTANCES), PropertyAttribute::MAYBEVOID, CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS, CPPU_E2T(CPPUTYPE_TBLCOLSEP), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_RELATIVE_SUM), FN_UNO_TABLE_COLUMN_RELATIVE_SUM, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::READONLY, 0 },
+ { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_RELATIVE_SUM), FN_UNO_TABLE_COLUMN_RELATIVE_SUM, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::READONLY, 0 },
COMMON_TEXT_CONTENT_PROPERTIES
- { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
+ { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
{ SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_TABLE_NAME), FN_UNO_TABLE_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_PAGE_STYLE_NAME), RES_PAGEDESC, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
@@ -939,26 +939,26 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aCellMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE , MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
{ SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID ,0 },
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), RES_BOXATR_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID ,0 },
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, LEFT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, RIGHT_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, TOP_BORDER |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER), RES_BOX, CPPU_E2T(CPPUTYPE_BORDERLINE), 0, BOTTOM_BORDER|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BORDER_DISTANCE|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_LEFT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, LEFT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_RIGHT_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, RIGHT_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_TOP_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, TOP_BORDER_DISTANCE |CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_BORDER_DISTANCE), RES_BOX, CPPU_E2T(CPPUTYPE_INT32), 0, BOTTOM_BORDER_DISTANCE|CONVERT_TWIPS },
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
+ { SW_PROP_NMID(UNO_NAME_TEXT_SECTION), FN_UNO_TEXT_SECTION, CPPU_E2T(CPPUTYPE_REFTEXTSECTION), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY ,0 },
{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), RES_PROTECT, CPPU_E2T(CPPUTYPE_BOOLEAN), 0, MID_PROTECT_CONTENT},
{ SW_PROP_NMID(UNO_NAME_CELL_NAME), FN_UNO_CELL_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY,0},
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_ORIENT },
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_VERTORIENT_ORIENT },
{ SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_ROW_SPAN), FN_UNO_CELL_ROW_SPAN, CPPU_E2T(CPPUTYPE_INT32), 0, 0 },
_REDLINE_NODE_PROPERTIES
@@ -1003,51 +1003,51 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aSectionPropertyMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_CONDITION), WID_SECT_CONDITION, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE), WID_SECT_DDE_TYPE, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE), WID_SECT_DDE_FILE, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT), WID_SECT_DDE_ELEMENT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE), WID_SECT_DDE_AUTOUPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_FILE_LINK), WID_SECT_LINK , CPPU_E2T(CPPUTYPE_SECTFILELNK), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_IS_VISIBLE), WID_SECT_VISIBLE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_SECT_PROTECTED, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_CONDITION), WID_SECT_CONDITION, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE), WID_SECT_DDE_TYPE, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE), WID_SECT_DDE_FILE, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT), WID_SECT_DDE_ELEMENT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE), WID_SECT_DDE_AUTOUPDATE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_FILE_LINK), WID_SECT_LINK , CPPU_E2T(CPPUTYPE_SECTFILELNK), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_VISIBLE), WID_SECT_VISIBLE , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_SECT_PROTECTED, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
// --> FME 2004-06-22 #114856# edit in readonly sections
{ SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), WID_SECT_EDIT_IN_READONLY, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
// <--
{ SW_PROP_NMID(UNO_NAME_LINK_REGION), WID_SECT_REGION , CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
{ SW_PROP_NMID(UNO_NAME_USER_DEFINED_ATTRIBUTES), RES_UNKNOWNATR_CONTAINER, CPPU_E2T(CPPUTYPE_REFNAMECNT), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_COLLECT },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_RESTART_NUM },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_START_AT},
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_OWN_NUM },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_TYPE), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_TYPE },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_PREFIX), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_PREFIX },
- { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_SUFFIX },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_COLLECT },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_RESTART_NUM },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_START_AT },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_OWN_NUMBERING), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_OWN_NUM },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_TYPE), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_NUM_TYPE },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_PREFIX), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_PREFIX },
- { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_SUFFIX), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_SUFFIX },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_COLLECT_AT_TEXT_END), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_COLLECT },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_RESTART_NUMBERING), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_RESTART_NUM },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_RESTART_NUMBERING_AT), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_START_AT},
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_IS_OWN_NUMBERING), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_OWN_NUM },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_TYPE), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_TYPE },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_PREFIX), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_PREFIX },
+ { SW_PROP_NMID(UNO_NAME_FOOTNOTE_NUMBERING_SUFFIX), RES_FTN_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_SUFFIX },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_COLLECT_AT_TEXT_END), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_COLLECT },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_RESTART_NUMBERING), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_RESTART_NUM },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_RESTART_NUMBERING_AT), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE , MID_NUM_START_AT },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_IS_OWN_NUMBERING), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , MID_OWN_NUM },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_TYPE), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE ,MID_NUM_TYPE },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_PREFIX), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_PREFIX },
+ { SW_PROP_NMID(UNO_NAME_ENDNOTE_NUMBERING_SUFFIX), RES_END_AT_TXTEND, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, MID_SUFFIX },
{ SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX), WID_SECT_DOCUMENT_INDEX, CPPU_E2T(CPPUTYPE_REFDOCINDEX), PropertyAttribute::READONLY | PropertyAttribute::MAYBEVOID, 0 },
{ SW_PROP_NMID(UNO_NAME_IS_GLOBAL_DOCUMENT_SECTION), WID_SECT_IS_GLOBAL_DOC_SECTION, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0 },
{ SW_PROP_NMID(UNO_NAME_PROTECTION_KEY), WID_SECT_PASSWORD, CPPU_E2T(CPPUTYPE_SEQINT8), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_DONT_BALANCE_TEXT_COLUMNS), RES_COLUMNBALANCE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
COMMON_TEXT_CONTENT_PROPERTIES
_REDLINE_NODE_PROPERTIES
- { SW_PROP_NMID(UNO_NAME_IS_CURRENTLY_VISIBLE), WID_SECT_CURRENTLY_VISIBLE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_CURRENTLY_VISIBLE), WID_SECT_CURRENTLY_VISIBLE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
/* -> #109700# */
- { SW_PROP_NMID(UNO_NAME_SECT_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS}, \
- { SW_PROP_NMID(UNO_NAME_SECT_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_SECT_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS}, \
+ { SW_PROP_NMID(UNO_NAME_SECT_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS}, \
/* <- #1097001# */
{0,0,0,0,0,0}
};
@@ -1058,18 +1058,18 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aSearchPropertyMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_SEARCH_ALL), WID_SEARCH_ALL, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_BACKWARDS), WID_BACKWARDS, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_CASE_SENSITIVE), WID_CASE_SENSITIVE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_SEARCH_IN_SELECTION), WID_IN_SELECTION, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_REGULAR_EXPRESSION), WID_REGULAR_EXPRESSION, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY), WID_SIMILARITY, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_ADD), WID_SIMILARITY_ADD, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_EXCHANGE), WID_SIMILARITY_EXCHANGE,CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_RELAX), WID_SIMILARITY_RELAX, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_REMOVE), WID_SIMILARITY_REMOVE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_STYLES), WID_STYLES, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SEARCH_WORDS), WID_WORDS, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_ALL), WID_SEARCH_ALL, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_BACKWARDS), WID_BACKWARDS, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_CASE_SENSITIVE), WID_CASE_SENSITIVE, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_SEARCH_IN_SELECTION), WID_IN_SELECTION, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_REGULAR_EXPRESSION), WID_REGULAR_EXPRESSION, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY), WID_SIMILARITY, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_ADD), WID_SIMILARITY_ADD, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_EXCHANGE), WID_SIMILARITY_EXCHANGE,CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_RELAX), WID_SIMILARITY_RELAX, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_SIMILARITY_REMOVE), WID_SIMILARITY_REMOVE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_STYLES), WID_STYLES, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SEARCH_WORDS), WID_WORDS, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aSearchPropertyMap_Impl;
@@ -1082,19 +1082,19 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
COMMON_FRAME_PROPERTIES
_REDLINE_NODE_PROPERTIES
{ SW_PROP_NMID(UNO_NAME_CHAIN_NEXT_NAME), RES_CHAIN, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_CHAIN_NEXTNAME},
- { SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_CHAIN_PREVNAME},
- /*not impl*/ { SW_PROP_NMID(UNO_NAME_CLIENT_MAP), RES_URL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_URL_CLIENTMAP },
- { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), RES_EDIT_IN_READONLY, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
+ { SW_PROP_NMID(UNO_NAME_CHAIN_PREV_NAME), RES_CHAIN, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID ,MID_CHAIN_PREVNAME},
+ /*not impl*/ { SW_PROP_NMID(UNO_NAME_CLIENT_MAP), RES_URL, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_URL_CLIENTMAP },
+ { SW_PROP_NMID(UNO_NAME_EDIT_IN_READONLY), RES_EDIT_IN_READONLY, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_GRAPHIC), RES_BACKGROUND, &, PROPERTY_NONE, MID_GRAPHIC
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
//next elements are part of the service description
- { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_ABSOLUTE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_PERCENT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT },
- { SW_PROP_NMID(UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FRMSIZE_IS_AUTO_HEIGHT },
- { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_ABSOLUTE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_PERCENT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH },
- { SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE },
- { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE },
+ { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_ABSOLUTE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FRAME_HEIGHT_PERCENT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_FRMSIZE_REL_HEIGHT },
+ { SW_PROP_NMID(UNO_NAME_FRAME_ISAUTOMATIC_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_FRMSIZE_IS_AUTO_HEIGHT },
+ { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_ABSOLUTE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_FRMSIZE_WIDTH|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_FRAME_WIDTH_PERCENT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, MID_FRMSIZE_REL_WIDTH },
+ { SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE },
+ { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE },
{ SW_PROP_NMID(UNO_NAME_WRITING_MODE), RES_FRAMEDIR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0 },
{0,0,0,0,0,0}
};
@@ -1106,12 +1106,12 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aGraphicPropertyMap_Impl[] =
{
COMMON_FRAME_PROPERTIES
- { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUR },
- { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE },
- { SW_PROP_NMID(UNO_NAME_GRAPHIC_CROP), RES_GRFATR_CROPGRF, CPPU_E2T(CPPUTYPE_GRFCROP), PROPERTY_NONE, CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_HORZ_EVEN_PAGES },
- { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_HORZ_ODD_PAGES },
- { SW_PROP_NMID(UNO_NAME_VERT_MIRRORED), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_VERT },
+ { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUR },
+ { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE },
+ { SW_PROP_NMID(UNO_NAME_GRAPHIC_CROP), RES_GRFATR_CROPGRF, CPPU_E2T(CPPUTYPE_GRFCROP), PROPERTY_NONE, CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_EVEN_PAGES), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_HORZ_EVEN_PAGES },
+ { SW_PROP_NMID(UNO_NAME_HORI_MIRRORED_ON_ODD_PAGES), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_HORZ_ODD_PAGES },
+ { SW_PROP_NMID(UNO_NAME_VERT_MIRRORED), RES_GRFATR_MIRRORGRF, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_MIRROR_VERT },
{ SW_PROP_NMID(UNO_NAME_GRAPHIC_URL), FN_UNO_GRAPHIC_U_R_L, CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0 },
{ SW_PROP_NMID(UNO_NAME_GRAPHIC_FILTER), FN_UNO_GRAPHIC_FILTER, CPPU_E2T(CPPUTYPE_OUSTRING), 0, 0 },
{ SW_PROP_NMID(UNO_NAME_GRAPHIC), FN_UNO_GRAPHIC, CPPU_E2T(CPPUTYPE_REFXGRAPHIC), 0, 0 },
@@ -1120,16 +1120,16 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_CONTOUR_POLY_POLYGON), FN_PARAM_COUNTOUR_PP, CPPU_E2T(CPPUTYPE_PNTSEQSEQ), PropertyAttribute::MAYBEVOID, 0 },
{ SW_PROP_NMID(UNO_NAME_IS_PIXEL_CONTOUR), FN_UNO_IS_PIXEL_CONTOUR, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_CONTOUR), FN_UNO_IS_AUTOMATIC_CONTOUR , CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0 },
- { SW_PROP_NMID(UNO_NAME_GRAPHIC_ROTATION), RES_GRFATR_ROTATION, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_ADJUST_LUMINANCE), RES_GRFATR_LUMINANCE, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_ADJUST_CONTRAST), RES_GRFATR_CONTRAST, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_ADJUST_RED), RES_GRFATR_CHANNELR, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_ADJUST_GREEN), RES_GRFATR_CHANNELG, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_ADJUST_BLUE), RES_GRFATR_CHANNELB, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_GAMMA), RES_GRFATR_GAMMA, CPPU_E2T(CPPUTYPE_DOUBLE), 0, 0},
- { SW_PROP_NMID(UNO_NAME_GRAPHIC_IS_INVERTED), RES_GRFATR_INVERT, CPPU_E2T(CPPUTYPE_BOOLEAN), 0, 0},
- { SW_PROP_NMID(UNO_NAME_TRANSPARENCY), RES_GRFATR_TRANSPARENCY, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
- { SW_PROP_NMID(UNO_NAME_GRAPHIC_COLOR_MODE), RES_GRFATR_DRAWMODE, CPPU_E2T(CPPUTYPE_COLORMODE), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_GRAPHIC_ROTATION), RES_GRFATR_ROTATION, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_ADJUST_LUMINANCE), RES_GRFATR_LUMINANCE, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_ADJUST_CONTRAST), RES_GRFATR_CONTRAST, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_ADJUST_RED), RES_GRFATR_CHANNELR, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_ADJUST_GREEN), RES_GRFATR_CHANNELG, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_ADJUST_BLUE), RES_GRFATR_CHANNELB, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_GAMMA), RES_GRFATR_GAMMA, CPPU_E2T(CPPUTYPE_DOUBLE), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_GRAPHIC_IS_INVERTED), RES_GRFATR_INVERT, CPPU_E2T(CPPUTYPE_BOOLEAN), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_TRANSPARENCY), RES_GRFATR_TRANSPARENCY, CPPU_E2T(CPPUTYPE_INT16), 0, 0},
+ { SW_PROP_NMID(UNO_NAME_GRAPHIC_COLOR_MODE), RES_GRFATR_DRAWMODE, CPPU_E2T(CPPUTYPE_COLORMODE), 0, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aGraphicPropertyMap_Impl;
@@ -1161,25 +1161,25 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aShapeMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_PAGENUM },
- { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORTYPE},
+ { SW_PROP_NMID(UNO_NAME_ANCHOR_PAGE_NO), RES_ANCHOR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_PAGENUM },
+ { SW_PROP_NMID(UNO_NAME_ANCHOR_TYPE), RES_ANCHOR, CPPU_E2T(CPPUTYPE_TXTCNTANCHOR), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORTYPE},
{ SW_PROP_NMID(UNO_NAME_ANCHOR_FRAME), RES_ANCHOR, CPPU_E2T(CPPUTYPE_REFTEXTFRAME), PropertyAttribute::MAYBEVOID, MID_ANCHOR_ANCHORFRAME},
{ SW_PROP_NMID(UNO_NAME_HORI_ORIENT), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_ORIENT },
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_POSITION|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_RELATION },
- { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_POSITION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_POSITION|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_HORI_ORIENT_RELATION), RES_HORI_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_HORIORIENT_RELATION },
+ { SW_PROP_NMID(UNO_NAME_LEFT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_L_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_RIGHT_MARGIN), RES_LR_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_R_MARGIN|CONVERT_TWIPS},
{ SW_PROP_NMID(UNO_NAME_SURROUND), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_SURROUNDTYPE },
- { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE },
- { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_ANCHORONLY },
- { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUR },
- { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE },
- { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_ORIENT },
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_POSITION|CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_RELATION },
- { SW_PROP_NMID(UNO_NAME_TEXT_RANGE), FN_TEXT_RANGE, CPPU_E2T(CPPUTYPE_REFTXTRANGE), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_TEXT_WRAP), RES_SURROUND, CPPU_E2T(CPPUTYPE_WRAPTXTMODE), PROPERTY_NONE, MID_SURROUND_SURROUNDTYPE },
+ { SW_PROP_NMID(UNO_NAME_SURROUND_ANCHORONLY), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE|PropertyAttribute::MAYBEVOID, MID_SURROUND_ANCHORONLY },
+ { SW_PROP_NMID(UNO_NAME_SURROUND_CONTOUR), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUR },
+ { SW_PROP_NMID(UNO_NAME_CONTOUR_OUTSIDE), RES_SURROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, MID_SURROUND_CONTOUROUTSIDE },
+ { SW_PROP_NMID(UNO_NAME_TOP_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_UP_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_BOTTOM_MARGIN), RES_UL_SPACE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_LO_MARGIN|CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_ORIENT },
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_POSITION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_POSITION|CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_VERT_ORIENT_RELATION), RES_VERT_ORIENT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE|PropertyAttribute::MAYBEVOID ,MID_VERTORIENT_RELATION },
+ { SW_PROP_NMID(UNO_NAME_TEXT_RANGE), FN_TEXT_RANGE, CPPU_E2T(CPPUTYPE_REFTXTRANGE), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_OPAQUE), RES_OPAQUE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_ANCHOR_POSITION), FN_ANCHOR_POSITION, CPPU_E2T(CPPUTYPE_AWTPOINT), PropertyAttribute::READONLY, 0},
// OD 2004-05-04 #i26791#
@@ -1219,13 +1219,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aIdxMarkMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_PRIMARY_KEY), WID_PRIMARY_KEY, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SECONDARY_KEY), WID_SECONDARY_KEY, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_PRIMARY_KEY), WID_PRIMARY_KEY, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SECONDARY_KEY), WID_SECONDARY_KEY, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_READING), WID_TEXT_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_PRIMARY_KEY_READING), WID_PRIMARY_KEY_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_SECONDARY_KEY_READING), WID_SECONDARY_KEY_READING, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_IS_MAIN_ENTRY), WID_MAIN_ENTRY, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_MAIN_ENTRY), WID_MAIN_ENTRY, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
COMMON_TEXT_CONTENT_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1236,8 +1236,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aCntntMarkMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_LEVEL), WID_LEVEL , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_LEVEL), WID_LEVEL , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
COMMON_TEXT_CONTENT_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1248,9 +1248,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aUserMarkMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_LEVEL ), WID_LEVEL , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_ALTERNATIVE_TEXT), WID_ALT_TEXT, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_LEVEL ), WID_LEVEL , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
COMMON_TEXT_CONTENT_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1271,22 +1271,22 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_USE_P_P), WID_USE_P_P , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USE_DASH), WID_USE_DASH , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USE_UPPER_CASE), WID_USE_UPPER_CASE , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_MAIN_ENTRY_CHARACTER_STYLE_NAME), WID_MAIN_ENTRY_CHARACTER_STYLE_NAME , CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLESEPARATOR), WID_PARA_SEP, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_IS_COMMA_SEPARATED), WID_IS_COMMA_SEPARATED, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
- { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLESEPARATOR), WID_PARA_SEP, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_COMMA_SEPARATED), WID_IS_COMMA_SEPARATED, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,0 },
+ { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_LOCALE), WID_IDX_LOCALE, CPPU_E2T(CPPUTYPE_LOCALE), PROPERTY_NONE, 0},\
{ SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM), WID_IDX_SORT_ALGORITHM, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},\
@@ -1303,33 +1303,33 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_LEVEL), WID_LEVEL , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_OUTLINE), WID_CREATE_FROM_OUTLINE , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_LEVEL_PARAGRAPH_STYLES), WID_LEVEL_PARAGRAPH_STYLES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_LEVEL_PARAGRAPH_STYLES), WID_CREATE_FROM_PARAGRAPH_STYLES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_RECALC_TAB_STOPS), WID_RECALC_TAB_STOPS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_RECALC_TAB_STOPS), WID_RECALC_TAB_STOPS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ // { SW_PROP_NMID(UNO_NAME_??? ), WID_??? , &_getReflection , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
+ { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aTOXContentMap_Impl;
@@ -1341,7 +1341,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
_BASE_INDEX_PROPERTIES_
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_MARKS), WID_CREATE_FROM_MARKS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
- // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
+ // { SW_PROP_NMID(UNO_NAME_PARAGRAPH_STYLE_NAMES), WID_PARAGRAPH_STYLE_NAMES , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_CHAPTER), WID_CREATE_FROM_CHAPTER , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USE_LEVEL_FROM_SOURCE), WID_USE_LEVEL_FROM_SOURCE , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
@@ -1353,23 +1353,23 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_GRAPHIC_OBJECTS), WID_CREATE_FROM_GRAPHIC_OBJECTS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_EMBEDDED_OBJECTS), WID_CREATE_FROM_EMBEDDED_OBJECTS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL2), WID_PARA_LEV2, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL3), WID_PARA_LEV3, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL4), WID_PARA_LEV4, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL5), WID_PARA_LEV5, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL6), WID_PARA_LEV6, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL7), WID_PARA_LEV7, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL8), WID_PARA_LEV8, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL9), WID_PARA_LEV9, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL10), WID_PARA_LEV10, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_DOCUMENT_INDEX_MARKS), WID_INDEX_MARKS, CPPU_E2T(CPPUTYPE_DOCIDXMRK), PropertyAttribute::READONLY ,0 },
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_USER_INDEX_NAME), WID_USER_IDX_NAME, CPPU_E2T(CPPUTYPE_OUSTRING) , PROPERTY_NONE, 0},
{0,0,0,0,0,0}
@@ -1389,13 +1389,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
@@ -1417,13 +1417,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_STAR_DRAW), WID_CREATE_FROM_STAR_DRAW , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_CREATE_FROM_OTHER_EMBEDDED_OBJECTS), WID_CREATE_FROM_OTHER_EMBEDDED_OBJECTS , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
@@ -1443,13 +1443,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{ SW_PROP_NMID(UNO_NAME_LABEL_DISPLAY_TYPE), WID_LABEL_DISPLAY_TYPE , CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
{ SW_PROP_NMID(UNO_NAME_IS_RELATIVE_TABSTOPS), WID_IS_RELATIVE_TABSTOPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
@@ -1460,19 +1460,19 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aTableRowPropertyMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS, CPPU_E2T(CPPUTYPE_TBLCOLSEP), PropertyAttribute::MAYBEVOID, 0 },
- { SW_PROP_NMID(UNO_NAME_HEIGHT), FN_UNO_ROW_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,CONVERT_TWIPS },
- { SW_PROP_NMID(UNO_NAME_IS_AUTO_HEIGHT), FN_UNO_ROW_AUTO_HEIGHT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , 0 },
- { SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE },
- { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE },
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_TABLE_COLUMN_SEPARATORS), FN_UNO_TABLE_COLUMN_SEPARATORS, CPPU_E2T(CPPUTYPE_TBLCOLSEP), PropertyAttribute::MAYBEVOID, 0 },
+ { SW_PROP_NMID(UNO_NAME_HEIGHT), FN_UNO_ROW_HEIGHT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,CONVERT_TWIPS },
+ { SW_PROP_NMID(UNO_NAME_IS_AUTO_HEIGHT), FN_UNO_ROW_AUTO_HEIGHT, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE , 0 },
+ { SW_PROP_NMID(UNO_NAME_SIZE_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_SIZE_TYPE },
+ { SW_PROP_NMID(UNO_NAME_WIDTH_TYPE), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT16) , PROPERTY_NONE, MID_FRMSIZE_WIDTH_TYPE },
{ SW_PROP_NMID(UNO_NAME_IS_SPLIT_ALLOWED), RES_ROW_SPLIT, CPPU_E2T(CPPUTYPE_BOOLEAN) , PropertyAttribute::MAYBEVOID, 0},
// { SW_PROP_NMID(UNO_NAME_HEIGHT), RES_FRM_SIZE, CPPU_E2T(CPPUTYPE_INT32) , PROPERTY_NONE, MID_FRMSIZE_HEIGHT|CONVERT_TWIPS },
- // { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
+ // { SW_PROP_NMID(UNO_NAME_SHADOW_FORMAT), RES_SHADOW, CPPU_E2T(CPPUTYPE_SHADOWFMT), PROPERTY_NONE, CONVERT_TWIPS},
{0,0,0,0,0,0}
};
@@ -1518,7 +1518,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aBookmarkPropertyMap_Impl [] =
{
- { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), FN_PARAM_LINK_DISPLAY_NAME, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
COMMON_TEXT_CONTENT_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1543,13 +1543,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
_BASE_INDEX_PROPERTIES_
{ SW_PROP_NMID(UNO_NAME_IS_PROTECTED), WID_PROTECTED , CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_TEXT_COLUMNS), RES_COL, CPPU_E2T(CPPUTYPE_REFTEXTCOL), PROPERTY_NONE, MID_COLUMNS},
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
- { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
- { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
- { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
- { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
- { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_URL), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_URL },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_FILTER), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE ,MID_GRAPHIC_FILTER },
+ { SW_PROP_NMID(UNO_NAME_BACK_GRAPHIC_LOCATION), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_GRAPHICLOC), PROPERTY_NONE ,MID_GRAPHIC_POSITION},
+ { SW_PROP_NMID(UNO_NAME_BACK_COLOR), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE ,MID_BACK_COLOR },
+ { SW_PROP_NMID(UNO_NAME_BACK_TRANSPARENT), RES_BACKGROUND, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE ,MID_GRAPHIC_TRANSPARENT },
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLEHEADING), WID_PARA_HEAD, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
+ { SW_PROP_NMID(UNO_NAME_PARA_STYLELEVEL1), WID_PARA_LEV1, CPPU_E2T(CPPUTYPE_OUSTRING) , 0, 0},
{ SW_PROP_NMID(UNO_NAME_LEVEL_FORMAT), WID_LEVEL_FORMAT , CPPU_E2T(CPPUTYPE_REFIDXREPL) , PROPERTY_NONE,0},
{ SW_PROP_NMID(UNO_NAME_LOCALE), WID_IDX_LOCALE, CPPU_E2T(CPPUTYPE_LOCALE), PROPERTY_NONE, 0},\
{ SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM), WID_IDX_SORT_ALGORITHM, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},\
@@ -1563,39 +1563,39 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aDocMap_Impl[] =
{
{ SW_PROP_NMID(UNO_NAME_BASIC_LIBRARIES), WID_DOC_BASIC_LIBRARIES, CPPU_E2T(CPPUTYPE_REFLIBCONTAINER), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH), RES_CHRATR_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
{ SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
- { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_ASIAN), RES_CHRATR_CJK_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY_NAME },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_STYLE_NAME_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, MID_FONT_STYLE_NAME },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_FAMILY_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_FAMILY },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_CHAR_SET_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_CHAR_SET },
+ { SW_PROP_NMID(UNO_NAME_CHAR_FONT_PITCH_COMPLEX), RES_CHRATR_CTL_FONT, CPPU_E2T(CPPUTYPE_INT16), PropertyAttribute::MAYBEVOID, MID_FONT_PITCH },
{ SW_PROP_NMID(UNO_NAME_CHAR_LOCALE), RES_CHRATR_LANGUAGE , CPPU_E2T(CPPUTYPE_LOCALE), PropertyAttribute::MAYBEVOID, MID_LANG_LOCALE },
- { SW_PROP_NMID(UNO_NAME_CHARACTER_COUNT), WID_DOC_CHAR_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_CHARACTER_COUNT), WID_DOC_CHAR_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_DIALOG_LIBRARIES), WID_DOC_DIALOG_LIBRARIES, CPPU_E2T(CPPUTYPE_REFLIBCONTAINER), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_VBA_DOCOBJ), WID_DOC_VBA_DOCOBJ, CPPU_E2T(CPPUTYPE_PROPERTYVALUE), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L), WID_DOC_AUTO_MARK_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_PARAGRAPH_COUNT), WID_DOC_PARA_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_RECORD_CHANGES), WID_DOC_CHANGES_RECORD, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_SHOW_CHANGES), WID_DOC_CHANGES_SHOW, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_WORD_COUNT), WID_DOC_WORD_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_IS_TEMPLATE), WID_DOC_ISTEMPLATEID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
- { SW_PROP_NMID(UNO_NAME_WORD_SEPARATOR), WID_DOC_WORD_SEPARATOR, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_HIDE_FIELD_TIPS), WID_DOC_HIDE_TIPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_REDLINE_DISPLAY_TYPE), WID_DOC_REDLINE_DISPLAY, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_INDEX_AUTO_MARK_FILE_U_R_L), WID_DOC_AUTO_MARK_URL, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_PARAGRAPH_COUNT), WID_DOC_PARA_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_RECORD_CHANGES), WID_DOC_CHANGES_RECORD, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_SHOW_CHANGES), WID_DOC_CHANGES_SHOW, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_WORD_COUNT), WID_DOC_WORD_COUNT, CPPU_E2T(CPPUTYPE_INT32), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_IS_TEMPLATE), WID_DOC_ISTEMPLATEID, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NMID(UNO_NAME_WORD_SEPARATOR), WID_DOC_WORD_SEPARATOR, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_HIDE_FIELD_TIPS), WID_DOC_HIDE_TIPS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_REDLINE_DISPLAY_TYPE), WID_DOC_REDLINE_DISPLAY, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_REDLINE_PROTECTION_KEY), WID_DOC_CHANGES_PASSWORD, CPPU_E2T(CPPUTYPE_SEQINT8), PROPERTY_NONE, 0 },
{ SW_PROP_NMID(UNO_NAME_FORBIDDEN_CHARACTERS), WID_DOC_FORBIDDEN_CHARS, CPPU_E2T(CPPUTYPE_REFFORBCHARS), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_TWO_DIGIT_YEAR), WID_DOC_TWO_DIGIT_YEAR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_AUTOMATIC_CONTROL_FOCUS), WID_DOC_AUTOMATIC_CONTROL_FOCUS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- { SW_PROP_NMID(UNO_NAME_APPLY_FORM_DESIGN_MODE), WID_DOC_APPLY_FORM_DESIGN_MODE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_TWO_DIGIT_YEAR), WID_DOC_TWO_DIGIT_YEAR, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_AUTOMATIC_CONTROL_FOCUS), WID_DOC_AUTOMATIC_CONTROL_FOCUS, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_APPLY_FORM_DESIGN_MODE), WID_DOC_APPLY_FORM_DESIGN_MODE, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_RUNTIME_UID), WID_DOC_RUNTIME_UID, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{ SW_PROP_NMID(UNO_NAME_LOCK_UPDATES), WID_DOC_LOCK_UPDATES, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{ SW_PROP_NMID(UNO_NAME_HAS_VALID_SIGNATURES), WID_DOC_HAS_VALID_SIGNATURES, CPPU_E2T(CPPUTYPE_BOOLEAN), PropertyAttribute::READONLY, 0},
@@ -1612,8 +1612,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aLinkTargetMap_Impl[] =
{
- { SW_PROP_NMID(UNO_LINK_DISPLAY_BITMAP), 0, CPPU_E2T(CPPUTYPE_REFBITMAP), PropertyAttribute::READONLY, 0xff},
- { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_BITMAP), 0, CPPU_E2T(CPPUTYPE_REFBITMAP), PropertyAttribute::READONLY, 0xff},
+ { SW_PROP_NMID(UNO_LINK_DISPLAY_NAME), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0xff},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aLinkTargetMap_Impl;
@@ -1623,8 +1623,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aAutoTextGroupMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_FILE_PATH), WID_GROUP_PATH, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, PropertyAttribute::READONLY},
- { SW_PROP_NMID(UNO_NAME_TITLE), WID_GROUP_TITLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ { SW_PROP_NMID(UNO_NAME_FILE_PATH), WID_GROUP_PATH, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, PropertyAttribute::READONLY},
+ { SW_PROP_NMID(UNO_NAME_TITLE), WID_GROUP_TITLE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aAutoTextGroupMap_Impl;
@@ -1651,7 +1651,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aFootnoteMap_Impl[] =
{
- {SW_PROP_NMID(UNO_NAME_REFERENCE_ID), 0, CPPU_E2T(CPPUTYPE_INT16),PropertyAttribute::READONLY|PropertyAttribute::MAYBEVOID, 0},
+ {SW_PROP_NMID(UNO_NAME_REFERENCE_ID), 0, CPPU_E2T(CPPUTYPE_INT16),PropertyAttribute::READONLY|PropertyAttribute::MAYBEVOID, 0},
COMMON_TEXT_CONTENT_PROPERTIES
_REDLINE_NODE_PROPERTIES
{0,0,0,0,0,0}
@@ -1666,10 +1666,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC), WID_TXTCOL_IS_AUTOMATIC, CPPU_E2T(CPPUTYPE_BOOLEAN),PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_AUTOMATIC_DISTANCE), WID_TXTCOL_AUTO_DISTANCE, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_WIDTH), WID_TXTCOL_LINE_WIDTH, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_COLOR), WID_TXTCOL_LINE_COLOR, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT), WID_TXTCOL_LINE_REL_HGT, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT), WID_TXTCOL_LINE_ALIGN, CPPU_E2T(CPPUTYPE_VERTALIGN),PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_IS_ON), WID_TXTCOL_LINE_IS_ON, CPPU_E2T(CPPUTYPE_BOOLEAN),PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_COLOR), WID_TXTCOL_LINE_COLOR, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_RELATIVE_HEIGHT), WID_TXTCOL_LINE_REL_HGT, CPPU_E2T(CPPUTYPE_INT32),PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_VERTIVAL_ALIGNMENT), WID_TXTCOL_LINE_ALIGN, CPPU_E2T(CPPUTYPE_VERTALIGN),PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SEPARATOR_LINE_IS_ON), WID_TXTCOL_LINE_IS_ON, CPPU_E2T(CPPUTYPE_BOOLEAN),PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aTextColumns_Impl;
@@ -1682,7 +1682,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
_REDLINE_PROPERTIES
_REDLINE_NODE_PROPERTIES
{SW_PROP_NMID(UNO_NAME_REDLINE_START), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE), PropertyAttribute::READONLY, 0},
- {SW_PROP_NMID(UNO_NAME_REDLINE_END), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_REDLINE_END), 0, CPPU_E2T(CPPUTYPE_REFINTERFACE), PropertyAttribute::MAYBEVOID|PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aRedlineMap_Impl;
@@ -1692,7 +1692,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aTextDefaultMap_Impl[] =
{
- { SW_PROP_NMID(UNO_NAME_TAB_STOP_DISTANCE), RES_PARATR_TABSTOP, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_STD_TAB | CONVERT_TWIPS},
+ { SW_PROP_NMID(UNO_NAME_TAB_STOP_DISTANCE), RES_PARATR_TABSTOP, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, MID_STD_TAB | CONVERT_TWIPS},
COMMON_CRSR_PARA_PROPERTIES_WITHOUT_FN
COMMON_HYPERLINK_PROPERTIES
{ SW_PROP_NMID(UNO_NAME_CHAR_STYLE_NAME), RES_TXTATR_CHARFMT, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},
@@ -1736,11 +1736,11 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDateTimeFieldPropMap[] =
{
- {SW_PROP_NMID(UNO_NAME_ADJUST), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, CPPU_E2T(CPPUTYPE_DATETIME), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
- {SW_PROP_NMID(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_ADJUST), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, CPPU_E2T(CPPUTYPE_DATETIME), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -1752,9 +1752,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aUserFieldPropMap[] =
{
- {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -1767,21 +1767,21 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aSetExpFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_INPUT), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_INPUT), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
// #i69733# wrong name - UNO_NAME_IS_INPUT expanded to "Input" instead of "IsInput"
{SW_PROP_NMID(UNO_NAME_INPUT), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL3, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
//TODO: UNO_NAME_VARIABLE_NAME gibt es das wirklich?
- {SW_PROP_NMID(UNO_NAME_SEQUENCE_VALUE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_VARIABLE_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_SEQUENCE_VALUE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_VARIABLE_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -1793,13 +1793,13 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aGetExpFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
- {SW_PROP_NMID(UNO_NAME_VARIABLE_SUBTYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_SHOW_FORMULA), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_VARIABLE_SUBTYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -1812,8 +1812,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aFileNameFieldPropMap [] =
{
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1824,10 +1824,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aPageNumFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_PAGENUMTYPE), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_USERTEXT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_PAGENUMTYPE), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_USERTEXT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1838,10 +1838,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aAuthorFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_FULL_NAME),FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_FULL_NAME),FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1852,23 +1852,23 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aChapterFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CHAPTER_FORMAT),FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_LEVEL ),FIELD_PROP_BYTE1, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CHAPTER_FORMAT),FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_LEVEL ),FIELD_PROP_BYTE1, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aChapterFieldPropMap;
}
break;
- case PROPERTY_MAP_FLDTYP_GET_REFERENCE :
+ case PROPERTY_MAP_FLDTYP_GET_REFERENCE :
{
static SfxItemPropertyMapEntry aGetRefFieldPropMap [] =
{
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_PART),FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_SOURCE),FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SEQUENCE_NUMBER), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SOURCE_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_PART),FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_REFERENCE_FIELD_SOURCE),FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SEQUENCE_NUMBER), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SOURCE_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1879,8 +1879,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aConditionedTxtFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONDITION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_FALSE_CONTENT), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONDITION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_FALSE_CONTENT), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_CONDITION_TRUE) , FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_TRUE_CONTENT) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
@@ -1894,8 +1894,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aHiddenTxtFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONDITION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_CONTENT) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONDITION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_HIDDEN) , FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
@@ -1908,9 +1908,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aAnnotationFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, CPPU_E2T(CPPUTYPE_DATETIME), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DATE_TIME, CPPU_E2T(CPPUTYPE_DATETIME), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATE), FIELD_PROP_DATE, CPPU_E2T(CPPUTYPE_DATE), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_TEXT_RANGE), FIELD_PROP_TEXT, CPPU_E2T(CPPUTYPE_REFINTERFACE), PropertyAttribute::READONLY, 0},
COMMON_FLDTYP_PROPERTIES
@@ -1923,10 +1923,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aInputFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_HELP), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_TOOLTIP), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_HELP), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_TOOLTIP), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -1988,9 +1988,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDocInfoFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INFO_FORMAT), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INFO_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_INFO_FORMAT), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_INFO_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2001,7 +2001,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aTmplNameFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_FILE_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2012,10 +2012,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aUsrExtFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_USER_DATA_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_USER_DATA_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2026,8 +2026,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aRefPgSetFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_ON), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_OFFSET), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_ON), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2050,9 +2050,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aJumpEdtFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_PLACEHOLDER), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_PLACEHOLDER_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_HINT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_PLACEHOLDER), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_PLACEHOLDER_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2063,9 +2063,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aScriptFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SCRIPT_TYPE), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_URL_CONTENT), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SCRIPT_TYPE), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_URL_CONTENT), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2082,7 +2082,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{SW_PROP_NMID(UNO_NAME_DATA_BASE_NAME ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_CONDITION) , FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONDITION) , FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
@@ -2104,7 +2104,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{SW_PROP_NMID(UNO_NAME_CONDITION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SET_NUMBER ), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SET_NUMBER ), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2123,8 +2123,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{SW_PROP_NMID(UNO_NAME_DATA_TABLE_NAME) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SET_NUMBER ), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SET_NUMBER ), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -2136,11 +2136,11 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDBFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_FIELD_CODE), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_DATA_BASE_FORMAT),FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_VISIBLE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -2171,8 +2171,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDocstatFieldPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- // {UNO_NAME_STATISTIC_TYPE_ID,FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBERING_TYPE), FIELD_PROP_USHORT2, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ // {UNO_NAME_STATISTIC_TYPE_ID,FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2183,9 +2183,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDocInfoAuthorPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_AUTHOR), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2197,10 +2197,10 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aDocInfoDateTimePropMap [] =
{
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
- {SW_PROP_NMID(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_DATE), FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
@@ -2212,9 +2212,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aDocInfoEditTimePropMap [] =
{
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DATE_TIME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT),FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
@@ -2226,9 +2226,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDocInfoStringContentPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2239,9 +2239,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aDocInfoCustomPropMap [] =
{
- {SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
{SW_PROP_NMID(UNO_NAME_NUMBER_FORMAT), FIELD_PROP_FORMAT, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_IS_FIXED_LANGUAGE), FIELD_PROP_BOOL4, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
@@ -2255,8 +2255,8 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
static SfxItemPropertyMapEntry aDocInfoRevisionPropMap [] =
{
{SW_PROP_NMID(UNO_NAME_CURRENT_PRESENTATION), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_REVISION), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
+ {SW_PROP_NMID(UNO_NAME_REVISION), FIELD_PROP_USHORT1, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_FIXED), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN) , PROPERTY_NONE,0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2302,28 +2302,28 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aUserFieldTypePropMap[] =
{
- {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
- {SW_PROP_NMID(UNO_NAME_IS_EXPRESSION), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_EXPRESSION), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::MAYBEVOID, 0},
- {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_VALUE), FIELD_PROP_DOUBLE, CPPU_E2T(CPPUTYPE_DOUBLE), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aUserFieldTypePropMap;
}
break;
- case PROPERTY_MAP_FLDMSTR_DDE :
+ case PROPERTY_MAP_FLDMSTR_DDE :
{
static SfxItemPropertyMapEntry aDDEFieldTypePropMap[] =
{
- {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT ), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE ), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE ), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_ELEMENT ), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_FILE ), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DDE_COMMAND_TYPE ), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_IS_AUTOMATIC_UPDATE), FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_CONTENT), FIELD_PROP_PAR5, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
@@ -2334,12 +2334,12 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aSetExpFieldTypePropMap[] =
{
- {SW_PROP_NMID(UNO_NAME_CHAPTER_NUMBERING_LEVEL),FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_CHAPTER_NUMBERING_LEVEL),FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT8), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_NAME), FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_NUMBERING_SEPARATOR), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_NUMBERING_SEPARATOR), FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_SUB_TYPE), FIELD_PROP_SUBTYPE, CPPU_E2T(CPPUTYPE_INT16), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aSetExpFieldTypePropMap;
@@ -2360,7 +2360,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_DATA_BASE_URL ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_DATA_COMMAND_TYPE), FIELD_PROP_SHORT1, CPPU_E2T(CPPUTYPE_INT32), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aDBFieldTypePropMap;
@@ -2370,9 +2370,9 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aStandardFieldMasterMap[] =
{
- {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), 0, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_DEPENDENT_TEXT_FIELDS), 0, CPPU_E2T(CPPUTYPE_SEQDEPTXTFLD), PropertyAttribute::READONLY, 0},
{SW_PROP_NMID(UNO_NAME_NAME), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), 0, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aStandardFieldMasterMap;
@@ -2382,7 +2382,7 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aBibliographyFieldMap[] =
{
- {SW_PROP_NMID(UNO_NAME_FIELDS ) , FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUE),PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_FIELDS ) , FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUE),PROPERTY_NONE, 0},
COMMON_FLDTYP_PROPERTIES
{0,0,0,0,0,0}
};
@@ -2393,14 +2393,14 @@ const SfxItemPropertyMapEntry* SwUnoPropertyMapProvider::GetPropertyMapEntries(s
{
static SfxItemPropertyMapEntry aBibliographyFieldMasterMap[] =
{
- {SW_PROP_NMID(UNO_NAME_BRACKET_BEFORE ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_BRACKET_AFTER ) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_NUMBER_ENTRIES ) , FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_IS_SORT_BY_POSITION) , FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_BRACKET_BEFORE ) , FIELD_PROP_PAR1, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_BRACKET_AFTER ) , FIELD_PROP_PAR2, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_NUMBER_ENTRIES ) , FIELD_PROP_BOOL1, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_IS_SORT_BY_POSITION) , FIELD_PROP_BOOL2, CPPU_E2T(CPPUTYPE_BOOLEAN), PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_LOCALE), FIELD_PROP_LOCALE, CPPU_E2T(CPPUTYPE_LOCALE) , PROPERTY_NONE, 0},
{SW_PROP_NMID(UNO_NAME_SORT_ALGORITHM), FIELD_PROP_PAR3, CPPU_E2T(CPPUTYPE_OUSTRING), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_SORT_KEYS ) , FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUES), PROPERTY_NONE, 0},
- {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
+ {SW_PROP_NMID(UNO_NAME_SORT_KEYS ) , FIELD_PROP_PROP_SEQ, CPPU_E2T(CPPUTYPE_PROPERTYVALUES), PROPERTY_NONE, 0},
+ {SW_PROP_NMID(UNO_NAME_INSTANCE_NAME), FIELD_PROP_PAR4, CPPU_E2T(CPPUTYPE_OUSTRING), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
aMapEntriesArr[nPropertyId] = aBibliographyFieldMasterMap;
@@ -3116,7 +3116,7 @@ const SfxItemPropertySet* SwUnoPropertyMapProvider::GetPropertySet( sal_uInt16
sal_Bool SwItemPropertySet::FillItem(SfxItemSet& /*rSet*/, sal_uInt16 /*nWhich*/, sal_Bool /*bGetProperty*/) const
{
sal_Bool bRet = sal_False;
-/* if(nWhich == SID_ATTR_PAGE_PAPERBIN)
+/* if(nWhich == SID_ATTR_PAGE_PAPERBIN)
{
rSet.Put(SvxPaperBinItem(SID_ATTR_PAGE_PAPERBIN, 0));
bRet = sal_True;
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx
index bfd6cd94bc44..3527e3e97e01 100644
--- a/sw/source/core/unocore/unoobj.cxx
+++ b/sw/source/core/unocore/unoobj.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -137,7 +137,7 @@ uno::Sequence< sal_Int8 > CreateUnoTunnelId()
static osl::Mutex aCreateMutex;
osl::Guard<osl::Mutex> aGuard( aCreateMutex );
uno::Sequence< sal_Int8 > aSeq( 16 );
- rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True );
+ rtl_createUuid( (sal_uInt8*)aSeq.getArray(), 0, sal_True );
return aSeq;
}
@@ -157,7 +157,7 @@ SwUnoInternalPaM::~SwUnoInternalPaM()
}
}
-SwUnoInternalPaM& SwUnoInternalPaM::operator=(const SwPaM& rPaM)
+SwUnoInternalPaM& SwUnoInternalPaM::operator=(const SwPaM& rPaM)
{
const SwPaM* pTmp = &rPaM;
*GetPoint() = *rPaM.GetPoint();
@@ -402,7 +402,7 @@ lcl_SetNodeNumStart(SwPaM & rCrsr, uno::Any const& rValue)
SwDoc* pDoc = rCrsr.GetDoc();
UnoActionContext aAction(pDoc);
- if( rCrsr.GetNext() != &rCrsr ) // Mehrfachselektion ?
+ if( rCrsr.GetNext() != &rCrsr ) // Mehrfachselektion ?
{
pDoc->StartUndo( UNDO_START, NULL );
SwPamRanges aRangeArr( rCrsr );
@@ -666,8 +666,8 @@ SwUnoCursorHelper::GetCurTxtFmtColl(SwPaM & rPaM, const bool bConditional)
static const sal_uInt16 nMaxLookup = 1000;
SwFmtColl *pFmt = 0;
-// if ( GetCrsrCnt() > nMaxLookup )
-// return 0;
+// if ( GetCrsrCnt() > nMaxLookup )
+// return 0;
bool bError = false;
SwPaM *pTmpCrsr = &rPaM;
do
@@ -707,9 +707,9 @@ SwUnoCursorHelper::GetCurTxtFmtColl(SwPaM & rPaM, const bool bConditional)
}
/* -----------------26.06.98 16:20-------------------
- * Hilfsfunktion fuer PageDesc
+ * Hilfsfunktion fuer PageDesc
* --------------------------------------------------*/
-SwPageDesc* GetPageDescByName_Impl(SwDoc& rDoc, const String& rName)
+SwPageDesc* GetPageDescByName_Impl(SwDoc& rDoc, const String& rName)
{
SwPageDesc* pRet = 0;
sal_uInt16 nDCount = rDoc.GetPageDescCnt();
diff --git a/sw/source/core/unocore/unoobj2.cxx b/sw/source/core/unocore/unoobj2.cxx
index 64d7dbdbbdbb..fcaf6e356957 100644
--- a/sw/source/core/unocore/unoobj2.cxx
+++ b/sw/source/core/unocore/unoobj2.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -360,8 +360,8 @@ void SwUnoCursorHelper::SetCrsrAttr(SwPaM & rPam,
}
else
{
-// if( !HasSelection() )
-// UpdateAttr();
+// if( !HasSelection() )
+// UpdateAttr();
pDoc->InsertItemSet( rPam, rSet, nFlags );
}
//#outline level,add by zhaojianwei
@@ -371,7 +371,7 @@ void SwUnoCursorHelper::SetCrsrAttr(SwPaM & rPam,
if ( pTmpNode )
{
rPam.GetDoc()->GetNodes().UpdateOutlineNode( *pTmpNode );
- }
+ }
}
//<-end,zhaojianwei
}
@@ -588,7 +588,7 @@ lcl_FindTopLevelTable(
SwTableNode * pLast = pTblNode;
for (SwTableNode* pTmp = pLast;
- pTmp != NULL && &pTmp->GetTable() != pOwnTable; /* we must not go up higher than the own table! */
+ pTmp != NULL && &pTmp->GetTable() != pOwnTable; /* we must not go up higher than the own table! */
pTmp = pTmp->StartOfSectionNode()->FindTableNode() )
{
pLast = pTmp;
@@ -1642,8 +1642,8 @@ throw (uno::RuntimeException)
}
/****************************************************************************
- * Text positions
- * Bis zum ersten Zugriff auf eine TextPosition wird ein SwCursor gehalten,
+ * Text positions
+ * Bis zum ersten Zugriff auf eine TextPosition wird ein SwCursor gehalten,
* danach wird ein Array mit uno::Reference< XTextPosition > angelegt
*
****************************************************************************/
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx
index 26d148446d4a..1f8083108b3c 100644
--- a/sw/source/core/unocore/unoparagraph.cxx
+++ b/sw/source/core/unocore/unoparagraph.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -802,7 +802,7 @@ bool ::sw::GetDefaultTextContentValue(
case FN_UNO_TEXT_WRAP: rAny <<= text::WrapTextMode_NONE; break;
case FN_UNO_ANCHOR_TYPE: rAny <<= text::TextContentAnchorType_AT_PARAGRAPH; break;
case FN_UNO_ANCHOR_TYPES:
- { uno::Sequence<text::TextContentAnchorType> aTypes(1);
+ { uno::Sequence<text::TextContentAnchorType> aTypes(1);
text::TextContentAnchorType* pArray = aTypes.getArray();
pArray[0] = text::TextContentAnchorType_AT_PARAGRAPH;
rAny.setValue(&aTypes, ::getCppuType((uno::Sequence<text::TextContentAnchorType>*)0));
@@ -859,7 +859,7 @@ throw (beans::UnknownPropertyException, lang::WrappedTargetException,
}
beans::PropertyState lcl_SwXParagraph_getPropertyState(
-// SwUnoCrsr& rUnoCrsr,
+// SwUnoCrsr& rUnoCrsr,
const SwTxtNode& rTxtNode,
const SwAttrSet** ppSet,
const SfxItemPropertySimpleEntry& rEntry,
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx
index ca2643495c63..4dd5779f7825 100644
--- a/sw/source/core/unocore/unoport.cxx
+++ b/sw/source/core/unocore/unoport.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -642,7 +642,7 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion:
rPropertyNames,
SW_PROPERTY_STATE_CALLER_SWX_TEXT_PORTION_TOLERANT );
const beans::PropertyState* pPropertyStates = aPropertyStates.getConstArray();
-
+
std::vector< beans::GetDirectPropertyTolerantResult > aResultVector;
for (sal_Int32 i = 0; i < nProps; ++i)
{
@@ -651,7 +651,7 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion:
{
aResult.Name = pProp[i];
if(pPropertyStates[i] == beans::PropertyState_MAKE_FIXED_SIZE) // property unknown?
- {
+ {
if( bDirectValuesOnly )
continue;
else
@@ -663,7 +663,7 @@ uno::Sequence< beans::GetDirectPropertyTolerantResult > SAL_CALL SwXTextPortion:
aResult.State = pPropertyStates[i];
aResult.Result = beans::TolerantPropertySetResultType::UNKNOWN_FAILURE;
- //#i104499# ruby portion attributes need special handling:
+ //#i104499# ruby portion attributes need special handling:
if( pEntry->nWID == RES_TXTATR_CJK_RUBY &&
m_ePortionType == PORTION_RUBY_START )
{
diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index 5097f8887f9c..14ab9d668f4b 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,9 +92,9 @@ namespace
struct SwXBookmarkPortion_Impl
{
- Reference<XTextContent> xBookmark;
- BYTE nBkmType;
- const SwPosition aPosition;
+ Reference<XTextContent> xBookmark;
+ BYTE nBkmType;
+ const SwPosition aPosition;
SwXBookmarkPortion_Impl(uno::Reference<text::XTextContent> const& xMark,
const BYTE nType, SwPosition const& rPosition)
@@ -118,8 +118,8 @@ namespace
// always precede the end. Hence compare positions, and use bookmark type
// as tie-breaker for same position.
// return ( r1->nIndex == r2->nIndex )
- // ? ( r1->nBkmType < r2->nBkmType )
- // : ( r1->nIndex < r2->nIndex );
+ // ? ( r1->nBkmType < r2->nBkmType )
+ // : ( r1->nIndex < r2->nIndex );
// MTG: 25/11/05: Note that the above code does not correctly handle
// the case when one bookmark ends, and another begins in the same
@@ -194,7 +194,7 @@ namespace
}
/******************************************************************
- * SwXTextPortionEnumeration
+ * SwXTextPortionEnumeration
******************************************************************/
const uno::Sequence< sal_Int8 > & SwXTextPortionEnumeration::getUnoTunnelId()
{
@@ -722,7 +722,7 @@ lcl_ExportHints(
pPortion->SetTextField(xField);
}
break;
- case RES_TXTATR_FLYCNT :
+ case RES_TXTATR_FLYCNT :
if(!bRightMoveForbidden)
{
pUnoCrsr->Right(1,CRSR_SKIP_CHARS,FALSE,FALSE);
@@ -733,7 +733,7 @@ lcl_ExportHints(
pUnoCrsr, xParent, PORTION_FRAME);
}
break;
- case RES_TXTATR_FTN :
+ case RES_TXTATR_FTN :
{
if(!bRightMoveForbidden)
{
@@ -883,7 +883,7 @@ void lcl_MoveCursor( SwUnoCrsr * const pUnoCrsr,
if (nMovePos > nCurrentIndex)
{
-// pUnoCrsr->Right(nMovePos - nCurrentIndex);
+// pUnoCrsr->Right(nMovePos - nCurrentIndex);
pUnoCrsr->GetPoint()->nContent = static_cast<USHORT>(nMovePos);
}
}
@@ -1167,7 +1167,7 @@ lcl_CreatePortions(
"CreatePortions: stack error" );
}
-void SwXTextPortionEnumeration::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
+void SwXTextPortionEnumeration::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
{
ClientModify(this, pOld, pNew);
}
diff --git a/sw/source/core/unocore/unoprnms.cxx b/sw/source/core/unocore/unoprnms.cxx
index f60afcce4982..af8ff91492ae 100644
--- a/sw/source/core/unocore/unoprnms.cxx
+++ b/sw/source/core/unocore/unoprnms.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,624 +37,624 @@
const SwPropNameTab aPropNameTab = {
-/* 0001 FOLLOW_STYLE */ {MAP_CHAR_LEN("FollowStyle")},
-/* 0002 IS_PHYSICAL */ {MAP_CHAR_LEN("IsPhysical")},
-/* 0003 IS_AUTO_UPDATE */ {MAP_CHAR_LEN("IsAutoUpdate")},
-/* 0004 DISPLAY_NAME */ {MAP_CHAR_LEN("DisplayName")},
-/* 0005 PARA_GRAPHIC_URL */ {MAP_CHAR_LEN("ParaBackGraphicURL")},
-/* 0006 PARA_GRAPHIC_FILTER */ {MAP_CHAR_LEN("ParaBackGraphicFilter")},
-/* 0007 HEADER_GRAPHIC_URL */ {MAP_CHAR_LEN("HeaderBackGraphicURL")},
-/* 0008 HEADER_GRAPHIC_FILTER */ {MAP_CHAR_LEN("HeaderBackGraphicFilter")},
-/* 0009 FOOTER_GRAPHIC_URL */ {MAP_CHAR_LEN("FooterBackGraphicURL")},
-/* 0010 FOOTER_GRAPHIC_FILTER */ {MAP_CHAR_LEN("FooterBackGraphicFilter")},
-/* 0011 BACK_GRAPHIC_URL */ {MAP_CHAR_LEN("BackGraphicURL")},
-/* 0012 BACK_GRAPHIC_FILTER */ {MAP_CHAR_LEN("BackGraphicFilter")},
-/* 0013 BACK_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("BackGraphicLocation")},
-/* 0014 BACK_GRAPHIC_BITMAP */ {MAP_CHAR_LEN("BackGraphicBitmap")},
-/* 0015 GRAPHIC_URL */ {MAP_CHAR_LEN("GraphicURL")},
-/* 0016 GRAPHIC_FILTER */ {MAP_CHAR_LEN("GraphicFilter")},
-/* 0017 GRAPHIC_LOCATION */ {MAP_CHAR_LEN("GraphicLocation")},
-/* 0018 GRAPHIC_SIZE */ {MAP_CHAR_LEN("GraphicSize")},
-/* 0019 GRAPHIC_BITMAP */ {MAP_CHAR_LEN("GraphicBitmap")},
-/* 0020 BULLET_FONT */ {MAP_CHAR_LEN("BulletFont")},
-/* 0021 PARA_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("ParaBackGraphicLocation")},
-/* 0022 HEADER_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("HeaderBackGraphicLocation")},
-/* 0023 FOOTER_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("FooterBackGraphicLocation")},
-/* 0024 PARA_LEFT_PARA_MARGIN */ {MAP_CHAR_LEN("ParaLeftParaMargin")},
-/* 0025 PARA_RIGHT_PARA_MARGIN */ {MAP_CHAR_LEN("ParaRightParaMargin")},
-/* 0026 PARA_LEFT_MARGIN */ {MAP_CHAR_LEN("ParaLeftMargin")},
-/* 0027 PARA_RIGHT_MARGIN */ {MAP_CHAR_LEN("ParaRightMargin")},
-/* 0028 PARA_LEFT_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaLeftMarginRelative")},
-/* 0029 PARA_RIGHT_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaRightMarginRelative")},
-/* 0030 PARA_IS_AUTO_FIRST_LINE_INDENT */ {MAP_CHAR_LEN("ParaIsAutoFirstLineIndent")},
-/* 0031 PARA_FIRST_LINE_INDENT */ {MAP_CHAR_LEN("ParaFirstLineIndent")},
-/* 0032 PARA_FIRST_LINE_INDENT_RELATIVE */ {MAP_CHAR_LEN("ParaFirstLineIndentRelative")},
-/* 0033 PARA_IS_HYPHENATION */ {MAP_CHAR_LEN("ParaIsHyphenation")},
-/* 0034 PARA_HYPHENATION_MAX_LEADING_CHARS */ {MAP_CHAR_LEN("ParaHyphenationMaxLeadingChars")},
-/* 0035 PARA_HYPHENATION_MAX_TRAILING_CHARS */ {MAP_CHAR_LEN("ParaHyphenationMaxTrailingChars")},
-/* 0036 PARA_HYPHENATION_MAX_HYPHENS */ {MAP_CHAR_LEN("ParaHyphenationMaxHyphens")},
-/* 0037 LEFT_MARGIN */ {MAP_CHAR_LEN("LeftMargin")},
-/* 0038 RIGHT_MARGIN */ {MAP_CHAR_LEN("RightMargin")},
-/* 0039 HEADER_LEFT_MARGIN */ {MAP_CHAR_LEN("HeaderLeftMargin")},
-/* 0040 HEADER_RIGHT_MARGIN */ {MAP_CHAR_LEN("HeaderRightMargin")},
-/* 0041 FOOTER_LEFT_MARGIN */ {MAP_CHAR_LEN("FooterLeftMargin")},
-/* 0042 FOOTER_RIGHT_MARGIN */ {MAP_CHAR_LEN("FooterRightMargin")},
-/* 0043 TEXT_RANGE */ {MAP_CHAR_LEN("TextRange")},
-/* 0044 NAME */ {MAP_CHAR_LEN("Name")},
-/* 0045 NUMBERING_ALIGNMENT */ {MAP_CHAR_LEN("NumberingAlignment")},
-/* 0046 BULLET_FONT_NAME */ {MAP_CHAR_LEN("BulletFontName")},
-/* 0047 BULLET_ID */ {MAP_CHAR_LEN("BulletId")},
-/* 0048 CHAR_STYLE_NAME */ {MAP_CHAR_LEN("CharStyleName")},
-/* 0049 ANCHOR_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("AnchorCharStyleName")},
-/* 0050 SUFFIX */ {MAP_CHAR_LEN("Suffix")},
-/* 0051 PREFIX */ {MAP_CHAR_LEN("Prefix")},
-/* 0052 PARENT_NUMBERING */ {MAP_CHAR_LEN("ParentNumbering")},
-/* 0053 START_WITH */ {MAP_CHAR_LEN("StartWith")},
-/* 0054 CHAR_FONT_NAME */ {MAP_CHAR_LEN("CharFontName")},
-/* 0055 CHAR_FONT_STYLE_NAME */ {MAP_CHAR_LEN("CharFontStyleName")},
-/* 0056 CHAR_FONT_FAMILY */ {MAP_CHAR_LEN("CharFontFamily")},
-/* 0057 CHAR_FONT_CHAR_SET */ {MAP_CHAR_LEN("CharFontCharSet")},
-/* 0058 CHAR_FONT_PITCH */ {MAP_CHAR_LEN("CharFontPitch")},
-/* 0059 CHAR_POSTURE */ {MAP_CHAR_LEN("CharPosture")},
-/* 0060 CHAR_WEIGHT */ {MAP_CHAR_LEN("CharWeight")},
-/* 0061 CHAR_HEIGHT */ {MAP_CHAR_LEN("CharHeight")},
-/* 0062 CHAR_LOCALE */ {MAP_CHAR_LEN("CharLocale")},
-/* 0063 CHAR_FONT_NAME_ASIAN */ {MAP_CHAR_LEN("CharFontNameAsian")},
-/* 0064 CHAR_FONT_STYLE_NAME_ASIAN */ {MAP_CHAR_LEN("CharFontStyleNameAsian")},
-/* 0065 CHAR_FONT_FAMILY_ASIAN */ {MAP_CHAR_LEN("CharFontFamilyAsian")},
-/* 0066 CHAR_FONT_CHAR_SET_ASIAN */ {MAP_CHAR_LEN("CharFontCharSetAsian")},
-/* 0067 CHAR_FONT_PITCH_ASIAN */ {MAP_CHAR_LEN("CharFontPitchAsian")},
-/* 0068 CHAR_POSTURE_ASIAN */ {MAP_CHAR_LEN("CharPostureAsian")},
-/* 0069 CHAR_WEIGHT_ASIAN */ {MAP_CHAR_LEN("CharWeightAsian")},
-/* 0070 CHAR_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharHeightAsian")},
-/* 0071 CHAR_LOCALE_ASIAN */ {MAP_CHAR_LEN("CharLocaleAsian")},
-/* 0072 CHAR_FONT_NAME_COMPLEX */ {MAP_CHAR_LEN("CharFontNameComplex")},
-/* 0073 CHAR_FONT_STYLE_NAME_COMPLEX */ {MAP_CHAR_LEN("CharFontStyleNameComplex")},
-/* 0074 CHAR_FONT_FAMILY_COMPLEX */ {MAP_CHAR_LEN("CharFontFamilyComplex")},
-/* 0075 CHAR_FONT_CHAR_SET_COMPLEX */ {MAP_CHAR_LEN("CharFontCharSetComplex")},
-/* 0076 CHAR_FONT_PITCH_COMPLEX */ {MAP_CHAR_LEN("CharFontPitchComplex")},
-/* 0077 CHAR_POSTURE_COMPLEX */ {MAP_CHAR_LEN("CharPostureComplex")},
-/* 0078 CHAR_WEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharWeightComplex")},
-/* 0079 CHAR_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharHeightComplex")},
-/* 0080 CHAR_LOCALE_COMPLEX */ {MAP_CHAR_LEN("CharLocaleComplex")},
-/* 0081 CHAR_AUTO_KERNING */ {MAP_CHAR_LEN("CharAutoKerning")},
-/* 0082 CHAR_UNDERLINE */ {MAP_CHAR_LEN("CharUnderline")},
-/* 0083 CHAR_UNDERLINE_COLOR */ {MAP_CHAR_LEN("CharUnderlineColor")},
-/* 0084 CHAR_UNDERLINE_HAS_COLOR */ {MAP_CHAR_LEN("CharUnderlineHasColor")},
-/* 0085 CHAR_ESCAPEMENT */ {MAP_CHAR_LEN("CharEscapement")},
-/* 0086 CHAR_CASE_MAP */ {MAP_CHAR_LEN("CharCaseMap")},
-/* 0087 CHAR_SHADOWED */ {MAP_CHAR_LEN("CharShadowed")},
-/* 0088 CHAR_STRIKEOUT */ {MAP_CHAR_LEN("CharStrikeout")},
-/* 0089 CHAR_CROSSED_OUT */ {MAP_CHAR_LEN("CharCrossedOut")},
-/* 0090 CHAR_NO_HYPHENATION */ {MAP_CHAR_LEN("CharNoHyphenation")},
-/* 0091 CHAR_AUTO_ESCAPEMENT */ {MAP_CHAR_LEN("CharAutoEscapement")},
-/* 0092 CHAR_PROP_HEIGHT */ {MAP_CHAR_LEN("CharPropHeight")},
-/* 0093 CHAR_DIFF_HEIGHT */ {MAP_CHAR_LEN("CharDiffHeight")},
-/* 0094 CHAR_PROP_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharPropHeightAsian")},
-/* 0095 CHAR_DIFF_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharDiffHeightAsian")},
-/* 0096 CHAR_PROP_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharPropHeightComplex")},
-/* 0097 CHAR_DIFF_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharDiffHeightComplex")},
-/* 0098 CHAR_ESCAPEMENT_HEIGHT */ {MAP_CHAR_LEN("CharEscapementHeight")},
-/* 0099 CHAR_COLOR */ {MAP_CHAR_LEN("CharColor")},
+/* 0001 FOLLOW_STYLE */ {MAP_CHAR_LEN("FollowStyle")},
+/* 0002 IS_PHYSICAL */ {MAP_CHAR_LEN("IsPhysical")},
+/* 0003 IS_AUTO_UPDATE */ {MAP_CHAR_LEN("IsAutoUpdate")},
+/* 0004 DISPLAY_NAME */ {MAP_CHAR_LEN("DisplayName")},
+/* 0005 PARA_GRAPHIC_URL */ {MAP_CHAR_LEN("ParaBackGraphicURL")},
+/* 0006 PARA_GRAPHIC_FILTER */ {MAP_CHAR_LEN("ParaBackGraphicFilter")},
+/* 0007 HEADER_GRAPHIC_URL */ {MAP_CHAR_LEN("HeaderBackGraphicURL")},
+/* 0008 HEADER_GRAPHIC_FILTER */ {MAP_CHAR_LEN("HeaderBackGraphicFilter")},
+/* 0009 FOOTER_GRAPHIC_URL */ {MAP_CHAR_LEN("FooterBackGraphicURL")},
+/* 0010 FOOTER_GRAPHIC_FILTER */ {MAP_CHAR_LEN("FooterBackGraphicFilter")},
+/* 0011 BACK_GRAPHIC_URL */ {MAP_CHAR_LEN("BackGraphicURL")},
+/* 0012 BACK_GRAPHIC_FILTER */ {MAP_CHAR_LEN("BackGraphicFilter")},
+/* 0013 BACK_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("BackGraphicLocation")},
+/* 0014 BACK_GRAPHIC_BITMAP */ {MAP_CHAR_LEN("BackGraphicBitmap")},
+/* 0015 GRAPHIC_URL */ {MAP_CHAR_LEN("GraphicURL")},
+/* 0016 GRAPHIC_FILTER */ {MAP_CHAR_LEN("GraphicFilter")},
+/* 0017 GRAPHIC_LOCATION */ {MAP_CHAR_LEN("GraphicLocation")},
+/* 0018 GRAPHIC_SIZE */ {MAP_CHAR_LEN("GraphicSize")},
+/* 0019 GRAPHIC_BITMAP */ {MAP_CHAR_LEN("GraphicBitmap")},
+/* 0020 BULLET_FONT */ {MAP_CHAR_LEN("BulletFont")},
+/* 0021 PARA_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("ParaBackGraphicLocation")},
+/* 0022 HEADER_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("HeaderBackGraphicLocation")},
+/* 0023 FOOTER_GRAPHIC_LOCATION */ {MAP_CHAR_LEN("FooterBackGraphicLocation")},
+/* 0024 PARA_LEFT_PARA_MARGIN */ {MAP_CHAR_LEN("ParaLeftParaMargin")},
+/* 0025 PARA_RIGHT_PARA_MARGIN */ {MAP_CHAR_LEN("ParaRightParaMargin")},
+/* 0026 PARA_LEFT_MARGIN */ {MAP_CHAR_LEN("ParaLeftMargin")},
+/* 0027 PARA_RIGHT_MARGIN */ {MAP_CHAR_LEN("ParaRightMargin")},
+/* 0028 PARA_LEFT_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaLeftMarginRelative")},
+/* 0029 PARA_RIGHT_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaRightMarginRelative")},
+/* 0030 PARA_IS_AUTO_FIRST_LINE_INDENT */ {MAP_CHAR_LEN("ParaIsAutoFirstLineIndent")},
+/* 0031 PARA_FIRST_LINE_INDENT */ {MAP_CHAR_LEN("ParaFirstLineIndent")},
+/* 0032 PARA_FIRST_LINE_INDENT_RELATIVE */ {MAP_CHAR_LEN("ParaFirstLineIndentRelative")},
+/* 0033 PARA_IS_HYPHENATION */ {MAP_CHAR_LEN("ParaIsHyphenation")},
+/* 0034 PARA_HYPHENATION_MAX_LEADING_CHARS */ {MAP_CHAR_LEN("ParaHyphenationMaxLeadingChars")},
+/* 0035 PARA_HYPHENATION_MAX_TRAILING_CHARS */ {MAP_CHAR_LEN("ParaHyphenationMaxTrailingChars")},
+/* 0036 PARA_HYPHENATION_MAX_HYPHENS */ {MAP_CHAR_LEN("ParaHyphenationMaxHyphens")},
+/* 0037 LEFT_MARGIN */ {MAP_CHAR_LEN("LeftMargin")},
+/* 0038 RIGHT_MARGIN */ {MAP_CHAR_LEN("RightMargin")},
+/* 0039 HEADER_LEFT_MARGIN */ {MAP_CHAR_LEN("HeaderLeftMargin")},
+/* 0040 HEADER_RIGHT_MARGIN */ {MAP_CHAR_LEN("HeaderRightMargin")},
+/* 0041 FOOTER_LEFT_MARGIN */ {MAP_CHAR_LEN("FooterLeftMargin")},
+/* 0042 FOOTER_RIGHT_MARGIN */ {MAP_CHAR_LEN("FooterRightMargin")},
+/* 0043 TEXT_RANGE */ {MAP_CHAR_LEN("TextRange")},
+/* 0044 NAME */ {MAP_CHAR_LEN("Name")},
+/* 0045 NUMBERING_ALIGNMENT */ {MAP_CHAR_LEN("NumberingAlignment")},
+/* 0046 BULLET_FONT_NAME */ {MAP_CHAR_LEN("BulletFontName")},
+/* 0047 BULLET_ID */ {MAP_CHAR_LEN("BulletId")},
+/* 0048 CHAR_STYLE_NAME */ {MAP_CHAR_LEN("CharStyleName")},
+/* 0049 ANCHOR_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("AnchorCharStyleName")},
+/* 0050 SUFFIX */ {MAP_CHAR_LEN("Suffix")},
+/* 0051 PREFIX */ {MAP_CHAR_LEN("Prefix")},
+/* 0052 PARENT_NUMBERING */ {MAP_CHAR_LEN("ParentNumbering")},
+/* 0053 START_WITH */ {MAP_CHAR_LEN("StartWith")},
+/* 0054 CHAR_FONT_NAME */ {MAP_CHAR_LEN("CharFontName")},
+/* 0055 CHAR_FONT_STYLE_NAME */ {MAP_CHAR_LEN("CharFontStyleName")},
+/* 0056 CHAR_FONT_FAMILY */ {MAP_CHAR_LEN("CharFontFamily")},
+/* 0057 CHAR_FONT_CHAR_SET */ {MAP_CHAR_LEN("CharFontCharSet")},
+/* 0058 CHAR_FONT_PITCH */ {MAP_CHAR_LEN("CharFontPitch")},
+/* 0059 CHAR_POSTURE */ {MAP_CHAR_LEN("CharPosture")},
+/* 0060 CHAR_WEIGHT */ {MAP_CHAR_LEN("CharWeight")},
+/* 0061 CHAR_HEIGHT */ {MAP_CHAR_LEN("CharHeight")},
+/* 0062 CHAR_LOCALE */ {MAP_CHAR_LEN("CharLocale")},
+/* 0063 CHAR_FONT_NAME_ASIAN */ {MAP_CHAR_LEN("CharFontNameAsian")},
+/* 0064 CHAR_FONT_STYLE_NAME_ASIAN */ {MAP_CHAR_LEN("CharFontStyleNameAsian")},
+/* 0065 CHAR_FONT_FAMILY_ASIAN */ {MAP_CHAR_LEN("CharFontFamilyAsian")},
+/* 0066 CHAR_FONT_CHAR_SET_ASIAN */ {MAP_CHAR_LEN("CharFontCharSetAsian")},
+/* 0067 CHAR_FONT_PITCH_ASIAN */ {MAP_CHAR_LEN("CharFontPitchAsian")},
+/* 0068 CHAR_POSTURE_ASIAN */ {MAP_CHAR_LEN("CharPostureAsian")},
+/* 0069 CHAR_WEIGHT_ASIAN */ {MAP_CHAR_LEN("CharWeightAsian")},
+/* 0070 CHAR_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharHeightAsian")},
+/* 0071 CHAR_LOCALE_ASIAN */ {MAP_CHAR_LEN("CharLocaleAsian")},
+/* 0072 CHAR_FONT_NAME_COMPLEX */ {MAP_CHAR_LEN("CharFontNameComplex")},
+/* 0073 CHAR_FONT_STYLE_NAME_COMPLEX */ {MAP_CHAR_LEN("CharFontStyleNameComplex")},
+/* 0074 CHAR_FONT_FAMILY_COMPLEX */ {MAP_CHAR_LEN("CharFontFamilyComplex")},
+/* 0075 CHAR_FONT_CHAR_SET_COMPLEX */ {MAP_CHAR_LEN("CharFontCharSetComplex")},
+/* 0076 CHAR_FONT_PITCH_COMPLEX */ {MAP_CHAR_LEN("CharFontPitchComplex")},
+/* 0077 CHAR_POSTURE_COMPLEX */ {MAP_CHAR_LEN("CharPostureComplex")},
+/* 0078 CHAR_WEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharWeightComplex")},
+/* 0079 CHAR_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharHeightComplex")},
+/* 0080 CHAR_LOCALE_COMPLEX */ {MAP_CHAR_LEN("CharLocaleComplex")},
+/* 0081 CHAR_AUTO_KERNING */ {MAP_CHAR_LEN("CharAutoKerning")},
+/* 0082 CHAR_UNDERLINE */ {MAP_CHAR_LEN("CharUnderline")},
+/* 0083 CHAR_UNDERLINE_COLOR */ {MAP_CHAR_LEN("CharUnderlineColor")},
+/* 0084 CHAR_UNDERLINE_HAS_COLOR */ {MAP_CHAR_LEN("CharUnderlineHasColor")},
+/* 0085 CHAR_ESCAPEMENT */ {MAP_CHAR_LEN("CharEscapement")},
+/* 0086 CHAR_CASE_MAP */ {MAP_CHAR_LEN("CharCaseMap")},
+/* 0087 CHAR_SHADOWED */ {MAP_CHAR_LEN("CharShadowed")},
+/* 0088 CHAR_STRIKEOUT */ {MAP_CHAR_LEN("CharStrikeout")},
+/* 0089 CHAR_CROSSED_OUT */ {MAP_CHAR_LEN("CharCrossedOut")},
+/* 0090 CHAR_NO_HYPHENATION */ {MAP_CHAR_LEN("CharNoHyphenation")},
+/* 0091 CHAR_AUTO_ESCAPEMENT */ {MAP_CHAR_LEN("CharAutoEscapement")},
+/* 0092 CHAR_PROP_HEIGHT */ {MAP_CHAR_LEN("CharPropHeight")},
+/* 0093 CHAR_DIFF_HEIGHT */ {MAP_CHAR_LEN("CharDiffHeight")},
+/* 0094 CHAR_PROP_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharPropHeightAsian")},
+/* 0095 CHAR_DIFF_HEIGHT_ASIAN */ {MAP_CHAR_LEN("CharDiffHeightAsian")},
+/* 0096 CHAR_PROP_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharPropHeightComplex")},
+/* 0097 CHAR_DIFF_HEIGHT_COMPLEX */ {MAP_CHAR_LEN("CharDiffHeightComplex")},
+/* 0098 CHAR_ESCAPEMENT_HEIGHT */ {MAP_CHAR_LEN("CharEscapementHeight")},
+/* 0099 CHAR_COLOR */ {MAP_CHAR_LEN("CharColor")},
-/* 0100 CHAR_FLASH */ {MAP_CHAR_LEN("CharFlash")},
-/* 0101 CHAR_KERNING */ {MAP_CHAR_LEN("CharKerning")},
-/* 0102 CHAR_BACK_COLOR */ {MAP_CHAR_LEN("CharBackColor")},
-/* 0103 CHAR_BACK_TRANSPARENT */ {MAP_CHAR_LEN("CharBackTransparent")},
-/* 0104 CHAR_COMBINE_IS_ON */ {MAP_CHAR_LEN("CharCombineIsOn")},
-/* 0105 CHAR_COMBINE_PREFIX */ {MAP_CHAR_LEN("CharCombinePrefix")},
-/* 0106 CHAR_COMBINE_SUFFIX */ {MAP_CHAR_LEN("CharCombineSuffix")},
-/* 0107 CHAR_EMPHASIS */ {MAP_CHAR_LEN("CharEmphasis")},
-/* 0108 PARA_LINE_SPACING */ {MAP_CHAR_LEN("ParaLineSpacing")},
-/* 0109 PARA_TOP_MARGIN */ {MAP_CHAR_LEN("ParaTopMargin")},
-/* 0110 PARA_BOTTOM_MARGIN */ {MAP_CHAR_LEN("ParaBottomMargin")},
-/* 0111 PARA_TOP_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaTopMarginRelative")},
-/* 0112 PARA_BOTTOM_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaBottomMarginRelative")},
-/* 0113 PARA_EXPAND_SINGLE_WORD */ {MAP_CHAR_LEN("ParaExpandSingleWord")},
-/* 0114 END_NOTICE */ {MAP_CHAR_LEN("EndNotice")},
-/* 0115 EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("EmbeddedObjects")},
-/* 0116 ALPHABETICAL_SEPARATORS */ {MAP_CHAR_LEN("AlphabeticalSeparators")},
-/* 0117 BACKGROUND_COLOR */ {MAP_CHAR_LEN("BackgroundColor")},
-/* 0118 BEGIN_NOTICE */ {MAP_CHAR_LEN("BeginNotice")},
-/* 0119 CASE_SENSITIVE */ {MAP_CHAR_LEN("CaseSensitive")},
-/* 0120 FRAME_STYLE_NAME */ {MAP_CHAR_LEN("FrameStyleName")},
-/* 0121 NUMBERING_STYLE_NAME */ {MAP_CHAR_LEN("NumberingStyleName")},
-/* 0122 NUMBERING_LEVEL */ {MAP_CHAR_LEN("NumberingLevel")},
-/* 0123 NUMBERING_START_VALUE */ {MAP_CHAR_LEN("NumberingStartValue")},
-/* 0124 NUMBERING_IS_NUMBER */ {MAP_CHAR_LEN("NumberingIsNumber")},
-/* 0125 COMBINE_ENTRIES */ {MAP_CHAR_LEN("CombineEntries")},
-/* 0126 COUNT_LINES_IN_FRAMES */ {MAP_CHAR_LEN("CountLinesInFrames")},
-/* 0127 DDE_COMMAND_TYPE */ {MAP_CHAR_LEN("DDECommandType")},
-/* 0128 DDE_COMMAND_FILE */ {MAP_CHAR_LEN("DDECommandFile")},
-/* 0129 DDE_COMMAND_ELEMENT */ {MAP_CHAR_LEN("DDECommandElement")},
-/* 0130 IS_AUTOMATIC_UPDATE */ {MAP_CHAR_LEN("IsAutomaticUpdate")},
-/* 0131 DEFAULT_TABSTOP_DISTANCE */ {MAP_CHAR_LEN("DefaultTabstopDistance")},
-/* 0132 DISTANCE */ {MAP_CHAR_LEN("Distance")},
-/* 0133 DROP_CAP_FORMAT */ {MAP_CHAR_LEN("DropCapFormat")},
-/* 0134 DROP_CAP_WHOLE_WORD */ {MAP_CHAR_LEN("DropCapWholeWord")},
-/* 0135 DROP_CAP_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("DropCapCharStyleName")},
-/* 0136 FILE_LINK */ {MAP_CHAR_LEN("FileLink")},
-/* 0137 GRAPHIC */ {MAP_CHAR_LEN("Graphic")},
-/* 0138 GRAPHICS */ {MAP_CHAR_LEN("Graphics")},
-/* 0139 IS_PROTECTED */ {MAP_CHAR_LEN("IsProtected")},
-/* 0140 KEY_AS_ENTRY */ {MAP_CHAR_LEN("KeyAsEntry")},
-/* 0141 PARA_KEEP_TOGETHER */ {MAP_CHAR_LEN("ParaKeepTogether")},
-/* 0142 KEEP_TOGETHER */ {MAP_CHAR_LEN("KeepTogether")},
-/* 0143 IS_LANDSCAPE */ {MAP_CHAR_LEN("IsLandscape")},
-/* 0144 SEPARATOR_TEXT */ {MAP_CHAR_LEN("SeparatorText")},
-/* 0145 MARKS */ {MAP_CHAR_LEN("Marks")},
-/* 0146 NUMBER_POSITION */ {MAP_CHAR_LEN("NumberPosition")},
-/* 0147 OUTLINES */ {MAP_CHAR_LEN("Outlines")},
-/* 0148 PAGE_STYLE_NAME */ {MAP_CHAR_LEN("PageStyleName")},
-/* 0149 PAGE_STYLE_LAYOUT */ {MAP_CHAR_LEN("PageStyleLayout")},
-/* 0150 PARA_STYLES */ {MAP_CHAR_LEN("ParaStyles")},
-/* 0151 PARA_ADJUST */ {MAP_CHAR_LEN("ParaAdjust")},
-/* 0152 PARA_REGISTER_MODE_ACTIVE */ {MAP_CHAR_LEN("ParaRegisterModeActive")},
-/* 0153 PARA_STYLE_NAME */ {MAP_CHAR_LEN("ParaStyleName")},
-/* 0154 PARA_LAST_LINE_ADJUST */ {MAP_CHAR_LEN("ParaLastLineAdjust")},
-/* 0155 PARA_LINE_NUMBER_COUNT */ {MAP_CHAR_LEN("ParaLineNumberCount")},
-/* 0156 PARA_LINE_NUMBER_START_VALUE */ {MAP_CHAR_LEN("ParaLineNumberStartValue")},
-/* 0157 BACK_COLOR */ {MAP_CHAR_LEN("BackColor")},
-/* 0158 PARA_BACK_COLOR */ {MAP_CHAR_LEN("ParaBackColor")},
-/* 0159 PARA_WIDOWS */ {MAP_CHAR_LEN("ParaWidows")},
-/* 0160 PARA_ORPHANS */ {MAP_CHAR_LEN("ParaOrphans")},
-/* 0161 PARA_BACK_TRANSPARENT */ {MAP_CHAR_LEN("ParaBackTransparent")},
-/* 0162 POSITION_END_OF_DOC */ {MAP_CHAR_LEN("PositionEndOfDoc")},
-/* 0163 POSITION_PROTECTED */ {MAP_CHAR_LEN("PositionProtected")},
-/* 0164 ALTERNATIVE_TEXT */ {MAP_CHAR_LEN("AlternativeText")},
-/* 0165 PRIMARY_KEY */ {MAP_CHAR_LEN("PrimaryKey")},
-/* 0166 PRINT_TABLES */ {MAP_CHAR_LEN("PrintTables")},
-/* 0167 PRINT_GRAPHICS */ {MAP_CHAR_LEN("PrintGraphics")},
-/* 0168 PRINT_REVERSED */ {MAP_CHAR_LEN("PrintReversed")},
-/* 0169 PRINT_PROSPECT */ {MAP_CHAR_LEN("PrintProspect")},
-/* 0170 PRINT_CONTROLS */ {MAP_CHAR_LEN("PrintControls")},
-/* 0171 PRINT_DRAWINGS */ {MAP_CHAR_LEN("PrintDrawings")},
-/* 0172 PRINT_RIGHT_PAGES */ {MAP_CHAR_LEN("PrintRightPages")},
-/* 0173 PRINT_LEFT_PAGES */ {MAP_CHAR_LEN("PrintLeftPages")},
-/* 0174 PRINT_BLACK_FONTS */ {MAP_CHAR_LEN("PrintBlackFonts")},
-/* 0175 PRINTER_PAPER_TRAY */ {MAP_CHAR_LEN("PrinterPaperTray")},
-/* 0176 PRINT_PAGE_BACKGROUND */ {MAP_CHAR_LEN("PrintPageBackground")},
-/* 0177 PRINT_ANNOTATION_MODE */ {MAP_CHAR_LEN("PrintAnnotationMode")},
-/* 0178 PRINT_FAX_NAME */ {MAP_CHAR_LEN("PrintFaxName")},
-/* 0179 PRINT_PAPER_FROM_SETUP */ {MAP_CHAR_LEN("PrintPaperFromSetup")},
-/* 0180 REGISTER_MODE_ACTIVE */ {MAP_CHAR_LEN("RegisterModeActive")},
-/* 0181 RELATIVE_WIDTH */ {MAP_CHAR_LEN("RelativeWidth")},
-/* 0182 RELATIVE_HEIGHT */ {MAP_CHAR_LEN("RelativeHeight")},
-/* 0183 REPEAT_HEADLINE */ {MAP_CHAR_LEN("RepeatHeadline")},
-/* 0184 SEARCH_STYLES */ {MAP_CHAR_LEN("SearchStyles")},
-/* 0185 SEARCH_BACKWARDS */ {MAP_CHAR_LEN("SearchBackwards")},
-/* 0186 SEARCH_SIMILARITY */ {MAP_CHAR_LEN("SearchSimilarity")},
-/* 0187 SEARCH_IN_SELECTION */ {MAP_CHAR_LEN("SearchInSelection")},
-/* 0188 SEARCH_CASE_SENSITIVE */ {MAP_CHAR_LEN("SearchCaseSensitive")},
-/* 0189 SEARCH_SIMILARITY_ADD */ {MAP_CHAR_LEN("SearchSimilarityAdd")},
-/* 0190 SEARCH_SIMILARITY_RELAX */ {MAP_CHAR_LEN("SearchSimilarityRelax")},
-/* 0191 SEARCH_SIMILARITY_REMOVE */ {MAP_CHAR_LEN("SearchSimilarityRemove")},
-/* 0192 SEARCH_REGULAR_EXPRESSION */ {MAP_CHAR_LEN("SearchRegularExpression")},
-/* 0193 SEARCH_SIMILARITY_EXCHANGE */ {MAP_CHAR_LEN("SearchSimilarityExchange")},
-/* 0194 SECONDARY_KEY */ {MAP_CHAR_LEN("SecondaryKey")},
-/* 0195 SEPARATOR_INTERVAL */ {MAP_CHAR_LEN("SeparatorInterval")},
-/* 0196 SHOW_BREAKS */ {MAP_CHAR_LEN("ShowBreaks")},
-/* 0197 SHOW_SPACES */ {MAP_CHAR_LEN("ShowSpaces")},
-/* 0198 SHOW_TABLES */ {MAP_CHAR_LEN("ShowTables")},
-/* 0199 SHOW_GRAPHICS */ {MAP_CHAR_LEN("ShowGraphics")},
+/* 0100 CHAR_FLASH */ {MAP_CHAR_LEN("CharFlash")},
+/* 0101 CHAR_KERNING */ {MAP_CHAR_LEN("CharKerning")},
+/* 0102 CHAR_BACK_COLOR */ {MAP_CHAR_LEN("CharBackColor")},
+/* 0103 CHAR_BACK_TRANSPARENT */ {MAP_CHAR_LEN("CharBackTransparent")},
+/* 0104 CHAR_COMBINE_IS_ON */ {MAP_CHAR_LEN("CharCombineIsOn")},
+/* 0105 CHAR_COMBINE_PREFIX */ {MAP_CHAR_LEN("CharCombinePrefix")},
+/* 0106 CHAR_COMBINE_SUFFIX */ {MAP_CHAR_LEN("CharCombineSuffix")},
+/* 0107 CHAR_EMPHASIS */ {MAP_CHAR_LEN("CharEmphasis")},
+/* 0108 PARA_LINE_SPACING */ {MAP_CHAR_LEN("ParaLineSpacing")},
+/* 0109 PARA_TOP_MARGIN */ {MAP_CHAR_LEN("ParaTopMargin")},
+/* 0110 PARA_BOTTOM_MARGIN */ {MAP_CHAR_LEN("ParaBottomMargin")},
+/* 0111 PARA_TOP_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaTopMarginRelative")},
+/* 0112 PARA_BOTTOM_MARGIN_RELATIVE */ {MAP_CHAR_LEN("ParaBottomMarginRelative")},
+/* 0113 PARA_EXPAND_SINGLE_WORD */ {MAP_CHAR_LEN("ParaExpandSingleWord")},
+/* 0114 END_NOTICE */ {MAP_CHAR_LEN("EndNotice")},
+/* 0115 EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("EmbeddedObjects")},
+/* 0116 ALPHABETICAL_SEPARATORS */ {MAP_CHAR_LEN("AlphabeticalSeparators")},
+/* 0117 BACKGROUND_COLOR */ {MAP_CHAR_LEN("BackgroundColor")},
+/* 0118 BEGIN_NOTICE */ {MAP_CHAR_LEN("BeginNotice")},
+/* 0119 CASE_SENSITIVE */ {MAP_CHAR_LEN("CaseSensitive")},
+/* 0120 FRAME_STYLE_NAME */ {MAP_CHAR_LEN("FrameStyleName")},
+/* 0121 NUMBERING_STYLE_NAME */ {MAP_CHAR_LEN("NumberingStyleName")},
+/* 0122 NUMBERING_LEVEL */ {MAP_CHAR_LEN("NumberingLevel")},
+/* 0123 NUMBERING_START_VALUE */ {MAP_CHAR_LEN("NumberingStartValue")},
+/* 0124 NUMBERING_IS_NUMBER */ {MAP_CHAR_LEN("NumberingIsNumber")},
+/* 0125 COMBINE_ENTRIES */ {MAP_CHAR_LEN("CombineEntries")},
+/* 0126 COUNT_LINES_IN_FRAMES */ {MAP_CHAR_LEN("CountLinesInFrames")},
+/* 0127 DDE_COMMAND_TYPE */ {MAP_CHAR_LEN("DDECommandType")},
+/* 0128 DDE_COMMAND_FILE */ {MAP_CHAR_LEN("DDECommandFile")},
+/* 0129 DDE_COMMAND_ELEMENT */ {MAP_CHAR_LEN("DDECommandElement")},
+/* 0130 IS_AUTOMATIC_UPDATE */ {MAP_CHAR_LEN("IsAutomaticUpdate")},
+/* 0131 DEFAULT_TABSTOP_DISTANCE */ {MAP_CHAR_LEN("DefaultTabstopDistance")},
+/* 0132 DISTANCE */ {MAP_CHAR_LEN("Distance")},
+/* 0133 DROP_CAP_FORMAT */ {MAP_CHAR_LEN("DropCapFormat")},
+/* 0134 DROP_CAP_WHOLE_WORD */ {MAP_CHAR_LEN("DropCapWholeWord")},
+/* 0135 DROP_CAP_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("DropCapCharStyleName")},
+/* 0136 FILE_LINK */ {MAP_CHAR_LEN("FileLink")},
+/* 0137 GRAPHIC */ {MAP_CHAR_LEN("Graphic")},
+/* 0138 GRAPHICS */ {MAP_CHAR_LEN("Graphics")},
+/* 0139 IS_PROTECTED */ {MAP_CHAR_LEN("IsProtected")},
+/* 0140 KEY_AS_ENTRY */ {MAP_CHAR_LEN("KeyAsEntry")},
+/* 0141 PARA_KEEP_TOGETHER */ {MAP_CHAR_LEN("ParaKeepTogether")},
+/* 0142 KEEP_TOGETHER */ {MAP_CHAR_LEN("KeepTogether")},
+/* 0143 IS_LANDSCAPE */ {MAP_CHAR_LEN("IsLandscape")},
+/* 0144 SEPARATOR_TEXT */ {MAP_CHAR_LEN("SeparatorText")},
+/* 0145 MARKS */ {MAP_CHAR_LEN("Marks")},
+/* 0146 NUMBER_POSITION */ {MAP_CHAR_LEN("NumberPosition")},
+/* 0147 OUTLINES */ {MAP_CHAR_LEN("Outlines")},
+/* 0148 PAGE_STYLE_NAME */ {MAP_CHAR_LEN("PageStyleName")},
+/* 0149 PAGE_STYLE_LAYOUT */ {MAP_CHAR_LEN("PageStyleLayout")},
+/* 0150 PARA_STYLES */ {MAP_CHAR_LEN("ParaStyles")},
+/* 0151 PARA_ADJUST */ {MAP_CHAR_LEN("ParaAdjust")},
+/* 0152 PARA_REGISTER_MODE_ACTIVE */ {MAP_CHAR_LEN("ParaRegisterModeActive")},
+/* 0153 PARA_STYLE_NAME */ {MAP_CHAR_LEN("ParaStyleName")},
+/* 0154 PARA_LAST_LINE_ADJUST */ {MAP_CHAR_LEN("ParaLastLineAdjust")},
+/* 0155 PARA_LINE_NUMBER_COUNT */ {MAP_CHAR_LEN("ParaLineNumberCount")},
+/* 0156 PARA_LINE_NUMBER_START_VALUE */ {MAP_CHAR_LEN("ParaLineNumberStartValue")},
+/* 0157 BACK_COLOR */ {MAP_CHAR_LEN("BackColor")},
+/* 0158 PARA_BACK_COLOR */ {MAP_CHAR_LEN("ParaBackColor")},
+/* 0159 PARA_WIDOWS */ {MAP_CHAR_LEN("ParaWidows")},
+/* 0160 PARA_ORPHANS */ {MAP_CHAR_LEN("ParaOrphans")},
+/* 0161 PARA_BACK_TRANSPARENT */ {MAP_CHAR_LEN("ParaBackTransparent")},
+/* 0162 POSITION_END_OF_DOC */ {MAP_CHAR_LEN("PositionEndOfDoc")},
+/* 0163 POSITION_PROTECTED */ {MAP_CHAR_LEN("PositionProtected")},
+/* 0164 ALTERNATIVE_TEXT */ {MAP_CHAR_LEN("AlternativeText")},
+/* 0165 PRIMARY_KEY */ {MAP_CHAR_LEN("PrimaryKey")},
+/* 0166 PRINT_TABLES */ {MAP_CHAR_LEN("PrintTables")},
+/* 0167 PRINT_GRAPHICS */ {MAP_CHAR_LEN("PrintGraphics")},
+/* 0168 PRINT_REVERSED */ {MAP_CHAR_LEN("PrintReversed")},
+/* 0169 PRINT_PROSPECT */ {MAP_CHAR_LEN("PrintProspect")},
+/* 0170 PRINT_CONTROLS */ {MAP_CHAR_LEN("PrintControls")},
+/* 0171 PRINT_DRAWINGS */ {MAP_CHAR_LEN("PrintDrawings")},
+/* 0172 PRINT_RIGHT_PAGES */ {MAP_CHAR_LEN("PrintRightPages")},
+/* 0173 PRINT_LEFT_PAGES */ {MAP_CHAR_LEN("PrintLeftPages")},
+/* 0174 PRINT_BLACK_FONTS */ {MAP_CHAR_LEN("PrintBlackFonts")},
+/* 0175 PRINTER_PAPER_TRAY */ {MAP_CHAR_LEN("PrinterPaperTray")},
+/* 0176 PRINT_PAGE_BACKGROUND */ {MAP_CHAR_LEN("PrintPageBackground")},
+/* 0177 PRINT_ANNOTATION_MODE */ {MAP_CHAR_LEN("PrintAnnotationMode")},
+/* 0178 PRINT_FAX_NAME */ {MAP_CHAR_LEN("PrintFaxName")},
+/* 0179 PRINT_PAPER_FROM_SETUP */ {MAP_CHAR_LEN("PrintPaperFromSetup")},
+/* 0180 REGISTER_MODE_ACTIVE */ {MAP_CHAR_LEN("RegisterModeActive")},
+/* 0181 RELATIVE_WIDTH */ {MAP_CHAR_LEN("RelativeWidth")},
+/* 0182 RELATIVE_HEIGHT */ {MAP_CHAR_LEN("RelativeHeight")},
+/* 0183 REPEAT_HEADLINE */ {MAP_CHAR_LEN("RepeatHeadline")},
+/* 0184 SEARCH_STYLES */ {MAP_CHAR_LEN("SearchStyles")},
+/* 0185 SEARCH_BACKWARDS */ {MAP_CHAR_LEN("SearchBackwards")},
+/* 0186 SEARCH_SIMILARITY */ {MAP_CHAR_LEN("SearchSimilarity")},
+/* 0187 SEARCH_IN_SELECTION */ {MAP_CHAR_LEN("SearchInSelection")},
+/* 0188 SEARCH_CASE_SENSITIVE */ {MAP_CHAR_LEN("SearchCaseSensitive")},
+/* 0189 SEARCH_SIMILARITY_ADD */ {MAP_CHAR_LEN("SearchSimilarityAdd")},
+/* 0190 SEARCH_SIMILARITY_RELAX */ {MAP_CHAR_LEN("SearchSimilarityRelax")},
+/* 0191 SEARCH_SIMILARITY_REMOVE */ {MAP_CHAR_LEN("SearchSimilarityRemove")},
+/* 0192 SEARCH_REGULAR_EXPRESSION */ {MAP_CHAR_LEN("SearchRegularExpression")},
+/* 0193 SEARCH_SIMILARITY_EXCHANGE */ {MAP_CHAR_LEN("SearchSimilarityExchange")},
+/* 0194 SECONDARY_KEY */ {MAP_CHAR_LEN("SecondaryKey")},
+/* 0195 SEPARATOR_INTERVAL */ {MAP_CHAR_LEN("SeparatorInterval")},
+/* 0196 SHOW_BREAKS */ {MAP_CHAR_LEN("ShowBreaks")},
+/* 0197 SHOW_SPACES */ {MAP_CHAR_LEN("ShowSpaces")},
+/* 0198 SHOW_TABLES */ {MAP_CHAR_LEN("ShowTables")},
+/* 0199 SHOW_GRAPHICS */ {MAP_CHAR_LEN("ShowGraphics")},
-/* 0200 SHOW_DRAWINGS */ {MAP_CHAR_LEN("ShowDrawings")},
-/* 0201 SHOW_TABSTOPS */ {MAP_CHAR_LEN("ShowTabstops")},
-/* 0202 SHOW_VERT_RULER */ {MAP_CHAR_LEN("ShowVertRuler")},
-/* 0203 SHOW_PARA_BREAKS */ {MAP_CHAR_LEN("ShowParaBreaks")},
-/* 0204 SHOW_HIDDEN_TEXT */ {MAP_CHAR_LEN("ShowHiddenText")},
-/* 0205 SHOW_ANNOTATIONS */ {MAP_CHAR_LEN("ShowAnnotations")},
-/* 0206 SHOW_SOFT_HYPHENS */ {MAP_CHAR_LEN("ShowSoftHyphens")},
-/* 0207 SHOW_VERT_SCROLL_BAR */ {MAP_CHAR_LEN("ShowVertScrollBar")},
-/* 0208 SHOW_HORI_SCROLL_BAR */ {MAP_CHAR_LEN("ShowHoriScrollBar")},
-/* 0209 SHOW_FIELD_COMMANDS */ {MAP_CHAR_LEN("ShowFieldCommands")},
-/* 0210 SHOW_TEXT_BOUNDARIES */ {MAP_CHAR_LEN("ShowTextBoundaries")},
-/* 0211 SHOW_PROTECTED_SPACES */ {MAP_CHAR_LEN("ShowProtectedSpaces")},
-/* 0212 SHOW_TABLE_BOUNDARIES */ {MAP_CHAR_LEN("ShowTableBoundaries")},
-/* 0213 SHOW_HIDDEN_PARAGRAPHS */ {MAP_CHAR_LEN("ShowHiddenParagraphs")},
-/* 0214 SHOW_INDEX_MARK_BACKGROUND */ {MAP_CHAR_LEN("ShowIndexMarkBackground")},
-/* 0215 SHOW_FOOTNOTE_BACKGROUND */ {MAP_CHAR_LEN("ShowFootnoteBackground")},
-/* 0216 SHOW_TEXT_FIELD_BACKGROUND */ {MAP_CHAR_LEN("ShowTextFieldBackground")},
-/* 0217 IS_SYNC_WIDTH_TO_HEIGHT */ {MAP_CHAR_LEN("IsSyncWidthToHeight")},
-/* 0218 IS_SYNC_HEIGHT_TO_WIDTH */ {MAP_CHAR_LEN("IsSyncHeightToWidth")},
-/* 0219 SIZE_PROTECTED */ {MAP_CHAR_LEN("SizeProtected")},
-/* 0220 SMOOTH_SCROLLING */ {MAP_CHAR_LEN("SmoothScrolling")},
-/* 0221 SOLID_MARK_HANDLES */ {MAP_CHAR_LEN("SolidMarkHandles")},
-/* 0222 TABLES */ {MAP_CHAR_LEN("Tables")},
-/* 0223 TEXT_FRAMES */ {MAP_CHAR_LEN("TextFrames")},
-/* 0224 TEXT_COLUMNS */ {MAP_CHAR_LEN("TextColumns")},
-/* 0225 BACK_TRANSPARENT */ {MAP_CHAR_LEN("BackTransparent")},
-/* 0226 USE_PP */ {MAP_CHAR_LEN("UsePP")},
-/* 0227 USER_METRIC */ {MAP_CHAR_LEN("UserMetric")},
-/* 0228 ANCHOR_TYPE */ {MAP_CHAR_LEN("AnchorType")},
-/* 0229 ANCHOR_TYPES */ {MAP_CHAR_LEN("AnchorTypes")},
-/* 0230 ANCHOR_PAGE_NO */ {MAP_CHAR_LEN("AnchorPageNo")},
-/* 0231 ANCHOR_FRAME */ {MAP_CHAR_LEN("AnchorFrame")},
-/* 0232 AUTHOR */ {MAP_CHAR_LEN("Author")},
-/* 0233 BREAK_TYPE */ {MAP_CHAR_LEN("BreakType")},
-/* 0234 CHAIN_NEXT_NAME */ {MAP_CHAR_LEN("ChainNextName")},
-/* 0235 CHAIN_PREV_NAME */ {MAP_CHAR_LEN("ChainPrevName")},
-/* 0236 CHAPTER_FORMAT */ {MAP_CHAR_LEN("ChapterFormat")},
-/* 0237 CLIENT_MAP */ {MAP_CHAR_LEN("ClientMap")},
-/* 0238 CONDITION */ {MAP_CHAR_LEN("Condition")},
-/* 0239 CONTENT */ {MAP_CHAR_LEN("Content")},
-/* 0240 CHAR_CONTOURED */ {MAP_CHAR_LEN("CharContoured")},
-/* 0241 CONTOUR_OUTSIDE */ {MAP_CHAR_LEN("ContourOutside")},
-/* 0242 CONTENT_PROTECTED */ {MAP_CHAR_LEN("ContentProtected")},
-/* 0243 COUNT_EMPTY_LINES */ {MAP_CHAR_LEN("CountEmptyLines")},
-/* 0244 RESTART_AT_EACH_PAGE */ {MAP_CHAR_LEN("RestartAtEachPage")},
-/* 0245 DATA_BASE_NAME */ {MAP_CHAR_LEN("DataBaseName")},
-/* 0246 DATA_TABLE_NAME */ {MAP_CHAR_LEN("DataTableName")},
-/* 0247 DATA_COMMAND_TYPE */ {MAP_CHAR_LEN("DataCommandType")},
-/* 0248 DATA_COLUMN_NAME */ {MAP_CHAR_LEN("DataColumnName")},
-/* 0249 IS_DATA_BASE_FORMAT */ {MAP_CHAR_LEN("DataBaseFormat")},
-/* 0250 DATE */ {MAP_CHAR_LEN("Date")},
-/* 0251 IS_DATE */ {MAP_CHAR_LEN("IsDate")},
-/* 0252 EDIT_IN_READONLY */ {MAP_CHAR_LEN("EditInReadonly")},
-/* 0253 FALSE_CONTENT */ {MAP_CHAR_LEN("FalseContent")},
-/* 0254 FILE_FORMAT */ {MAP_CHAR_LEN("FileFormat")},
-/* 0255 IS_FIXED */ {MAP_CHAR_LEN("IsFixed")},
-/* 0256 FOOTNOTE_COUNTING */ {MAP_CHAR_LEN("FootnoteCounting")},
-/* 0257 FORMULA */ {MAP_CHAR_LEN("Formula")},
-/* 0258 FRAME_NAME */ {MAP_CHAR_LEN("FrameName")},
-/* 0259 GRAPHIC_NAME */ {MAP_CHAR_LEN("GraphicName")},
-/* 0260 FULL_NAME */ {MAP_CHAR_LEN("FullName")},
-/* 0261 HEIGHT */ {MAP_CHAR_LEN("Height")},
-/* 0262 IS_AUTO_HEIGHT */ {MAP_CHAR_LEN("IsAutoHeight")},
-/* 0263 SIZE_TYPE */ {MAP_CHAR_LEN("SizeType")},
-/* 0264 HINT */ {MAP_CHAR_LEN("Hint")},
-/* 0265 HORI_ORIENT */ {MAP_CHAR_LEN("HoriOrient")},
-/* 0266 HORI_MIRRORED_ON_EVEN_PAGES */ {MAP_CHAR_LEN("HoriMirroredOnEvenPages")},
-/* 0267 HORI_MIRRORED_ON_ODD_PAGES */ {MAP_CHAR_LEN("HoriMirroredOnOddPages")},
-/* 0268 HORI_ORIENT_RELATION */ {MAP_CHAR_LEN("HoriOrientRelation")},
-/* 0269 HORI_ORIENT_POSITION */ {MAP_CHAR_LEN("HoriOrientPosition")},
-/* 0270 HYPER_LINK_U_R_L */ {MAP_CHAR_LEN("HyperLinkURL")},
-/* 0271 HYPER_LINK_TARGET */ {MAP_CHAR_LEN("HyperLinkTarget")},
-/* 0272 HYPER_LINK_NAME */ {MAP_CHAR_LEN("HyperLinkName")},
-/* 0273 HYPER_LINK_EVENTS */ {MAP_CHAR_LEN("HyperLinkEvents")},
-/* 0274 INFO_TYPE */ {MAP_CHAR_LEN("InfoType")},
-/* 0275 INFO_FORMAT */ {MAP_CHAR_LEN("InfoFormat")},
+/* 0200 SHOW_DRAWINGS */ {MAP_CHAR_LEN("ShowDrawings")},
+/* 0201 SHOW_TABSTOPS */ {MAP_CHAR_LEN("ShowTabstops")},
+/* 0202 SHOW_VERT_RULER */ {MAP_CHAR_LEN("ShowVertRuler")},
+/* 0203 SHOW_PARA_BREAKS */ {MAP_CHAR_LEN("ShowParaBreaks")},
+/* 0204 SHOW_HIDDEN_TEXT */ {MAP_CHAR_LEN("ShowHiddenText")},
+/* 0205 SHOW_ANNOTATIONS */ {MAP_CHAR_LEN("ShowAnnotations")},
+/* 0206 SHOW_SOFT_HYPHENS */ {MAP_CHAR_LEN("ShowSoftHyphens")},
+/* 0207 SHOW_VERT_SCROLL_BAR */ {MAP_CHAR_LEN("ShowVertScrollBar")},
+/* 0208 SHOW_HORI_SCROLL_BAR */ {MAP_CHAR_LEN("ShowHoriScrollBar")},
+/* 0209 SHOW_FIELD_COMMANDS */ {MAP_CHAR_LEN("ShowFieldCommands")},
+/* 0210 SHOW_TEXT_BOUNDARIES */ {MAP_CHAR_LEN("ShowTextBoundaries")},
+/* 0211 SHOW_PROTECTED_SPACES */ {MAP_CHAR_LEN("ShowProtectedSpaces")},
+/* 0212 SHOW_TABLE_BOUNDARIES */ {MAP_CHAR_LEN("ShowTableBoundaries")},
+/* 0213 SHOW_HIDDEN_PARAGRAPHS */ {MAP_CHAR_LEN("ShowHiddenParagraphs")},
+/* 0214 SHOW_INDEX_MARK_BACKGROUND */ {MAP_CHAR_LEN("ShowIndexMarkBackground")},
+/* 0215 SHOW_FOOTNOTE_BACKGROUND */ {MAP_CHAR_LEN("ShowFootnoteBackground")},
+/* 0216 SHOW_TEXT_FIELD_BACKGROUND */ {MAP_CHAR_LEN("ShowTextFieldBackground")},
+/* 0217 IS_SYNC_WIDTH_TO_HEIGHT */ {MAP_CHAR_LEN("IsSyncWidthToHeight")},
+/* 0218 IS_SYNC_HEIGHT_TO_WIDTH */ {MAP_CHAR_LEN("IsSyncHeightToWidth")},
+/* 0219 SIZE_PROTECTED */ {MAP_CHAR_LEN("SizeProtected")},
+/* 0220 SMOOTH_SCROLLING */ {MAP_CHAR_LEN("SmoothScrolling")},
+/* 0221 SOLID_MARK_HANDLES */ {MAP_CHAR_LEN("SolidMarkHandles")},
+/* 0222 TABLES */ {MAP_CHAR_LEN("Tables")},
+/* 0223 TEXT_FRAMES */ {MAP_CHAR_LEN("TextFrames")},
+/* 0224 TEXT_COLUMNS */ {MAP_CHAR_LEN("TextColumns")},
+/* 0225 BACK_TRANSPARENT */ {MAP_CHAR_LEN("BackTransparent")},
+/* 0226 USE_PP */ {MAP_CHAR_LEN("UsePP")},
+/* 0227 USER_METRIC */ {MAP_CHAR_LEN("UserMetric")},
+/* 0228 ANCHOR_TYPE */ {MAP_CHAR_LEN("AnchorType")},
+/* 0229 ANCHOR_TYPES */ {MAP_CHAR_LEN("AnchorTypes")},
+/* 0230 ANCHOR_PAGE_NO */ {MAP_CHAR_LEN("AnchorPageNo")},
+/* 0231 ANCHOR_FRAME */ {MAP_CHAR_LEN("AnchorFrame")},
+/* 0232 AUTHOR */ {MAP_CHAR_LEN("Author")},
+/* 0233 BREAK_TYPE */ {MAP_CHAR_LEN("BreakType")},
+/* 0234 CHAIN_NEXT_NAME */ {MAP_CHAR_LEN("ChainNextName")},
+/* 0235 CHAIN_PREV_NAME */ {MAP_CHAR_LEN("ChainPrevName")},
+/* 0236 CHAPTER_FORMAT */ {MAP_CHAR_LEN("ChapterFormat")},
+/* 0237 CLIENT_MAP */ {MAP_CHAR_LEN("ClientMap")},
+/* 0238 CONDITION */ {MAP_CHAR_LEN("Condition")},
+/* 0239 CONTENT */ {MAP_CHAR_LEN("Content")},
+/* 0240 CHAR_CONTOURED */ {MAP_CHAR_LEN("CharContoured")},
+/* 0241 CONTOUR_OUTSIDE */ {MAP_CHAR_LEN("ContourOutside")},
+/* 0242 CONTENT_PROTECTED */ {MAP_CHAR_LEN("ContentProtected")},
+/* 0243 COUNT_EMPTY_LINES */ {MAP_CHAR_LEN("CountEmptyLines")},
+/* 0244 RESTART_AT_EACH_PAGE */ {MAP_CHAR_LEN("RestartAtEachPage")},
+/* 0245 DATA_BASE_NAME */ {MAP_CHAR_LEN("DataBaseName")},
+/* 0246 DATA_TABLE_NAME */ {MAP_CHAR_LEN("DataTableName")},
+/* 0247 DATA_COMMAND_TYPE */ {MAP_CHAR_LEN("DataCommandType")},
+/* 0248 DATA_COLUMN_NAME */ {MAP_CHAR_LEN("DataColumnName")},
+/* 0249 IS_DATA_BASE_FORMAT */ {MAP_CHAR_LEN("DataBaseFormat")},
+/* 0250 DATE */ {MAP_CHAR_LEN("Date")},
+/* 0251 IS_DATE */ {MAP_CHAR_LEN("IsDate")},
+/* 0252 EDIT_IN_READONLY */ {MAP_CHAR_LEN("EditInReadonly")},
+/* 0253 FALSE_CONTENT */ {MAP_CHAR_LEN("FalseContent")},
+/* 0254 FILE_FORMAT */ {MAP_CHAR_LEN("FileFormat")},
+/* 0255 IS_FIXED */ {MAP_CHAR_LEN("IsFixed")},
+/* 0256 FOOTNOTE_COUNTING */ {MAP_CHAR_LEN("FootnoteCounting")},
+/* 0257 FORMULA */ {MAP_CHAR_LEN("Formula")},
+/* 0258 FRAME_NAME */ {MAP_CHAR_LEN("FrameName")},
+/* 0259 GRAPHIC_NAME */ {MAP_CHAR_LEN("GraphicName")},
+/* 0260 FULL_NAME */ {MAP_CHAR_LEN("FullName")},
+/* 0261 HEIGHT */ {MAP_CHAR_LEN("Height")},
+/* 0262 IS_AUTO_HEIGHT */ {MAP_CHAR_LEN("IsAutoHeight")},
+/* 0263 SIZE_TYPE */ {MAP_CHAR_LEN("SizeType")},
+/* 0264 HINT */ {MAP_CHAR_LEN("Hint")},
+/* 0265 HORI_ORIENT */ {MAP_CHAR_LEN("HoriOrient")},
+/* 0266 HORI_MIRRORED_ON_EVEN_PAGES */ {MAP_CHAR_LEN("HoriMirroredOnEvenPages")},
+/* 0267 HORI_MIRRORED_ON_ODD_PAGES */ {MAP_CHAR_LEN("HoriMirroredOnOddPages")},
+/* 0268 HORI_ORIENT_RELATION */ {MAP_CHAR_LEN("HoriOrientRelation")},
+/* 0269 HORI_ORIENT_POSITION */ {MAP_CHAR_LEN("HoriOrientPosition")},
+/* 0270 HYPER_LINK_U_R_L */ {MAP_CHAR_LEN("HyperLinkURL")},
+/* 0271 HYPER_LINK_TARGET */ {MAP_CHAR_LEN("HyperLinkTarget")},
+/* 0272 HYPER_LINK_NAME */ {MAP_CHAR_LEN("HyperLinkName")},
+/* 0273 HYPER_LINK_EVENTS */ {MAP_CHAR_LEN("HyperLinkEvents")},
+/* 0274 INFO_TYPE */ {MAP_CHAR_LEN("InfoType")},
+/* 0275 INFO_FORMAT */ {MAP_CHAR_LEN("InfoFormat")},
/* 0276 IS_INPUT */ {MAP_CHAR_LEN("IsInput")},
-/* 0277 LEVEL */ {MAP_CHAR_LEN("Level")},
-/* 0278 INTERVAL */ {MAP_CHAR_LEN("Interval")},
-/* 0279 LINK_REGION */ {MAP_CHAR_LEN("LinkRegion")},
-/* 0280 MACRO_NAME */ {MAP_CHAR_LEN("MacroName")},
-/* 0281 SPLIT */ {MAP_CHAR_LEN("Split")},
-/* 0282 PARA_SPLIT */ {MAP_CHAR_LEN("ParaSplit")},
-/* 0283 NUMBER_FORMAT */ {MAP_CHAR_LEN("NumberFormat")},
-/* 0284 NUMBERING_TYPE */ {MAP_CHAR_LEN("NumberingType")},
-/* 0285 NUMBERING_RULES */ {MAP_CHAR_LEN("NumberingRules")},
-/* 0286 OFFSET */ {MAP_CHAR_LEN("Offset")},
-/* 0287 ON */ {MAP_CHAR_LEN("On")},
-/* 0288 OPAQUE */ {MAP_CHAR_LEN("Opaque")},
-/* 0289 PAGE_TOGGLE */ {MAP_CHAR_LEN("PageToggle")},
-/* 0290 PAGE_DESC_NAME */ {MAP_CHAR_LEN("PageDescName")},
-/* 0291 PAGE_NUMBER_OFFSET */ {MAP_CHAR_LEN("PageNumberOffset")},
-/* 0292 PLACEHOLDER */ {MAP_CHAR_LEN("PlaceHolder")},
-/* 0293 PLACEHOLDER_TYPE */ {MAP_CHAR_LEN("PlaceHolderType")},
-/* 0294 PRINT */ {MAP_CHAR_LEN("Print")},
-/* 0295 REFERENCE_FIELD_PART */ {MAP_CHAR_LEN("ReferenceFieldPart")},
-/* 0296 REFERENCE_FIELD_SOURCE */ {MAP_CHAR_LEN("ReferenceFieldSource")},
-/* 0297 REGISTER_PARAGRAPH_STYLE */ {MAP_CHAR_LEN("RegisterParagraphStyle")},
-/* 0298 SCRIPT_TYPE */ {MAP_CHAR_LEN("ScriptType")},
-/* 0299 SEARCH_ALL */ {MAP_CHAR_LEN("SearchAll")},
+/* 0277 LEVEL */ {MAP_CHAR_LEN("Level")},
+/* 0278 INTERVAL */ {MAP_CHAR_LEN("Interval")},
+/* 0279 LINK_REGION */ {MAP_CHAR_LEN("LinkRegion")},
+/* 0280 MACRO_NAME */ {MAP_CHAR_LEN("MacroName")},
+/* 0281 SPLIT */ {MAP_CHAR_LEN("Split")},
+/* 0282 PARA_SPLIT */ {MAP_CHAR_LEN("ParaSplit")},
+/* 0283 NUMBER_FORMAT */ {MAP_CHAR_LEN("NumberFormat")},
+/* 0284 NUMBERING_TYPE */ {MAP_CHAR_LEN("NumberingType")},
+/* 0285 NUMBERING_RULES */ {MAP_CHAR_LEN("NumberingRules")},
+/* 0286 OFFSET */ {MAP_CHAR_LEN("Offset")},
+/* 0287 ON */ {MAP_CHAR_LEN("On")},
+/* 0288 OPAQUE */ {MAP_CHAR_LEN("Opaque")},
+/* 0289 PAGE_TOGGLE */ {MAP_CHAR_LEN("PageToggle")},
+/* 0290 PAGE_DESC_NAME */ {MAP_CHAR_LEN("PageDescName")},
+/* 0291 PAGE_NUMBER_OFFSET */ {MAP_CHAR_LEN("PageNumberOffset")},
+/* 0292 PLACEHOLDER */ {MAP_CHAR_LEN("PlaceHolder")},
+/* 0293 PLACEHOLDER_TYPE */ {MAP_CHAR_LEN("PlaceHolderType")},
+/* 0294 PRINT */ {MAP_CHAR_LEN("Print")},
+/* 0295 REFERENCE_FIELD_PART */ {MAP_CHAR_LEN("ReferenceFieldPart")},
+/* 0296 REFERENCE_FIELD_SOURCE */ {MAP_CHAR_LEN("ReferenceFieldSource")},
+/* 0297 REGISTER_PARAGRAPH_STYLE */ {MAP_CHAR_LEN("RegisterParagraphStyle")},
+/* 0298 SCRIPT_TYPE */ {MAP_CHAR_LEN("ScriptType")},
+/* 0299 SEARCH_ALL */ {MAP_CHAR_LEN("SearchAll")},
-/* 0300 SEARCH_WORDS */ {MAP_CHAR_LEN("SearchWords")},
-/* 0301 SEQUENCE_VALUE */ {MAP_CHAR_LEN("SequenceValue")},
-/* 0302 SERVER_MAP */ {MAP_CHAR_LEN("ServerMap")},
-/* 0303 IMAGE_MAP */ {MAP_CHAR_LEN("ImageMap")},
-/* 0304 SET_NUMBER */ {MAP_CHAR_LEN("SetNumber")},
-/* 0305 SHADOW_FORMAT */ {MAP_CHAR_LEN("ShadowFormat")},
-/* 0306 SHOW_HORI_RULER */ {MAP_CHAR_LEN("ShowHoriRuler")},
-/* 0307 SIZE */ {MAP_CHAR_LEN("Size")},
-/* 0308 ACTUAL_SIZE */ {MAP_CHAR_LEN("ActualSize")},
-/* 0309 SOURCE_NAME */ {MAP_CHAR_LEN("SourceName")},
-/* 0310 START_AT */ {MAP_CHAR_LEN("StartAt")},
-/* 0311 STATISTIC_TYPE_ID */ {MAP_CHAR_LEN("StatisticTypeId")},
-/* 0312 SUB_TYPE */ {MAP_CHAR_LEN("SubType")},
-/* 0313 SURROUND */ {MAP_CHAR_LEN("Surround")},
-/* 0314 IS_EXPRESSION */ {MAP_CHAR_LEN("IsExpression")},
-/* 0315 IS_SHOW_FORMULA */ {MAP_CHAR_LEN("IsShowFormula")},
-/* 0316 TEXT_WRAP */ {MAP_CHAR_LEN("TextWrap")},
-/* 0317 SURROUND_CONTOUR */ {MAP_CHAR_LEN("SurroundContour")},
-/* 0318 SURROUND_ANCHORONLY */ {MAP_CHAR_LEN("SurroundAnchorOnly")},
-/* 0319 TABLE_NAME */ {MAP_CHAR_LEN("TableName")},
-/* 0320 TABSTOPS */ {MAP_CHAR_LEN("ParaTabStops")},
-/* 0321 TITLE */ {MAP_CHAR_LEN("Title")},
-/* 0322 TOP_MARGIN */ {MAP_CHAR_LEN("TopMargin")},
-/* 0323 BOTTOM_MARGIN */ {MAP_CHAR_LEN("BottomMargin")},
-/* 0324 TRUE_CONTENT */ {MAP_CHAR_LEN("TrueContent")},
-/* 0325 URL_CONTENT */ {MAP_CHAR_LEN("URLContent")},
-/* 0326 USERTEXT */ {MAP_CHAR_LEN("UserText")},
-/* 0327 USER_DATA_TYPE */ {MAP_CHAR_LEN("UserDataType")},
-/* 0328 VALUE */ {MAP_CHAR_LEN("Value")},
-/* 0329 VARIABLE_NAME */ {MAP_CHAR_LEN("VariableName")},
-/* 0330 VARIABLE_SUBTYPE */ {MAP_CHAR_LEN("VariableSubtype")},
-/* 0331 VERT_ORIENT */ {MAP_CHAR_LEN("VertOrient")},
-/* 0332 VERT_MIRRORED */ {MAP_CHAR_LEN("VertMirrored")},
-/* 0333 VERT_ORIENT_POSITION */ {MAP_CHAR_LEN("VertOrientPosition")},
-/* 0334 VERT_ORIENT_RELATION */ {MAP_CHAR_LEN("VertOrientRelation")},
-/* 0335 IS_VISIBLE */ {MAP_CHAR_LEN("IsVisible")},
-/* 0336 WIDTH */ {MAP_CHAR_LEN("Width")},
-/* 0337 CHAR_WORD_MODE */ {MAP_CHAR_LEN("CharWordMode")},
-/* 0338 GRAPHIC_CROP */ {MAP_CHAR_LEN("GraphicCrop")},
-/* 0339 CHARACTER_FORMAT_NONE */ {MAP_CHAR_LEN("CharacterFormatNone")},
-/* 0340 TEXT_POSITION */ {MAP_CHAR_LEN("TextPosition")},
-/* 0341 DOCUMENT_INDEX_MARK */ {MAP_CHAR_LEN("DocumentIndexMark")},
-/* 0342 DOCUMENT_INDEX */ {MAP_CHAR_LEN("DocumentIndex")},
-/* 0343 IS_GLOBAL_DOCUMENT_SECTION */ {MAP_CHAR_LEN("IsGlobalDocumentSection")},
-/* 0344 TEXT_FIELD */ {MAP_CHAR_LEN("TextField")},
-/* 0345 BOOKMARK */ {MAP_CHAR_LEN("Bookmark")},
-/* 0346 TEXT_TABLE */ {MAP_CHAR_LEN("TextTable")},
-/* 0347 CELL */ {MAP_CHAR_LEN("Cell")},
-/* 0348 TEXT_FRAME */ {MAP_CHAR_LEN("TextFrame")},
-/* 0349 REFERENCE_MARK */ {MAP_CHAR_LEN("ReferenceMark")},
-/* 0350 TEXT_SECTION */ {MAP_CHAR_LEN("TextSection")},
-/* 0351 FOOTNOTE */ {MAP_CHAR_LEN("Footnote")},
-/* 0352 ENDNOTE */ {MAP_CHAR_LEN("Endnote")},
-/* 0353 CHART_ROW_AS_LABEL */ {MAP_CHAR_LEN("ChartRowAsLabel")},
-/* 0354 CHART_COLUMN_AS_LABEL */ {MAP_CHAR_LEN("ChartColumnAsLabel")},
-/* 0355 TABLE_COLUMS */ {MAP_CHAR_LEN("TableColumns")},
-/* 0356 LEFT_BORDER */ {MAP_CHAR_LEN("LeftBorder")},
-/* 0357 RIGHT_BORDER */ {MAP_CHAR_LEN("RightBorder")},
-/* 0358 TOP_BORDER */ {MAP_CHAR_LEN("TopBorder")},
-/* 0359 BOTTOM_BORDER */ {MAP_CHAR_LEN("BottomBorder")},
-/* 0360 BORDER_DISTANCE */ {MAP_CHAR_LEN("BorderDistance")},
-/* 0361 LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("LeftBorderDistance")},
-/* 0362 RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("RightBorderDistance")},
-/* 0363 TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("TopBorderDistance")},
-/* 0364 BOTTOM_BORDER_DISTANCE */ {MAP_CHAR_LEN("BottomBorderDistance")},
-/* 0365 TABLE_BORDER */ {MAP_CHAR_LEN("TableBorder")},
-/* 0366 TABLE_COLUMN_SEPARATORS */ {MAP_CHAR_LEN("TableColumnSeparators")},
-/* 0367 TABLE_COLUMN_RELATIVE_SUM */ {MAP_CHAR_LEN("TableColumnRelativeSum")},
-/* 0368 HEADER_TEXT */ {MAP_CHAR_LEN("HeaderText")},
-/* 0369 HEADER_TEXT_LEFT */ {MAP_CHAR_LEN("HeaderTextLeft")},
-/* 0370 HEADER_TEXT_RIGHT */ {MAP_CHAR_LEN("HeaderTextRight")},
-/* 0371 FOOTER_TEXT */ {MAP_CHAR_LEN("FooterText")},
-/* 0372 FOOTER_TEXT_LEFT */ {MAP_CHAR_LEN("FooterTextLeft")},
-/* 0373 FOOTER_TEXT_RIGHT */ {MAP_CHAR_LEN("FooterTextRight")},
-/* 0374 HEADER_BACK_COLOR */ {MAP_CHAR_LEN("HeaderBackColor")},
-/* 0375 HEADER_GRAPHIC */ {MAP_CHAR_LEN("HeaderBackGraphic")},
-/* 0376 HEADER_BACK_TRANSPARENT */ {MAP_CHAR_LEN("HeaderBackTransparent")},
-/* 0377 HEADER_LEFT_BORDER */ {MAP_CHAR_LEN("HeaderLeftBorder")},
-/* 0378 HEADER_RIGHT_BORDER */ {MAP_CHAR_LEN("HeaderRightBorder")},
-/* 0379 HEADER_TOP_BORDER */ {MAP_CHAR_LEN("HeaderTopBorder")},
-/* 0380 HEADER_BOTTOM_BORDER */ {MAP_CHAR_LEN("HeaderBottomBorder")},
-/* 0381 HEADER_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderBorderDistance")},
-/* 0382 HEADER_SHADOW_FORMAT */ {MAP_CHAR_LEN("HeaderShadowFormat")},
-/* 0383 HEADER_BODY_DISTANCE */ {MAP_CHAR_LEN("HeaderBodyDistance")},
-/* 0384 HEADER_IS_DYNAMIC_HEIGHT */ {MAP_CHAR_LEN("HeaderIsDynamicHeight")},
-/* 0385 HEADER_IS_SHARED */ {MAP_CHAR_LEN("HeaderIsShared")},
-/* 0386 HEADER_HEIGHT */ {MAP_CHAR_LEN("HeaderHeight")},
-/* 0387 HEADER_IS_ON */ {MAP_CHAR_LEN("HeaderIsOn")},
-/* 0388 FOOTER_BACK_COLOR */ {MAP_CHAR_LEN("FooterBackColor")},
-/* 0389 FOOTER_GRAPHIC */ {MAP_CHAR_LEN("FooterBackGraphic")},
-/* 0390 FOOTER_BACK_TRANSPARENT */ {MAP_CHAR_LEN("FooterBackTransparent")},
-/* 0391 FOOTER_LEFT_BORDER */ {MAP_CHAR_LEN("FooterLeftBorder")},
-/* 0392 FOOTER_RIGHT_BORDER */ {MAP_CHAR_LEN("FooterRightBorder")},
-/* 0393 FOOTER_TOP_BORDER */ {MAP_CHAR_LEN("FooterTopBorder")},
-/* 0394 FOOTER_BOTTOM_BORDER */ {MAP_CHAR_LEN("FooterBottomBorder")},
-/* 0395 FOOTER_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterBorderDistance")},
-/* 0396 FOOTER_SHADOW_FORMAT */ {MAP_CHAR_LEN("FooterShadowFormat")},
-/* 0397 FOOTER_BODY_DISTANCE */ {MAP_CHAR_LEN("FooterBodyDistance")},
-/* 0398 FOOTER_IS_DYNAMIC_HEIGHT */ {MAP_CHAR_LEN("FooterIsDynamicHeight")},
-/* 0399 FOOTER_IS_SHARED */ {MAP_CHAR_LEN("FooterIsShared")},
+/* 0300 SEARCH_WORDS */ {MAP_CHAR_LEN("SearchWords")},
+/* 0301 SEQUENCE_VALUE */ {MAP_CHAR_LEN("SequenceValue")},
+/* 0302 SERVER_MAP */ {MAP_CHAR_LEN("ServerMap")},
+/* 0303 IMAGE_MAP */ {MAP_CHAR_LEN("ImageMap")},
+/* 0304 SET_NUMBER */ {MAP_CHAR_LEN("SetNumber")},
+/* 0305 SHADOW_FORMAT */ {MAP_CHAR_LEN("ShadowFormat")},
+/* 0306 SHOW_HORI_RULER */ {MAP_CHAR_LEN("ShowHoriRuler")},
+/* 0307 SIZE */ {MAP_CHAR_LEN("Size")},
+/* 0308 ACTUAL_SIZE */ {MAP_CHAR_LEN("ActualSize")},
+/* 0309 SOURCE_NAME */ {MAP_CHAR_LEN("SourceName")},
+/* 0310 START_AT */ {MAP_CHAR_LEN("StartAt")},
+/* 0311 STATISTIC_TYPE_ID */ {MAP_CHAR_LEN("StatisticTypeId")},
+/* 0312 SUB_TYPE */ {MAP_CHAR_LEN("SubType")},
+/* 0313 SURROUND */ {MAP_CHAR_LEN("Surround")},
+/* 0314 IS_EXPRESSION */ {MAP_CHAR_LEN("IsExpression")},
+/* 0315 IS_SHOW_FORMULA */ {MAP_CHAR_LEN("IsShowFormula")},
+/* 0316 TEXT_WRAP */ {MAP_CHAR_LEN("TextWrap")},
+/* 0317 SURROUND_CONTOUR */ {MAP_CHAR_LEN("SurroundContour")},
+/* 0318 SURROUND_ANCHORONLY */ {MAP_CHAR_LEN("SurroundAnchorOnly")},
+/* 0319 TABLE_NAME */ {MAP_CHAR_LEN("TableName")},
+/* 0320 TABSTOPS */ {MAP_CHAR_LEN("ParaTabStops")},
+/* 0321 TITLE */ {MAP_CHAR_LEN("Title")},
+/* 0322 TOP_MARGIN */ {MAP_CHAR_LEN("TopMargin")},
+/* 0323 BOTTOM_MARGIN */ {MAP_CHAR_LEN("BottomMargin")},
+/* 0324 TRUE_CONTENT */ {MAP_CHAR_LEN("TrueContent")},
+/* 0325 URL_CONTENT */ {MAP_CHAR_LEN("URLContent")},
+/* 0326 USERTEXT */ {MAP_CHAR_LEN("UserText")},
+/* 0327 USER_DATA_TYPE */ {MAP_CHAR_LEN("UserDataType")},
+/* 0328 VALUE */ {MAP_CHAR_LEN("Value")},
+/* 0329 VARIABLE_NAME */ {MAP_CHAR_LEN("VariableName")},
+/* 0330 VARIABLE_SUBTYPE */ {MAP_CHAR_LEN("VariableSubtype")},
+/* 0331 VERT_ORIENT */ {MAP_CHAR_LEN("VertOrient")},
+/* 0332 VERT_MIRRORED */ {MAP_CHAR_LEN("VertMirrored")},
+/* 0333 VERT_ORIENT_POSITION */ {MAP_CHAR_LEN("VertOrientPosition")},
+/* 0334 VERT_ORIENT_RELATION */ {MAP_CHAR_LEN("VertOrientRelation")},
+/* 0335 IS_VISIBLE */ {MAP_CHAR_LEN("IsVisible")},
+/* 0336 WIDTH */ {MAP_CHAR_LEN("Width")},
+/* 0337 CHAR_WORD_MODE */ {MAP_CHAR_LEN("CharWordMode")},
+/* 0338 GRAPHIC_CROP */ {MAP_CHAR_LEN("GraphicCrop")},
+/* 0339 CHARACTER_FORMAT_NONE */ {MAP_CHAR_LEN("CharacterFormatNone")},
+/* 0340 TEXT_POSITION */ {MAP_CHAR_LEN("TextPosition")},
+/* 0341 DOCUMENT_INDEX_MARK */ {MAP_CHAR_LEN("DocumentIndexMark")},
+/* 0342 DOCUMENT_INDEX */ {MAP_CHAR_LEN("DocumentIndex")},
+/* 0343 IS_GLOBAL_DOCUMENT_SECTION */ {MAP_CHAR_LEN("IsGlobalDocumentSection")},
+/* 0344 TEXT_FIELD */ {MAP_CHAR_LEN("TextField")},
+/* 0345 BOOKMARK */ {MAP_CHAR_LEN("Bookmark")},
+/* 0346 TEXT_TABLE */ {MAP_CHAR_LEN("TextTable")},
+/* 0347 CELL */ {MAP_CHAR_LEN("Cell")},
+/* 0348 TEXT_FRAME */ {MAP_CHAR_LEN("TextFrame")},
+/* 0349 REFERENCE_MARK */ {MAP_CHAR_LEN("ReferenceMark")},
+/* 0350 TEXT_SECTION */ {MAP_CHAR_LEN("TextSection")},
+/* 0351 FOOTNOTE */ {MAP_CHAR_LEN("Footnote")},
+/* 0352 ENDNOTE */ {MAP_CHAR_LEN("Endnote")},
+/* 0353 CHART_ROW_AS_LABEL */ {MAP_CHAR_LEN("ChartRowAsLabel")},
+/* 0354 CHART_COLUMN_AS_LABEL */ {MAP_CHAR_LEN("ChartColumnAsLabel")},
+/* 0355 TABLE_COLUMS */ {MAP_CHAR_LEN("TableColumns")},
+/* 0356 LEFT_BORDER */ {MAP_CHAR_LEN("LeftBorder")},
+/* 0357 RIGHT_BORDER */ {MAP_CHAR_LEN("RightBorder")},
+/* 0358 TOP_BORDER */ {MAP_CHAR_LEN("TopBorder")},
+/* 0359 BOTTOM_BORDER */ {MAP_CHAR_LEN("BottomBorder")},
+/* 0360 BORDER_DISTANCE */ {MAP_CHAR_LEN("BorderDistance")},
+/* 0361 LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("LeftBorderDistance")},
+/* 0362 RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("RightBorderDistance")},
+/* 0363 TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("TopBorderDistance")},
+/* 0364 BOTTOM_BORDER_DISTANCE */ {MAP_CHAR_LEN("BottomBorderDistance")},
+/* 0365 TABLE_BORDER */ {MAP_CHAR_LEN("TableBorder")},
+/* 0366 TABLE_COLUMN_SEPARATORS */ {MAP_CHAR_LEN("TableColumnSeparators")},
+/* 0367 TABLE_COLUMN_RELATIVE_SUM */ {MAP_CHAR_LEN("TableColumnRelativeSum")},
+/* 0368 HEADER_TEXT */ {MAP_CHAR_LEN("HeaderText")},
+/* 0369 HEADER_TEXT_LEFT */ {MAP_CHAR_LEN("HeaderTextLeft")},
+/* 0370 HEADER_TEXT_RIGHT */ {MAP_CHAR_LEN("HeaderTextRight")},
+/* 0371 FOOTER_TEXT */ {MAP_CHAR_LEN("FooterText")},
+/* 0372 FOOTER_TEXT_LEFT */ {MAP_CHAR_LEN("FooterTextLeft")},
+/* 0373 FOOTER_TEXT_RIGHT */ {MAP_CHAR_LEN("FooterTextRight")},
+/* 0374 HEADER_BACK_COLOR */ {MAP_CHAR_LEN("HeaderBackColor")},
+/* 0375 HEADER_GRAPHIC */ {MAP_CHAR_LEN("HeaderBackGraphic")},
+/* 0376 HEADER_BACK_TRANSPARENT */ {MAP_CHAR_LEN("HeaderBackTransparent")},
+/* 0377 HEADER_LEFT_BORDER */ {MAP_CHAR_LEN("HeaderLeftBorder")},
+/* 0378 HEADER_RIGHT_BORDER */ {MAP_CHAR_LEN("HeaderRightBorder")},
+/* 0379 HEADER_TOP_BORDER */ {MAP_CHAR_LEN("HeaderTopBorder")},
+/* 0380 HEADER_BOTTOM_BORDER */ {MAP_CHAR_LEN("HeaderBottomBorder")},
+/* 0381 HEADER_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderBorderDistance")},
+/* 0382 HEADER_SHADOW_FORMAT */ {MAP_CHAR_LEN("HeaderShadowFormat")},
+/* 0383 HEADER_BODY_DISTANCE */ {MAP_CHAR_LEN("HeaderBodyDistance")},
+/* 0384 HEADER_IS_DYNAMIC_HEIGHT */ {MAP_CHAR_LEN("HeaderIsDynamicHeight")},
+/* 0385 HEADER_IS_SHARED */ {MAP_CHAR_LEN("HeaderIsShared")},
+/* 0386 HEADER_HEIGHT */ {MAP_CHAR_LEN("HeaderHeight")},
+/* 0387 HEADER_IS_ON */ {MAP_CHAR_LEN("HeaderIsOn")},
+/* 0388 FOOTER_BACK_COLOR */ {MAP_CHAR_LEN("FooterBackColor")},
+/* 0389 FOOTER_GRAPHIC */ {MAP_CHAR_LEN("FooterBackGraphic")},
+/* 0390 FOOTER_BACK_TRANSPARENT */ {MAP_CHAR_LEN("FooterBackTransparent")},
+/* 0391 FOOTER_LEFT_BORDER */ {MAP_CHAR_LEN("FooterLeftBorder")},
+/* 0392 FOOTER_RIGHT_BORDER */ {MAP_CHAR_LEN("FooterRightBorder")},
+/* 0393 FOOTER_TOP_BORDER */ {MAP_CHAR_LEN("FooterTopBorder")},
+/* 0394 FOOTER_BOTTOM_BORDER */ {MAP_CHAR_LEN("FooterBottomBorder")},
+/* 0395 FOOTER_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterBorderDistance")},
+/* 0396 FOOTER_SHADOW_FORMAT */ {MAP_CHAR_LEN("FooterShadowFormat")},
+/* 0397 FOOTER_BODY_DISTANCE */ {MAP_CHAR_LEN("FooterBodyDistance")},
+/* 0398 FOOTER_IS_DYNAMIC_HEIGHT */ {MAP_CHAR_LEN("FooterIsDynamicHeight")},
+/* 0399 FOOTER_IS_SHARED */ {MAP_CHAR_LEN("FooterIsShared")},
-/* 0400 FOOTER_HEIGHT */ {MAP_CHAR_LEN("FooterHeight")},
-/* 0401 FOOTER_IS_ON */ {MAP_CHAR_LEN("FooterIsOn")},
-/* 0402 OVERWRITE_STYLES */ {MAP_CHAR_LEN("OverwriteStyles")},
-/* 0403 LOAD_NUMBERING_STYLES */ {MAP_CHAR_LEN("LoadNumberingStyles")},
-/* 0404 LOAD_PAGE_STYLES */ {MAP_CHAR_LEN("LoadPageStyles")},
-/* 0405 LOAD_FRAME_STYLES */ {MAP_CHAR_LEN("LoadFrameStyles")},
-/* 0406 LOAD_TEXT_STYLES */ {MAP_CHAR_LEN("LoadTextStyles")},
-/* 0407 FILE_NAME */ {MAP_CHAR_LEN("FileName")},
-/* 0408 FILTER_NAME */ {MAP_CHAR_LEN("FilterName")},
-/* 0409 FILTER_OPTION */ {MAP_CHAR_LEN("FilterOption")},
-/* 0410 PASSWORD */ {MAP_CHAR_LEN("Password")},
-/* 0411 COPY_COUNT */ {MAP_CHAR_LEN("CopyCount")},
-/* 0412 COLLATE */ {MAP_CHAR_LEN("Collate")},
-/* 0413 SORT */ {MAP_CHAR_LEN("Sort")},
-/* 0414 PAGES */ {MAP_CHAR_LEN("Pages")},
-/* 0415 FIRST_LINE_OFFSET */ {MAP_CHAR_LEN("FirstLineOffset")},
-/* 0416 SYMBOL_TEXT_DISTANCE */ {MAP_CHAR_LEN("SymbolTextDistance")},
-/* 0417 USER_INDEX_NAME */ {MAP_CHAR_LEN("UserIndexName")},
-/* 0418 REVISION */ {MAP_CHAR_LEN("Revision")},
-/* 0419 UNVISITED_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("UnvisitedCharStyleName")},
-/* 0420 VISITED_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("VisitedCharStyleName")},
-/* 0421 PARAGRAPH_COUNT */ {MAP_CHAR_LEN("ParagraphCount")},
-/* 0422 WORD_COUNT */ {MAP_CHAR_LEN("WordCount")},
-/* 0423 WORD_SEPARATOR */ {MAP_CHAR_LEN("WordSeparator")},
-/* 0424 CHARACTER_COUNT */ {MAP_CHAR_LEN("CharacterCount")},
-/* 0425 ZOOM_VALUE */ {MAP_CHAR_LEN("ZoomValue")},
-/* 0426 ZOOM_TYPE */ {MAP_CHAR_LEN("ZoomType")},
-/* 0427 CREATE_FROM_MARKS */ {MAP_CHAR_LEN("CreateFromMarks")},
-/* 0428 CREATE_FROM_OUTLINE */ {MAP_CHAR_LEN("CreateFromOutline")},
-/* 0429 PARAGRAPH_STYLE_NAMES */ {MAP_CHAR_LEN("ParagraphStyleNames")},
-/* 0430 CREATE_FROM_CHAPTER */ {MAP_CHAR_LEN("CreateFromChapter")},
-/* 0431 CREATE_FROM_LABELS */ {MAP_CHAR_LEN("CreateFromLabels")},
-/* 0432 USE_ALPHABETICAL_SEPARATORS */ {MAP_CHAR_LEN("UseAlphabeticalSeparators")},
-/* 0433 USE_KEY_AS_ENTRY */ {MAP_CHAR_LEN("UseKeyAsEntry")},
-/* 0434 USE_COMBINED_ENTRIES */ {MAP_CHAR_LEN("UseCombinedEntries")},
-/* 0435 IS_CASE_SENSITIVE */ {MAP_CHAR_LEN("IsCaseSensitive")},
-/* 0436 USE_P_P */ {MAP_CHAR_LEN("UsePP")},
-/* 0437 USE_DASH */ {MAP_CHAR_LEN("UseDash")},
-/* 0438 USE_UPPER_CASE */ {MAP_CHAR_LEN("UseUpperCase")},
-/* 0439 LABEL_CATEGORY */ {MAP_CHAR_LEN("LabelCategory")},
-/* 0440 LABEL_DISPLAY_TYPE */ {MAP_CHAR_LEN("LabelDisplayType")},
-/* 0441 USE_LEVEL_FROM_SOURCE */ {MAP_CHAR_LEN("UseLevelFromSource")},
-/* 0442 LEVEL_FORMAT */ {MAP_CHAR_LEN("LevelFormat")},
-/* 0443 LEVEL_PARAGRAPH_STYLES */ {MAP_CHAR_LEN("LevelParagraphStyles")},
-/* 0444 RECALC_TAB_STOPS */ {MAP_CHAR_LEN("RecalcTabStops")},
-/* 0445 MAIN_ENTRY_CHARACTER_STYLE_NAME */ {MAP_CHAR_LEN("MainEntryCharacterStyleName")},
-/* 0446 CREATE_FROM_TABLES */ {MAP_CHAR_LEN("CreateFromTables")},
-/* 0447 CREATE_FROM_TEXT_FRAMES */ {MAP_CHAR_LEN("CreateFromTextFrames")},
-/* 0448 CREATE_FROM_GRAPHIC_OBJECTS */ {MAP_CHAR_LEN("CreateFromGraphicObjects")},
-/* 0449 CREATE_FROM_EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("CreateFromEmbeddedObjects")},
-/* 0450 CREATE_FROM_STAR_MATH */ {MAP_CHAR_LEN("CreateFromStarMath")},
-/* 0451 CREATE_FROM_STAR_CHART */ {MAP_CHAR_LEN("CreateFromStarChart")},
-/* 0452 CREATE_FROM_STAR_CALC */ {MAP_CHAR_LEN("CreateFromStarCalc")},
-/* 0453 CREATE_FROM_STAR_DRAW */ {MAP_CHAR_LEN("CreateFromStarDraw")},
-/* 0454 CREATE_FROM_OTHER_EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("CreateFromOtherEmbeddedObjects")},
-/* 0455 INDEX_AUTO_MARK_FILE_U_R_L */ {MAP_CHAR_LEN("IndexAutoMarkFileURL")},
-/* 0456 IS_COMMA_SEPARATED */ {MAP_CHAR_LEN("IsCommaSeparated")},
-/* 0457 IS_RELATIVE_TABSTOPS */ {MAP_CHAR_LEN("IsRelativeTabstops")},
-/* 0458 CREATE_FROM_LEVEL_PARAGRAPH_STYLES */ {MAP_CHAR_LEN("CreateFromLevelParagraphStyles")},
-/* 0459 SHOW_CHANGES */ {MAP_CHAR_LEN("ShowChanges")},
-/* 0460 RECORD_CHANGES */ {MAP_CHAR_LEN("RecordChanges")},
-/* 0461 DISPLAY_NAME */ {MAP_CHAR_LEN("LinkDisplayName")},
-/* 0462 DISPLAY_BITMAP */ {MAP_CHAR_LEN("LinkDisplayBitmap")},
-/* 0463 HEADING_STYLE_NAME */ {MAP_CHAR_LEN("HeadingStyleName")},
-/* 0464 SHOW_ONLINE_LAYOUT */ {MAP_CHAR_LEN("ShowOnlineLayout")},
-/* 0465 USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("UserDefinedAttributes")},
-/* 0466 TEXT_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("TextUserDefinedAttributes")},
-/* 0467 FILE_PATH */ {MAP_CHAR_LEN("FilePath")},
-/* 0468 PARA_CHAPTER_NUMBERING_LEVEL */ {MAP_CHAR_LEN("ParaChapterNumberingLevel")},
-/* 0469 PARA_CONDITIONAL_STYLE_NAME */ {MAP_CHAR_LEN("ParaConditionalStyleName")},
-/* 0470 CHAPTER_NUMBERING_LEVEL */ {MAP_CHAR_LEN("ChapterNumberingLevel")},
-/* 0471 NUMBERING_SEPARATOR */ {MAP_CHAR_LEN("NumberingSeparator")},
-/* 0472 IS_CONTINUOUS_NUMBERING */ {MAP_CHAR_LEN("IsContinuousNumbering")},
-/* 0473 IS_AUTOMATIC */ {MAP_CHAR_LEN("IsAutomatic")},
-/* 0474 IS_ABSOLUTE_MARGINS */ {MAP_CHAR_LEN("IsAbsoluteMargins")},
-/* 0475 CATEGORY */ {MAP_CHAR_LEN("Category")},
-/* 0476 DEPENDENT_TEXT_FIELDS */ {MAP_CHAR_LEN("DependentTextFields")},
-/* 0477 CURRENT_PRESENTATION */ {MAP_CHAR_LEN("CurrentPresentation")},
-/* 0478 ADJUST */ {MAP_CHAR_LEN("Adjust")},
-/* 0479 INSTANCE_NAME */ {MAP_CHAR_LEN("InstanceName")},
-/* 0480 TEXT_PORTION_TYPE */ {MAP_CHAR_LEN("TextPortionType")},
-/* 0481 CONTROL_CHARACTER */ {MAP_CHAR_LEN("ControlCharacter")},
-/* 0482 IS_COLLAPSED */ {MAP_CHAR_LEN("IsCollapsed")},
-/* 0483 IS_START */ {MAP_CHAR_LEN("IsStart")},
-/* 0484 SEQUENCE_NUMBER */ {MAP_CHAR_LEN("SequenceNumber")},
-/* 0485 REFERENCE_ID */ {MAP_CHAR_LEN("ReferenceId")},
-/* 0486 HEADER_LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderLeftBorderDistance")},
-/* 0487 HEADER_RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderRightBorderDistance")},
-/* 0488 HEADER_TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderTopBorderDistance")},
+/* 0400 FOOTER_HEIGHT */ {MAP_CHAR_LEN("FooterHeight")},
+/* 0401 FOOTER_IS_ON */ {MAP_CHAR_LEN("FooterIsOn")},
+/* 0402 OVERWRITE_STYLES */ {MAP_CHAR_LEN("OverwriteStyles")},
+/* 0403 LOAD_NUMBERING_STYLES */ {MAP_CHAR_LEN("LoadNumberingStyles")},
+/* 0404 LOAD_PAGE_STYLES */ {MAP_CHAR_LEN("LoadPageStyles")},
+/* 0405 LOAD_FRAME_STYLES */ {MAP_CHAR_LEN("LoadFrameStyles")},
+/* 0406 LOAD_TEXT_STYLES */ {MAP_CHAR_LEN("LoadTextStyles")},
+/* 0407 FILE_NAME */ {MAP_CHAR_LEN("FileName")},
+/* 0408 FILTER_NAME */ {MAP_CHAR_LEN("FilterName")},
+/* 0409 FILTER_OPTION */ {MAP_CHAR_LEN("FilterOption")},
+/* 0410 PASSWORD */ {MAP_CHAR_LEN("Password")},
+/* 0411 COPY_COUNT */ {MAP_CHAR_LEN("CopyCount")},
+/* 0412 COLLATE */ {MAP_CHAR_LEN("Collate")},
+/* 0413 SORT */ {MAP_CHAR_LEN("Sort")},
+/* 0414 PAGES */ {MAP_CHAR_LEN("Pages")},
+/* 0415 FIRST_LINE_OFFSET */ {MAP_CHAR_LEN("FirstLineOffset")},
+/* 0416 SYMBOL_TEXT_DISTANCE */ {MAP_CHAR_LEN("SymbolTextDistance")},
+/* 0417 USER_INDEX_NAME */ {MAP_CHAR_LEN("UserIndexName")},
+/* 0418 REVISION */ {MAP_CHAR_LEN("Revision")},
+/* 0419 UNVISITED_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("UnvisitedCharStyleName")},
+/* 0420 VISITED_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("VisitedCharStyleName")},
+/* 0421 PARAGRAPH_COUNT */ {MAP_CHAR_LEN("ParagraphCount")},
+/* 0422 WORD_COUNT */ {MAP_CHAR_LEN("WordCount")},
+/* 0423 WORD_SEPARATOR */ {MAP_CHAR_LEN("WordSeparator")},
+/* 0424 CHARACTER_COUNT */ {MAP_CHAR_LEN("CharacterCount")},
+/* 0425 ZOOM_VALUE */ {MAP_CHAR_LEN("ZoomValue")},
+/* 0426 ZOOM_TYPE */ {MAP_CHAR_LEN("ZoomType")},
+/* 0427 CREATE_FROM_MARKS */ {MAP_CHAR_LEN("CreateFromMarks")},
+/* 0428 CREATE_FROM_OUTLINE */ {MAP_CHAR_LEN("CreateFromOutline")},
+/* 0429 PARAGRAPH_STYLE_NAMES */ {MAP_CHAR_LEN("ParagraphStyleNames")},
+/* 0430 CREATE_FROM_CHAPTER */ {MAP_CHAR_LEN("CreateFromChapter")},
+/* 0431 CREATE_FROM_LABELS */ {MAP_CHAR_LEN("CreateFromLabels")},
+/* 0432 USE_ALPHABETICAL_SEPARATORS */ {MAP_CHAR_LEN("UseAlphabeticalSeparators")},
+/* 0433 USE_KEY_AS_ENTRY */ {MAP_CHAR_LEN("UseKeyAsEntry")},
+/* 0434 USE_COMBINED_ENTRIES */ {MAP_CHAR_LEN("UseCombinedEntries")},
+/* 0435 IS_CASE_SENSITIVE */ {MAP_CHAR_LEN("IsCaseSensitive")},
+/* 0436 USE_P_P */ {MAP_CHAR_LEN("UsePP")},
+/* 0437 USE_DASH */ {MAP_CHAR_LEN("UseDash")},
+/* 0438 USE_UPPER_CASE */ {MAP_CHAR_LEN("UseUpperCase")},
+/* 0439 LABEL_CATEGORY */ {MAP_CHAR_LEN("LabelCategory")},
+/* 0440 LABEL_DISPLAY_TYPE */ {MAP_CHAR_LEN("LabelDisplayType")},
+/* 0441 USE_LEVEL_FROM_SOURCE */ {MAP_CHAR_LEN("UseLevelFromSource")},
+/* 0442 LEVEL_FORMAT */ {MAP_CHAR_LEN("LevelFormat")},
+/* 0443 LEVEL_PARAGRAPH_STYLES */ {MAP_CHAR_LEN("LevelParagraphStyles")},
+/* 0444 RECALC_TAB_STOPS */ {MAP_CHAR_LEN("RecalcTabStops")},
+/* 0445 MAIN_ENTRY_CHARACTER_STYLE_NAME */ {MAP_CHAR_LEN("MainEntryCharacterStyleName")},
+/* 0446 CREATE_FROM_TABLES */ {MAP_CHAR_LEN("CreateFromTables")},
+/* 0447 CREATE_FROM_TEXT_FRAMES */ {MAP_CHAR_LEN("CreateFromTextFrames")},
+/* 0448 CREATE_FROM_GRAPHIC_OBJECTS */ {MAP_CHAR_LEN("CreateFromGraphicObjects")},
+/* 0449 CREATE_FROM_EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("CreateFromEmbeddedObjects")},
+/* 0450 CREATE_FROM_STAR_MATH */ {MAP_CHAR_LEN("CreateFromStarMath")},
+/* 0451 CREATE_FROM_STAR_CHART */ {MAP_CHAR_LEN("CreateFromStarChart")},
+/* 0452 CREATE_FROM_STAR_CALC */ {MAP_CHAR_LEN("CreateFromStarCalc")},
+/* 0453 CREATE_FROM_STAR_DRAW */ {MAP_CHAR_LEN("CreateFromStarDraw")},
+/* 0454 CREATE_FROM_OTHER_EMBEDDED_OBJECTS */ {MAP_CHAR_LEN("CreateFromOtherEmbeddedObjects")},
+/* 0455 INDEX_AUTO_MARK_FILE_U_R_L */ {MAP_CHAR_LEN("IndexAutoMarkFileURL")},
+/* 0456 IS_COMMA_SEPARATED */ {MAP_CHAR_LEN("IsCommaSeparated")},
+/* 0457 IS_RELATIVE_TABSTOPS */ {MAP_CHAR_LEN("IsRelativeTabstops")},
+/* 0458 CREATE_FROM_LEVEL_PARAGRAPH_STYLES */ {MAP_CHAR_LEN("CreateFromLevelParagraphStyles")},
+/* 0459 SHOW_CHANGES */ {MAP_CHAR_LEN("ShowChanges")},
+/* 0460 RECORD_CHANGES */ {MAP_CHAR_LEN("RecordChanges")},
+/* 0461 DISPLAY_NAME */ {MAP_CHAR_LEN("LinkDisplayName")},
+/* 0462 DISPLAY_BITMAP */ {MAP_CHAR_LEN("LinkDisplayBitmap")},
+/* 0463 HEADING_STYLE_NAME */ {MAP_CHAR_LEN("HeadingStyleName")},
+/* 0464 SHOW_ONLINE_LAYOUT */ {MAP_CHAR_LEN("ShowOnlineLayout")},
+/* 0465 USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("UserDefinedAttributes")},
+/* 0466 TEXT_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("TextUserDefinedAttributes")},
+/* 0467 FILE_PATH */ {MAP_CHAR_LEN("FilePath")},
+/* 0468 PARA_CHAPTER_NUMBERING_LEVEL */ {MAP_CHAR_LEN("ParaChapterNumberingLevel")},
+/* 0469 PARA_CONDITIONAL_STYLE_NAME */ {MAP_CHAR_LEN("ParaConditionalStyleName")},
+/* 0470 CHAPTER_NUMBERING_LEVEL */ {MAP_CHAR_LEN("ChapterNumberingLevel")},
+/* 0471 NUMBERING_SEPARATOR */ {MAP_CHAR_LEN("NumberingSeparator")},
+/* 0472 IS_CONTINUOUS_NUMBERING */ {MAP_CHAR_LEN("IsContinuousNumbering")},
+/* 0473 IS_AUTOMATIC */ {MAP_CHAR_LEN("IsAutomatic")},
+/* 0474 IS_ABSOLUTE_MARGINS */ {MAP_CHAR_LEN("IsAbsoluteMargins")},
+/* 0475 CATEGORY */ {MAP_CHAR_LEN("Category")},
+/* 0476 DEPENDENT_TEXT_FIELDS */ {MAP_CHAR_LEN("DependentTextFields")},
+/* 0477 CURRENT_PRESENTATION */ {MAP_CHAR_LEN("CurrentPresentation")},
+/* 0478 ADJUST */ {MAP_CHAR_LEN("Adjust")},
+/* 0479 INSTANCE_NAME */ {MAP_CHAR_LEN("InstanceName")},
+/* 0480 TEXT_PORTION_TYPE */ {MAP_CHAR_LEN("TextPortionType")},
+/* 0481 CONTROL_CHARACTER */ {MAP_CHAR_LEN("ControlCharacter")},
+/* 0482 IS_COLLAPSED */ {MAP_CHAR_LEN("IsCollapsed")},
+/* 0483 IS_START */ {MAP_CHAR_LEN("IsStart")},
+/* 0484 SEQUENCE_NUMBER */ {MAP_CHAR_LEN("SequenceNumber")},
+/* 0485 REFERENCE_ID */ {MAP_CHAR_LEN("ReferenceId")},
+/* 0486 HEADER_LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderLeftBorderDistance")},
+/* 0487 HEADER_RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderRightBorderDistance")},
+/* 0488 HEADER_TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("HeaderTopBorderDistance")},
/* 0489 HEADER_BOTTOM_BORDER_DISTANCE */{MAP_CHAR_LEN("HeaderBottomBorderDistance")},
-/* 0490 FOOTER_LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterLeftBorderDistance")},
-/* 0491 FOOTER_RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterRightBorderDistance")},
-/* 0492 FOOTER_TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterTopBorderDistance")},
+/* 0490 FOOTER_LEFT_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterLeftBorderDistance")},
+/* 0491 FOOTER_RIGHT_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterRightBorderDistance")},
+/* 0492 FOOTER_TOP_BORDER_DISTANCE */ {MAP_CHAR_LEN("FooterTopBorderDistance")},
/* 0493 FOOTER_BOTTOM_BORDER_DISTANCE */{MAP_CHAR_LEN("FooterBottomBorderDistance")},
-/* 0494 PARA_IS_NUMBERING_RESTART */ {MAP_CHAR_LEN("ParaIsNumberingRestart")},
-/* 0495 HIDE_FIELD_TIPS */ {MAP_CHAR_LEN("HideFieldTips")},
-/* 0496 HEADER_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("HeaderUserDefinedAttributes")},
-/* 0497 FOOTER_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("FooterUserDefinedAttributes")},
-/* 0498 PARA_SHADOW_FORMAT */ {MAP_CHAR_LEN("ParaShadowFormat")},
-/* 0499 CONTOUR_POLY_POLYGON */ {MAP_CHAR_LEN("ContourPolyPolygon")},
+/* 0494 PARA_IS_NUMBERING_RESTART */ {MAP_CHAR_LEN("ParaIsNumberingRestart")},
+/* 0495 HIDE_FIELD_TIPS */ {MAP_CHAR_LEN("HideFieldTips")},
+/* 0496 HEADER_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("HeaderUserDefinedAttributes")},
+/* 0497 FOOTER_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("FooterUserDefinedAttributes")},
+/* 0498 PARA_SHADOW_FORMAT */ {MAP_CHAR_LEN("ParaShadowFormat")},
+/* 0499 CONTOUR_POLY_POLYGON */ {MAP_CHAR_LEN("ContourPolyPolygon")},
-/* 0500 IS_PIXEL_CONTOUR */ {MAP_CHAR_LEN("IsPixelContour")},
-/* 0501 IS_AUTOMATIC_CONTOUR */ {MAP_CHAR_LEN("IsAutomaticContour")},
-/* 0502 SEPARATOR_LINE_WIDTH */ {MAP_CHAR_LEN("SeparatorLineWidth")},
-/* 0503 SEPARATOR_LINE_COLOR */ {MAP_CHAR_LEN("SeparatorLineColor")},
-/* 0504 SEPARATOR_LINE_RELATIVE_HEIGHT */ {MAP_CHAR_LEN("SeparatorLineRelativeHeight")},
+/* 0500 IS_PIXEL_CONTOUR */ {MAP_CHAR_LEN("IsPixelContour")},
+/* 0501 IS_AUTOMATIC_CONTOUR */ {MAP_CHAR_LEN("IsAutomaticContour")},
+/* 0502 SEPARATOR_LINE_WIDTH */ {MAP_CHAR_LEN("SeparatorLineWidth")},
+/* 0503 SEPARATOR_LINE_COLOR */ {MAP_CHAR_LEN("SeparatorLineColor")},
+/* 0504 SEPARATOR_LINE_RELATIVE_HEIGHT */ {MAP_CHAR_LEN("SeparatorLineRelativeHeight")},
/* 0505 SEPARATOR_LINE_VERTIVAL_ALIGNMENT */{MAP_CHAR_LEN("SeparatorLineVerticalAlignment")},
-/* 0506 SEPARATOR_LINE_IS_ON */ {MAP_CHAR_LEN("SeparatorLineIsOn")},
-/* 0507 IS_SKIP_HIDDEN_TEXT */ {MAP_CHAR_LEN("IsSkipHiddenText")},
-/* 0508 IS_SKIP_PROTECTED_TEXT */ {MAP_CHAR_LEN("IsSkipProtectedText")},
-/* 0509 DOCUMENT_INDEX_MARKS */ {MAP_CHAR_LEN("DocumentIndexMarks")},
-/* 0510 FOOTNOTE_IS_COLLECT_AT_TEXT_END */ {MAP_CHAR_LEN("FootnoteIsCollectAtTextEnd")},
-/* 0511 FOOTNOTE_IS_RESTART_NUMBERING */ {MAP_CHAR_LEN("FootnoteIsRestartNumbering")},
+/* 0506 SEPARATOR_LINE_IS_ON */ {MAP_CHAR_LEN("SeparatorLineIsOn")},
+/* 0507 IS_SKIP_HIDDEN_TEXT */ {MAP_CHAR_LEN("IsSkipHiddenText")},
+/* 0508 IS_SKIP_PROTECTED_TEXT */ {MAP_CHAR_LEN("IsSkipProtectedText")},
+/* 0509 DOCUMENT_INDEX_MARKS */ {MAP_CHAR_LEN("DocumentIndexMarks")},
+/* 0510 FOOTNOTE_IS_COLLECT_AT_TEXT_END */ {MAP_CHAR_LEN("FootnoteIsCollectAtTextEnd")},
+/* 0511 FOOTNOTE_IS_RESTART_NUMBERING */ {MAP_CHAR_LEN("FootnoteIsRestartNumbering")},
/* 0512 FOOTNOTE_RESTART_NUMBERING_AT */{MAP_CHAR_LEN("FootnoteRestartNumberingAt")},
-/* 0513 FOOTNOTE_IS_OWN_NUMBERING */ {MAP_CHAR_LEN("FootnoteIsOwnNumbering")},
-/* 0514 FOOTNOTE_NUMBERING_TYPE */ {MAP_CHAR_LEN("FootnoteNumberingType")},
-/* 0515 FOOTNOTE_NUMBERING_PREFIX */ {MAP_CHAR_LEN("FootnoteNumberingPrefix")},
-/* 0516 FOOTNOTE_NUMBERING_SUFFIX */ {MAP_CHAR_LEN("FootnoteNumberingSuffix")},
-/* 0517 ENDNOTE_IS_COLLECT_AT_TEXT_END */ {MAP_CHAR_LEN("EndnoteIsCollectAtTextEnd")},
-/* 0518 ENDNOTE_IS_RESTART_NUMBERING */ {MAP_CHAR_LEN("EndnoteIsRestartNumbering")},
-/* 0519 ENDNOTE_RESTART_NUMBERING_AT */ {MAP_CHAR_LEN("EndnoteRestartNumberingAt")},
-/* 0520 ENDNOTE_IS_OWN_NUMBERING */ {MAP_CHAR_LEN("EndnoteIsOwnNumbering")},
-/* 0521 ENDNOTE_NUMBERING_TYPE */ {MAP_CHAR_LEN("EndnoteNumberingType")},
-/* 0522 ENDNOTE_NUMBERING_PREFIX */ {MAP_CHAR_LEN("EndnoteNumberingPrefix")},
-/* 0523 ENDNOTE_NUMBERING_SUFFIX */ {MAP_CHAR_LEN("EndnoteNumberingSuffix")},
-/* 0524 BRACKET_BEFORE */ {MAP_CHAR_LEN("BracketBefore")},
-/* 0525 BRACKET_AFTER */ {MAP_CHAR_LEN("BracketAfter")},
-/* 0526 IS_NUMBER_ENTRIES */ {MAP_CHAR_LEN("IsNumberEntries")},
-/* 0527 IS_SORT_BY_POSITION */ {MAP_CHAR_LEN("IsSortByPosition")},
-/* 0528 SORT_KEYS */ {MAP_CHAR_LEN("SortKeys")},
-/* 0529 IS_SORT_ASCENDING */ {MAP_CHAR_LEN("IsSortAscending")},
-/* 0530 SORT_KEY */ {MAP_CHAR_LEN("SortKey")},
-/* 0531 FIELDS */ {MAP_CHAR_LEN("Fields")},
-/* 0532 DATE_TIME_VALUE */ {MAP_CHAR_LEN("DateTimeValue")},
-/* 0533 IS_ON */ {MAP_CHAR_LEN("IsOn")},
-/* 0534 Z_ORDER */ {MAP_CHAR_LEN("ZOrder")},
-/* 0535 CONTENT_SECTION */ {MAP_CHAR_LEN("ContentSection")},
-/* 0536 HEADER_SECTION */ {MAP_CHAR_LEN("HeaderSection")},
-/* 0537 PARA_IS_HANGING_PUNCTUATION */ {MAP_CHAR_LEN("ParaIsHangingPunctuation")},
-/* 0538 PARA_IS_CHARACTER_DISTANCE */ {MAP_CHAR_LEN("ParaIsCharacterDistance")},
-/* 0539 PARA_IS_FORBIDDEN_RULES */ {MAP_CHAR_LEN("ParaIsForbiddenRules")},
-/* 0540 PARA_VERT_ALIGNMENT */ {MAP_CHAR_LEN("ParaVertAlignment")},
-/* 0541 IS_MAIN_ENTRY */ {MAP_CHAR_LEN("IsMainEntry")},
-/* 0542 GRAPHIC_ROTATION */ {MAP_CHAR_LEN("GraphicRotation")},
-/* 0543 ADJUST_LUMINANCE */ {MAP_CHAR_LEN("AdjustLuminance")},
-/* 0544 ADJUST_CONTRAST */ {MAP_CHAR_LEN("AdjustContrast")},
-/* 0545 ADJUST_RED */ {MAP_CHAR_LEN("AdjustRed")},
-/* 0546 ADJUST_GREEN */ {MAP_CHAR_LEN("AdjustGreen")},
-/* 0547 ADJUST_BLUE */ {MAP_CHAR_LEN("AdjustBlue")},
-/* 0548 GAMMA */ {MAP_CHAR_LEN("Gamma")},
-/* 0549 GRAPHIC_IS_INVERTED */ {MAP_CHAR_LEN("GraphicIsInverted")},
-/* 0550 TRANSPARENCY */ {MAP_CHAR_LEN("Transparency")},
-/* 0551 GRAPHIC_COLOR_MODE */ {MAP_CHAR_LEN("GraphicColorMode")},
-/* 0552 REDLINE_AUTHOR */ {MAP_CHAR_LEN("RedlineAuthor")},
-/* 0553 REDLINE_DATE_TIME */ {MAP_CHAR_LEN("RedlineDateTime")},
-/* 0554 REDLINE_COMMENT */ {MAP_CHAR_LEN("RedlineComment")},
-/* 0555 REDLINE_TYPE */ {MAP_CHAR_LEN("RedlineType")},
-/* 0556 REDLINE_SUCCESSOR_DATA */ {MAP_CHAR_LEN("RedlineSuccessorData")},
-/* 0557 REDLINE_IDENTIFIER */ {MAP_CHAR_LEN("RedlineIdentifier")},
-/* 0558 IS_IN_HEADER_FOOTER */ {MAP_CHAR_LEN("IsInHeaderFooter")},
-/* 0559 START_REDLINE */ {MAP_CHAR_LEN("StartRedline")},
-/* 0560 END_REDLINE */ {MAP_CHAR_LEN("EndRedline")},
-/* 0561 REDLINE_START */ {MAP_CHAR_LEN("RedlineStart")},
-/* 0562 REDLINE_END */ {MAP_CHAR_LEN("RedlineEnd")},
-/* 0563 REDLINE_TEXT */ {MAP_CHAR_LEN("RedlineText")},
-/* 0564 REDLINE_DISPLAY_TYPE */ {MAP_CHAR_LEN("RedlineDisplayType")},
-/* 0565 FORBIDDEN_CHARACTERS */ {MAP_CHAR_LEN("ForbiddenCharacters")},
-/* 0566 RUBY_BASE_TEXT */ {MAP_CHAR_LEN("RubyBaseText")},
-/* 0567 RUBY_TEXT */ {MAP_CHAR_LEN("RubyText")},
-/* 0568 RUBY_ADJUST */ {MAP_CHAR_LEN("RubyAdjust")},
-/* 0569 RUBY_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("RubyCharStyleName")},
-/* 0570 RUBY_IS_ABOVE */ {MAP_CHAR_LEN("RubyIsAbove")},
-/* 0571 FOOTNOTE_HEIGHT */ {MAP_CHAR_LEN("FootnoteHeight")},
-/* 0572 FOOTNOTE_LINE_WEIGHT */ {MAP_CHAR_LEN("FootnoteLineWeight")},
-/* 0573 FOOTNOTE_LINE_COLOR */ {MAP_CHAR_LEN("FootnoteLineColor")},
-/* 0574 FOOTNOTE_LINE_RELATIVE_WIDTH */ {MAP_CHAR_LEN("FootnoteLineRelativeWidth")},
-/* 0575 FOOTNOTE_LINE_ADJUST */ {MAP_CHAR_LEN("FootnoteLineAdjust")},
-/* 0576 FOOTNOTE_LINE_TEXT_DISTANCE */ {MAP_CHAR_LEN("FootnoteLineTextDistance")},
-/* 0577 FOOTNOTE_LINE_DISTANCE */ {MAP_CHAR_LEN("FootnoteLineDistance")},
-/* 0578 CHAR_ROTATION */ {MAP_CHAR_LEN("CharRotation")},
-/* 0579 CHAR_ROTATION_IS_FIT_TO_LINE */ {MAP_CHAR_LEN("CharRotationIsFitToLine")},
-/* 0580 CHAR_SCALE_WIDTH */ {MAP_CHAR_LEN("CharScaleWidth")},
-/* 0581 TAB_STOP_DISTANCE */ {MAP_CHAR_LEN("TabStopDistance")},
-/* 0582 IS_WIDTH_RELATIVE */ {MAP_CHAR_LEN("IsWidthRelative")},
-/* 0583 CHAR_RELIEF */ {MAP_CHAR_LEN("CharRelief")},
-/* 0584 IS_HIDDEN */ {MAP_CHAR_LEN("IsHidden")},
-/* 0585 IS_CONDITION_TRUE */ {MAP_CHAR_LEN("IsConditionTrue")},
-/* 0586 TWO_DIGIT_YEAR */ {MAP_CHAR_LEN("TwoDigitYear")},
-/* 0587 PROTECTION_KEY */ {MAP_CHAR_LEN("ProtectionKey")},
-/* 0588 REDLINE_PROTECTION_KEY */ {MAP_CHAR_LEN("RedlineProtectionKey")},
-/* 0589 AUTOMATIC_DISTANCE */ {MAP_CHAR_LEN("AutomaticDistance")},
-/* 0590 AUTOMATIC_CONTROL_FOCUS */ {MAP_CHAR_LEN("AutomaticControlFocus")},
-/* 0591 APPLY_FORM_DESIGN_MODE */ {MAP_CHAR_LEN("ApplyFormDesignMode")},
-/* 0592 LOCALE */ {MAP_CHAR_LEN("Locale")},
-/* 0593 SORT_ALGORITHM */ {MAP_CHAR_LEN("SortAlgorithm")},
-/* 0594 FRAME_HEIGHT_ABSOLUTE */ {MAP_CHAR_LEN("FrameHeightAbsolute")},
-/* 0596 FRAME_HEIGHT_PERCENT */ {MAP_CHAR_LEN("FrameHeightPercent")},
-/* 0597 FRAME_ISAUTOMATIC_HEIGHT */ {MAP_CHAR_LEN("FrameIsAutomaticHeight")},
-/* 0598 FRAME_WIDTH_ABSOLUTE */ {MAP_CHAR_LEN("FrameWidthAbsolute")},
-/* 0599 FRAME_WIDTH_PERCENT */ {MAP_CHAR_LEN("FrameWidthPercent")},
-/* 0600 PARA_STYLEHEADING */ {MAP_CHAR_LEN("ParaStyleHeading")},
-/* 0601 PARA_STYLELEVEL1 */ {MAP_CHAR_LEN("ParaStyleLevel1")},
-/* 0602 PARA_STYLELEVEL10 */ {MAP_CHAR_LEN("ParaStyleLevel10")},
-/* 0603 PARA_STYLELEVEL2 */ {MAP_CHAR_LEN("ParaStyleLevel2")},
-/* 0604 PARA_STYLELEVEL3 */ {MAP_CHAR_LEN("ParaStyleLevel3")},
-/* 0605 PARA_STYLELEVEL4 */ {MAP_CHAR_LEN("ParaStyleLevel4")},
-/* 0606 PARA_STYLELEVEL5 */ {MAP_CHAR_LEN("ParaStyleLevel5")},
-/* 0607 PARA_STYLELEVEL6 */ {MAP_CHAR_LEN("ParaStyleLevel6")},
-/* 0608 PARA_STYLELEVEL7 */ {MAP_CHAR_LEN("ParaStyleLevel7")},
-/* 0609 PARA_STYLELEVEL8 */ {MAP_CHAR_LEN("ParaStyleLevel8")},
-/* 0610 PARA_STYLELEVEL9 */ {MAP_CHAR_LEN("ParaStyleLevel9")},
-/* 0611 PARA_STYLESEPARATOR */ {MAP_CHAR_LEN("ParaStyleSeparator")},
+/* 0513 FOOTNOTE_IS_OWN_NUMBERING */ {MAP_CHAR_LEN("FootnoteIsOwnNumbering")},
+/* 0514 FOOTNOTE_NUMBERING_TYPE */ {MAP_CHAR_LEN("FootnoteNumberingType")},
+/* 0515 FOOTNOTE_NUMBERING_PREFIX */ {MAP_CHAR_LEN("FootnoteNumberingPrefix")},
+/* 0516 FOOTNOTE_NUMBERING_SUFFIX */ {MAP_CHAR_LEN("FootnoteNumberingSuffix")},
+/* 0517 ENDNOTE_IS_COLLECT_AT_TEXT_END */ {MAP_CHAR_LEN("EndnoteIsCollectAtTextEnd")},
+/* 0518 ENDNOTE_IS_RESTART_NUMBERING */ {MAP_CHAR_LEN("EndnoteIsRestartNumbering")},
+/* 0519 ENDNOTE_RESTART_NUMBERING_AT */ {MAP_CHAR_LEN("EndnoteRestartNumberingAt")},
+/* 0520 ENDNOTE_IS_OWN_NUMBERING */ {MAP_CHAR_LEN("EndnoteIsOwnNumbering")},
+/* 0521 ENDNOTE_NUMBERING_TYPE */ {MAP_CHAR_LEN("EndnoteNumberingType")},
+/* 0522 ENDNOTE_NUMBERING_PREFIX */ {MAP_CHAR_LEN("EndnoteNumberingPrefix")},
+/* 0523 ENDNOTE_NUMBERING_SUFFIX */ {MAP_CHAR_LEN("EndnoteNumberingSuffix")},
+/* 0524 BRACKET_BEFORE */ {MAP_CHAR_LEN("BracketBefore")},
+/* 0525 BRACKET_AFTER */ {MAP_CHAR_LEN("BracketAfter")},
+/* 0526 IS_NUMBER_ENTRIES */ {MAP_CHAR_LEN("IsNumberEntries")},
+/* 0527 IS_SORT_BY_POSITION */ {MAP_CHAR_LEN("IsSortByPosition")},
+/* 0528 SORT_KEYS */ {MAP_CHAR_LEN("SortKeys")},
+/* 0529 IS_SORT_ASCENDING */ {MAP_CHAR_LEN("IsSortAscending")},
+/* 0530 SORT_KEY */ {MAP_CHAR_LEN("SortKey")},
+/* 0531 FIELDS */ {MAP_CHAR_LEN("Fields")},
+/* 0532 DATE_TIME_VALUE */ {MAP_CHAR_LEN("DateTimeValue")},
+/* 0533 IS_ON */ {MAP_CHAR_LEN("IsOn")},
+/* 0534 Z_ORDER */ {MAP_CHAR_LEN("ZOrder")},
+/* 0535 CONTENT_SECTION */ {MAP_CHAR_LEN("ContentSection")},
+/* 0536 HEADER_SECTION */ {MAP_CHAR_LEN("HeaderSection")},
+/* 0537 PARA_IS_HANGING_PUNCTUATION */ {MAP_CHAR_LEN("ParaIsHangingPunctuation")},
+/* 0538 PARA_IS_CHARACTER_DISTANCE */ {MAP_CHAR_LEN("ParaIsCharacterDistance")},
+/* 0539 PARA_IS_FORBIDDEN_RULES */ {MAP_CHAR_LEN("ParaIsForbiddenRules")},
+/* 0540 PARA_VERT_ALIGNMENT */ {MAP_CHAR_LEN("ParaVertAlignment")},
+/* 0541 IS_MAIN_ENTRY */ {MAP_CHAR_LEN("IsMainEntry")},
+/* 0542 GRAPHIC_ROTATION */ {MAP_CHAR_LEN("GraphicRotation")},
+/* 0543 ADJUST_LUMINANCE */ {MAP_CHAR_LEN("AdjustLuminance")},
+/* 0544 ADJUST_CONTRAST */ {MAP_CHAR_LEN("AdjustContrast")},
+/* 0545 ADJUST_RED */ {MAP_CHAR_LEN("AdjustRed")},
+/* 0546 ADJUST_GREEN */ {MAP_CHAR_LEN("AdjustGreen")},
+/* 0547 ADJUST_BLUE */ {MAP_CHAR_LEN("AdjustBlue")},
+/* 0548 GAMMA */ {MAP_CHAR_LEN("Gamma")},
+/* 0549 GRAPHIC_IS_INVERTED */ {MAP_CHAR_LEN("GraphicIsInverted")},
+/* 0550 TRANSPARENCY */ {MAP_CHAR_LEN("Transparency")},
+/* 0551 GRAPHIC_COLOR_MODE */ {MAP_CHAR_LEN("GraphicColorMode")},
+/* 0552 REDLINE_AUTHOR */ {MAP_CHAR_LEN("RedlineAuthor")},
+/* 0553 REDLINE_DATE_TIME */ {MAP_CHAR_LEN("RedlineDateTime")},
+/* 0554 REDLINE_COMMENT */ {MAP_CHAR_LEN("RedlineComment")},
+/* 0555 REDLINE_TYPE */ {MAP_CHAR_LEN("RedlineType")},
+/* 0556 REDLINE_SUCCESSOR_DATA */ {MAP_CHAR_LEN("RedlineSuccessorData")},
+/* 0557 REDLINE_IDENTIFIER */ {MAP_CHAR_LEN("RedlineIdentifier")},
+/* 0558 IS_IN_HEADER_FOOTER */ {MAP_CHAR_LEN("IsInHeaderFooter")},
+/* 0559 START_REDLINE */ {MAP_CHAR_LEN("StartRedline")},
+/* 0560 END_REDLINE */ {MAP_CHAR_LEN("EndRedline")},
+/* 0561 REDLINE_START */ {MAP_CHAR_LEN("RedlineStart")},
+/* 0562 REDLINE_END */ {MAP_CHAR_LEN("RedlineEnd")},
+/* 0563 REDLINE_TEXT */ {MAP_CHAR_LEN("RedlineText")},
+/* 0564 REDLINE_DISPLAY_TYPE */ {MAP_CHAR_LEN("RedlineDisplayType")},
+/* 0565 FORBIDDEN_CHARACTERS */ {MAP_CHAR_LEN("ForbiddenCharacters")},
+/* 0566 RUBY_BASE_TEXT */ {MAP_CHAR_LEN("RubyBaseText")},
+/* 0567 RUBY_TEXT */ {MAP_CHAR_LEN("RubyText")},
+/* 0568 RUBY_ADJUST */ {MAP_CHAR_LEN("RubyAdjust")},
+/* 0569 RUBY_CHAR_STYLE_NAME */ {MAP_CHAR_LEN("RubyCharStyleName")},
+/* 0570 RUBY_IS_ABOVE */ {MAP_CHAR_LEN("RubyIsAbove")},
+/* 0571 FOOTNOTE_HEIGHT */ {MAP_CHAR_LEN("FootnoteHeight")},
+/* 0572 FOOTNOTE_LINE_WEIGHT */ {MAP_CHAR_LEN("FootnoteLineWeight")},
+/* 0573 FOOTNOTE_LINE_COLOR */ {MAP_CHAR_LEN("FootnoteLineColor")},
+/* 0574 FOOTNOTE_LINE_RELATIVE_WIDTH */ {MAP_CHAR_LEN("FootnoteLineRelativeWidth")},
+/* 0575 FOOTNOTE_LINE_ADJUST */ {MAP_CHAR_LEN("FootnoteLineAdjust")},
+/* 0576 FOOTNOTE_LINE_TEXT_DISTANCE */ {MAP_CHAR_LEN("FootnoteLineTextDistance")},
+/* 0577 FOOTNOTE_LINE_DISTANCE */ {MAP_CHAR_LEN("FootnoteLineDistance")},
+/* 0578 CHAR_ROTATION */ {MAP_CHAR_LEN("CharRotation")},
+/* 0579 CHAR_ROTATION_IS_FIT_TO_LINE */ {MAP_CHAR_LEN("CharRotationIsFitToLine")},
+/* 0580 CHAR_SCALE_WIDTH */ {MAP_CHAR_LEN("CharScaleWidth")},
+/* 0581 TAB_STOP_DISTANCE */ {MAP_CHAR_LEN("TabStopDistance")},
+/* 0582 IS_WIDTH_RELATIVE */ {MAP_CHAR_LEN("IsWidthRelative")},
+/* 0583 CHAR_RELIEF */ {MAP_CHAR_LEN("CharRelief")},
+/* 0584 IS_HIDDEN */ {MAP_CHAR_LEN("IsHidden")},
+/* 0585 IS_CONDITION_TRUE */ {MAP_CHAR_LEN("IsConditionTrue")},
+/* 0586 TWO_DIGIT_YEAR */ {MAP_CHAR_LEN("TwoDigitYear")},
+/* 0587 PROTECTION_KEY */ {MAP_CHAR_LEN("ProtectionKey")},
+/* 0588 REDLINE_PROTECTION_KEY */ {MAP_CHAR_LEN("RedlineProtectionKey")},
+/* 0589 AUTOMATIC_DISTANCE */ {MAP_CHAR_LEN("AutomaticDistance")},
+/* 0590 AUTOMATIC_CONTROL_FOCUS */ {MAP_CHAR_LEN("AutomaticControlFocus")},
+/* 0591 APPLY_FORM_DESIGN_MODE */ {MAP_CHAR_LEN("ApplyFormDesignMode")},
+/* 0592 LOCALE */ {MAP_CHAR_LEN("Locale")},
+/* 0593 SORT_ALGORITHM */ {MAP_CHAR_LEN("SortAlgorithm")},
+/* 0594 FRAME_HEIGHT_ABSOLUTE */ {MAP_CHAR_LEN("FrameHeightAbsolute")},
+/* 0596 FRAME_HEIGHT_PERCENT */ {MAP_CHAR_LEN("FrameHeightPercent")},
+/* 0597 FRAME_ISAUTOMATIC_HEIGHT */ {MAP_CHAR_LEN("FrameIsAutomaticHeight")},
+/* 0598 FRAME_WIDTH_ABSOLUTE */ {MAP_CHAR_LEN("FrameWidthAbsolute")},
+/* 0599 FRAME_WIDTH_PERCENT */ {MAP_CHAR_LEN("FrameWidthPercent")},
+/* 0600 PARA_STYLEHEADING */ {MAP_CHAR_LEN("ParaStyleHeading")},
+/* 0601 PARA_STYLELEVEL1 */ {MAP_CHAR_LEN("ParaStyleLevel1")},
+/* 0602 PARA_STYLELEVEL10 */ {MAP_CHAR_LEN("ParaStyleLevel10")},
+/* 0603 PARA_STYLELEVEL2 */ {MAP_CHAR_LEN("ParaStyleLevel2")},
+/* 0604 PARA_STYLELEVEL3 */ {MAP_CHAR_LEN("ParaStyleLevel3")},
+/* 0605 PARA_STYLELEVEL4 */ {MAP_CHAR_LEN("ParaStyleLevel4")},
+/* 0606 PARA_STYLELEVEL5 */ {MAP_CHAR_LEN("ParaStyleLevel5")},
+/* 0607 PARA_STYLELEVEL6 */ {MAP_CHAR_LEN("ParaStyleLevel6")},
+/* 0608 PARA_STYLELEVEL7 */ {MAP_CHAR_LEN("ParaStyleLevel7")},
+/* 0609 PARA_STYLELEVEL8 */ {MAP_CHAR_LEN("ParaStyleLevel8")},
+/* 0610 PARA_STYLELEVEL9 */ {MAP_CHAR_LEN("ParaStyleLevel9")},
+/* 0611 PARA_STYLESEPARATOR */ {MAP_CHAR_LEN("ParaStyleSeparator")},
/* 0612 MACRO_LIBRARY */ {MAP_CHAR_LEN("MacroLibrary")},
-/* 0613 CELL_NAME */ {MAP_CHAR_LEN("CellName")},
-/* 0614 PARA_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("ParaUserDefinedAttributes")},
+/* 0613 CELL_NAME */ {MAP_CHAR_LEN("CellName")},
+/* 0614 PARA_USER_DEFINED_ATTRIBUTES */ {MAP_CHAR_LEN("ParaUserDefinedAttributes")},
/* 0615 UNO_NAME_MERGE_LAST_PARA */ {MAP_CHAR_LEN("MergeLastPara")},
/* 0616 UNO_NAME_WRITING_MODE */ {MAP_CHAR_LEN("WritingMode")},
/* 0617 UNO_NAME_GRID_COLOR */ {MAP_CHAR_LEN("GridColor")},
@@ -716,7 +716,7 @@ const SwPropNameTab aPropNameTab = {
/* 0673 UNO_NAME_TRANSFORMATION_IN_HORI_L2R*/ {MAP_CHAR_LEN("TransformationInHoriL2R")},
/* 0674 UNO_NAME_POSITION_LAYOUT_DIR*/ {MAP_CHAR_LEN("PositionLayoutDir")},
/* 0675 UNO_NAME_NUMBERING_IS_OUTLINE*/ {MAP_CHAR_LEN("NumberingIsOutline")},
-///* 0676 UNO_NAME_DEFAULT_OUTLINE_LEVEL*/ {MAP_CHAR_LEN("DefaultOutlineLevel")}, //#outline level,removed by zhaojianwei
+///* 0676 UNO_NAME_DEFAULT_OUTLINE_LEVEL*/ {MAP_CHAR_LEN("DefaultOutlineLevel")}, //#outline level,removed by zhaojianwei
/* 0677 UNO_NAME_STARTPOSITION_IN_HORI_L2R*/ {MAP_CHAR_LEN("StartPositionInHoriL2R")},
/* 0678 UNO_NAME_ENDPOSITION_IN_HORI_L2R*/ {MAP_CHAR_LEN("EndPositionInHoriL2R")},
/* 0679 UNO_NAME_SUBJECT */ {MAP_CHAR_LEN("Subject")},
@@ -742,7 +742,7 @@ const SwPropNameTab aPropNameTab = {
/* 0699 UNO_NAME_IS_HIDE_SPELL_MARKS*/ {MAP_CHAR_LEN("IsHideSpellMarks")}, /* deprecated #i91949 */
/* 0700 UNO_NAME_IS_FIELD_USED */ {MAP_CHAR_LEN("IsFieldUsed")},
/* 0701 UNO_NAME_IS_FIELD_DISPLAYED */ {MAP_CHAR_LEN("IsFieldDisplayed")},
-/* 0702 UNO_NAME_BUILDID */ {MAP_CHAR_LEN("BuildId")},
+/* 0702 UNO_NAME_BUILDID */ {MAP_CHAR_LEN("BuildId")},
/* 0703 UNO_NAME_PARA_STYLE_CONDITIONS*/ {MAP_CHAR_LEN("ParaStyleConditions")},
/* 0704 UNO_NAME_PRINT_EMPTY_PAGES*/ {MAP_CHAR_LEN("PrintEmptyPages")},
/* 0705 UNO_NAME_ROLE */ {MAP_CHAR_LEN("Role")},
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx
index de92d788f393..ffe3050cf031 100644
--- a/sw/source/core/unocore/unoredline.cxx
+++ b/sw/source/core/unocore/unoredline.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -190,15 +190,15 @@ uno::Type SwXRedlineText::getElementType( ) throw(uno::RuntimeException)
sal_Bool SwXRedlineText::hasElements( ) throw(uno::RuntimeException)
{
- return sal_True; // we always have a content index
+ return sal_True; // we always have a content index
}
-SwXRedlinePortion::SwXRedlinePortion( const SwRedline* pRed,
+SwXRedlinePortion::SwXRedlinePortion( const SwRedline* pRed,
const SwUnoCrsr* pPortionCrsr,
uno::Reference< text::XText > xParent, BOOL bStart) :
SwXTextPortion(pPortionCrsr, xParent, bStart ? PORTION_REDLINE_START : PORTION_REDLINE_END),
-// SwXText(pPortionCrsr->GetDoc(), CURSOR_REDLINE),
-// SwXRedlineText(pPortionCrsr->GetDoc(), *pRed->GetContentIdx()),
+// SwXText(pPortionCrsr->GetDoc(), CURSOR_REDLINE),
+// SwXRedlineText(pPortionCrsr->GetDoc(), *pRed->GetContentIdx()),
pRedline(pRed)
{
SetCollapsed(!pRedline->HasMark());
@@ -213,8 +213,8 @@ static util::DateTime lcl_DateTimeToUno(const DateTime& rDT)
util::DateTime aRetDT;
aRetDT.Year = rDT.GetYear();
aRetDT.Month= rDT.GetMonth();
- aRetDT.Day = rDT.GetDay();
- aRetDT.Hours = rDT.GetHour();
+ aRetDT.Day = rDT.GetDay();
+ aRetDT.Hours = rDT.GetHour();
aRetDT.Minutes = rDT.GetMin();
aRetDT.Seconds = rDT.GetSec();
aRetDT.HundredthSeconds = rDT.Get100Sec();
@@ -445,9 +445,9 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_DATE_TIME)))
{
DBG_ERROR("currently not available");
-// util::DateTime aDT;
-// if(aValue >>= aDT)
-// pRedline->SetTimeStamp(lcl_DateTimeFromUno(aDT));
+// util::DateTime aDT;
+// if(aValue >>= aDT)
+// pRedline->SetTimeStamp(lcl_DateTimeFromUno(aDT));
}
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_COMMENT)))
{
@@ -460,12 +460,12 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
OUString sTmp; aValue >>= sTmp;
if(!sTmp.getLength())
throw lang::IllegalArgumentException();
-// pRedline->SetType(lcl_OUStringToRedlineType(sTmp));
+// pRedline->SetType(lcl_OUStringToRedlineType(sTmp));
}
else if(rPropertyName.equalsAsciiL(SW_PROP_NAME(UNO_NAME_REDLINE_SUCCESSOR_DATA)))
{
DBG_ERROR("currently not available");
-/* SwRedlineData* pNext = pRedline->GetRedlineData().Next();
+/* SwRedlineData* pNext = pRedline->GetRedlineData().Next();
uno::Sequence<beans::PropertyValue> aValues;
if(!(aValue =>> aValues) || !pNext)
throw lang::IllegalArgumentException();
@@ -494,7 +494,7 @@ void SwXRedline::setPropertyValue( const OUString& rPropertyName, const uno::Any
pNext->SetType(lcl_OUStringToRedlineType(sTmp);
}
}
-*/ }
+*/ }
else
{
throw lang::IllegalArgumentException();
@@ -643,7 +643,7 @@ uno::Reference< text::XTextCursor > SwXRedline::createTextCursor(void) throw( u
if(!pDoc)
throw uno::RuntimeException();
- uno::Reference< text::XTextCursor > xRet;
+ uno::Reference< text::XTextCursor > xRet;
SwNodeIndex* pNodeIndex = pRedline->GetContentIdx();
if(pNodeIndex)
{
diff --git a/sw/source/core/unocore/unoredlines.cxx b/sw/source/core/unocore/unoredlines.cxx
index 5ceff5ba7d98..a27f22f2486e 100644
--- a/sw/source/core/unocore/unoredlines.cxx
+++ b/sw/source/core/unocore/unoredlines.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@ uno::Sequence< OUString > SwXRedlines::getSupportedServiceNames(void)
return uno::Sequence< OUString >();
}
-beans::XPropertySet* SwXRedlines::GetObject( SwRedline& rRedline, SwDoc& rDoc )
+beans::XPropertySet* SwXRedlines::GetObject( SwRedline& rRedline, SwDoc& rDoc )
{
SwPageDesc* pStdDesc = rDoc.GetPageDescFromPool(RES_POOLPAGE_STANDARD);
SwClientIter aIter(*pStdDesc);
diff --git a/sw/source/core/unocore/unorefmk.cxx b/sw/source/core/unocore/unorefmk.cxx
index 4c362ff3276e..b1124c7ab282 100644
--- a/sw/source/core/unocore/unorefmk.cxx
+++ b/sw/source/core/unocore/unorefmk.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/unosect.cxx b/sw/source/core/unocore/unosect.cxx
index cbc48ebd4557..2cf2cfb87870 100644
--- a/sw/source/core/unocore/unosect.cxx
+++ b/sw/source/core/unocore/unosect.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index 139bb9524fa5..828672182a11 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,8 +90,8 @@ using rtl::OUString;
struct PropValData
{
- uno::Any aVal;
- OUString sPropName;
+ uno::Any aVal;
+ OUString sPropName;
PropValData(void* pVal, const char* cPropName, uno::Type aType ) :
aVal(pVal, aType),
sPropName(OUString::createFromAscii(cPropName))
@@ -107,35 +107,35 @@ SV_DECL_PTRARR(PropValDataArr, PropValDataPtr, 5, 5 )
SV_IMPL_PTRARR(PropValDataArr, PropValDataPtr)
-#define WID_PREFIX 0
-#define WID_SUFFIX 1
+#define WID_PREFIX 0
+#define WID_SUFFIX 1
#define WID_NUMBERING_TYPE 2
#define WID_START_AT 3
-#define WID_FOOTNOTE_COUNTING 4
+#define WID_FOOTNOTE_COUNTING 4
#define WID_PARAGRAPH_STYLE 5
#define WID_PAGE_STYLE 6
#define WID_CHARACTER_STYLE 7
#define WID_POSITION_END_OF_DOC 8
#define WID_END_NOTICE 9
#define WID_BEGIN_NOTICE 10
-#define WID_ANCHOR_CHARACTER_STYLE 11
+#define WID_ANCHOR_CHARACTER_STYLE 11
const SfxItemPropertySet* GetFootnoteSet()
{
static SfxItemPropertyMapEntry aFootnoteMap_Impl[] =
{
{ SW_PROP_NAME(UNO_NAME_ANCHOR_CHAR_STYLE_NAME),WID_ANCHOR_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_BEGIN_NOTICE), WID_BEGIN_NOTICE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_CHAR_STYLE_NAME), WID_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_END_NOTICE), WID_END_NOTICE , &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_FOOTNOTE_COUNTING), WID_FOOTNOTE_COUNTING, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_NUMBERING_TYPE), WID_NUMBERING_TYPE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PAGE_STYLE_NAME), WID_PAGE_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PARA_STYLE_NAME), WID_PARAGRAPH_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_POSITION_END_OF_DOC), WID_POSITION_END_OF_DOC,&::getBooleanCppuType(), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PREFIX), WID_PREFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_START_AT), WID_START_AT , &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_SUFFIX), WID_SUFFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_BEGIN_NOTICE), WID_BEGIN_NOTICE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_CHAR_STYLE_NAME), WID_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_END_NOTICE), WID_END_NOTICE , &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_FOOTNOTE_COUNTING), WID_FOOTNOTE_COUNTING, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_NUMBERING_TYPE), WID_NUMBERING_TYPE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PAGE_STYLE_NAME), WID_PAGE_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PARA_STYLE_NAME), WID_PARAGRAPH_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_POSITION_END_OF_DOC), WID_POSITION_END_OF_DOC,&::getBooleanCppuType(), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PREFIX), WID_PREFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_START_AT), WID_START_AT , &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_SUFFIX), WID_SUFFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
static SfxItemPropertySet aFootnoteSet_Impl(aFootnoteMap_Impl);
@@ -147,13 +147,13 @@ const SfxItemPropertySet* GetEndnoteSet()
static SfxItemPropertyMapEntry aEndnoteMap_Impl[] =
{
{ SW_PROP_NAME(UNO_NAME_ANCHOR_CHAR_STYLE_NAME),WID_ANCHOR_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_CHAR_STYLE_NAME), WID_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_NUMBERING_TYPE), WID_NUMBERING_TYPE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PAGE_STYLE_NAME), WID_PAGE_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PARA_STYLE_NAME), WID_PARAGRAPH_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_PREFIX), WID_PREFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_START_AT), WID_START_AT , &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_SUFFIX), WID_SUFFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_CHAR_STYLE_NAME), WID_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_NUMBERING_TYPE), WID_NUMBERING_TYPE, &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PAGE_STYLE_NAME), WID_PAGE_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PARA_STYLE_NAME), WID_PARAGRAPH_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_PREFIX), WID_PREFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_START_AT), WID_START_AT , &::getCppuType((const sal_Int16*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_SUFFIX), WID_SUFFIX, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
static SfxItemPropertySet aEndnoteSet_Impl(aEndnoteMap_Impl);
@@ -164,11 +164,11 @@ const SfxItemPropertySet* GetNumberingRulesSet()
{
static SfxItemPropertyMapEntry aNumberingRulesMap_Impl[] =
{
- { SW_PROP_NAME(UNO_NAME_IS_ABSOLUTE_MARGINS), WID_IS_ABS_MARGINS, &::getBooleanCppuType(), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_IS_AUTOMATIC), WID_IS_AUTOMATIC, &::getBooleanCppuType(), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_IS_CONTINUOUS_NUMBERING), WID_CONTINUOUS, &::getBooleanCppuType(), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_NAME), WID_RULE_NAME , &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
- { SW_PROP_NAME(UNO_NAME_NUMBERING_IS_OUTLINE), WID_IS_OUTLINE, &::getBooleanCppuType(), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_IS_ABSOLUTE_MARGINS), WID_IS_ABS_MARGINS, &::getBooleanCppuType(), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_IS_AUTOMATIC), WID_IS_AUTOMATIC, &::getBooleanCppuType(), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_IS_CONTINUOUS_NUMBERING), WID_CONTINUOUS, &::getBooleanCppuType(), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_NAME), WID_RULE_NAME , &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
+ { SW_PROP_NAME(UNO_NAME_NUMBERING_IS_OUTLINE), WID_IS_OUTLINE, &::getBooleanCppuType(), PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_DEFAULT_LIST_ID), WID_DEFAULT_LIST_ID, &::getCppuType((const OUString*)0), PropertyAttribute::READONLY, 0},
{0,0,0,0,0,0}
};
@@ -176,7 +176,7 @@ const SfxItemPropertySet* GetNumberingRulesSet()
return &aNumberingRulesSet_Impl;
}
-#define WID_NUM_ON 0
+#define WID_NUM_ON 0
#define WID_SEPARATOR_INTERVAL 1
#define WID_NUMBERING_TYPE 2
#define WID_NUMBER_POSITION 3
@@ -186,23 +186,23 @@ const SfxItemPropertySet* GetNumberingRulesSet()
//#define WID_CHARACTER_STYLE 7
#define WID_COUNT_EMPTY_LINES 8
#define WID_COUNT_LINES_IN_FRAMES 9
-#define WID_RESTART_AT_EACH_PAGE 10
+#define WID_RESTART_AT_EACH_PAGE 10
const SfxItemPropertySet* GetLineNumberingSet()
{
static SfxItemPropertyMapEntry aLineNumberingMap_Impl[] =
{
{ SW_PROP_NAME(UNO_NAME_CHAR_STYLE_NAME), WID_CHARACTER_STYLE, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_COUNT_EMPTY_LINES), WID_COUNT_EMPTY_LINES , &::getBooleanCppuType(),PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_COUNT_EMPTY_LINES), WID_COUNT_EMPTY_LINES , &::getBooleanCppuType(),PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_COUNT_LINES_IN_FRAMES), WID_COUNT_LINES_IN_FRAMES, &::getBooleanCppuType(),PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_DISTANCE ), WID_DISTANCE , &::getCppuType((const sal_Int32*)0),PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_IS_ON), WID_NUM_ON, &::getBooleanCppuType() , PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_INTERVAL ), WID_INTERVAL , &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_SEPARATOR_TEXT ), WID_SEPARATOR_TEXT, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_IS_ON), WID_NUM_ON, &::getBooleanCppuType() , PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_INTERVAL ), WID_INTERVAL , &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_SEPARATOR_TEXT ), WID_SEPARATOR_TEXT, &::getCppuType((const OUString*)0), PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_NUMBER_POSITION), WID_NUMBER_POSITION, &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
{ SW_PROP_NAME(UNO_NAME_NUMBERING_TYPE), WID_NUMBERING_TYPE , &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_RESTART_AT_EACH_PAGE), WID_RESTART_AT_EACH_PAGE, &::getBooleanCppuType() , PROPERTY_NONE, 0},
- { SW_PROP_NAME(UNO_NAME_SEPARATOR_INTERVAL), WID_SEPARATOR_INTERVAL, &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_RESTART_AT_EACH_PAGE), WID_RESTART_AT_EACH_PAGE, &::getBooleanCppuType() , PROPERTY_NONE, 0},
+ { SW_PROP_NAME(UNO_NAME_SEPARATOR_INTERVAL), WID_SEPARATOR_INTERVAL, &::getCppuType((const sal_Int16*)0),PROPERTY_NONE, 0},
{0,0,0,0,0,0}
};
static SfxItemPropertySet aLineNumberingSet_Impl(aLineNumberingMap_Impl);
@@ -289,7 +289,7 @@ const unsigned short aUnoToSvxAdjust[] =
USHRT_MAX,
SVX_ADJUST_RIGHT, // 1
SVX_ADJUST_CENTER, // 3
- SVX_ADJUST_LEFT, // 0
+ SVX_ADJUST_LEFT, // 0
USHRT_MAX,
USHRT_MAX
};
@@ -1122,9 +1122,9 @@ DBG_WARNING("not implemented");
/******************************************************************
* SwXNumberingRules
******************************************************************/
-String SwXNumberingRules::sInvalidStyle(String::CreateFromAscii("__XXX___invalid"));
+String SwXNumberingRules::sInvalidStyle(String::CreateFromAscii("__XXX___invalid"));
-const String& SwXNumberingRules::GetInvalidStyle()
+const String& SwXNumberingRules::GetInvalidStyle()
{
return sInvalidStyle;
}
@@ -1369,7 +1369,7 @@ uno::Sequence<beans::PropertyValue> SwXNumberingRules::GetNumberingRuleByIndex(
sal_Bool bChapterNum = pDocShell != 0;
- PropValDataArr aPropertyValues;
+ PropValDataArr aPropertyValues;
//fill all properties into the array
//adjust
@@ -1583,10 +1583,10 @@ uno::Sequence<beans::PropertyValue> SwXNumberingRules::GetNumberingRuleByIndex(
if(rTxtColl.IsDefault())
continue;
- //sal_Int8 nOutLevel = rTxtColl.GetOutlineLevel(); //#outline level,zhaojianwei
+ //sal_Int8 nOutLevel = rTxtColl.GetOutlineLevel(); //#outline level,zhaojianwei
const sal_Int16 nOutLevel = rTxtColl.IsAssignedToListLevelOfOutlineStyle()
? static_cast<sal_Int16>(rTxtColl.GetAssignedOutlineStyleLevel())
- : MAXLEVEL; //<-end,zhaojianwei
+ : MAXLEVEL; //<-end,zhaojianwei
if ( nOutLevel == nIndex )
{
sValue = rTxtColl.GetName();
@@ -1621,7 +1621,7 @@ uno::Sequence<beans::PropertyValue> SwXNumberingRules::GetNumberingRuleByIndex(
return aSeq;
}
-PropValData* lcl_FindProperty(const char* cName, PropValDataArr& rPropertyValues)
+PropValData* lcl_FindProperty(const char* cName, PropValDataArr& rPropertyValues)
{
OUString sCmp = C2U(cName);
for(sal_uInt16 i = 0; i < rPropertyValues.Count(); i++)
@@ -1644,7 +1644,7 @@ void SwXNumberingRules::SetNumberingRuleByIndex(
// the order of the names is important!
static const char* aNumPropertyNames[] =
{
- "Adjust", //0
+ "Adjust", //0
"ParentNumbering", //1
"Prefix", //2
"Suffix", //3
@@ -2068,12 +2068,12 @@ void SwXNumberingRules::SetNumberingRuleByIndex(
SwTxtFmtColl &rTxtColl = *((*pColls)[k]);
if(rTxtColl.IsDefault())
continue;
- //if(rTxtColl.GetOutlineLevel() == nIndex && //#outline level,removed by zhaojianwei
- // rTxtColl.GetName() != sStyleName)
- // rTxtColl..SetOutlineLevel(NO_NUMBERING);
+ //if(rTxtColl.GetOutlineLevel() == nIndex && //#outline level,removed by zhaojianwei
+ // rTxtColl.GetName() != sStyleName)
+ // rTxtColl..SetOutlineLevel(NO_NUMBERING);
//else if(rTxtColl.GetName() == sStyleName)
- // rTxtColl.SetOutlineLevel(sal_Int8(nIndex));
- if ( rTxtColl.IsAssignedToListLevelOfOutlineStyle() && //add by zhaojianwei
+ // rTxtColl.SetOutlineLevel(sal_Int8(nIndex));
+ if ( rTxtColl.IsAssignedToListLevelOfOutlineStyle() && //add by zhaojianwei
rTxtColl.GetAssignedOutlineStyleLevel() == nIndex &&
rTxtColl.GetName() != sStyleName )
{
@@ -2082,7 +2082,7 @@ void SwXNumberingRules::SetNumberingRuleByIndex(
else if ( rTxtColl.GetName() == sStyleName )
{
rTxtColl.AssignToListLevelOfOutlineStyle( nIndex );
- } //<-end,,zhaojianwei,
+ } //<-end,,zhaojianwei,
}
}
break;
@@ -2412,8 +2412,8 @@ SwXTextColumns::SwXTextColumns(const SwFmtCol& rFmtCol) :
pColumns[i].Width = pCol->GetWishWidth();
nReference += pColumns[i].Width;
- pColumns[i].LeftMargin = TWIP_TO_MM100_UNSIGNED(pCol->GetLeft ());
- pColumns[i].RightMargin = TWIP_TO_MM100_UNSIGNED(pCol->GetRight());
+ pColumns[i].LeftMargin = TWIP_TO_MM100_UNSIGNED(pCol->GetLeft ());
+ pColumns[i].RightMargin = TWIP_TO_MM100_UNSIGNED(pCol->GetRight());
}
if(!aTextColumns.getLength())
nReference = USHRT_MAX;
@@ -2424,10 +2424,10 @@ SwXTextColumns::SwXTextColumns(const SwFmtCol& rFmtCol) :
bSepLineIsOn = rFmtCol.GetLineAdj() != COLADJ_NONE;
switch(rFmtCol.GetLineAdj())
{
- case COLADJ_TOP: nSepLineVertAlign = style::VerticalAlignment_TOP; break;
- case COLADJ_BOTTOM: nSepLineVertAlign = style::VerticalAlignment_BOTTOM; break;
+ case COLADJ_TOP: nSepLineVertAlign = style::VerticalAlignment_TOP; break;
+ case COLADJ_BOTTOM: nSepLineVertAlign = style::VerticalAlignment_BOTTOM; break;
case COLADJ_CENTER:
- case COLADJ_NONE: nSepLineVertAlign = style::VerticalAlignment_MIDDLE;
+ case COLADJ_NONE: nSepLineVertAlign = style::VerticalAlignment_MIDDLE;
}
}
diff --git a/sw/source/core/unocore/unosrch.cxx b/sw/source/core/unocore/unosrch.cxx
index d54a6768f66b..c162b549467b 100644
--- a/sw/source/core/unocore/unosrch.cxx
+++ b/sw/source/core/unocore/unosrch.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -49,19 +49,19 @@ using ::rtl::OUString;
class SwSearchProperties_Impl
{
- beans::PropertyValue** pValueArr; //
+ beans::PropertyValue** pValueArr; //
sal_uInt32 nArrLen;
const PropertyEntryVector_t aPropertyEntries;
public:
SwSearchProperties_Impl();
~SwSearchProperties_Impl();
- void SetProperties(const uno::Sequence< beans::PropertyValue >& aSearchAttribs)
+ void SetProperties(const uno::Sequence< beans::PropertyValue >& aSearchAttribs)
throw( beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException );
const uno::Sequence< beans::PropertyValue > GetProperties() const;
- void FillItemSet(SfxItemSet& rSet, sal_Bool bIsValueSearch) const;
- sal_Bool HasAttributes() const;
+ void FillItemSet(SfxItemSet& rSet, sal_Bool bIsValueSearch) const;
+ sal_Bool HasAttributes() const;
};
SwSearchProperties_Impl::SwSearchProperties_Impl() :
@@ -81,7 +81,7 @@ SwSearchProperties_Impl::~SwSearchProperties_Impl()
delete[] pValueArr;
}
-void SwSearchProperties_Impl::SetProperties(const uno::Sequence< beans::PropertyValue >& aSearchAttribs)
+void SwSearchProperties_Impl::SetProperties(const uno::Sequence< beans::PropertyValue >& aSearchAttribs)
throw( beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException )
{
const beans::PropertyValue* pProps = aSearchAttribs.getConstArray();
@@ -138,7 +138,7 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, sal_Bool bIsValueSea
SfxPoolItem* pBoxItem = 0,
*pBreakItem = 0,
*pAutoKernItem = 0,
- *pWLineItem = 0,
+ *pWLineItem = 0,
*pTabItem = 0,
*pSplitItem = 0,
*pRegItem = 0,
@@ -405,7 +405,7 @@ void SwSearchProperties_Impl::FillItemSet(SfxItemSet& rSet, sal_Bool bIsValueSea
delete pBrushItem ;
}
-sal_Bool SwSearchProperties_Impl::HasAttributes() const
+sal_Bool SwSearchProperties_Impl::HasAttributes() const
{
for(sal_uInt32 i = 0; i < nArrLen; i++)
if(pValueArr[i])
@@ -502,18 +502,18 @@ void SwXTextSearch::setPropertyValue(const OUString& rPropertyName, const uno::A
bVal = *(sal_Bool*)aValue.getValue();
switch(pEntry->nWID)
{
- case WID_SEARCH_ALL : bAll = bVal; break;
- case WID_WORDS: bWord = bVal; break;
- case WID_BACKWARDS : bBack = bVal; break;
- case WID_REGULAR_EXPRESSION : bExpr = bVal; break;
- case WID_CASE_SENSITIVE : bCase = bVal; break;
- //case WID_IN_SELECTION : bInSel = bVal; break;
- case WID_STYLES : bStyles = bVal; break;
+ case WID_SEARCH_ALL : bAll = bVal; break;
+ case WID_WORDS: bWord = bVal; break;
+ case WID_BACKWARDS : bBack = bVal; break;
+ case WID_REGULAR_EXPRESSION : bExpr = bVal; break;
+ case WID_CASE_SENSITIVE : bCase = bVal; break;
+ //case WID_IN_SELECTION : bInSel = bVal; break;
+ case WID_STYLES : bStyles = bVal; break;
case WID_SIMILARITY : bSimilarity = bVal; break;
- case WID_SIMILARITY_RELAX: bLevRelax = bVal; break;
- case WID_SIMILARITY_EXCHANGE: aValue >>= nLevExchange; break;
- case WID_SIMILARITY_ADD: aValue >>= nLevAdd; break;
- case WID_SIMILARITY_REMOVE : aValue >>= nLevRemove;break;
+ case WID_SIMILARITY_RELAX: bLevRelax = bVal; break;
+ case WID_SIMILARITY_EXCHANGE: aValue >>= nLevExchange; break;
+ case WID_SIMILARITY_ADD: aValue >>= nLevAdd; break;
+ case WID_SIMILARITY_REMOVE : aValue >>= nLevRemove;break;
};
}
else
@@ -532,8 +532,8 @@ uno::Any SwXTextSearch::getPropertyValue(const OUString& rPropertyName) throw( b
{
switch(pEntry->nWID)
{
- case WID_SEARCH_ALL : bSet = bAll; goto SET_BOOL;
- case WID_WORDS: bSet = bWord; goto SET_BOOL;
+ case WID_SEARCH_ALL : bSet = bAll; goto SET_BOOL;
+ case WID_WORDS: bSet = bWord; goto SET_BOOL;
case WID_BACKWARDS : bSet = bBack; goto SET_BOOL;
case WID_REGULAR_EXPRESSION : bSet = bExpr; goto SET_BOOL;
case WID_CASE_SENSITIVE : bSet = bCase; goto SET_BOOL;
@@ -544,9 +544,9 @@ uno::Any SwXTextSearch::getPropertyValue(const OUString& rPropertyName) throw( b
SET_BOOL:
aRet.setValue(&bSet, ::getBooleanCppuType());
break;
- case WID_SIMILARITY_EXCHANGE: nSet = nLevExchange; goto SET_UINT16;
- case WID_SIMILARITY_ADD: nSet = nLevAdd; goto SET_UINT16;
- case WID_SIMILARITY_REMOVE : nSet = nLevRemove;
+ case WID_SIMILARITY_EXCHANGE: nSet = nLevExchange; goto SET_UINT16;
+ case WID_SIMILARITY_ADD: nSet = nLevAdd; goto SET_UINT16;
+ case WID_SIMILARITY_REMOVE : nSet = nLevRemove;
SET_UINT16:
aRet <<= nSet;
break;
@@ -591,7 +591,7 @@ void SwXTextSearch::setValueSearch(sal_Bool ValueSearch_) throw( uno::RuntimeExc
uno::Sequence< beans::PropertyValue > SwXTextSearch::getSearchAttributes(void) throw( uno::RuntimeException )
{
- return pSearchProperties->GetProperties();
+ return pSearchProperties->GetProperties();
}
void SwXTextSearch::setSearchAttributes(const uno::Sequence< beans::PropertyValue >& rSearchAttribs)
@@ -612,22 +612,22 @@ void SwXTextSearch::setReplaceAttributes(const uno::Sequence< beans::PropertyVal
pReplaceProperties->SetProperties(rReplaceAttribs);
}
-void SwXTextSearch::FillSearchItemSet(SfxItemSet& rSet) const
+void SwXTextSearch::FillSearchItemSet(SfxItemSet& rSet) const
{
pSearchProperties->FillItemSet(rSet, bIsValueSearch);
}
-void SwXTextSearch::FillReplaceItemSet(SfxItemSet& rSet) const
+void SwXTextSearch::FillReplaceItemSet(SfxItemSet& rSet) const
{
pReplaceProperties->FillItemSet(rSet, bIsValueSearch);
}
-sal_Bool SwXTextSearch::HasSearchAttributes() const
+sal_Bool SwXTextSearch::HasSearchAttributes() const
{
return pSearchProperties->HasAttributes();
}
-sal_Bool SwXTextSearch::HasReplaceAttributes() const
+sal_Bool SwXTextSearch::HasReplaceAttributes() const
{
return pReplaceProperties->HasAttributes();
}
@@ -677,10 +677,10 @@ void SwXTextSearch::FillSearchOptions( util::SearchOptions& rSearchOpt ) const
if( bWord )
rSearchOpt.searchFlag |= util::SearchFlags::NORM_WORD_ONLY;
-// bInSel: 1; // wie geht das?
-// TODO: pSearch->bStyles!
-// inSelection??
-// aSrchParam.SetSrchInSelection(TypeConversion::toBOOL(aVal));
+// bInSel: 1; // wie geht das?
+// TODO: pSearch->bStyles!
+// inSelection??
+// aSrchParam.SetSrchInSelection(TypeConversion::toBOOL(aVal));
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index 2f6f63de94f8..9590cfad280c 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -1104,7 +1104,7 @@ SwStyleProperties_Impl::SwStyleProperties_Impl(const SfxItemPropertyMap* pMap) :
{
nArrLen = aPropertyEntries.size();
//const SfxItemPropertyMap* pTmp = _pMap;
-
+
pAnyArr = new uno::Any* [nArrLen];
for ( sal_uInt32 i =0 ; i < nArrLen; i++ )
pAnyArr[i] = 0;
@@ -1182,7 +1182,7 @@ sal_Bool SwStyleProperties_Impl::GetProperty(const ::rtl::OUString& rName, uno::
++nPos;
++aIt;
}
-
+
return bRet;
}
@@ -1830,7 +1830,7 @@ void lcl_SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
throw lang::IllegalArgumentException();
}
break;
- // case FN_UNO_DEFAULT_OUTLINE_LEVEL: //#outline level,removed by zahojianwei
+ // case FN_UNO_DEFAULT_OUTLINE_LEVEL: //#outline level,removed by zahojianwei
//{
// sal_Int8 nLevel = 0;
// if( rValue >>= nLevel )
@@ -1839,14 +1839,14 @@ void lcl_SetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
// rBase.mxNewBase->GetCollection()->SetOutlineLevel( NO_NUMBERING );
//}
//break;
- case RES_PARATR_OUTLINELEVEL: //add by zahojianwei
+ case RES_PARATR_OUTLINELEVEL: //add by zahojianwei
{
sal_Int16 nLevel = 0;
- rValue >>= nLevel;
+ rValue >>= nLevel;
if( 0 <= nLevel && nLevel <= MAXLEVEL)
rBase.mxNewBase->GetCollection()->SetAttrOutlineLevel( nLevel );
- }
- break; //<-end,zhaojianwei
+ }
+ break; //<-end,zhaojianwei
case FN_UNO_FOLLOW_STYLE:
{
OUString sTmp;
@@ -2088,9 +2088,9 @@ put_itemset:
if ( SFX_STYLE_FAMILY_PARA == eFamily &&
rEntry.nWID == RES_PARATR_NUMRULE &&
rBase.mxNewBase.is() && rBase.mxNewBase->GetCollection() &&
- //rBase.mxNewBase->GetCollection()->GetOutlineLevel() < MAXLEVEL /* assigned to list level of outline style */) //#outline level,removed by zhaojianwei
- rBase.mxNewBase->GetCollection()->IsAssignedToListLevelOfOutlineStyle() ) ////<-end,add by zhaojianwei
-
+ //rBase.mxNewBase->GetCollection()->GetOutlineLevel() < MAXLEVEL /* assigned to list level of outline style */) //#outline level,removed by zhaojianwei
+ rBase.mxNewBase->GetCollection()->IsAssignedToListLevelOfOutlineStyle() ) ////<-end,add by zhaojianwei
+
{
OUString sNewNumberingRuleName;
rValue >>= sNewNumberingRuleName;
@@ -2099,8 +2099,8 @@ put_itemset:
sTmp != pDoc->GetOutlineNumRule()->GetName() )
{
// delete assignment to list level of outline style.
- //rBase.mxNewBase->GetCollection()->SetOutlineLevel( NO_NUMBERING ); //#outline level,removed by zhaojianwei
- rBase.mxNewBase->GetCollection()->DeleteAssignmentToListLevelOfOutlineStyle(); //<-end,adde by zhaojianwei
+ //rBase.mxNewBase->GetCollection()->SetOutlineLevel( NO_NUMBERING ); //#outline level,removed by zhaojianwei
+ rBase.mxNewBase->GetCollection()->DeleteAssignmentToListLevelOfOutlineStyle(); //<-end,adde by zhaojianwei
}
}
}
@@ -2251,7 +2251,7 @@ uno::Any lcl_GetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
aRet.setValue(&xRules, ::getCppuType((uno::Reference<container::XIndexReplace>*)0));
}
break;
- //case FN_UNO_DEFAULT_OUTLINE_LEVEL: //#outline level,removed by zahojianwei
+ //case FN_UNO_DEFAULT_OUTLINE_LEVEL: //#outline level,removed by zahojianwei
//{
// DBG_ASSERT( SFX_STYLE_FAMILY_PARA == eFamily, "only paras" );
// BYTE nLevel = rBase.mxNewBase->GetCollection()->GetOutlineLevel();
@@ -2259,13 +2259,13 @@ uno::Any lcl_GetStyleProperty(const SfxItemPropertySimpleEntry& rEntry,
// aRet <<= static_cast<sal_Int8>( nLevel );
//}
//break;
- case RES_PARATR_OUTLINELEVEL: //add by zahojianwei
+ case RES_PARATR_OUTLINELEVEL: //add by zahojianwei
{
DBG_ASSERT( SFX_STYLE_FAMILY_PARA == eFamily, "only paras" );
int nLevel = rBase.mxNewBase->GetCollection()->GetAttrOutlineLevel();
aRet <<= static_cast<sal_Int16>( nLevel );
}
- break; //<-end,zhaojianwei
+ break; //<-end,zhaojianwei
case FN_UNO_FOLLOW_STYLE:
{
String aString;
@@ -2641,7 +2641,7 @@ uno::Sequence< beans::PropertyState > SwXStyle::getPropertyStates(
// == NO_NUMBERING )
// ? beans::PropertyState_DEFAULT_VALUE
// : beans::PropertyState_DIRECT_VALUE;
- // } //<-end,zhaojianwei
+ // } //<-end,zhaojianwei
else if(SFX_STYLE_FAMILY_PAGE == eFamily &&
(rPropName.EqualsAscii("Header", 0, 6)
|| rPropName.EqualsAscii("Footer", 0, 6)))
@@ -2764,7 +2764,7 @@ void SAL_CALL SwXStyle::setPropertiesToDefault( const uno::Sequence< OUString >&
throw uno::RuntimeException( OUString ( RTL_CONSTASCII_USTRINGPARAM ( "setPropertiesToDefault: property is read-only: " ) ) + pNames[nProp], static_cast < cppu::OWeakObject * > ( this ) );
//if( pEntry->nWID == FN_UNO_DEFAULT_OUTLINE_LEVEL ) //#outline level, removed by zhaojianwei
- // static_cast<SwTxtFmtColl*>(pTargetFmt)->SetOutlineLevel( NO_NUMBERING );
+ // static_cast<SwTxtFmtColl*>(pTargetFmt)->SetOutlineLevel( NO_NUMBERING );
//else
// pTargetFmt->ResetFmtAttr( pEntry->nWID );
if( pEntry->nWID == RES_PARATR_OUTLINELEVEL ) //add by zhaojianwei
@@ -2807,8 +2807,8 @@ void SAL_CALL SwXStyle::setAllPropertiesToDefault( )
// --> OD 2007-07-25 #132402# - make code robust
if ( xStyle->GetCollection() )
{
- // xStyle->GetCollection()->SetOutlineLevel( NO_NUMBERING ); //#outline level,removed by zhaojianwei
- xStyle->GetCollection()->DeleteAssignmentToListLevelOfOutlineStyle(); //<-end,add by zhaojianwei
+ // xStyle->GetCollection()->SetOutlineLevel( NO_NUMBERING ); //#outline level,removed by zhaojianwei
+ xStyle->GetCollection()->DeleteAssignmentToListLevelOfOutlineStyle(); //<-end,add by zhaojianwei
}
// <--
}
@@ -4194,8 +4194,8 @@ uno::Sequence< beans::PropertyValue > SwXAutoStyle::getProperties() throw (uno::
// aPropertyValue.Name = aIt->sName;
// pItem->QueryValue( aPropertyValue.Value, aIt->nMemberId );
// aPropertyVector.push_back( aPropertyValue );
-// }
- // TODO: Optimize - and fix! the old iteration filled each WhichId
+// }
+ // TODO: Optimize - and fix! the old iteration filled each WhichId
// only once but there are more properties than WhichIds
PropertyEntryVector_t::const_iterator aIt = aPropVector.begin();
while( aIt != aPropVector.end() )
diff --git a/sw/source/core/unocore/unotbl.cxx b/sw/source/core/unocore/unotbl.cxx
index 335e1143c907..4792cf1a8a5f 100644
--- a/sw/source/core/unocore/unotbl.cxx
+++ b/sw/source/core/unocore/unotbl.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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,13 +115,13 @@ table::BorderLine lcl_SvxLineToLine(const SvxBorderLine* pLine)
table::BorderLine2 aLine;
if(pLine)
{
- aLine.Color = pLine->GetColor().GetColor() ;
+ aLine.Color = pLine->GetColor().GetColor() ;
aLine.InnerLineWidth = TWIP_TO_MM100_UNSIGNED( pLine->GetInWidth() );
aLine.OuterLineWidth = TWIP_TO_MM100_UNSIGNED( pLine->GetOutWidth() );
- aLine.LineDistance = TWIP_TO_MM100_UNSIGNED( pLine->GetDistance() );
+ aLine.LineDistance = TWIP_TO_MM100_UNSIGNED( pLine->GetDistance() );
}
else
- aLine.Color = aLine.InnerLineWidth = aLine.OuterLineWidth = aLine.LineDistance = 0;
+ aLine.Color = aLine.InnerLineWidth = aLine.OuterLineWidth = aLine.LineDistance = 0;
return aLine;
}
@@ -130,7 +130,7 @@ sal_Bool lcl_LineToSvxLine(const table::BorderLine& rLine, SvxBorderLine& rSvxLi
rSvxLine.SetColor( Color(rLine.Color));
rSvxLine.SetInWidth( MM100_TO_TWIP( rLine.InnerLineWidth ) );
rSvxLine.SetOutWidth(MM100_TO_TWIP( rLine.OuterLineWidth ) );
- rSvxLine.SetDistance(MM100_TO_TWIP( rLine.LineDistance ) );
+ rSvxLine.SetDistance(MM100_TO_TWIP( rLine.LineDistance ) );
sal_Bool bRet = rLine.InnerLineWidth > 0 || rLine.OuterLineWidth > 0;
return bRet;
}
@@ -363,7 +363,7 @@ void lcl_GetCellPosition( const String &rCellName,
}
rColumn = nColIdx;
- rRow = aRowTxt.ToInt32() - 1; // - 1 because indices ought to be 0 based
+ rRow = aRowTxt.ToInt32() - 1; // - 1 because indices ought to be 0 based
}
}
}
@@ -735,7 +735,7 @@ void lcl_setValue( SwXCell &rCell, double nVal )
// - the current number format is not even a valid number formatter number format, but rather Writer's own 'special' text number format
if(SFX_ITEM_SET != pBoxFmt->GetAttrSet().GetItemState(RES_BOXATR_FORMAT, sal_True, &pItem)
|| pDoc->GetNumberFormatter()->IsTextFormat(((SwTblBoxNumFormat*)pItem)->GetValue())
- || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT)
+ || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT)
{
aSet.Put(SwTblBoxNumFormat(0));
}
@@ -958,10 +958,10 @@ table::CellContentType SwXCell::getType(void) throw( uno::RuntimeException )
sal_uInt32 nNdPos = pBox->IsFormulaOrValueBox();
switch (nNdPos)
{
- case 0 : nRes = table::CellContentType_TEXT; break;
- case USHRT_MAX : nRes = table::CellContentType_EMPTY; break;
- case RES_BOXATR_VALUE : nRes = table::CellContentType_VALUE; break;
- case RES_BOXATR_FORMULA : nRes = table::CellContentType_FORMULA; break;
+ case 0 : nRes = table::CellContentType_TEXT; break;
+ case USHRT_MAX : nRes = table::CellContentType_EMPTY; break;
+ case RES_BOXATR_VALUE : nRes = table::CellContentType_VALUE; break;
+ case RES_BOXATR_FORMULA : nRes = table::CellContentType_FORMULA; break;
default :
DBG_ERROR( "unexpected case" );
}
@@ -984,7 +984,7 @@ sal_Int32 SwXCell::getError(void) throw( uno::RuntimeException )
uno::Reference< text::XTextCursor > SwXCell::createTextCursor(void) throw( uno::RuntimeException )
{
SolarMutexGuard aGuard;
- uno::Reference< text::XTextCursor > aRef;
+ uno::Reference< text::XTextCursor > aRef;
if(pStartNode || IsValid())
{
const SwStartNode* pSttNd = pStartNode ? pStartNode : pBox->GetSttNd();
@@ -994,11 +994,11 @@ uno::Reference< text::XTextCursor > SwXCell::createTextCursor(void) throw( uno:
SwUnoCrsr *const pUnoCrsr = pXCursor->GetCursor();
pUnoCrsr->Move(fnMoveForward, fnGoNode);
aRef = static_cast<text::XWordCursor*>(pXCursor);
-// // no Cursor in protected sections
-// SwCrsrSaveState aSave( *pUnoCrsr );
-// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
+// // no Cursor in protected sections
+// SwCrsrSaveState aSave( *pUnoCrsr );
+// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
// pUnoCrsr->IsSelOvr( nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ))
-// throw( uno::RuntimeException() );
+// throw( uno::RuntimeException() );
}
else
throw uno::RuntimeException();
@@ -1044,7 +1044,7 @@ void SwXCell::setPropertyValue(const OUString& rPropertyName, const uno::Any& aV
SolarMutexGuard aGuard;
if(IsValid())
{
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if( !pEntry )
{
@@ -1164,11 +1164,11 @@ uno::Reference< container::XEnumeration > SwXCell::createEnumeration(void) thro
pSttNd, pTable);
aRef = pEnum;
-// // no Cursor in protected sections
-// SwCrsrSaveState aSave( *pUnoCrsr );
-// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
+// // no Cursor in protected sections
+// SwCrsrSaveState aSave( *pUnoCrsr );
+// if(pUnoCrsr->IsInProtectTable( sal_True ) ||
// pUnoCrsr->IsSelOvr( nsSwCursorSelOverFlags::SELOVER_TOGGLE | nsSwCursorSelOverFlags::SELOVER_CHANGEPOS ))
-// throw( uno::RuntimeException() );
+// throw( uno::RuntimeException() );
}
return aRef;
}
@@ -1223,7 +1223,7 @@ SwXCell* SwXCell::CreateXCell(SwFrmFmt* pTblFmt, SwTableBox* pBox, SwTable *pTab
}
/* -----------------12.06.98 07:37-------------------
- * exitstiert die Box in der angegebenen Tabelle?
+ * exitstiert die Box in der angegebenen Tabelle?
* --------------------------------------------------*/
SwTableBox* SwXCell::FindBox(SwTable* pTable, SwTableBox* pBox2)
{
@@ -1313,7 +1313,7 @@ void SwXTextTableRow::setPropertyValue(const OUString& rPropertyName,
SwTableLine* pLn = SwXTextTableRow::FindLine(pTable, pLine);
if(pLn)
{
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
SwDoc* pDoc = pFmt->GetDoc();
if (!pEntry)
@@ -1373,7 +1373,7 @@ uno::Any SwXTextTableRow::getPropertyValue(const OUString& rPropertyName) throw(
SwTableLine* pLn = SwXTextTableRow::FindLine(pTable, pLine);
if(pLn)
{
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if (!pEntry)
throw beans::UnknownPropertyException(OUString ( RTL_CONSTASCII_USTRINGPARAM ( "Unknown property: " ) ) + rPropertyName, static_cast < cppu::OWeakObject * > ( this ) );
@@ -1461,12 +1461,12 @@ BOOL SwXTextTableCursor::supportsService(const OUString& rServiceName) throw( un
}
IMPLEMENT_FORWARD_XINTERFACE2(SwXTextTableCursor,SwXTextTableCursor_Base,OTextCursorHelper)
-const SwPaM* SwXTextTableCursor::GetPaM() const { return GetCrsr(); }
-SwPaM* SwXTextTableCursor::GetPaM() { return GetCrsr(); }
-const SwDoc* SwXTextTableCursor::GetDoc() const { return GetFrmFmt()->GetDoc(); }
-SwDoc* SwXTextTableCursor::GetDoc() { return GetFrmFmt()->GetDoc(); }
-const SwUnoCrsr* SwXTextTableCursor::GetCrsr() const { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); }
-SwUnoCrsr* SwXTextTableCursor::GetCrsr() { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); }
+const SwPaM* SwXTextTableCursor::GetPaM() const { return GetCrsr(); }
+SwPaM* SwXTextTableCursor::GetPaM() { return GetCrsr(); }
+const SwDoc* SwXTextTableCursor::GetDoc() const { return GetFrmFmt()->GetDoc(); }
+SwDoc* SwXTextTableCursor::GetDoc() { return GetFrmFmt()->GetDoc(); }
+const SwUnoCrsr* SwXTextTableCursor::GetCrsr() const { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); }
+SwUnoCrsr* SwXTextTableCursor::GetCrsr() { return (SwUnoCrsr*)aCrsrDepend.GetRegisteredIn(); }
uno::Sequence< OUString > SwXTextTableCursor::getSupportedServiceNames(void) throw( uno::RuntimeException )
{
@@ -1491,7 +1491,7 @@ SwXTextTableCursor::SwXTextTableCursor(SwFrmFmt* pFmt, SwTableBox* pBox) :
pTblCrsr->MakeBoxSels();
}
-SwXTextTableCursor::SwXTextTableCursor(SwFrmFmt& rTableFmt, const SwTableCursor* pTableSelection) :
+SwXTextTableCursor::SwXTextTableCursor(SwFrmFmt& rTableFmt, const SwTableCursor* pTableSelection) :
SwClient(&rTableFmt),
aCrsrDepend(this, 0),
m_pPropSet(aSwMapProvider.GetPropertySet(PROPERTY_MAP_TEXT_TABLE_CURSOR))
@@ -1569,7 +1569,7 @@ sal_Bool SwXTextTableCursor::gotoCellByName(const OUString& CellName, sal_Bool E
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
String sCellName(CellName);
bRet = pTblCrsr->GotoTblBox(sCellName);
}
@@ -1584,7 +1584,7 @@ sal_Bool SwXTextTableCursor::goLeft(sal_Int16 Count, sal_Bool Expand) throw( uno
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
bRet = pTblCrsr->Left( Count,CRSR_SKIP_CHARS, FALSE, FALSE);
}
return bRet;
@@ -1598,7 +1598,7 @@ sal_Bool SwXTextTableCursor::goRight(sal_Int16 Count, sal_Bool Expand) throw( un
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
bRet = pTblCrsr->Right( Count, CRSR_SKIP_CHARS, FALSE, FALSE);
}
return bRet;
@@ -1612,7 +1612,7 @@ sal_Bool SwXTextTableCursor::goUp(sal_Int16 Count, sal_Bool Expand) throw( uno::
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
bRet = pTblCrsr->UpDown(sal_True, Count, 0, 0);
}
return bRet;
@@ -1626,7 +1626,7 @@ sal_Bool SwXTextTableCursor::goDown(sal_Int16 Count, sal_Bool Expand) throw( uno
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
bRet = pTblCrsr->UpDown(sal_False, Count, 0, 0);
}
return bRet;
@@ -1639,7 +1639,7 @@ void SwXTextTableCursor::gotoStart(sal_Bool Expand) throw( uno::RuntimeException
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
pTblCrsr->MoveTable(fnTableCurr, fnTableStart);
}
}
@@ -1651,7 +1651,7 @@ void SwXTextTableCursor::gotoEnd(sal_Bool Expand) throw( uno::RuntimeException )
if(pUnoCrsr)
{
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- lcl_CrsrSelect( pTblCrsr, Expand );
+ lcl_CrsrSelect( pTblCrsr, Expand );
pTblCrsr->MoveTable(fnTableCurr, fnTableEnd);
}
}
@@ -1731,7 +1731,7 @@ void SwXTextTableCursor::setPropertyValue(const OUString& rPropertyName,
const SwTableNode* pTblNode = pSttNode->FindTableNode();
lcl_FormatTable((SwFrmFmt*)pTblNode->GetTable().GetFrmFmt());
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if(pEntry)
{
@@ -1793,7 +1793,7 @@ uno::Any SwXTextTableCursor::getPropertyValue(const OUString& rPropertyName)
const SwTableNode* pTblNode = pSttNode->FindTableNode();
lcl_FormatTable((SwFrmFmt*)pTblNode->GetTable().GetFrmFmt());
SwUnoTableCrsr* pTblCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if(pEntry)
{
@@ -1825,7 +1825,7 @@ uno::Any SwXTextTableCursor::getPropertyValue(const OUString& rPropertyName)
default:
{
SfxItemSet aSet(pTblCrsr->GetDoc()->GetAttrPool(),
- RES_CHRATR_BEGIN, RES_FRMATR_END -1,
+ RES_CHRATR_BEGIN, RES_FRMATR_END -1,
RES_UNKNOWNATR_CONTAINER, RES_UNKNOWNATR_CONTAINER,
0L);
// erstmal die Attribute des Cursors
@@ -1903,17 +1903,17 @@ sal_Bool SwTableProperties_Impl::GetProperty(USHORT nWhichId, USHORT nMemberId,
return aAnyMap.FillValue( nWhichId, nMemberId, rpAny );
}
-void SwTableProperties_Impl::ApplyTblAttr(const SwTable& rTbl, SwDoc& rDoc)
+void SwTableProperties_Impl::ApplyTblAttr(const SwTable& rTbl, SwDoc& rDoc)
{
SfxItemSet aSet(rDoc.GetAttrPool(),
- RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT,
- RES_BACKGROUND, RES_BACKGROUND,
- RES_FRM_SIZE, RES_UL_SPACE,
- RES_HORI_ORIENT, RES_HORI_ORIENT,
- RES_BREAK, RES_BREAK,
- RES_KEEP, RES_KEEP,
- RES_SHADOW, RES_SHADOW,
- RES_PAGEDESC, RES_PAGEDESC,
+ RES_LAYOUT_SPLIT, RES_LAYOUT_SPLIT,
+ RES_BACKGROUND, RES_BACKGROUND,
+ RES_FRM_SIZE, RES_UL_SPACE,
+ RES_HORI_ORIENT, RES_HORI_ORIENT,
+ RES_BREAK, RES_BREAK,
+ RES_KEEP, RES_KEEP,
+ RES_SHADOW, RES_SHADOW,
+ RES_PAGEDESC, RES_PAGEDESC,
0
);
const uno::Any* pRepHead;
@@ -2072,9 +2072,9 @@ void SwTableProperties_Impl::ApplyTblAttr(const SwTable& rTbl, SwDoc& rDoc)
}
//TODO: folgende Propertiers noch impl.
-// FN_UNO_RANGE_ROW_LABEL
-// FN_UNO_RANGE_COL_LABEL
-// FN_UNO_TABLE_BORDER
+// FN_UNO_RANGE_ROW_LABEL
+// FN_UNO_RANGE_COL_LABEL
+// FN_UNO_TABLE_BORDER
if(aSet.Count())
{
@@ -2259,7 +2259,7 @@ void SwXTextTable::attachToRange(const uno::Reference< text::XTextRange > & xTex
OTextCursorHelper* pCursor = 0;
if(xRangeTunnel.is())
{
- pRange = reinterpret_cast< SwXTextRange * >(
+ pRange = reinterpret_cast< SwXTextRange * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( SwXTextRange::getUnoTunnelId()) ));
pCursor = reinterpret_cast< OTextCursorHelper * >(
sal::static_int_cast< sal_IntPtr >( xRangeTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
@@ -2555,8 +2555,8 @@ uno::Sequence< uno::Sequence< uno::Any > > SAL_CALL SwXTextTable::getDataArray()
//const SfxPoolItem* pItem;
//SwDoc* pDoc = pXCell->GetDoc();
//BOOL bIsText = (SFX_ITEM_SET != pBoxFmt->GetAttrSet().GetItemState(RES_BOXATR_FORMAT, sal_True, &pItem)
- // || pDoc->GetNumberFormatter()->IsTextFormat(((SwTblBoxNumFormat*)pItem)->GetValue())
- // || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT);
+ // || pDoc->GetNumberFormatter()->IsTextFormat(((SwTblBoxNumFormat*)pItem)->GetValue())
+ // || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT);
if(!bIsNum/*bIsText*/)
pColArray[nCol] <<= lcl_getString(*pXCell);
@@ -2992,7 +2992,7 @@ void SwXTextTable::setPropertyValue(const OUString& rPropertyName,
SwFrmFmt* pFmt = GetFrmFmt();
if(!aValue.hasValue())
throw lang::IllegalArgumentException();
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if( !pEntry )
throw lang::IllegalArgumentException();
@@ -3198,7 +3198,7 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName) throw( be
SolarMutexGuard aGuard;
uno::Any aRet;
SwFrmFmt* pFmt = GetFrmFmt();
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if(pFmt)
{
@@ -3261,7 +3261,7 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName) throw( be
pUnoCrsr->SetMark();
const SwStartNode* pLastNd = pBRBox->GetSttNd();
pUnoCrsr->GetPoint()->nNode = *pLastNd;
-
+
pUnoCrsr->Move( fnMoveForward, fnGoNode );
SwUnoTableCrsr* pCrsr = dynamic_cast<SwUnoTableCrsr*>(pUnoCrsr);
pCrsr->MakeBoxSels();
@@ -3276,35 +3276,35 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName) throw( be
const SvxBoxItem& rBox = (const SvxBoxItem&)aSet.Get(RES_BOX);
table::TableBorder aTableBorder;
- aTableBorder.TopLine = lcl_SvxLineToLine(rBox.GetTop());
- aTableBorder.IsTopLineValid = rBoxInfoItem.IsValid(VALID_TOP);
- aTableBorder.BottomLine = lcl_SvxLineToLine(rBox.GetBottom());
- aTableBorder.IsBottomLineValid = rBoxInfoItem.IsValid(VALID_BOTTOM);
- aTableBorder.LeftLine = lcl_SvxLineToLine(rBox.GetLeft());
- aTableBorder.IsLeftLineValid = rBoxInfoItem.IsValid(VALID_LEFT);
- aTableBorder.RightLine = lcl_SvxLineToLine(rBox.GetRight());
- aTableBorder.IsRightLineValid = rBoxInfoItem.IsValid(VALID_RIGHT );
- aTableBorder.HorizontalLine = lcl_SvxLineToLine(rBoxInfoItem.GetHori());
- aTableBorder.IsHorizontalLineValid = rBoxInfoItem.IsValid(VALID_HORI);
- aTableBorder.VerticalLine = lcl_SvxLineToLine(rBoxInfoItem.GetVert());
- aTableBorder.IsVerticalLineValid = rBoxInfoItem.IsValid(VALID_VERT);
- aTableBorder.Distance = TWIP_TO_MM100_UNSIGNED( rBox.GetDistance() );
- aTableBorder.IsDistanceValid = rBoxInfoItem.IsValid(VALID_DISTANCE);
+ aTableBorder.TopLine = lcl_SvxLineToLine(rBox.GetTop());
+ aTableBorder.IsTopLineValid = rBoxInfoItem.IsValid(VALID_TOP);
+ aTableBorder.BottomLine = lcl_SvxLineToLine(rBox.GetBottom());
+ aTableBorder.IsBottomLineValid = rBoxInfoItem.IsValid(VALID_BOTTOM);
+ aTableBorder.LeftLine = lcl_SvxLineToLine(rBox.GetLeft());
+ aTableBorder.IsLeftLineValid = rBoxInfoItem.IsValid(VALID_LEFT);
+ aTableBorder.RightLine = lcl_SvxLineToLine(rBox.GetRight());
+ aTableBorder.IsRightLineValid = rBoxInfoItem.IsValid(VALID_RIGHT );
+ aTableBorder.HorizontalLine = lcl_SvxLineToLine(rBoxInfoItem.GetHori());
+ aTableBorder.IsHorizontalLineValid = rBoxInfoItem.IsValid(VALID_HORI);
+ aTableBorder.VerticalLine = lcl_SvxLineToLine(rBoxInfoItem.GetVert());
+ aTableBorder.IsVerticalLineValid = rBoxInfoItem.IsValid(VALID_VERT);
+ aTableBorder.Distance = TWIP_TO_MM100_UNSIGNED( rBox.GetDistance() );
+ aTableBorder.IsDistanceValid = rBoxInfoItem.IsValid(VALID_DISTANCE);
aRet.setValue(&aTableBorder, ::getCppuType((const table::TableBorder*)0));
delete pUnoCrsr;
}
}
break;
case FN_UNO_TABLE_BORDER_DISTANCES :
- {
+ {
table::TableBorderDistances aTableBorderDistances( 0, sal_True, 0, sal_True, 0, sal_True, 0, sal_True ) ;
SwTable* pTable = SwTable::FindTable( pFmt );
const SwTableLines &rLines = pTable->GetTabLines();
bool bFirst = true;
- USHORT nLeftDistance = 0;
- USHORT nRightDistance = 0;
- USHORT nTopDistance = 0;
- USHORT nBottomDistance = 0;
+ USHORT nLeftDistance = 0;
+ USHORT nRightDistance = 0;
+ USHORT nTopDistance = 0;
+ USHORT nBottomDistance = 0;
for(sal_uInt16 i = 0; i < rLines.Count(); i++)
{
@@ -3325,38 +3325,38 @@ uno::Any SwXTextTable::getPropertyValue(const OUString& rPropertyName) throw( be
}
else
{
- if( aTableBorderDistances.IsLeftDistanceValid &&
+ if( aTableBorderDistances.IsLeftDistanceValid &&
nLeftDistance != TWIP_TO_MM100_UNSIGNED( rBox.GetDistance( BOX_LINE_LEFT )))
aTableBorderDistances.IsLeftDistanceValid = sal_False;
- if( aTableBorderDistances.IsRightDistanceValid &&
+ if( aTableBorderDistances.IsRightDistanceValid &&
nRightDistance != TWIP_TO_MM100_UNSIGNED( rBox.GetDistance( BOX_LINE_RIGHT )))
aTableBorderDistances.IsRightDistanceValid = sal_False;
- if( aTableBorderDistances.IsTopDistanceValid &&
+ if( aTableBorderDistances.IsTopDistanceValid &&
nTopDistance != TWIP_TO_MM100_UNSIGNED( rBox.GetDistance( BOX_LINE_TOP )))
aTableBorderDistances.IsTopDistanceValid = sal_False;
- if( aTableBorderDistances.IsBottomDistanceValid &&
+ if( aTableBorderDistances.IsBottomDistanceValid &&
nBottomDistance != TWIP_TO_MM100_UNSIGNED( rBox.GetDistance( BOX_LINE_BOTTOM )))
aTableBorderDistances.IsBottomDistanceValid = sal_False;
- }
+ }
- }
- if( !aTableBorderDistances.IsLeftDistanceValid &&
- !aTableBorderDistances.IsRightDistanceValid &&
- !aTableBorderDistances.IsTopDistanceValid &&
+ }
+ if( !aTableBorderDistances.IsLeftDistanceValid &&
+ !aTableBorderDistances.IsRightDistanceValid &&
+ !aTableBorderDistances.IsTopDistanceValid &&
!aTableBorderDistances.IsBottomDistanceValid )
break;
}
if( aTableBorderDistances.IsLeftDistanceValid)
- aTableBorderDistances.LeftDistance = nLeftDistance;
+ aTableBorderDistances.LeftDistance = nLeftDistance;
if( aTableBorderDistances.IsRightDistanceValid)
aTableBorderDistances.RightDistance = nRightDistance;
if( aTableBorderDistances.IsTopDistanceValid)
aTableBorderDistances.TopDistance = nTopDistance;
if( aTableBorderDistances.IsBottomDistanceValid)
aTableBorderDistances.BottomDistance = nBottomDistance;
-
+
aRet <<= aTableBorderDistances;
- }
+ }
break;
case FN_UNO_TABLE_COLUMN_SEPARATORS:
{
@@ -3760,7 +3760,7 @@ void SwXCellRange::setPropertyValue(const OUString& rPropertyName,
{
/* ASK OLIVER
lcl_FormatTable(pFmt);*/
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if(pEntry)
{
@@ -3877,7 +3877,7 @@ uno::Any SwXCellRange::getPropertyValue(const OUString& rPropertyName) throw( be
{
/* ASK OLIVER
lcl_FormatTable(pFmt);*/
- const SfxItemPropertySimpleEntry* pEntry =
+ const SfxItemPropertySimpleEntry* pEntry =
m_pPropSet->getPropertyMap()->getByName(rPropertyName);
if(pEntry)
{
@@ -3933,7 +3933,7 @@ uno::Any SwXCellRange::getPropertyValue(const OUString& rPropertyName) throw( be
default:
{
SfxItemSet aSet(pTblCrsr->GetDoc()->GetAttrPool(),
- RES_CHRATR_BEGIN, RES_FRMATR_END -1,
+ RES_CHRATR_BEGIN, RES_FRMATR_END -1,
RES_TXTATR_UNKNOWN_CONTAINER, RES_TXTATR_UNKNOWN_CONTAINER,
RES_UNKNOWNATR_CONTAINER, RES_UNKNOWNATR_CONTAINER,
0L);
@@ -4161,8 +4161,8 @@ uno::Sequence< uno::Sequence< uno::Any > > SAL_CALL SwXCellRange::getDataArray()
//const SfxPoolItem* pItem;
//SwDoc* pDoc = pXCell->GetDoc();
//BOOL bIsText = (SFX_ITEM_SET != pBoxFmt->GetAttrSet().GetItemState(RES_BOXATR_FORMAT, sal_True, &pItem)
- // || pDoc->GetNumberFormatter()->IsTextFormat(((SwTblBoxNumFormat*)pItem)->GetValue())
- // || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT);
+ // || pDoc->GetNumberFormatter()->IsTextFormat(((SwTblBoxNumFormat*)pItem)->GetValue())
+ // || ((SwTblBoxNumFormat*)pItem)->GetValue() == NUMBERFORMAT_TEXT);
if(!bIsNum/*bIsText*/)
pColArray[nCol] <<= lcl_getString(*pXCell);
@@ -4556,7 +4556,7 @@ void SwXCellRange::Modify( SfxPoolItem *pOld, SfxPoolItem *pNew)
}
/******************************************************************
- * SwXTableRows
+ * SwXTableRows
******************************************************************/
OUString SwXTableRows::getImplementationName(void) throw( uno::RuntimeException )
{
diff --git a/sw/source/core/unocore/unotext.cxx b/sw/source/core/unocore/unotext.cxx
index 408372ff72f3..4c33dcec361d 100644
--- a/sw/source/core/unocore/unotext.cxx
+++ b/sw/source/core/unocore/unotext.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -992,8 +992,8 @@ SwXText::setString(const OUString& rString) throw (uno::RuntimeException)
}
//FIXME why is CheckForOwnMember duplicated in some insert methods?
-// Description: Checks if pRange/pCursor are member of the same text interface.
-// Only one of the pointers has to be set!
+// Description: Checks if pRange/pCursor are member of the same text interface.
+// Only one of the pointers has to be set!
bool SwXText::Impl::CheckForOwnMember(
const SwPaM & rPaM)
throw (lang::IllegalArgumentException, uno::RuntimeException)
@@ -1788,13 +1788,13 @@ void SwXText::copyText(
SwXText* pText = 0;
pText = reinterpret_cast< SwXText* >(
sal::static_int_cast< sal_IntPtr >( xTTunnel->getSomething( SwXText::getUnoTunnelId()) ));
-
+
uno::Reference< text::XText > xText( xSource, uno::UNO_QUERY_THROW );
uno::Reference< text::XTextCursor > xCursor = xText->createTextCursor( );
xCursor->gotoEnd( sal_True );
-
+
uno::Reference< lang::XUnoTunnel > xTunnel( xCursor, uno::UNO_QUERY_THROW );
-
+
OTextCursorHelper* pCursor = 0;
pCursor = reinterpret_cast< OTextCursorHelper* >(
sal::static_int_cast< sal_IntPtr >( xTunnel->getSomething( OTextCursorHelper::getUnoTunnelId()) ));
@@ -1831,26 +1831,26 @@ void SwXText::Impl::ConvertCell(
{
throw lang::IllegalArgumentException();
}
-
- SwNodeRange aTmpRange(aStartCellPam.Start()->nNode,
+
+ SwNodeRange aTmpRange(aStartCellPam.Start()->nNode,
aEndCellPam.End()->nNode);
- SwNodeRange * pCorrectedRange =
+ SwNodeRange * pCorrectedRange =
m_pDoc->GetNodes().ExpandRangeForTableBox(aTmpRange);
-
+
if (pCorrectedRange != NULL)
{
SwPaM aNewStartPaM(pCorrectedRange->aStart, 0);
aStartCellPam = aNewStartPaM;
-
- xub_StrLen nEndLen = 0;
+
+ xub_StrLen nEndLen = 0;
SwTxtNode * pTxtNode = pCorrectedRange->aEnd.GetNode().GetTxtNode();
if (pTxtNode != NULL)
nEndLen = pTxtNode->Len();
-
+
SwPaM aNewEndPaM(pCorrectedRange->aEnd, nEndLen);
aEndCellPam = aNewEndPaM;
}
-
+
/** check the nodes between start and end
it is allowed to have pairs of StartNode/EndNodes
*/
@@ -2541,7 +2541,7 @@ SwXBodyText::hasElements() throw (uno::RuntimeException)
}
/******************************************************************
- * SwXHeadFootText
+ * SwXHeadFootText
******************************************************************/
class SwXHeadFootText::Impl
: public SwClient
diff --git a/sw/source/core/unocore/unotextmarkup.cxx b/sw/source/core/unocore/unotextmarkup.cxx
index a4260ed63d19..e4cfb912fbd5 100644
--- a/sw/source/core/unocore/unotextmarkup.cxx
+++ b/sw/source/core/unocore/unotextmarkup.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -65,12 +65,12 @@ uno::Reference< container::XStringKeyMap > SAL_CALL SwXTextMarkup::getMarkupInfo
return xProp;
}
-void SAL_CALL SwXTextMarkup::commitTextMarkup(
- ::sal_Int32 nType,
- const ::rtl::OUString & rIdentifier,
- ::sal_Int32 nStart,
- ::sal_Int32 nLength,
- const uno::Reference< container::XStringKeyMap > & xMarkupInfoContainer)
+void SAL_CALL SwXTextMarkup::commitTextMarkup(
+ ::sal_Int32 nType,
+ const ::rtl::OUString & rIdentifier,
+ ::sal_Int32 nStart,
+ ::sal_Int32 nLength,
+ const uno::Reference< container::XStringKeyMap > & xMarkupInfoContainer)
throw (uno::RuntimeException)
{
SolarMutexGuard aGuard;
@@ -94,7 +94,7 @@ void SAL_CALL SwXTextMarkup::commitTextMarkup(
pWList = new SwWrongList( WRONGLIST_SPELL );
mpTxtNode->SetWrong( pWList );
}
- }
+ }
else if ( nType == text::TextMarkupType::PROOFREADING || nType == text::TextMarkupType::SENTENCE )
{
IGrammarContact *pGrammarContact = getGrammarContact( *mpTxtNode );
@@ -223,7 +223,7 @@ void SAL_CALL SwXTextMarkup::commitTextMarkup(
if( nType == text::TextMarkupType::SENTENCE )
((SwGrammarMarkUp*)pWList)->setSentence( static_cast< xub_StrLen >(nStart) );
else
- pWList->Insert( rIdentifier, xMarkupInfoContainer,
+ pWList->Insert( rIdentifier, xMarkupInfoContainer,
static_cast< xub_StrLen >(nStart), static_cast< xub_StrLen >(nLength) );
}
@@ -232,14 +232,14 @@ void SAL_CALL SwXTextMarkup::commitTextMarkup(
}
-void lcl_commitGrammarMarkUp(
+void lcl_commitGrammarMarkUp(
const ModelToViewHelper::ConversionMap* pConversionMap,
SwGrammarMarkUp* pWList,
- ::sal_Int32 nType,
- const ::rtl::OUString & rIdentifier,
- ::sal_Int32 nStart,
- ::sal_Int32 nLength,
- const uno::Reference< container::XStringKeyMap > & xMarkupInfoContainer)
+ ::sal_Int32 nType,
+ const ::rtl::OUString & rIdentifier,
+ ::sal_Int32 nStart,
+ ::sal_Int32 nLength,
+ const uno::Reference< container::XStringKeyMap > & xMarkupInfoContainer)
{
OSL_ENSURE( nType == text::TextMarkupType::PROOFREADING || nType == text::TextMarkupType::SENTENCE, "Wrong mark-up type" );
const ModelToViewHelper::ModelPosition aStartPos =
@@ -322,14 +322,14 @@ void lcl_commitGrammarMarkUp(
if( nType == text::TextMarkupType::SENTENCE )
((SwGrammarMarkUp*)pWList)->setSentence( static_cast< xub_StrLen >(nStart+nLength) );
else
- pWList->Insert( rIdentifier, xMarkupInfoContainer,
+ pWList->Insert( rIdentifier, xMarkupInfoContainer,
static_cast< xub_StrLen >(nStart), static_cast< xub_StrLen >(nLength) );
}
}
void SAL_CALL SwXTextMarkup::commitMultiTextMarkup(
- const uno::Sequence< text::TextMarkupDescriptor > &rMarkups )
+ const uno::Sequence< text::TextMarkupDescriptor > &rMarkups )
throw (lang::IllegalArgumentException, uno::RuntimeException)
{
SolarMutexGuard aGuard;
@@ -358,11 +358,11 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
nSentenceMarkUpIndex = i;
else // there is already one sentence markup
throw lang::IllegalArgumentException();
- }
+ }
else if( pMarkups[i].nType != text::TextMarkupType::PROOFREADING )
return;
}
-
+
if( nSentenceMarkUpIndex == -1 )
return;
@@ -391,18 +391,18 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
if( pWList->GetBeginInv() < STRING_LEN )
{
const ModelToViewHelper::ModelPosition aSentenceEnd =
- ModelToViewHelper::ConvertToModelPosition( mpConversionMap,
+ ModelToViewHelper::ConvertToModelPosition( mpConversionMap,
pMarkups[nSentenceMarkUpIndex].nOffset + pMarkups[nSentenceMarkUpIndex].nLength );
bAcceptGrammarError = (xub_StrLen)aSentenceEnd.mnPos > pWList->GetBeginInv();
pWList->ClearGrammarList( (xub_StrLen)aSentenceEnd.mnPos );
}
-
+
if( bAcceptGrammarError )
{
for( i = 0; i < nLen; ++i )
{
const text::TextMarkupDescriptor &rDesc = pMarkups[i];
- lcl_commitGrammarMarkUp( mpConversionMap, pWList, rDesc.nType,
+ lcl_commitGrammarMarkUp( mpConversionMap, pWList, rDesc.nType,
rDesc.aIdentifier, rDesc.nOffset, rDesc.nLength, rDesc.xMarkupInfoContainer );
}
}
@@ -411,7 +411,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
bRepaint = false;
i = nSentenceMarkUpIndex;
const text::TextMarkupDescriptor &rDesc = pMarkups[i];
- lcl_commitGrammarMarkUp( mpConversionMap, pWList, rDesc.nType,
+ lcl_commitGrammarMarkUp( mpConversionMap, pWList, rDesc.nType,
rDesc.aIdentifier, rDesc.nOffset, rDesc.nLength, rDesc.xMarkupInfoContainer );
}
@@ -419,7 +419,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException)
finishGrammarCheck( *mpTxtNode );
return;
-}
+}
void SwXTextMarkup::Modify( SfxPoolItem* /*pOld*/, SfxPoolItem* /*pNew*/ )
@@ -429,7 +429,7 @@ void SwXTextMarkup::Modify( SfxPoolItem* /*pOld*/, SfxPoolItem* /*pNew*/ )
if ( pRegisteredIn )
pRegisteredIn->Remove( this );
// <--
-
+
SolarMutexGuard aGuard;
mpTxtNode = 0;
}
diff --git a/sw/source/core/view/pagepreviewlayout.cxx b/sw/source/core/view/pagepreviewlayout.cxx
index 92c93a47e3d8..62ed0a4f0e90 100644
--- a/sw/source/core/view/pagepreviewlayout.cxx
+++ b/sw/source/core/view/pagepreviewlayout.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
diff --git a/sw/source/core/view/printdata.cxx b/sw/source/core/view/printdata.cxx
index e13fb5331097..e77371e70bbf 100644
--- a/sw/source/core/view/printdata.cxx
+++ b/sw/source/core/view/printdata.cxx
@@ -1,9 +1,9 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/**************************************************************************
+/**************************************************************************
*
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -79,7 +79,7 @@ SwRenderData::~SwRenderData()
DBG_ASSERT( !m_pPostItShell, "m_pPostItShell should already have been deleted" );
DBG_ASSERT( !m_pPostItDoc, "m_pPostItDoc should already have been deleted" );
DBG_ASSERT( !m_pPostItFields, " should already have been deleted" );
-}
+}
void SwRenderData::CreatePostItData( SwDoc *pDoc, const SwViewOption *pViewOpt, OutputDevice *pOutDev )
@@ -97,7 +97,7 @@ void SwRenderData::CreatePostItData( SwDoc *pDoc, const SwViewOption *pViewOpt,
m_pPostItShell = new ViewShell( *m_pPostItDoc, 0, &aViewOpt, pOutDev );
}
-
+
void SwRenderData::DeletePostItData()
{
@@ -110,7 +110,7 @@ void SwRenderData::DeletePostItData()
m_pPostItShell = 0;
m_pPostItFields = 0;
}
-}
+}
bool SwRenderData::NeedNewViewOptionAdjust( const SwWrtShell& rCompare ) const
{
@@ -126,7 +126,7 @@ void SwRenderData::ViewOptionAdjustStart( SwWrtShell &rSh, const SwViewOption &r
}
m_pViewOptionAdjust = new SwViewOptionAdjust_Impl( rSh, rViewOptions );
}
-
+
void SwRenderData::ViewOptionAdjust( const SwPrtOptions *pPrtOptions )
{
@@ -140,20 +140,20 @@ void SwRenderData::ViewOptionAdjustStop()
{
delete m_pViewOptionAdjust;
m_pViewOptionAdjust = 0;
- }
+ }
}
-void SwRenderData::MakeSwPrtOptions(
+void SwRenderData::MakeSwPrtOptions(
SwPrtOptions &rOptions,
const SwDocShell *pDocShell,
const SwPrintUIOptions *pOpt,
- const SwRenderData *pData,
+ const SwRenderData *pData,
bool bIsPDFExport )
{
if (!pDocShell || !pOpt || !pData)
return;
-
+
// get default print options
const TypeId aSwWebDocShellTypeId = TYPE(SwWebDocShell);
BOOL bWeb = pDocShell->IsA( aSwWebDocShellTypeId );
@@ -175,7 +175,7 @@ void SwRenderData::MakeSwPrtOptions(
rOptions.bPrintProspectRTL = pOpt->IsPrintProspectRTL();
// bPrintSingleJobs <-- not set here; mail merge and or configuration
// bModified <-- not set here; mail merge only
- rOptions.bPrintBlackFont = pOpt->IsPrintWithBlackTextColor();
+ rOptions.bPrintBlackFont = pOpt->IsPrintWithBlackTextColor();
rOptions.bPrintHiddenText = pOpt->IsPrintHiddenText();
rOptions.bPrintTextPlaceholder = pOpt->IsPrintTextPlaceholders();
rOptions.nPrintPostIts = pOpt->GetPrintPostItsType();
@@ -185,7 +185,7 @@ void SwRenderData::MakeSwPrtOptions(
rOptions.SetPrintUIOptions( pOpt );
rOptions.SetRenderData( pData );
- // rOptions.aMulti is not used anymore in the XRenderable API
+ // rOptions.aMulti is not used anymore in the XRenderable API
// Thus we set it to a dummy value here.
rOptions.aMulti = MultiSelection( Range( 1, 1 ) );
@@ -196,15 +196,15 @@ void SwRenderData::MakeSwPrtOptions(
if (bIsPDFExport)
rOptions.bPrintSelection = FALSE;
}
-
+
//////////////////////////////////////////////////////////////////////
-SwPrintUIOptions::SwPrintUIOptions(
- bool bWeb,
- bool bSwSrcView,
- bool bHasSelection,
- bool bHasPostIts,
+SwPrintUIOptions::SwPrintUIOptions(
+ bool bWeb,
+ bool bSwSrcView,
+ bool bHasSelection,
+ bool bHasPostIts,
const SwPrintData &rDefaultPrintData ) :
m_pLast( NULL ),
m_rDefaultPrintData( rDefaultPrintData )
@@ -214,7 +214,7 @@ SwPrintUIOptions::SwPrintUIOptions(
DBG_ASSERT( aLocalizedStrings.Count() >= 44, "resource incomplete" );
if( aLocalizedStrings.Count() < 44 ) // bad resource ?
return;
-
+
// printing HTML sources does not have any valid UI options.
// Its just the source code that gets printed ...
if (bSwSrcView)
@@ -222,7 +222,7 @@ SwPrintUIOptions::SwPrintUIOptions(
m_aUIProperties.realloc( 0 );
return;
}
-
+
// check if CTL is enabled
SvtLanguageOptions aLangOpt;
bool bCTL = aLangOpt.IsCTLFontEnabled();
@@ -238,10 +238,10 @@ SwPrintUIOptions::SwPrintUIOptions(
SvtModuleOptions aModOpt;
String aAppGroupname( aLocalizedStrings.GetString( 0 ) );
aAppGroupname.SearchAndReplace( String( RTL_CONSTASCII_USTRINGPARAM( "%s" ) ),
- aModOpt.GetModuleName( SvtModuleOptions::E_SWRITER ) );
+ aModOpt.GetModuleName( SvtModuleOptions::E_SWRITER ) );
m_aUIProperties[ nIdx++ ].Value = getGroupControlOpt( aAppGroupname, rtl::OUString() );
- // create sub section for Contents
+ // create sub section for Contents
m_aUIProperties[ nIdx++ ].Value = getSubgroupControlOpt( aLocalizedStrings.GetString( 1 ), rtl::OUString() );
// create a bool option for background
@@ -323,7 +323,7 @@ SwPrintUIOptions::SwPrintUIOptions(
rtl::OUString(),
aPrintRangeOpt
);
-
+
// create a choice for the content to create
rtl::OUString aPrintRangeName( RTL_CONSTASCII_USTRINGPARAM( "PrintContent" ) );
uno::Sequence< rtl::OUString > aChoices( bHasSelection ? 3 : 2 );
@@ -349,7 +349,7 @@ SwPrintUIOptions::SwPrintUIOptions(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PageRange" ) ),
rtl::OUString(),
aPageRangeOpt
- );
+ );
// print content selection
vcl::PrinterOptionsHelper::UIControlOptions aContentsOpt;
aContentsOpt.maGroupHint = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "JobPage" ) );
@@ -377,7 +377,7 @@ SwPrintUIOptions::SwPrintUIOptions(
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "List" ) ),
aAnnotOpt
);
-
+
// create subsection for Page settings
vcl::PrinterOptionsHelper::UIControlOptions aPageSetOpt;
aPageSetOpt.maGroupHint = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "LayoutPage" ) );
@@ -398,7 +398,7 @@ SwPrintUIOptions::SwPrintUIOptions(
// 0 : all pages (left & right)
// 1 : left pages
// 2 : right pages
- DBG_ASSERT( rDefaultPrintData.IsPrintLeftPage() || rDefaultPrintData.IsPrintRightPage(),
+ DBG_ASSERT( rDefaultPrintData.IsPrintLeftPage() || rDefaultPrintData.IsPrintRightPage(),
"unexpected value combination" );
sal_Int16 nPagesChoice = 0;
if (rDefaultPrintData.IsPrintLeftPage() && !rDefaultPrintData.IsPrintRightPage())
@@ -408,12 +408,12 @@ SwPrintUIOptions::SwPrintUIOptions(
m_aUIProperties[ nIdx++ ].Value = getChoiceControlOpt( aLocalizedStrings.GetString( 32 ),
aRLHelp,
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintLeftRightPages" ) ),
- aRLChoices,
- nPagesChoice,
+ aRLChoices,
+ nPagesChoice,
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "List" ) )
);
}
-
+
// create a bool option for brochure
bDefaultVal = rDefaultPrintData.IsPrintProspect();
rtl::OUString aBrochurePropertyName( RTL_CONSTASCII_USTRINGPARAM( "PrintProspect" ) );
@@ -423,7 +423,7 @@ SwPrintUIOptions::SwPrintUIOptions(
bDefaultVal,
aPageSetOpt
);
-
+
if (bCTL)
{
// create a bool option for brochure RTL dependent on brochure
@@ -439,13 +439,13 @@ SwPrintUIOptions::SwPrintUIOptions(
m_aUIProperties[ nIdx++ ].Value = getChoiceControlOpt( rtl::OUString(),
uno::Sequence< rtl::OUString >(),
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "PrintProspectRTL" ) ),
- aBRTLChoices,
- nBRTLChoice,
+ aBRTLChoices,
+ nBRTLChoice,
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "List" ) ),
aBrochureRTLOpt
);
}
-
+
DBG_ASSERT( nIdx == nNumProps, "number of added properties is not as expected" );
}
@@ -454,7 +454,7 @@ SwPrintUIOptions::SwPrintUIOptions(
SwPrintUIOptions::~SwPrintUIOptions()
{
}
-
+
bool SwPrintUIOptions::IsPrintLeftPages() const
{
// take care of different property names for the option.
@@ -485,7 +485,7 @@ bool SwPrintUIOptions::IsPrintEmptyPages( bool bIsPDFExport ) const
// take care of different property names for the option.
bool bRes = bIsPDFExport ?
- !getBoolValue( "IsSkipEmptyPages", sal_True ) :
+ !getBoolValue( "IsSkipEmptyPages", sal_True ) :
getBoolValue( "PrintEmptyPages", sal_True );
return bRes;
}
@@ -539,7 +539,7 @@ bool SwPrintUIOptions::processPropertiesAndCheckFormat( const uno::Sequence< bea
bChanged = bChanged || (pOut != m_pLast);
if( pOut )
m_pLast = pOut;
-
+
return bChanged;
}
diff --git a/sw/source/core/view/vdraw.cxx b/sw/source/core/view/vdraw.cxx
index 351382dbdb00..a1e2d450f092 100644
--- a/sw/source/core/view/vdraw.cxx
+++ b/sw/source/core/view/vdraw.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -190,9 +190,9 @@ BOOL SwViewImp::IsDragPossible( const Point &rPoint )
else
aRect = GetShell()->GetLayout()->Frm();
- aRect.Top( aRect.Top() - WIEDUWILLST );
+ aRect.Top( aRect.Top() - WIEDUWILLST );
aRect.Bottom( aRect.Bottom() + WIEDUWILLST );
- aRect.Left( aRect.Left() - WIEDUWILLST );
+ aRect.Left( aRect.Left() - WIEDUWILLST );
aRect.Right( aRect.Right() + WIEDUWILLST );
return aRect.IsInside( rPoint );
}
@@ -227,9 +227,9 @@ void SwViewImp::NotifySizeChg( const Size &rNewSz )
{
const SwContact *pCont = (SwContact*)GetUserCall(pObj);
//JP - 16.3.00 Bug 73920: this function might be called by the
- // InsertDocument, when a PageDesc-Attribute is
- // set on a node. Then the SdrObject must not have
- // an UserCall.
+ // InsertDocument, when a PageDesc-Attribute is
+ // set on a node. Then the SdrObject must not have
+ // an UserCall.
if( !pCont || !pCont->ISA(SwDrawContact) )
continue;
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index 9dd089c1df4d..614e9adbdd9f 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -353,7 +353,7 @@ void SwViewImp::InvalidateAccessibleCursorPosition( const SwFrm *pFrm )
}
void SwViewImp::InvalidateAccessibleEditableState( sal_Bool bAllShells,
- const SwFrm *pFrm )
+ const SwFrm *pFrm )
{
if( bAllShells )
{
diff --git a/sw/source/core/view/viewpg.cxx b/sw/source/core/view/viewpg.cxx
index 2656b9bd84c2..5b7e034885f2 100644
--- a/sw/source/core/view/viewpg.cxx
+++ b/sw/source/core/view/viewpg.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER 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 @@
#include <hints.hxx>
#include <fntcache.hxx>
-#include <statstr.hrc> // Text fuer SfxProgress
+#include <statstr.hrc> // Text fuer SfxProgress
#include <comcore.hrc>
#include <IDocumentFieldsAccess.hxx>
@@ -85,7 +85,7 @@ void ViewShell::AdjustOptionsForPagePreview( const SwPrtOptions &_rPrintOptions
//#i14016# - consider empty pages on calculation of the scaling for a page to be printed.
-void ViewShell::PrintProspect(
+void ViewShell::PrintProspect(
OutputDevice *pOutDev,
const SwPrintData &rPrintData,
sal_Int32 nRenderer // the index in the vector of prospect pages to be printed
@@ -103,7 +103,7 @@ void ViewShell::PrintProspect(
// output device is now provided by a call from outside the Writer)
pPrinter->Push();
- std::pair< sal_Int32, sal_Int32 > rPagesToPrint =
+ std::pair< sal_Int32, sal_Int32 > rPagesToPrint =
rPrintData.GetRenderData().GetPagePairsForProspectPrinting()[ nRenderer ];
#if OSL_DEBUG_LEVEL > 1
DBG_ASSERT( rPagesToPrint.first == -1 || rPrintData.GetRenderData().GetValidPagesSet().count( rPagesToPrint.first ) == 1, "first Page not valid" );
@@ -112,7 +112,7 @@ void ViewShell::PrintProspect(
// create a new shell for the Printer
ViewShell aShell( *this, 0, pPrinter );
-
+
SET_CURR_SHELL( &aShell );
aShell.PrepareForPrint( rPrintData );
@@ -212,7 +212,7 @@ void ViewShell::PrintProspect(
Size aTmpPrtSize( pPrinter->PixelToLogic( pPrinter->GetPaperSizePixel(), aMapMode ) );
// calculate start point for equal border on all sides
- Point aSttPt( (aTmpPrtSize.Width() - nMaxColSz) / 2,
+ Point aSttPt( (aTmpPrtSize.Width() - nMaxColSz) / 2,
(aTmpPrtSize.Height() - nMaxRowSz) / 2 );
for( int nC = 0; nC < 2; ++nC )
{
@@ -236,7 +236,7 @@ void ViewShell::PrintProspect(
SwPaintQueue::Repaint();
//!! applying/modifying view options and formatting the dcoument should now only be done in getRendererCount!
-
+
pFntCache->Flush();
// restore settings of OutputDevice (should be done always now since the
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 9bd24ca56b25..ae5a86e2a8cd 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -614,7 +614,7 @@ void ViewShell::LayoutIdle()
ViewShell *pSh = this;
do
- { if ( !pSh->GetWin() )
+ { if ( !pSh->GetWin() )
return;
pSh = (ViewShell*)pSh->GetNext();
@@ -904,7 +904,7 @@ void ViewShell::SetFirstVisPageInvalid()
{
ViewShell *pSh = this;
do
- { pSh->Imp()->SetFirstVisPageInvalid();
+ { pSh->Imp()->SetFirstVisPageInvalid();
pSh = (ViewShell*)pSh->GetNext();
} while ( pSh != this );
@@ -1600,12 +1600,12 @@ BOOL ViewShell::CheckInvalidForPaint( const SwRect &rRect )
{
SwRegionRects aRegion( rRect );
for ( USHORT i = 0; i < pRegion->Count(); ++i )
- { const SwRect &rTmp = (*pRegion)[i];
+ { const SwRect &rTmp = (*pRegion)[i];
if ( !rRect.IsInside( rTmp ) )
{
InvalidateWindows( rTmp );
if ( rTmp.IsOver( VisArea() ) )
- { aRegion -= rTmp;
+ { aRegion -= rTmp;
bRet = TRUE;
}
}
@@ -1823,7 +1823,7 @@ void ViewShell::CheckBrowseView( BOOL bBrowseChgd )
SwPageFrm *pPg = (SwPageFrm*)GetLayout()->Lower();
do
- { pPg->InvalidateSize();
+ { pPg->InvalidateSize();
pPg->_InvalidatePrt();
pPg->InvaPercentLowers();
if ( bBrowseChgd )
@@ -1902,7 +1902,7 @@ void ViewShell::ApplyViewOptions( const SwViewOption &rOpt )
ViewShell *pSh = this;
do
- { pSh->StartAction();
+ { pSh->StartAction();
pSh = (ViewShell*)pSh->GetNext();
} while ( pSh != this );
@@ -1927,7 +1927,7 @@ void ViewShell::ApplyViewOptions( const SwViewOption &rOpt )
pSh = this;
do
- { pSh->EndAction();
+ { pSh->EndAction();
pSh = (ViewShell*)pSh->GetNext();
} while ( pSh != this );
@@ -1947,7 +1947,7 @@ void ViewShell::ImplApplyViewOptions( const SwViewOption &rOpt )
SET_CURR_SHELL( this );
- BOOL bReformat = FALSE;
+ BOOL bReformat = FALSE;
if( pOpt->IsShowHiddenField() != rOpt.IsShowHiddenField() )
{
@@ -2052,7 +2052,7 @@ void ViewShell::ImplApplyViewOptions( const SwViewOption &rOpt )
ViewShell *pSh = (ViewShell*)this->GetNext();
BOOL bOnlineSpl = rOpt.IsOnlineSpell();
while( pSh != this )
- { pSh->pOpt->SetOnlineSpell( bOnlineSpl );
+ { pSh->pOpt->SetOnlineSpell( bOnlineSpl );
Window *pTmpWin = pSh->GetWin();
if( pTmpWin )
pTmpWin->Invalidate();
@@ -2140,7 +2140,7 @@ void ViewShell::SetRestoreActions(USHORT nSet)
DBG_ASSERT(!GetRestoreActions()||!nSet, "mehrfaches Restore der Actions ?");
Imp()->SetRestoreActions(nSet);
}
-USHORT ViewShell::GetRestoreActions() const
+USHORT ViewShell::GetRestoreActions() const
{
return Imp()->GetRestoreActions();
}
diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx
index c0aaf60485e4..6540aa182020 100644
--- a/sw/source/core/view/vnew.cxx
+++ b/sw/source/core/view/vnew.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -295,7 +295,7 @@ ViewShell::~ViewShell()
}
delete pImp;
- pImp = 0; // Set to zero, because ~SwFrm relies on it.
+ pImp = 0; // Set to zero, because ~SwFrm relies on it.
if ( pDoc )
{
diff --git a/sw/source/core/view/vprint.cxx b/sw/source/core/view/vprint.cxx
index dcd8ac49feab..a1dcb9ee3426 100644
--- a/sw/source/core/view/vprint.cxx
+++ b/sw/source/core/view/vprint.cxx
@@ -1,8 +1,8 @@
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/**************************************************************************
+/**************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -81,7 +81,7 @@
#include <tabfrm.hxx>
#include <txtfrm.hxx> // MinPrtLine
#include <viscrs.hxx> // SwShellCrsr
-#include <fmtpdsc.hxx> // SwFmtPageDesc
+#include <fmtpdsc.hxx> // SwFmtPageDesc
#include <globals.hrc>
@@ -91,8 +91,8 @@ class SwQueuedPaint
{
public:
SwQueuedPaint *pNext;
- ViewShell *pSh;
- SwRect aRect;
+ ViewShell *pSh;
+ SwRect aRect;
SwQueuedPaint( ViewShell *pNew, const SwRect &rRect ) :
pNext( 0 ),
@@ -143,7 +143,7 @@ void SwPaintQueue::Repaint()
{
SwQueuedPaint *pPt = pQueue;
do
- { ViewShell *pSh = pPt->pSh;
+ { ViewShell *pSh = pPt->pSh;
SET_CURR_SHELL( pSh );
if ( pSh->IsPreView() )
{
@@ -161,7 +161,7 @@ void SwPaintQueue::Repaint()
} while ( pPt );
do
- { pPt = pQueue;
+ { pPt = pQueue;
pQueue = pQueue->pNext;
delete pPt;
} while ( pQueue );
@@ -371,7 +371,7 @@ SwDoc * ViewShell::CreatePrtDoc( SfxObjectShellRef &rDocShellRef)
if( pFESh->IsTableMode() )
{
SwShellTableCrsr* pShellTblCrsr = pFESh->GetTableCrsr();
-
+
const SwCntntNode* pCntntNode = pShellTblCrsr->GetNode()->GetCntntNode();
const SwCntntFrm *pCntntFrm = pCntntNode ? pCntntNode->GetFrm( 0, pShellTblCrsr->Start() ) : 0;
if( pCntntFrm )
@@ -466,7 +466,7 @@ SwDoc * ViewShell::FillPrtDoc( SwDoc *pPrtDoc, const SfxPrinter* pPrt)
if( pFESh->IsTableMode() )
{
SwShellTableCrsr* pShellTblCrsr = pFESh->GetTableCrsr();
-
+
const SwCntntNode* pCntntNode = pShellTblCrsr->GetNode()->GetCntntNode();
const SwCntntFrm *pCntntFrm = pCntntNode ? pCntntNode->GetFrm( 0, pShellTblCrsr->Start() ) : 0;
if( pCntntFrm )
@@ -532,7 +532,7 @@ SwDoc * ViewShell::FillPrtDoc( SwDoc *pPrtDoc, const SfxPrinter* pPrt)
}
-sal_Bool ViewShell::PrintOrPDFExport(
+sal_Bool ViewShell::PrintOrPDFExport(
OutputDevice *pOutDev,
const SwPrtOptions &rPrintData,
sal_Int32 nRenderer /* the index in the vector of pages to be printed */ )
@@ -578,7 +578,7 @@ sal_Bool ViewShell::PrintOrPDFExport(
pOutDevDoc = GetDoc();
pShell = new ViewShell( *this, 0, pOutDev );
}
-
+
SdrView *pDrawView = pShell->GetDrawView();
if (pDrawView)
{
@@ -640,9 +640,9 @@ sal_Bool ViewShell::PrintOrPDFExport(
pViewSh2 = nPage == 0 ? /* post-it page? */
rPrintData.GetRenderData().m_pPostItShell : pShell;
::SetSwVisArea( pViewSh2, pStPage->Frm() );
-
+
pStPage->GetUpper()->Paint( pStPage->Frm(), &rPrintData );
-
+
SwPaintQueue::Repaint();
}
@@ -744,8 +744,8 @@ SwDrawViewSave::~SwDrawViewSave()
void ViewShell::PrepareForPrint( const SwPrintData &rOptions )
{
pOpt->SetGraphic ( TRUE == rOptions.bPrintGraphic );
- pOpt->SetTable ( TRUE == rOptions.bPrintTable );
- pOpt->SetDraw ( TRUE == rOptions.bPrintDraw );
+ pOpt->SetTable ( TRUE == rOptions.bPrintTable );
+ pOpt->SetDraw ( TRUE == rOptions.bPrintDraw );
pOpt->SetControl ( TRUE == rOptions.bPrintControl );
pOpt->SetPageBack( TRUE == rOptions.bPrintPageBackground );
pOpt->SetBlackFont( TRUE == rOptions.bPrintBlackFont );