diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-09 22:49:23 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2011-03-09 22:49:23 -0600 |
commit | f673d89a6a4f6b2d3d519ab17a57b299cb6be1ad (patch) | |
tree | dc8127da17e362197b1b19df7b6957ce554fb0fd /oox/source/drawingml/chart | |
parent | 50bc1bc97b170c38648fab979ccb812a3c458cab (diff) | |
parent | 818573bfbce420afedffd45d7bb080f25da32625 (diff) |
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
* commit 'ooo/DEV300_m101': (252 commits)
masterfix DEV300: #i10000# usage of L10N build_type
ab80: Adding changes of cws mib21, ab77, ab77run2, dr77i to dev300
DEV300 masterfix: #i116747#: remove pre-OSX Mac resoure fork definition files (*.r)
hr75: #i116747#: remove obsolete copyright notices
hr75: #i116747#: remove pre-OSX Mac resoure fork definition files (*.r)
#i10000# WAE: cast to right type
gnumake3: remove comphelper version; fix including extract.hxx
chart52: #i28670# import/export of manual chart legend size from/to XLS
chart52: #i28670# import of manual chart legend size from OOXML
chart52: adapt to changed API
removetooltypes: adjust rebase for linux
removetooltypes01: #i112600# adjust rebase for windows
removetooltypes01: #i112600# Fix build problems on non-pro
CWS gnumake3: -D_DLL is needed on Windows; removed superficial _DLL_ usage all over the place
added some accessible names and releations in PDFImport dialog and XML Settings dialog
masterfix: #i10000# header file removed
XPathLogger.cxx: added include for <stdio.h>
masterfix: #i10000#: WAE fix
removetooltypes01: #i112600# Remove tool types from binfilter, starmath, svx, toolkit and xmloff
removetooltypes01: #i112600# remove tooltypes from writerfilter
...
Conflicts:
binfilter/bf_basic/source/classes/sbunoobj.cxx
binfilter/bf_basic/source/inc/buffer.hxx
binfilter/bf_basic/source/inc/filefmt.hxx
binfilter/bf_basic/source/runtime/basrdll.cxx
binfilter/bf_basic/source/sbx/sbxdec.hxx
binfilter/bf_basic/source/sbx/sbxres.hxx
binfilter/bf_forms/source/component/DatabaseForm.hxx
binfilter/bf_forms/source/component/forms_CheckBox.cxx
binfilter/bf_forms/source/component/forms_ComboBox.cxx
binfilter/bf_forms/source/component/forms_Currency.cxx
binfilter/bf_forms/source/component/forms_Date.cxx
binfilter/bf_forms/source/component/forms_Edit.cxx
binfilter/bf_forms/source/component/forms_File.cxx
binfilter/bf_forms/source/component/forms_Filter.cxx
binfilter/bf_forms/source/component/forms_FormComponent.cxx
binfilter/bf_forms/source/component/forms_FormattedField.cxx
binfilter/bf_forms/source/component/forms_GroupManager.cxx
binfilter/bf_forms/source/component/forms_Hidden.cxx
binfilter/bf_forms/source/component/forms_ImageControl.cxx
binfilter/bf_forms/source/component/forms_ListBox.cxx
binfilter/bf_forms/source/component/forms_Numeric.cxx
binfilter/bf_forms/source/component/forms_Pattern.cxx
binfilter/bf_forms/source/component/forms_RadioButton.cxx
binfilter/bf_forms/source/component/forms_Time.cxx
binfilter/bf_forms/source/misc/forms_formsmodule.cxx
binfilter/bf_forms/source/misc/forms_services.cxx
binfilter/bf_forms/source/resource/forms_frm_resource.cxx
binfilter/bf_sc/source/core/inc/ansitab.hxx
binfilter/bf_sc/source/core/tool/sc_compiler.cxx
binfilter/bf_sc/source/ui/docshell/sc_docsh.cxx
binfilter/bf_sc/source/ui/inc/dbdocfun.hxx
binfilter/bf_sc/source/ui/inc/drawutil.hxx
binfilter/bf_sc/source/ui/inc/dwfunctr.hxx
binfilter/bf_sc/source/ui/inc/editable.hxx
binfilter/bf_sc/source/ui/inc/gridmerg.hxx
binfilter/bf_sc/source/ui/inc/imoptdlg.hxx
binfilter/bf_sc/source/ui/inc/namecrea.hxx
binfilter/bf_sc/source/ui/inc/navsett.hxx
binfilter/bf_sc/source/ui/inc/refundo.hxx
binfilter/bf_sc/source/ui/inc/undoolk.hxx
binfilter/bf_sc/source/ui/inc/viewutil.hxx
binfilter/bf_sc/source/ui/unoobj/sc_appluno.cxx
binfilter/bf_sch/source/ui/app/sch_menu.src
binfilter/bf_sch/source/ui/inc/globopt.hxx
binfilter/bf_sch/source/ui/inc/guiutil.hxx
binfilter/bf_sch/source/ui/unoidl/sch_register.cxx
binfilter/bf_sd/source/filter/bin/sd_sdbinfilter.cxx
binfilter/bf_sd/source/filter/propread.hxx
binfilter/bf_sd/source/filter/xml/sd_sdxmlwrp.cxx
binfilter/bf_sd/source/ui/inc/unokywds.hxx
binfilter/bf_sd/source/ui/unoidl/sd_facreg.cxx
binfilter/bf_sfx2/source/appl/sfx2_appmain.cxx
binfilter/bf_sfx2/source/appl/sfx2_appuno.cxx
binfilter/bf_sfx2/source/doc/sfx2_objserv.cxx
binfilter/bf_sfx2/source/inc/fltoptint.hxx
binfilter/bf_sfx2/source/inc/sfxtypes.hxx
binfilter/bf_so3/inc/binddata.hxx
binfilter/bf_so3/source/inplace/client.cxx
binfilter/bf_so3/source/ole/socont.h
binfilter/bf_so3/source/persist/binddata.cxx
binfilter/bf_so3/source/persist/transbnd.cxx
binfilter/bf_so3/source/persist/transprt.cxx
binfilter/bf_starmath/source/starmath_register.cxx
binfilter/bf_svtools/source/config/svt_menuoptions.cxx
binfilter/bf_svtools/source/config/svt_saveopt.cxx
binfilter/bf_svtools/source/config/svt_searchopt.cxx
binfilter/bf_svtools/source/filter.vcl/igif/decode.hxx
binfilter/bf_svtools/source/items1/svt_cenumitm.cxx
binfilter/bf_svtools/source/items1/svt_poolio.cxx
binfilter/bf_svtools/source/misc/svt_ehdl.cxx
binfilter/bf_svtools/source/misc1/svt_adrparse.cxx
binfilter/bf_svtools/source/misc1/svt_inethist.cxx
binfilter/bf_svtools/source/numbers/numfmuno.hxx
binfilter/bf_svtools/source/numbers/numhead.hxx
binfilter/bf_svtools/source/numbers/svt_numfmuno.cxx
binfilter/bf_svtools/source/numbers/svt_numuno.cxx
binfilter/bf_svtools/source/numbers/zforscan.hxx
binfilter/bf_svtools/source/svdde/ddeimp.hxx
binfilter/bf_svtools/source/uno/svt_registerservices.cxx
binfilter/bf_svx/source/editeng/svx_editattr.cxx
binfilter/bf_svx/source/inc/dbtoolsclient.hxx
binfilter/bf_svx/source/items/svx_paperinf.cxx
binfilter/bf_svx/source/outliner/paralist.hxx
binfilter/bf_svx/source/svdraw/svdtxhdl.hxx
binfilter/bf_svx/source/svdraw/svx_svdattr.cxx
binfilter/bf_svx/source/unodraw/svx_unoctabl.cxx
binfilter/bf_svx/source/unodraw/svx_unoprov.cxx
binfilter/bf_svx/source/xoutdev/svx_xfontmac.cxx
binfilter/bf_sw/source/core/bastyp/sw_index.cxx
binfilter/bf_sw/source/core/except/sw_errhdl.cxx
binfilter/bf_sw/source/core/inc/docfld.hxx
binfilter/bf_sw/source/core/inc/flowfrm.hxx
binfilter/bf_sw/source/core/inc/frame.hxx
binfilter/bf_sw/source/core/inc/hffrm.hxx
binfilter/bf_sw/source/core/inc/notxtfrm.hxx
binfilter/bf_sw/source/core/inc/pamtyp.hxx
binfilter/bf_sw/source/core/inc/rowfrm.hxx
binfilter/bf_sw/source/core/inc/sectfrm.hxx
binfilter/bf_sw/source/core/inc/splargs.hxx
binfilter/bf_sw/source/core/inc/splcstk.hxx
binfilter/bf_sw/source/core/inc/swblocks.hxx
binfilter/bf_sw/source/core/inc/tabfrm.hxx
binfilter/bf_sw/source/core/inc/toxhlp.hxx
binfilter/bf_sw/source/core/inc/txmsrt.hxx
binfilter/bf_sw/source/core/inc/txtfrm.hxx
binfilter/bf_sw/source/core/layout/virtoutp.hxx
binfilter/bf_sw/source/core/sw3io/crypter.hxx
binfilter/bf_sw/source/core/sw3io/sw3imp.hxx
binfilter/bf_sw/source/core/sw3io/sw3marks.hxx
binfilter/bf_sw/source/core/sw3io/sw_sw3imp.cxx
binfilter/bf_sw/source/core/sw3io/sw_sw3io.cxx
binfilter/bf_sw/source/core/swg/rdswg.hxx
binfilter/bf_sw/source/core/swg/swgids.hxx
binfilter/bf_sw/source/core/text/guess.hxx
binfilter/bf_sw/source/core/text/itratr.hxx
binfilter/bf_sw/source/core/unocore/sw_unoobj.cxx
binfilter/bf_sw/source/core/unocore/sw_unoobj2.cxx
binfilter/bf_sw/source/filter/basflt/sw_fltini.cxx
binfilter/bf_sw/source/filter/excel/excfntbf.hxx
binfilter/bf_sw/source/filter/excel/excvfbff.hxx
binfilter/bf_sw/source/filter/excel/excxfbuf.hxx
binfilter/bf_sw/source/filter/inc/fltglbls.hxx
binfilter/bf_sw/source/filter/inc/fltini.hxx
binfilter/bf_sw/source/filter/inc/w4wflt.hxx
binfilter/bf_sw/source/filter/inc/w4wpar.hxx
binfilter/bf_sw/source/filter/inc/w4wstk.hxx
binfilter/bf_sw/source/filter/inc/wrt_fn.hxx
binfilter/bf_sw/source/filter/inc/wrtswtbl.hxx
binfilter/bf_sw/source/filter/w4w/w4wgraf.hxx
binfilter/bf_sw/source/filter/w4w/wrtw4w.hxx
binfilter/bf_sw/source/filter/xml/sw_swxml.cxx
binfilter/bf_sw/source/filter/xml/sw_xmliteme.cxx
binfilter/bf_sw/source/filter/xml/xmlexpit.hxx
binfilter/bf_sw/source/filter/xml/xmlimpit.hxx
binfilter/bf_sw/source/filter/xml/xmlitem.hxx
binfilter/bf_sw/source/filter/xml/xmltbli.hxx
binfilter/bf_sw/source/ui/app/sw_docsh.cxx
binfilter/bf_sw/source/ui/app/sw_docshini.cxx
binfilter/bf_sw/source/ui/dbui/sw_dbmgr.cxx
binfilter/bf_sw/source/ui/inc/bmpwin.hxx
binfilter/bf_sw/source/ui/inc/caption.hxx
binfilter/bf_sw/source/ui/inc/docinf.hxx
binfilter/bf_sw/source/ui/inc/fontcfg.hxx
binfilter/bf_sw/source/ui/inc/formedt.hxx
binfilter/bf_sw/source/ui/inc/hdftctrl.hxx
binfilter/bf_sw/source/ui/inc/idxmrk.hxx
binfilter/bf_sw/source/ui/inc/initui.hxx
binfilter/bf_sw/source/ui/inc/modcfg.hxx
binfilter/bf_sw/source/ui/inc/pview.hxx
binfilter/bf_sw/source/ui/inc/scroll.hxx
binfilter/bf_sw/source/ui/inc/swcont.hxx
binfilter/bf_sw/source/ui/inc/uitool.hxx
binfilter/bf_sw/source/ui/inc/unotxvw.hxx
binfilter/bf_sw/source/ui/inc/usrpref.hxx
binfilter/bf_sw/source/ui/inc/workctrl.hxx
binfilter/bf_sw/source/ui/inc/wrtsh.hxx
binfilter/bf_sw/source/ui/uno/sw_unofreg.cxx
binfilter/bf_xmloff/source/core/xmloff_facreg.cxx
binfilter/bf_xmloff/source/core/xmloff_xmluconv.cxx
binfilter/bf_xmloff/source/forms/xmloff_elementexport.cxx
binfilter/bf_xmloff/source/forms/xmloff_formenums.cxx
binfilter/bf_xmloff/source/forms/xmloff_layerimport.cxx
binfilter/bf_xmloff/source/style/xmloff_EnumPropertyHdl.cxx
binfilter/bf_xmloff/source/style/xmloff_adjushdl.cxx
binfilter/bf_xmloff/source/style/xmloff_weighhdl.cxx
binfilter/bf_xmloff/source/text/xmloff_txtimp.cxx
binfilter/binfilterdetect/source/bindetect.cxx
binfilter/filter/source/bf_migrate/bf_migrateexports.cxx
binfilter/filter/source/bf_migrate/bf_migratefilter.cxx
binfilter/filter/source/bf_migrate/bf_migratefilter.hxx
binfilter/filter/source/bf_offwrp/bf_wrapper.cxx
binfilter/inc/bf_basic/basmgr.hxx
binfilter/inc/bf_basic/sbmeth.hxx
binfilter/inc/bf_basic/sbstar.hxx
binfilter/inc/bf_basic/sbx.hxx
binfilter/inc/bf_basic/sbxcore.hxx
binfilter/inc/bf_basic/sbxdef.hxx
binfilter/inc/bf_basic/sbxfac.hxx
binfilter/inc/bf_basic/sbxobj.hxx
binfilter/inc/bf_basic/sbxvar.hxx
binfilter/inc/bf_goodies/b3dcolor.hxx
binfilter/inc/bf_goodies/b3dcompo.hxx
binfilter/inc/bf_goodies/b3dentty.hxx
binfilter/inc/bf_goodies/b3dgeom.hxx
binfilter/inc/bf_goodies/b3dlight.hxx
binfilter/inc/bf_goodies/b3dtex.hxx
binfilter/inc/bf_goodies/b3dtrans.hxx
binfilter/inc/bf_goodies/b3dvolum.hxx
binfilter/inc/bf_goodies/base3d.hxx
binfilter/inc/bf_goodies/bucket.hxx
binfilter/inc/bf_goodies/hmatrix.hxx
binfilter/inc/bf_goodies/matril3d.hxx
binfilter/inc/bf_goodies/matrix3d.hxx
binfilter/inc/bf_goodies/point3d.hxx
binfilter/inc/bf_goodies/point4d.hxx
binfilter/inc/bf_goodies/vector3d.hxx
binfilter/inc/bf_sc/arealink.hxx
binfilter/inc/bf_sc/bclist.hxx
binfilter/inc/bf_sc/callform.hxx
binfilter/inc/bf_sc/cellform.hxx
binfilter/inc/bf_sc/chartuno.hxx
binfilter/inc/bf_sc/chgviset.hxx
binfilter/inc/bf_sc/collect.hxx
binfilter/inc/bf_sc/column.hxx
binfilter/inc/bf_sc/conditio.hxx
binfilter/inc/bf_sc/consoli.hxx
binfilter/inc/bf_sc/dbcolect.hxx
binfilter/inc/bf_sc/dbdocutl.hxx
binfilter/inc/bf_sc/dbtoken.hxx
binfilter/inc/bf_sc/detdata.hxx
binfilter/inc/bf_sc/detfunc.hxx
binfilter/inc/bf_sc/dociter.hxx
binfilter/inc/bf_sc/docpool.hxx
binfilter/inc/bf_sc/docuno.hxx
binfilter/inc/bf_sc/dpobject.hxx
binfilter/inc/bf_sc/dpoutput.hxx
binfilter/inc/bf_sc/dpsave.hxx
binfilter/inc/bf_sc/dpshttab.hxx
binfilter/inc/bf_sc/dptabdat.hxx
binfilter/inc/bf_sc/dptabres.hxx
binfilter/inc/bf_sc/drawpage.hxx
binfilter/inc/bf_sc/drwlayer.hxx
binfilter/inc/bf_sc/editsrc.hxx
binfilter/inc/bf_sc/fielduno.hxx
binfilter/inc/bf_sc/filter.hxx
binfilter/inc/bf_sc/fmtuno.hxx
binfilter/inc/bf_sc/funcuno.hxx
binfilter/inc/bf_sc/global.hxx
binfilter/inc/bf_sc/hints.hxx
binfilter/inc/bf_sc/indexmap.hxx
binfilter/inc/bf_sc/inputopt.hxx
binfilter/inc/bf_sc/markarr.hxx
binfilter/inc/bf_sc/markdata.hxx
binfilter/inc/bf_sc/navicfg.hxx
binfilter/inc/bf_sc/optutil.hxx
binfilter/inc/bf_sc/pagepar.hxx
binfilter/inc/bf_sc/printopt.hxx
binfilter/inc/bf_sc/prnsave.hxx
binfilter/inc/bf_sc/progress.hxx
binfilter/inc/bf_sc/rangelst.hxx
binfilter/inc/bf_sc/rangenam.hxx
binfilter/inc/bf_sc/rangeseq.hxx
binfilter/inc/bf_sc/rangeutl.hxx
binfilter/inc/bf_sc/rechead.hxx
binfilter/inc/bf_sc/refdata.hxx
binfilter/inc/bf_sc/refreshtimer.hxx
binfilter/inc/bf_sc/scmod.hxx
binfilter/inc/bf_sc/shapeuno.hxx
binfilter/inc/bf_sc/sortparam.hxx
binfilter/inc/bf_sc/stlsheet.hxx
binfilter/inc/bf_sc/subtotal.hxx
binfilter/inc/bf_sc/table.hxx
binfilter/inc/bf_sc/tablink.hxx
binfilter/inc/bf_sc/tabopparams.hxx
binfilter/inc/bf_sc/textuno.hxx
binfilter/inc/bf_sc/unoguard.hxx
binfilter/inc/bf_sc/unowids.hxx
binfilter/inc/bf_sc/userdat.hxx
binfilter/inc/bf_sc/validat.hxx
binfilter/inc/bf_sc/viewopti.hxx
binfilter/inc/bf_sch/calculat.hxx
binfilter/inc/bf_sch/charttyp.hxx
binfilter/inc/bf_sch/chaxis.hxx
binfilter/inc/bf_sch/chdescr.hxx
binfilter/inc/bf_sch/docshell.hxx
binfilter/inc/bf_sch/glob.hxx
binfilter/inc/bf_sch/globfunc.hxx
binfilter/inc/bf_sch/memchrt.hxx
binfilter/inc/bf_sch/objfac.hxx
binfilter/inc/bf_sch/schgroup.hxx
binfilter/inc/bf_sch/stlsheet.hxx
binfilter/inc/bf_sd/anminfo.hxx
binfilter/inc/bf_sd/docshell.hxx
binfilter/inc/bf_sd/drawdoc.hxx
binfilter/inc/bf_sd/grdocsh.hxx
binfilter/inc/bf_sd/sdattr.hxx
binfilter/inc/bf_sfx2/app.hxx
binfilter/inc/bf_sfx2/bitset.hxx
binfilter/inc/bf_sfx2/docfac.hxx
binfilter/inc/bf_sfx2/docfile.hxx
binfilter/inc/bf_sfx2/docfilt.hxx
binfilter/inc/bf_sfx2/docinf.hxx
binfilter/inc/bf_sfx2/doctempl.hxx
binfilter/inc/bf_sfx2/event.hxx
binfilter/inc/bf_sfx2/fcontnr.hxx
binfilter/inc/bf_sfx2/frameobj.hxx
binfilter/inc/bf_sfx2/genlink.hxx
binfilter/inc/bf_sfx2/interno.hxx
binfilter/inc/bf_sfx2/minarray.hxx
binfilter/inc/bf_sfx2/minstack.hxx
binfilter/inc/bf_sfx2/misccfg.hxx
binfilter/inc/bf_sfx2/plugobj.hxx
binfilter/inc/bf_sfx2/printer.hxx
binfilter/inc/bf_sfx2/saveopt.hxx
binfilter/inc/bf_sfx2/sfxuno.hxx
binfilter/inc/bf_sfx2/timestamp.hxx
binfilter/inc/bf_so3/binding.hxx
binfilter/inc/bf_so3/factory.hxx
binfilter/inc/bf_so3/ipenv.hxx
binfilter/inc/bf_so3/ipwin.hxx
binfilter/inc/bf_so3/linkmgr.hxx
binfilter/inc/bf_so3/linksrc.hxx
binfilter/inc/bf_so3/lnkbase.hxx
binfilter/inc/bf_so3/outplace.hxx
binfilter/inc/bf_so3/persist.hxx
binfilter/inc/bf_so3/protocol.hxx
binfilter/inc/bf_so3/pseudo.hxx
binfilter/inc/bf_so3/so2dll.hxx
binfilter/inc/bf_so3/svstor.hxx
binfilter/inc/bf_so3/transbnd.hxx
binfilter/inc/bf_so3/transprt.hxx
binfilter/inc/bf_starmath/symbol.hxx
binfilter/inc/bf_starmath/unomodel.hxx
binfilter/inc/bf_starmath/utility.hxx
binfilter/inc/bf_starmath/xchar.hxx
binfilter/inc/bf_svtools/DocumentInfoPreview.hxx
binfilter/inc/bf_svtools/aeitem.hxx
binfilter/inc/bf_svtools/apearcfg.hxx
binfilter/inc/bf_svtools/bf_prewin.h
binfilter/inc/bf_svtools/bintitem.hxx
binfilter/inc/bf_svtools/brdcst.hxx
binfilter/inc/bf_svtools/broadcast.hxx
binfilter/inc/bf_svtools/cancel.hxx
binfilter/inc/bf_svtools/cenumitm.hxx
binfilter/inc/bf_svtools/cintitem.hxx
binfilter/inc/bf_svtools/cntnrsrt.hxx
binfilter/inc/bf_svtools/cntwall.hxx
binfilter/inc/bf_svtools/cstitem.hxx
binfilter/inc/bf_svtools/ctypeitm.hxx
binfilter/inc/bf_svtools/custritm.hxx
binfilter/inc/bf_svtools/dateitem.hxx
binfilter/inc/bf_svtools/defaultoptions.hxx
binfilter/inc/bf_svtools/dtritem.hxx
binfilter/inc/bf_svtools/eitem.hxx
binfilter/inc/bf_svtools/expander.hxx
binfilter/inc/bf_svtools/filerec.hxx
binfilter/inc/bf_svtools/filter.hxx
binfilter/inc/bf_svtools/flagitem.hxx
binfilter/inc/bf_svtools/flbytes.hxx
binfilter/inc/bf_svtools/fltcall.hxx
binfilter/inc/bf_svtools/fltdefs.hxx
binfilter/inc/bf_svtools/frqitem.hxx
binfilter/inc/bf_svtools/fstathelper.hxx
binfilter/inc/bf_svtools/gifread.hxx
binfilter/inc/bf_svtools/globalnameitem.hxx
binfilter/inc/bf_svtools/hint.hxx
binfilter/inc/bf_svtools/htmlout.hxx
binfilter/inc/bf_svtools/httpcook.hxx
binfilter/inc/bf_svtools/imap.hxx
binfilter/inc/bf_svtools/imapcirc.hxx
binfilter/inc/bf_svtools/imapobj.hxx
binfilter/inc/bf_svtools/imappoly.hxx
binfilter/inc/bf_svtools/imaprect.hxx
binfilter/inc/bf_svtools/inethist.hxx
binfilter/inc/bf_svtools/inidef.hxx
binfilter/inc/bf_svtools/intitem.hxx
binfilter/inc/bf_svtools/itemiter.hxx
binfilter/inc/bf_svtools/itempool.hxx
binfilter/inc/bf_svtools/itemset.hxx
binfilter/inc/bf_svtools/jpeg.hxx
binfilter/inc/bf_svtools/lckbitem.hxx
binfilter/inc/bf_svtools/lingucfg.hxx
binfilter/inc/bf_svtools/listener.hxx
binfilter/inc/bf_svtools/lngmisc.hxx
binfilter/inc/bf_svtools/loginerr.hxx
binfilter/inc/bf_svtools/lstner.hxx
binfilter/inc/bf_svtools/misccfg.hxx
binfilter/inc/bf_svtools/nfkeytab.hxx
binfilter/inc/bf_svtools/nranges.hxx
binfilter/inc/bf_svtools/pngread.hxx
binfilter/inc/bf_svtools/poolcach.hxx
binfilter/inc/bf_svtools/ptitem.hxx
binfilter/inc/bf_svtools/rectitem.hxx
binfilter/inc/bf_svtools/reqitem.hxx
binfilter/inc/bf_svtools/searchopt.hxx
binfilter/inc/bf_svtools/sectctr.hxx
binfilter/inc/bf_svtools/section.hxx
binfilter/inc/bf_svtools/sgfbram.hxx
binfilter/inc/bf_svtools/sgffilt.hxx
binfilter/inc/bf_svtools/slstitm.hxx
binfilter/inc/bf_svtools/style.hxx
binfilter/inc/bf_svtools/svarray.hxx
binfilter/inc/bf_svtools/svdde.hxx
binfilter/inc/bf_svtools/svicnvw.hxx
binfilter/inc/bf_svtools/svimpbox.hxx
binfilter/inc/bf_svtools/svimpicn.hxx
binfilter/inc/bf_svtools/syslocaleoptions.hxx
binfilter/inc/bf_svtools/szitem.hxx
binfilter/inc/bf_svtools/testtool.hxx
binfilter/inc/bf_svtools/tfrmitem.hxx
binfilter/inc/bf_svtools/tresitem.hxx
binfilter/inc/bf_svtools/ttprops.hxx
binfilter/inc/bf_svtools/undo.hxx
binfilter/inc/bf_svtools/whiter.hxx
binfilter/inc/bf_svtools/wmf.hxx
binfilter/inc/bf_svtools/xbmread.hxx
binfilter/inc/bf_svtools/xmlcnimp.hxx
binfilter/inc/bf_svtools/xpmread.hxx
binfilter/inc/bf_svtools/zforfind.hxx
binfilter/inc/bf_svtools/zforlist.hxx
binfilter/inc/bf_svtools/zformat.hxx
binfilter/inc/bf_svx/boxobj.hxx
binfilter/inc/bf_svx/camera3d.hxx
binfilter/inc/bf_svx/cube3d.hxx
binfilter/inc/bf_svx/def3d.hxx
binfilter/inc/bf_svx/deflt3d.hxx
binfilter/inc/bf_svx/dlight3d.hxx
binfilter/inc/bf_svx/editdata.hxx
binfilter/inc/bf_svx/editobj.hxx
binfilter/inc/bf_svx/editstat.hxx
binfilter/inc/bf_svx/editview.hxx
binfilter/inc/bf_svx/extrud3d.hxx
binfilter/inc/bf_svx/fmmodel.hxx
binfilter/inc/bf_svx/fmpage.hxx
binfilter/inc/bf_svx/forbiddencharacterstable.hxx
binfilter/inc/bf_svx/gallery.hxx
binfilter/inc/bf_svx/grfcrop.hxx
binfilter/inc/bf_svx/lathe3d.hxx
binfilter/inc/bf_svx/light3d.hxx
binfilter/inc/bf_svx/linkmgr.hxx
binfilter/inc/bf_svx/obj3d.hxx
binfilter/inc/bf_svx/outliner.hxx
binfilter/inc/bf_svx/outlobj.hxx
binfilter/inc/bf_svx/plight3d.hxx
binfilter/inc/bf_svx/pntobj3d.hxx
binfilter/inc/bf_svx/poly3d.hxx
binfilter/inc/bf_svx/polygn3d.hxx
binfilter/inc/bf_svx/polyob3d.hxx
binfilter/inc/bf_svx/polysc3d.hxx
binfilter/inc/bf_svx/scene3d.hxx
binfilter/inc/bf_svx/sdginitm.hxx
binfilter/inc/bf_svx/sdooitm.hxx
binfilter/inc/bf_svx/sdshitm.hxx
binfilter/inc/bf_svx/sdtagitm.hxx
binfilter/inc/bf_svx/sdtaiitm.hxx
binfilter/inc/bf_svx/sdtcfitm.hxx
binfilter/inc/bf_svx/sdynitm.hxx
binfilter/inc/bf_svx/sphere3d.hxx
binfilter/inc/bf_svx/svdattr.hxx
binfilter/inc/bf_svx/svddrag.hxx
binfilter/inc/bf_svx/svdetc.hxx
binfilter/inc/bf_svx/svdhdl.hxx
binfilter/inc/bf_svx/svdhlpln.hxx
binfilter/inc/bf_svx/svdio.hxx
binfilter/inc/bf_svx/svditer.hxx
binfilter/inc/bf_svx/svdlayer.hxx
binfilter/inc/bf_svx/svdmark.hxx
binfilter/inc/bf_svx/svdmodel.hxx
binfilter/inc/bf_svx/svdmrkv.hxx
binfilter/inc/bf_svx/svdoattr.hxx
binfilter/inc/bf_svx/svdocapt.hxx
binfilter/inc/bf_svx/svdocirc.hxx
binfilter/inc/bf_svx/svdoedge.hxx
binfilter/inc/bf_svx/svdograf.hxx
binfilter/inc/bf_svx/svdogrp.hxx
binfilter/inc/bf_svx/svdomeas.hxx
binfilter/inc/bf_svx/svdoole2.hxx
binfilter/inc/bf_svx/svdopage.hxx
binfilter/inc/bf_svx/svdopath.hxx
binfilter/inc/bf_svx/svdorect.hxx
binfilter/inc/bf_svx/svdosmbr.hxx
binfilter/inc/bf_svx/svdosmev.hxx
binfilter/inc/bf_svx/svdosmrt.hxx
binfilter/inc/bf_svx/svdotext.hxx
binfilter/inc/bf_svx/svdouno.hxx
binfilter/inc/bf_svx/svdovirt.hxx
binfilter/inc/bf_svx/svdpage.hxx
binfilter/inc/bf_svx/svdpagv.hxx
binfilter/inc/bf_svx/svdpntv.hxx
binfilter/inc/bf_svx/svdpool.hxx
binfilter/inc/bf_svx/svdsob.hxx
binfilter/inc/bf_svx/svdtouch.hxx
binfilter/inc/bf_svx/svdtypes.hxx
binfilter/inc/bf_svx/svdundo.hxx
binfilter/inc/bf_svx/svdviter.hxx
binfilter/inc/bf_svx/svdvmark.hxx
binfilter/inc/bf_svx/svimbase.hxx
binfilter/inc/bf_svx/svx3ditems.hxx
binfilter/inc/bf_svx/svxfont.hxx
binfilter/inc/bf_svx/swafopt.hxx
binfilter/inc/bf_svx/sxcaitm.hxx
binfilter/inc/bf_svx/sxcecitm.hxx
binfilter/inc/bf_svx/sxcllitm.hxx
binfilter/inc/bf_svx/sxmbritm.hxx
binfilter/inc/bf_svx/sxmspitm.hxx
binfilter/inc/bf_svx/sxmsuitm.hxx
binfilter/inc/bf_svx/sxmtaitm.hxx
binfilter/inc/bf_svx/sxmtfitm.hxx
binfilter/inc/bf_svx/sxmtritm.hxx
binfilter/inc/bf_svx/sxopitm.hxx
binfilter/inc/bf_svx/unoedsrc.hxx
binfilter/inc/bf_svx/unoforou.hxx
binfilter/inc/bf_svx/unolingu.hxx
binfilter/inc/bf_svx/unoshape.hxx
binfilter/inc/bf_svx/unotext.hxx
binfilter/inc/bf_svx/unoviwed.hxx
binfilter/inc/bf_svx/unoviwou.hxx
binfilter/inc/bf_svx/viewpt3d.hxx
binfilter/inc/bf_svx/volume3d.hxx
binfilter/inc/bf_svx/xbitmap.hxx
binfilter/inc/bf_svx/xflbckit.hxx
binfilter/inc/bf_svx/xflbmsli.hxx
binfilter/inc/bf_svx/xflbmtit.hxx
binfilter/inc/bf_svx/xflbstit.hxx
binfilter/inc/bf_svx/xflftrit.hxx
binfilter/inc/bf_svx/xflgrit.hxx
binfilter/inc/bf_svx/xflhtit.hxx
binfilter/inc/bf_svx/xftmrit.hxx
binfilter/inc/bf_svx/xit.hxx
binfilter/inc/bf_svx/xlndsit.hxx
binfilter/inc/bf_svx/xlnedcit.hxx
binfilter/inc/bf_svx/xlnstcit.hxx
binfilter/inc/bf_svx/xmlcnitm.hxx
binfilter/inc/bf_svx/xmlgrhlp.hxx
binfilter/inc/bf_svx/xoutbmp.hxx
binfilter/inc/bf_svx/xoutx.hxx
binfilter/inc/bf_svx/xpoly.hxx
binfilter/inc/bf_svx/xpolyimp.hxx
binfilter/inc/bf_svx/xpool.hxx
binfilter/inc/bf_svx/xtextit0.hxx
binfilter/inc/bf_svx/zoomitem.hxx
binfilter/inc/bf_sw/accessibilityoptions.hxx
binfilter/inc/bf_sw/authfld.hxx
binfilter/inc/bf_sw/authratr.hxx
binfilter/inc/bf_sw/bparr.hxx
binfilter/inc/bf_sw/breakit.hxx
binfilter/inc/bf_sw/calbck.hxx
binfilter/inc/bf_sw/cellatr.hxx
binfilter/inc/bf_sw/cellfml.hxx
binfilter/inc/bf_sw/charatr.hxx
binfilter/inc/bf_sw/crsrsh.hxx
binfilter/inc/bf_sw/crsskip.hxx
binfilter/inc/bf_sw/cshtyp.hxx
binfilter/inc/bf_sw/ddefld.hxx
binfilter/inc/bf_sw/docary.hxx
binfilter/inc/bf_sw/docfac.hxx
binfilter/inc/bf_sw/docsh.hxx
binfilter/inc/bf_sw/docstat.hxx
binfilter/inc/bf_sw/docufld.hxx
binfilter/inc/bf_sw/dpage.hxx
binfilter/inc/bf_sw/drawdoc.hxx
binfilter/inc/bf_sw/editsh.hxx
binfilter/inc/bf_sw/errhdl.hxx
binfilter/inc/bf_sw/expfld.hxx
binfilter/inc/bf_sw/fesh.hxx
binfilter/inc/bf_sw/fmtanchr.hxx
binfilter/inc/bf_sw/fmtclds.hxx
binfilter/inc/bf_sw/fmtcnct.hxx
binfilter/inc/bf_sw/fmtcntnt.hxx
binfilter/inc/bf_sw/fmtfordr.hxx
binfilter/inc/bf_sw/fmtfsize.hxx
binfilter/inc/bf_sw/fmtftntx.hxx
binfilter/inc/bf_sw/fmthdft.hxx
binfilter/inc/bf_sw/fmtline.hxx
binfilter/inc/bf_sw/fmtlsplt.hxx
binfilter/inc/bf_sw/fmtornt.hxx
binfilter/inc/bf_sw/fmtsrnd.hxx
binfilter/inc/bf_sw/format.hxx
binfilter/inc/bf_sw/frmatr.hxx
binfilter/inc/bf_sw/frmfmt.hxx
binfilter/inc/bf_sw/ftninfo.hxx
binfilter/inc/bf_sw/grfatr.hxx
binfilter/inc/bf_sw/hintids.hxx
binfilter/inc/bf_sw/hints.hxx
binfilter/inc/bf_sw/index.hxx
binfilter/inc/bf_sw/iodetect.hxx
binfilter/inc/bf_sw/linetype.hxx
binfilter/inc/bf_sw/mdiexp.hxx
binfilter/inc/bf_sw/ndarr.hxx
binfilter/inc/bf_sw/ndindex.hxx
binfilter/inc/bf_sw/ndole.hxx
binfilter/inc/bf_sw/ndtxt.hxx
binfilter/inc/bf_sw/ndtyp.hxx
binfilter/inc/bf_sw/newhdl.hxx
binfilter/inc/bf_sw/pagedesc.hxx
binfilter/inc/bf_sw/pageiter.hxx
binfilter/inc/bf_sw/paratr.hxx
binfilter/inc/bf_sw/poolfmt.awk
binfilter/inc/bf_sw/poolfmt.hxx
binfilter/inc/bf_sw/pvprtdat.hxx
binfilter/inc/bf_sw/redline.hxx
binfilter/inc/bf_sw/reffld.hxx
binfilter/inc/bf_sw/shellio.hxx
binfilter/inc/bf_sw/sw3io.hxx
binfilter/inc/bf_sw/swatrset.hxx
binfilter/inc/bf_sw/swcrsr.hxx
binfilter/inc/bf_sw/swdbdata.hxx
binfilter/inc/bf_sw/swdbtoolsclient.hxx
binfilter/inc/bf_sw/swevent.hxx
binfilter/inc/bf_sw/swgpar.hxx
binfilter/inc/bf_sw/swgstr.hxx
binfilter/inc/bf_sw/swmodule.hxx
binfilter/inc/bf_sw/swprtopt.hxx
binfilter/inc/bf_sw/swrect.hxx
binfilter/inc/bf_sw/swregion.hxx
binfilter/inc/bf_sw/swserv.hxx
binfilter/inc/bf_sw/swtable.hxx
binfilter/inc/bf_sw/swtypes.hxx
binfilter/inc/bf_sw/swunohelper.hxx
binfilter/inc/bf_sw/swwait.hxx
binfilter/inc/bf_sw/tgrditem.hxx
binfilter/inc/bf_sw/toxwrap.hxx
binfilter/inc/bf_sw/txatbase.hxx
binfilter/inc/bf_sw/txatritr.hxx
binfilter/inc/bf_sw/txtatr.hxx
binfilter/inc/bf_sw/txtftn.hxx
binfilter/inc/bf_sw/txtinet.hxx
binfilter/inc/bf_sw/undobj.hxx
binfilter/inc/bf_sw/unoatxt.hxx
binfilter/inc/bf_sw/unocoll.hxx
binfilter/inc/bf_sw/unocrsr.hxx
binfilter/inc/bf_sw/unodraw.hxx
binfilter/inc/bf_sw/unoevtlstnr.hxx
binfilter/inc/bf_sw/unofield.hxx
binfilter/inc/bf_sw/unoframe.hxx
binfilter/inc/bf_sw/unoidx.hxx
binfilter/inc/bf_sw/unoobj.hxx
binfilter/inc/bf_sw/unoport.hxx
binfilter/inc/bf_sw/unoprnms.hxx
binfilter/inc/bf_sw/unoredline.hxx
binfilter/inc/bf_sw/unoredlines.hxx
binfilter/inc/bf_sw/unosrch.hxx
binfilter/inc/bf_sw/unostyle.hxx
binfilter/inc/bf_sw/unotbl.hxx
binfilter/inc/bf_sw/unotxdoc.hxx
binfilter/inc/bf_sw/viewopt.hxx
binfilter/inc/bf_sw/viewsh.hxx
binfilter/inc/bf_sw/viscrs.hxx
binfilter/inc/bf_xmloff/NamedBoolPropertyHdl.hxx
binfilter/inc/bf_xmloff/VisAreaContext.hxx
binfilter/inc/bf_xmloff/i18nmap.hxx
binfilter/inc/bf_xmloff/sdxmlexp.hxx
binfilter/inc/bf_xmloff/styleexp.hxx
binfilter/inc/bf_xmloff/txtfldi.hxx
binfilter/inc/bf_xmloff/xexptran.hxx
binfilter/inc/bf_xmloff/xmlcnimp.hxx
binfilter/inc/bf_xmloff/xmlcnitm.hxx
binfilter/inc/bf_xmloff/xmlehelp.hxx
binfilter/inc/bf_xmloff/xmlexp.hxx
binfilter/inc/bf_xmloff/xmlictxt.hxx
binfilter/inc/bf_xmloff/xmlimppr.hxx
binfilter/inc/bf_xmloff/xmlnume.hxx
binfilter/inc/bf_xmloff/xmlnumfi.hxx
binfilter/inc/bf_xmloff/xmlstyle.hxx
binfilter/inc/bf_xmloff/xmltoken.hxx
binfilter/inc/bf_xmloff/xmluconv.hxx
filter/inc/filter/msfilter/escherex.hxx
filter/inc/filter/msfilter/msdffimp.hxx
filter/inc/filter/msfilter/svdfppt.hxx
filter/inc/filter/msfilter/svxmsbas.hxx
filter/inc/registration.hxx
filter/source/docbook/sofftodocbookheadings.xsl
filter/source/flash/swfuno.cxx
filter/source/flash/swfwriter1.cxx
filter/source/graphicfilter/egif/dlgegif.cxx
filter/source/graphicfilter/egif/egif.cxx
filter/source/graphicfilter/egif/makefile.mk
filter/source/graphicfilter/eos2met/dlgeos2.cxx
filter/source/graphicfilter/eos2met/dlgeos2.hxx
filter/source/graphicfilter/eos2met/eos2met.cxx
filter/source/graphicfilter/eos2met/makefile.mk
filter/source/graphicfilter/epbm/dlgepbm.cxx
filter/source/graphicfilter/epbm/epbm.cxx
filter/source/graphicfilter/epbm/makefile.mk
filter/source/graphicfilter/epgm/dlgepgm.cxx
filter/source/graphicfilter/epgm/dlgepgm.hxx
filter/source/graphicfilter/epgm/epgm.cxx
filter/source/graphicfilter/epgm/makefile.mk
filter/source/graphicfilter/epict/dlgepct.cxx
filter/source/graphicfilter/epict/epict.cxx
filter/source/graphicfilter/epict/makefile.mk
filter/source/graphicfilter/eppm/dlgeppm.cxx
filter/source/graphicfilter/eppm/dlgeppm.hxx
filter/source/graphicfilter/eppm/eppm.cxx
filter/source/graphicfilter/eppm/makefile.mk
filter/source/graphicfilter/eps/dlgeps.cxx
filter/source/graphicfilter/eps/dlgeps.hxx
filter/source/graphicfilter/eps/eps.cxx
filter/source/graphicfilter/eps/makefile.mk
filter/source/graphicfilter/eras/eras.cxx
filter/source/graphicfilter/etiff/etiff.cxx
filter/source/graphicfilter/expm/expm.cxx
filter/source/graphicfilter/icgm/actimpr.cxx
filter/source/graphicfilter/idxf/dxf2mtf.cxx
filter/source/graphicfilter/idxf/dxf2mtf.hxx
filter/source/graphicfilter/idxf/dxfgrprd.cxx
filter/source/graphicfilter/idxf/dxfgrprd.hxx
filter/source/graphicfilter/idxf/idxf.cxx
filter/source/graphicfilter/ieps/ieps.cxx
filter/source/graphicfilter/ios2met/ios2met.cxx
filter/source/graphicfilter/ipbm/ipbm.cxx
filter/source/graphicfilter/ipcd/ipcd.cxx
filter/source/graphicfilter/ipcx/ipcx.cxx
filter/source/graphicfilter/ipict/ipict.cxx
filter/source/graphicfilter/ipict/makefile.mk
filter/source/graphicfilter/ipsd/ipsd.cxx
filter/source/graphicfilter/iras/iras.cxx
filter/source/graphicfilter/itga/itga.cxx
filter/source/graphicfilter/itiff/itiff.cxx
filter/source/msfilter/escherex.cxx
filter/source/msfilter/eschesdo.cxx
filter/source/msfilter/eschesdo.hxx
filter/source/msfilter/makefile.mk
filter/source/msfilter/msdffimp.cxx
filter/source/msfilter/msocximex.cxx
filter/source/msfilter/msoleexp.cxx
filter/source/msfilter/msvbahelper.cxx
filter/source/msfilter/powerpoint/pptimporteruno.cxx
filter/source/msfilter/svdfppt.cxx
filter/source/msfilter/svxmsbas.cxx
filter/source/pdf/pdfexport.cxx
filter/source/pdf/pdfuno.cxx
filter/source/placeware/uno.cxx
filter/source/svg/makefile.mk
filter/source/svg/svgexport.cxx
filter/source/svg/svgfontexport.cxx
filter/source/svg/svguno.cxx
filter/source/svg/svgwriter.cxx
filter/source/t602/filterenv.cxx
filter/source/xmlfilteradaptor/genericfilter.cxx
filter/source/xmlfilterdetect/fdcomp.cxx
filter/source/xslt/odf2xhtml/export/xhtml/body.xsl
filter/source/xsltdialog/xmlfileview.cxx
filter/source/xsltdialog/xmlfilterdialogcomponent.cxx
filter/source/xsltfilter/XSLTFilter.cxx
hwpfilter/source/hwpreader.hxx
oox/inc/oox/core/binarycodec.hxx
oox/inc/oox/core/binaryfilterbase.hxx
oox/inc/oox/core/contexthandler.hxx
oox/inc/oox/core/contexthandler2.hxx
oox/inc/oox/core/fasttokenhandler.hxx
oox/inc/oox/core/filterbase.hxx
oox/inc/oox/core/filterdetect.hxx
oox/inc/oox/core/fragmenthandler.hxx
oox/inc/oox/core/fragmenthandler2.hxx
oox/inc/oox/core/recordparser.hxx
oox/inc/oox/core/relations.hxx
oox/inc/oox/core/relationshandler.hxx
oox/inc/oox/core/xmlfilterbase.hxx
oox/inc/oox/drawingml/chart/axiscontext.hxx
oox/inc/oox/drawingml/chart/axisconverter.hxx
oox/inc/oox/drawingml/chart/axismodel.hxx
oox/inc/oox/drawingml/chart/chartcontextbase.hxx
oox/inc/oox/drawingml/chart/chartconverter.hxx
oox/inc/oox/drawingml/chart/chartdrawingfragment.hxx
oox/inc/oox/drawingml/chart/chartspaceconverter.hxx
oox/inc/oox/drawingml/chart/chartspacefragment.hxx
oox/inc/oox/drawingml/chart/chartspacemodel.hxx
oox/inc/oox/drawingml/chart/converterbase.hxx
oox/inc/oox/drawingml/chart/datasourcecontext.hxx
oox/inc/oox/drawingml/chart/datasourceconverter.hxx
oox/inc/oox/drawingml/chart/datasourcemodel.hxx
oox/inc/oox/drawingml/chart/modelbase.hxx
oox/inc/oox/drawingml/chart/objectformatter.hxx
oox/inc/oox/drawingml/chart/plotareacontext.hxx
oox/inc/oox/drawingml/chart/plotareaconverter.hxx
oox/inc/oox/drawingml/chart/plotareamodel.hxx
oox/inc/oox/drawingml/chart/seriescontext.hxx
oox/inc/oox/drawingml/chart/seriesconverter.hxx
oox/inc/oox/drawingml/chart/seriesmodel.hxx
oox/inc/oox/drawingml/chart/titlecontext.hxx
oox/inc/oox/drawingml/chart/titleconverter.hxx
oox/inc/oox/drawingml/chart/titlemodel.hxx
oox/inc/oox/drawingml/chart/typegroupcontext.hxx
oox/inc/oox/drawingml/chart/typegroupconverter.hxx
oox/inc/oox/drawingml/chart/typegroupmodel.hxx
oox/inc/oox/drawingml/textbody.hxx
oox/inc/oox/drawingml/textliststyle.hxx
oox/inc/oox/drawingml/textparagraphproperties.hxx
oox/inc/oox/helper/attributelist.hxx
oox/inc/oox/helper/binaryinputstream.hxx
oox/inc/oox/helper/binaryoutputstream.hxx
oox/inc/oox/helper/binarystreambase.hxx
oox/inc/oox/helper/containerhelper.hxx
oox/inc/oox/helper/graphichelper.hxx
oox/inc/oox/helper/helper.hxx
oox/inc/oox/helper/modelobjecthelper.hxx
oox/inc/oox/helper/progressbar.hxx
oox/inc/oox/helper/propertymap.hxx
oox/inc/oox/helper/propertyset.hxx
oox/inc/oox/helper/textinputstream.hxx
oox/inc/oox/ole/axbinaryreader.hxx
oox/inc/oox/ole/axcontrolfragment.hxx
oox/inc/oox/ole/olehelper.hxx
oox/inc/oox/ole/oleobjecthelper.hxx
oox/inc/oox/ole/vbacontrol.hxx
oox/inc/oox/ole/vbainputstream.hxx
oox/inc/oox/ole/vbamodule.hxx
oox/inc/oox/ole/vbaproject.hxx
oox/inc/oox/ole/vbaprojectfilter.hxx
oox/inc/oox/token/propertynames.hxx
oox/inc/oox/vml/vmldrawing.hxx
oox/inc/oox/vml/vmldrawingfragment.hxx
oox/inc/oox/vml/vmlformatting.hxx
oox/inc/oox/vml/vmlinputstream.hxx
oox/inc/oox/vml/vmlshape.hxx
oox/inc/oox/vml/vmlshapecontainer.hxx
oox/inc/oox/vml/vmlshapecontext.hxx
oox/inc/oox/xls/addressconverter.hxx
oox/inc/oox/xls/biffcodec.hxx
oox/inc/oox/xls/biffdetector.hxx
oox/inc/oox/xls/biffhelper.hxx
oox/inc/oox/xls/biffinputstream.hxx
oox/inc/oox/xls/biffoutputstream.hxx
oox/inc/oox/xls/chartsheetfragment.hxx
oox/inc/oox/xls/commentsbuffer.hxx
oox/inc/oox/xls/commentsfragment.hxx
oox/inc/oox/xls/condformatbuffer.hxx
oox/inc/oox/xls/condformatcontext.hxx
oox/inc/oox/xls/connectionsfragment.hxx
oox/inc/oox/xls/defnamesbuffer.hxx
oox/inc/oox/xls/drawingfragment.hxx
oox/inc/oox/xls/excelchartconverter.hxx
oox/inc/oox/xls/excelfilter.hxx
oox/inc/oox/xls/excelhandlers.hxx
oox/inc/oox/xls/excelvbaproject.hxx
oox/inc/oox/xls/externallinkbuffer.hxx
oox/inc/oox/xls/externallinkfragment.hxx
oox/inc/oox/xls/formulabase.hxx
oox/inc/oox/xls/formulaparser.hxx
oox/inc/oox/xls/numberformatsbuffer.hxx
oox/inc/oox/xls/ooxformulaparser.hxx
oox/inc/oox/xls/pagesettings.hxx
oox/inc/oox/xls/pivotcachebuffer.hxx
oox/inc/oox/xls/pivotcachefragment.hxx
oox/inc/oox/xls/pivottablebuffer.hxx
oox/inc/oox/xls/pivottablefragment.hxx
oox/inc/oox/xls/querytablefragment.hxx
oox/inc/oox/xls/richstring.hxx
oox/inc/oox/xls/richstringcontext.hxx
oox/inc/oox/xls/scenariobuffer.hxx
oox/inc/oox/xls/scenariocontext.hxx
oox/inc/oox/xls/sharedformulabuffer.hxx
oox/inc/oox/xls/sharedstringsbuffer.hxx
oox/inc/oox/xls/sharedstringsfragment.hxx
oox/inc/oox/xls/sheetdatacontext.hxx
oox/inc/oox/xls/stylesbuffer.hxx
oox/inc/oox/xls/stylesfragment.hxx
oox/inc/oox/xls/tablebuffer.hxx
oox/inc/oox/xls/tablefragment.hxx
oox/inc/oox/xls/themebuffer.hxx
oox/inc/oox/xls/unitconverter.hxx
oox/inc/oox/xls/viewsettings.hxx
oox/inc/oox/xls/webquerybuffer.hxx
oox/inc/oox/xls/workbookfragment.hxx
oox/inc/oox/xls/workbooksettings.hxx
oox/inc/oox/xls/worksheetbuffer.hxx
oox/inc/oox/xls/worksheetfragment.hxx
oox/inc/oox/xls/worksheethelper.hxx
oox/inc/oox/xls/worksheetsettings.hxx
oox/prj/build.lst
oox/prj/d.lst
oox/source/core/binarycodec.cxx
oox/source/core/binaryfilterbase.cxx
oox/source/core/contexthandler.cxx
oox/source/core/contexthandler2.cxx
oox/source/core/facreg.cxx
oox/source/core/fasttokenhandler.cxx
oox/source/core/filterbase.cxx
oox/source/core/filterdetect.cxx
oox/source/core/fragmenthandler.cxx
oox/source/core/fragmenthandler2.cxx
oox/source/core/recordparser.cxx
oox/source/core/relations.cxx
oox/source/core/relationshandler.cxx
oox/source/core/xmlfilterbase.cxx
oox/source/docprop/ooxmldocpropimport.cxx
oox/source/docprop/ooxmldocpropimport.hxx
oox/source/drawingml/chart/axiscontext.cxx
oox/source/drawingml/chart/axisconverter.cxx
oox/source/drawingml/chart/axismodel.cxx
oox/source/drawingml/chart/chartcontextbase.cxx
oox/source/drawingml/chart/chartconverter.cxx
oox/source/drawingml/chart/chartdrawingfragment.cxx
oox/source/drawingml/chart/chartspaceconverter.cxx
oox/source/drawingml/chart/chartspacefragment.cxx
oox/source/drawingml/chart/chartspacemodel.cxx
oox/source/drawingml/chart/converterbase.cxx
oox/source/drawingml/chart/datasourcecontext.cxx
oox/source/drawingml/chart/datasourceconverter.cxx
oox/source/drawingml/chart/datasourcemodel.cxx
oox/source/drawingml/chart/modelbase.cxx
oox/source/drawingml/chart/objectformatter.cxx
oox/source/drawingml/chart/plotareacontext.cxx
oox/source/drawingml/chart/plotareaconverter.cxx
oox/source/drawingml/chart/seriescontext.cxx
oox/source/drawingml/chart/seriesconverter.cxx
oox/source/drawingml/chart/seriesmodel.cxx
oox/source/drawingml/chart/titlecontext.cxx
oox/source/drawingml/chart/titleconverter.cxx
oox/source/drawingml/chart/titlemodel.cxx
oox/source/drawingml/chart/typegroupcontext.cxx
oox/source/drawingml/chart/typegroupconverter.cxx
oox/source/drawingml/chart/typegroupmodel.cxx
oox/source/drawingml/shape.cxx
oox/source/drawingml/shapecontext.cxx
oox/source/drawingml/table/tableproperties.cxx
oox/source/drawingml/textbodypropertiescontext.cxx
oox/source/drawingml/textliststyle.cxx
oox/source/drawingml/transform2dcontext.cxx
oox/source/dump/biffdumper.cxx
oox/source/dump/dffdumper.cxx
oox/source/dump/dumperbase.cxx
oox/source/dump/oledumper.cxx
oox/source/dump/pptxdumper.cxx
oox/source/dump/xlsbdumper.cxx
oox/source/helper/attributelist.cxx
oox/source/helper/binaryinputstream.cxx
oox/source/helper/binarystreambase.cxx
oox/source/helper/containerhelper.cxx
oox/source/helper/graphichelper.cxx
oox/source/helper/modelobjecthelper.cxx
oox/source/helper/progressbar.cxx
oox/source/helper/propertymap.cxx
oox/source/helper/propertyset.cxx
oox/source/helper/textinputstream.cxx
oox/source/ole/axbinaryreader.cxx
oox/source/ole/axcontrol.cxx
oox/source/ole/olehelper.cxx
oox/source/ole/oleobjecthelper.cxx
oox/source/ole/vbacontrol.cxx
oox/source/ole/vbamodule.cxx
oox/source/ole/vbaproject.cxx
oox/source/ole/vbaprojectfilter.cxx
oox/source/ppt/customshowlistcontext.cxx
oox/source/ppt/pptimport.cxx
oox/source/ppt/pptshapegroupcontext.cxx
oox/source/shape/FastTokenHandlerService.cxx
oox/source/shape/FastTokenHandlerService.hxx
oox/source/token/makefile.mk
oox/source/token/namespacemap.cxx
oox/source/token/properties.txt
oox/source/token/propertynames.cxx
oox/source/token/tokenmap.cxx
oox/source/token/tokens.hxx.head
oox/source/vml/vmldrawing.cxx
oox/source/vml/vmldrawingfragment.cxx
oox/source/vml/vmlformatting.cxx
oox/source/vml/vmlinputstream.cxx
oox/source/vml/vmlshape.cxx
oox/source/vml/vmlshapecontainer.cxx
oox/source/vml/vmlshapecontext.cxx
oox/source/vml/vmltextbox.cxx
oox/source/xls/addressconverter.cxx
oox/source/xls/autofiltercontext.cxx
oox/source/xls/biffcodec.cxx
oox/source/xls/biffdetector.cxx
oox/source/xls/biffhelper.cxx
oox/source/xls/biffinputstream.cxx
oox/source/xls/biffoutputstream.cxx
oox/source/xls/chartsheetfragment.cxx
oox/source/xls/commentsbuffer.cxx
oox/source/xls/commentsfragment.cxx
oox/source/xls/condformatbuffer.cxx
oox/source/xls/condformatcontext.cxx
oox/source/xls/connectionsfragment.cxx
oox/source/xls/defnamesbuffer.cxx
oox/source/xls/drawingfragment.cxx
oox/source/xls/excelchartconverter.cxx
oox/source/xls/excelfilter.cxx
oox/source/xls/excelhandlers.cxx
oox/source/xls/externallinkbuffer.cxx
oox/source/xls/externallinkfragment.cxx
oox/source/xls/formulabase.cxx
oox/source/xls/formulaparser.cxx
oox/source/xls/numberformatsbuffer.cxx
oox/source/xls/ooxformulaparser.cxx
oox/source/xls/pagesettings.cxx
oox/source/xls/pivotcachebuffer.cxx
oox/source/xls/pivotcachefragment.cxx
oox/source/xls/pivottablebuffer.cxx
oox/source/xls/pivottablefragment.cxx
oox/source/xls/querytablefragment.cxx
oox/source/xls/richstring.cxx
oox/source/xls/richstringcontext.cxx
oox/source/xls/scenariobuffer.cxx
oox/source/xls/scenariocontext.cxx
oox/source/xls/sharedformulabuffer.cxx
oox/source/xls/sharedstringsbuffer.cxx
oox/source/xls/sharedstringsfragment.cxx
oox/source/xls/sheetdatacontext.cxx
oox/source/xls/stylesbuffer.cxx
oox/source/xls/stylesfragment.cxx
oox/source/xls/tablebuffer.cxx
oox/source/xls/tablefragment.cxx
oox/source/xls/themebuffer.cxx
oox/source/xls/unitconverter.cxx
oox/source/xls/webquerybuffer.cxx
oox/source/xls/workbookfragment.cxx
oox/source/xls/workbookhelper.cxx
oox/source/xls/workbooksettings.cxx
oox/source/xls/worksheetbuffer.cxx
oox/source/xls/worksheetfragment.cxx
oox/source/xls/worksheethelper.cxx
oox/source/xls/worksheetsettings.cxx
unoxml/source/rdf/librdf_repository.cxx
unoxml/source/xpath/xpathapi.hxx
writerfilter/inc/resourcemodel/Fraction.hxx
writerfilter/inc/resourcemodel/TagLogger.hxx
writerfilter/inc/resourcemodel/XPathLogger.hxx
writerfilter/source/dmapper/BorderHandler.cxx
writerfilter/source/dmapper/CellColorHandler.cxx
writerfilter/source/dmapper/CellColorHandler.hxx
writerfilter/source/dmapper/CellMarginHandler.cxx
writerfilter/source/dmapper/CellMarginHandler.hxx
writerfilter/source/dmapper/DomainMapper.cxx
writerfilter/source/dmapper/DomainMapperTableHandler.cxx
writerfilter/source/dmapper/DomainMapper_Impl.cxx
writerfilter/source/dmapper/FFDataHandler.cxx
writerfilter/source/dmapper/FontTable.cxx
writerfilter/source/dmapper/FontTable.hxx
writerfilter/source/dmapper/GraphicImport.cxx
writerfilter/source/dmapper/GraphicImport.hxx
writerfilter/source/dmapper/MeasureHandler.cxx
writerfilter/source/dmapper/NumberingManager.cxx
writerfilter/source/dmapper/NumberingManager.hxx
writerfilter/source/dmapper/OLEHandler.cxx
writerfilter/source/dmapper/OLEHandler.hxx
writerfilter/source/dmapper/PropertyIds.hxx
writerfilter/source/dmapper/PropertyMap.cxx
writerfilter/source/dmapper/PropertyMap.hxx
writerfilter/source/dmapper/PropertyMapHelper.cxx
writerfilter/source/dmapper/PropertyMapHelper.hxx
writerfilter/source/dmapper/SectionColumnHandler.cxx
writerfilter/source/dmapper/SettingsTable.cxx
writerfilter/source/dmapper/StyleSheetTable.cxx
writerfilter/source/dmapper/StyleSheetTable.hxx
writerfilter/source/dmapper/TDefTableHandler.cxx
writerfilter/source/dmapper/dmapperLoggers.hxx
writerfilter/source/filter/ImportFilter.cxx
writerfilter/source/filter/RtfFilter.cxx
writerfilter/source/filter/RtfFilter.hxx
writerfilter/source/ooxml/OOXMLFactory.cxx
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
writerfilter/source/ooxml/OOXMLFastHelper.hxx
writerfilter/source/ooxml/OOXMLParserState.hxx
writerfilter/source/ooxml/factoryimpl_ns.xsl
writerfilter/source/ooxml/model.xml
writerfilter/source/resourcemodel/TagLogger.cxx
writerfilter/source/resourcemodel/XPathLogger.cxx
writerperfect/prj/build.lst
writerperfect/source/wpdimp/wpft_genericfilter.cxx
Diffstat (limited to 'oox/source/drawingml/chart')
26 files changed, 443 insertions, 383 deletions
diff --git a/oox/source/drawingml/chart/axiscontext.cxx b/oox/source/drawingml/chart/axiscontext.cxx index 6ae29d841fd4..0445fbafe5ca 100644 --- a/oox/source/drawingml/chart/axiscontext.cxx +++ b/oox/source/drawingml/chart/axiscontext.cxx @@ -27,21 +27,24 @@ ************************************************************************/ #include "oox/drawingml/chart/axiscontext.hxx" + #include "oox/drawingml/shapepropertiescontext.hxx" #include "oox/drawingml/textbodycontext.hxx" #include "oox/drawingml/chart/axismodel.hxx" #include "oox/drawingml/chart/titlecontext.hxx" -using ::rtl::OUString; -using ::oox::core::ContextHandlerRef; -using ::oox::core::ContextHandler2Helper; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using ::oox::core::ContextHandlerRef; +using ::oox::core::ContextHandler2Helper; +using ::rtl::OUString; + +// ============================================================================ + AxisDispUnitsContext::AxisDispUnitsContext( ContextHandler2Helper& rParent, AxisDispUnitsModel& rModel ) : ContextBase< AxisDispUnitsModel >( rParent, rModel ) { @@ -235,7 +238,7 @@ ContextHandlerRef DateAxisContext::onCreateContext( sal_Int32 nElement, const At mrModel.mbAuto = rAttribs.getBool( XML_val, false ); return 0; case C_TOKEN( baseTimeUnit ): - mrModel.mnBaseTimeUnit = rAttribs.getToken( XML_val, XML_days ); + mrModel.monBaseTimeUnit = rAttribs.getToken( XML_val, XML_days ); return 0; case C_TOKEN( lblOffset ): mrModel.mnLabelOffset = rAttribs.getInteger( XML_val, 100 ); @@ -317,4 +320,4 @@ ContextHandlerRef ValAxisContext::onCreateContext( sal_Int32 nElement, const Att } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/axisconverter.cxx b/oox/source/drawingml/chart/axisconverter.cxx index 921111a8cd7d..5cd68f751d66 100644 --- a/oox/source/drawingml/chart/axisconverter.cxx +++ b/oox/source/drawingml/chart/axisconverter.cxx @@ -27,36 +27,22 @@ ************************************************************************/ #include "oox/drawingml/chart/axisconverter.hxx" + #include <com/sun/star/chart/ChartAxisArrangeOrderType.hpp> #include <com/sun/star/chart/ChartAxisLabelPosition.hpp> #include <com/sun/star/chart/ChartAxisMarkPosition.hpp> #include <com/sun/star/chart/ChartAxisPosition.hpp> -#include <com/sun/star/chart2/TickmarkStyle.hpp> +#include <com/sun/star/chart/TimeInterval.hpp> +#include <com/sun/star/chart/TimeUnit.hpp> #include <com/sun/star/chart2/AxisType.hpp> +#include <com/sun/star/chart2/TickmarkStyle.hpp> #include <com/sun/star/chart2/XAxis.hpp> #include <com/sun/star/chart2/XCoordinateSystem.hpp> #include <com/sun/star/chart2/XTitled.hpp> -#include "oox/drawingml/lineproperties.hxx" #include "oox/drawingml/chart/axismodel.hxx" #include "oox/drawingml/chart/titleconverter.hxx" #include "oox/drawingml/chart/typegroupconverter.hxx" -#include "properties.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Any; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::chart2::IncrementData; -using ::com::sun::star::chart2::ScaleData; -using ::com::sun::star::chart2::SubIncrement; -using ::com::sun::star::chart2::XAxis; -using ::com::sun::star::chart2::XCoordinateSystem; -using ::com::sun::star::chart2::XScaling; -using ::com::sun::star::chart2::XTitled; +#include "oox/drawingml/lineproperties.hxx" namespace oox { namespace drawingml { @@ -64,25 +50,45 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::uno; + +using ::rtl::OUString; + +// ============================================================================ + namespace { -template< typename Type > -inline void lclSetValueOrClearAny( Any& orAny, const OptValue< Type >& roValue ) +inline void lclSetValueOrClearAny( Any& orAny, const OptValue< double >& rofValue ) { - if( roValue.has() ) orAny <<= roValue.get(); else orAny.clear(); + if( rofValue.has() ) orAny <<= rofValue.get(); else orAny.clear(); } -void lclSetScaledValueOrClearAny( Any& orAny, const OptValue< double >& rofValue, const Reference< XScaling >& rxScaling ) +bool lclIsLogarithmicScale( const AxisModel& rAxisModel ) { - if( rofValue.has() && rxScaling.is() ) - orAny <<= rxScaling->doScaling( rofValue.get() ); - else - lclSetValueOrClearAny( orAny, rofValue ); + return rAxisModel.mofLogBase.has() && (2.0 <= rAxisModel.mofLogBase.get()) && (rAxisModel.mofLogBase.get() <= 1000.0); } -bool lclIsLogarithmicScale( const AxisModel& rAxisModel ) +sal_Int32 lclGetApiTimeUnit( sal_Int32 nTimeUnit ) { - return rAxisModel.mofLogBase.has() && (2.0 <= rAxisModel.mofLogBase.get()) && (rAxisModel.mofLogBase.get() <= 1000.0); + using namespace ::com::sun::star::chart; + switch( nTimeUnit ) + { + case XML_days: return TimeUnit::DAY; + case XML_months: return TimeUnit::MONTH; + case XML_years: return TimeUnit::YEAR; + default: OSL_ENSURE( false, "lclGetApiTimeUnit - unexpected time unit" ); + } + return TimeUnit::DAY; +} + +void lclConvertTimeInterval( Any& orInterval, const OptValue< double >& rofUnit, sal_Int32 nTimeUnit ) +{ + if( rofUnit.has() && (1.0 <= rofUnit.get()) && (rofUnit.get() <= SAL_MAX_INT32) ) + orInterval <<= ::com::sun::star::chart::TimeInterval( static_cast< sal_Int32 >( rofUnit.get() ), lclGetApiTimeUnit( nTimeUnit ) ); + else + orInterval.clear(); } ::com::sun::star::chart::ChartAxisLabelPosition lclGetLabelPosition( sal_Int32 nToken ) @@ -184,8 +190,13 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo if( rTypeInfo.mbCategoryAxis ) { OSL_ENSURE( (mrModel.mnTypeId == C_TOKEN( catAx )) || (mrModel.mnTypeId == C_TOKEN( dateAx )), - "AxisConverter::convertFromModel - unexpected axis model type (must: c:catAx or c:dateEx)" ); - aScaleData.AxisType = cssc2::AxisType::CATEGORY; + "AxisConverter::convertFromModel - unexpected axis model type (must: c:catAx or c:dateAx)" ); + bool bDateAxis = mrModel.mnTypeId == C_TOKEN( dateAx ); + /* Chart2 requires axis type CATEGORY for automatic + category/date axis (even if it is a date axis + currently). */ + aScaleData.AxisType = (bDateAxis && !mrModel.mbAuto) ? cssc2::AxisType::DATE : cssc2::AxisType::CATEGORY; + aScaleData.AutoDateAxis = mrModel.mbAuto; aScaleData.Categories = rTypeGroup.createCategorySequence(); } else @@ -211,14 +222,37 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo { case cssc2::AxisType::CATEGORY: case cssc2::AxisType::SERIES: + case cssc2::AxisType::DATE: { - // do not overlap text unless all labels are visible - aAxisProp.setProperty( PROP_TextOverlap, mrModel.mnTickLabelSkip == 1 ); - // do not break text into several lines - aAxisProp.setProperty( PROP_TextBreak, false ); - // do not stagger labels in two lines - aAxisProp.setProperty( PROP_ArrangeOrder, cssc::ChartAxisArrangeOrderType_SIDE_BY_SIDE ); - //! TODO #i58731# show n-th category + /* Determine date axis type from XML type identifier, and not + via aScaleData.AxisType, as this value sticks to CATEGORY + for automatic category/date axes). */ + if( mrModel.mnTypeId == C_TOKEN( dateAx ) ) + { + // scaling algorithm + aScaleData.Scaling.set( createInstance( CREATE_OUSTRING( "com.sun.star.chart2.LinearScaling" ) ), UNO_QUERY ); + // min/max + lclSetValueOrClearAny( aScaleData.Minimum, mrModel.mofMin ); + lclSetValueOrClearAny( aScaleData.Maximum, mrModel.mofMax ); + // major/minor increment + lclConvertTimeInterval( aScaleData.TimeIncrement.MajorTimeInterval, mrModel.mofMajorUnit, mrModel.mnMajorTimeUnit ); + lclConvertTimeInterval( aScaleData.TimeIncrement.MinorTimeInterval, mrModel.mofMinorUnit, mrModel.mnMinorTimeUnit ); + // base time unit + if( mrModel.monBaseTimeUnit.has() ) + aScaleData.TimeIncrement.TimeResolution <<= lclGetApiTimeUnit( mrModel.monBaseTimeUnit.get() ); + else + aScaleData.TimeIncrement.TimeResolution.clear(); + } + else + { + // do not overlap text unless all labels are visible + aAxisProp.setProperty( PROP_TextOverlap, mrModel.mnTickLabelSkip == 1 ); + // do not break text into several lines + aAxisProp.setProperty( PROP_TextBreak, false ); + // do not stagger labels in two lines + aAxisProp.setProperty( PROP_ArrangeOrder, cssc::ChartAxisArrangeOrderType_SIDE_BY_SIDE ); + //! TODO #i58731# show n-th category + } } break; case cssc2::AxisType::REALNUMBER: @@ -235,26 +269,25 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo lclSetValueOrClearAny( aScaleData.Maximum, mrModel.mofMax ); // major increment IncrementData& rIncrementData = aScaleData.IncrementData; - lclSetScaledValueOrClearAny( rIncrementData.Distance, mrModel.mofMajorUnit, aScaleData.Scaling ); + if( mrModel.mofMajorUnit.has() && aScaleData.Scaling.is() ) + rIncrementData.Distance <<= aScaleData.Scaling->doScaling( mrModel.mofMajorUnit.get() ); + else + lclSetValueOrClearAny( rIncrementData.Distance, mrModel.mofMajorUnit ); // minor increment Sequence< SubIncrement >& rSubIncrementSeq = rIncrementData.SubIncrements; rSubIncrementSeq.realloc( 1 ); Any& rIntervalCount = rSubIncrementSeq[ 0 ].IntervalCount; + rIntervalCount.clear(); if( bLogScale ) { if( mrModel.mofMinorUnit.has() ) rIntervalCount <<= sal_Int32( 9 ); } - else + else if( mrModel.mofMajorUnit.has() && mrModel.mofMinorUnit.has() && (0.0 < mrModel.mofMinorUnit.get()) && (mrModel.mofMinorUnit.get() <= mrModel.mofMajorUnit.get()) ) { - OptValue< sal_Int32 > onCount; - if( mrModel.mofMajorUnit.has() && mrModel.mofMinorUnit.has() && (0.0 < mrModel.mofMinorUnit.get()) && (mrModel.mofMinorUnit.get() <= mrModel.mofMajorUnit.get()) ) - { - double fCount = mrModel.mofMajorUnit.get() / mrModel.mofMinorUnit.get() + 0.5; - if( (1.0 <= fCount) && (fCount < 1001.0) ) - onCount = static_cast< sal_Int32 >( fCount ); - } - lclSetValueOrClearAny( rIntervalCount, onCount ); + double fCount = mrModel.mofMajorUnit.get() / mrModel.mofMinorUnit.get() + 0.5; + if( (1.0 <= fCount) && (fCount < 1001.0) ) + rIntervalCount <<= static_cast< sal_Int32 >( fCount ); } } break; @@ -332,4 +365,4 @@ void AxisConverter::convertFromModel( const Reference< XCoordinateSystem >& rxCo } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/axismodel.cxx b/oox/source/drawingml/chart/axismodel.cxx index 1a5e44875992..85fdc1308e31 100644 --- a/oox/source/drawingml/chart/axismodel.cxx +++ b/oox/source/drawingml/chart/axismodel.cxx @@ -49,7 +49,6 @@ AxisDispUnitsModel::~AxisDispUnitsModel() AxisModel::AxisModel( sal_Int32 nTypeId ) : mnAxisId( -1 ), mnAxisPos( XML_TOKEN_INVALID ), - mnBaseTimeUnit( XML_days ), mnCrossAxisId( -1 ), mnCrossBetween( XML_between ), mnCrossMode( XML_autoZero ), @@ -80,4 +79,4 @@ AxisModel::~AxisModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartcontextbase.cxx b/oox/source/drawingml/chart/chartcontextbase.cxx index 07feba76eddd..4d31816cdc5b 100644 --- a/oox/source/drawingml/chart/chartcontextbase.cxx +++ b/oox/source/drawingml/chart/chartcontextbase.cxx @@ -27,11 +27,9 @@ ************************************************************************/ #include "oox/drawingml/chart/chartcontextbase.hxx" -#include "oox/drawingml/shapepropertiescontext.hxx" -#include "oox/drawingml/chart/modelbase.hxx" -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; +#include "oox/drawingml/chart/modelbase.hxx" +#include "oox/drawingml/shapepropertiescontext.hxx" namespace oox { namespace drawingml { @@ -39,6 +37,11 @@ namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; + +// ============================================================================ + ShapePrWrapperContext::ShapePrWrapperContext( ContextHandler2Helper& rParent, Shape& rModel ) : ContextBase< Shape >( rParent, rModel ) { @@ -119,4 +122,4 @@ ContextHandlerRef LayoutContext::onCreateContext( sal_Int32 nElement, const Attr } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartconverter.cxx b/oox/source/drawingml/chart/chartconverter.cxx index c99ac6d82bbc..da8bf26527fa 100644 --- a/oox/source/drawingml/chart/chartconverter.cxx +++ b/oox/source/drawingml/chart/chartconverter.cxx @@ -27,30 +27,31 @@ ************************************************************************/ #include "oox/drawingml/chart/chartconverter.hxx" + #include <com/sun/star/chart2/XChartDocument.hpp> #include "oox/drawingml/chart/chartspaceconverter.hxx" #include "oox/drawingml/chart/chartspacemodel.hxx" -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::awt::Point; -using ::com::sun::star::awt::Size; -using ::com::sun::star::drawing::XShapes; -using ::com::sun::star::chart2::XChartDocument; -using ::com::sun::star::chart2::data::XDataProvider; -using ::com::sun::star::chart2::data::XDataSequence; -using ::oox::core::XmlFilterBase; using ::oox::drawingml::chart::DataSequenceModel; using ::com::sun::star::uno::Any; using ::rtl::OUStringBuffer; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::drawing; +using namespace ::com::sun::star::uno; + +using ::oox::core::XmlFilterBase; +using ::rtl::OUString; + +// ============================================================================ + static const sal_Unicode API_TOKEN_ARRAY_OPEN = '{'; static const sal_Unicode API_TOKEN_ARRAY_CLOSE = '}'; static const sal_Unicode API_TOKEN_ARRAY_ROWSEP = '|'; @@ -166,4 +167,4 @@ Reference< XDataSequence > ChartConverter::createDataSequence( const Reference< } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartdrawingfragment.cxx b/oox/source/drawingml/chart/chartdrawingfragment.cxx index 14bcce4a65fe..6e70e8c2ed93 100644 --- a/oox/source/drawingml/chart/chartdrawingfragment.cxx +++ b/oox/source/drawingml/chart/chartdrawingfragment.cxx @@ -27,28 +27,28 @@ ************************************************************************/ #include "oox/drawingml/chart/chartdrawingfragment.hxx" + #include "oox/core/xmlfilterbase.hxx" #include "oox/drawingml/connectorshapecontext.hxx" #include "oox/drawingml/graphicshapecontext.hxx" #include "oox/drawingml/shapecontext.hxx" #include "oox/drawingml/shapegroupcontext.hxx" -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::awt::Point; -using ::com::sun::star::awt::Rectangle; -using ::com::sun::star::awt::Size; -using ::com::sun::star::drawing::XShapes; -using ::oox::core::ContextHandlerRef; -using ::oox::core::FragmentHandler2; -using ::oox::core::XmlFilterBase; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::drawing; +using namespace ::com::sun::star::uno; +using namespace ::oox::core; + +using ::rtl::OUString; + +// ============================================================================ + ShapeAnchor::ShapeAnchor( bool bRelSize ) : mbRelSize( bRelSize ) { @@ -176,7 +176,7 @@ ContextHandlerRef ChartDrawingFragment::onCreateContext( sal_Int32 nElement, con case CDR_TOKEN( graphicFrame ): if( !mbOleSupport ) return 0; - mxShape.reset( new Shape( "com.sun.star.drawing.OLE2Shape" ) ); + mxShape.reset( new Shape( "com.sun.star.drawing.GraphicObjectShape" ) ); return new GraphicalObjectFrameContext( *this, ShapePtr(), mxShape, true ); case CDR_TOKEN( grpSp ): mxShape.reset( new Shape( "com.sun.star.drawing.GroupShape" ) ); @@ -205,26 +205,24 @@ ContextHandlerRef ChartDrawingFragment::onCreateContext( sal_Int32 nElement, con return 0; } -void ChartDrawingFragment::onEndElement( const OUString& rChars ) +void ChartDrawingFragment::onCharacters( const OUString& rChars ) { - switch( getCurrentElement() ) - { - case CDR_TOKEN( x ): - case CDR_TOKEN( y ): - if( mxAnchor.get() ) mxAnchor->setPos( getCurrentElement(), getPreviousElement(), rChars ); - break; + if( isCurrentElement( CDR_TOKEN( x ), CDR_TOKEN( y ) ) && mxAnchor.get() ) + mxAnchor->setPos( getCurrentElement(), getParentElement(), rChars ); +} - case CDR_TOKEN( absSizeAnchor ): - case CDR_TOKEN( relSizeAnchor ): - if( mxDrawPage.is() && mxShape.get() && mxAnchor.get() ) - { - Rectangle aLoc = mxAnchor->calcEmuLocation( maEmuChartRect ); - if( (aLoc.X >= 0) && (aLoc.Y >= 0) && (aLoc.Width >= 0) && (aLoc.Height >= 0) ) - mxShape->addShape( getFilter(), getFilter().getCurrentTheme(), mxDrawPage, &aLoc ); - } - mxShape.reset(); - mxAnchor.reset(); - break; +void ChartDrawingFragment::onEndElement() +{ + if( isCurrentElement( CDR_TOKEN( absSizeAnchor ), CDR_TOKEN( relSizeAnchor ) ) ) + { + if( mxDrawPage.is() && mxShape.get() && mxAnchor.get() ) + { + Rectangle aLoc = mxAnchor->calcEmuLocation( maEmuChartRect ); + if( (aLoc.X >= 0) && (aLoc.Y >= 0) && (aLoc.Width >= 0) && (aLoc.Height >= 0) ) + mxShape->addShape( getFilter(), getFilter().getCurrentTheme(), mxDrawPage, &aLoc ); + } + mxShape.reset(); + mxAnchor.reset(); } } @@ -234,4 +232,4 @@ void ChartDrawingFragment::onEndElement( const OUString& rChars ) } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartspaceconverter.cxx b/oox/source/drawingml/chart/chartspaceconverter.cxx index 33b823f676ae..cf02cbe32e87 100644 --- a/oox/source/drawingml/chart/chartspaceconverter.cxx +++ b/oox/source/drawingml/chart/chartspaceconverter.cxx @@ -27,6 +27,7 @@ ************************************************************************/ #include "oox/drawingml/chart/chartspaceconverter.hxx" + #include <com/sun/star/chart/MissingValueTreatment.hpp> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> @@ -39,7 +40,6 @@ #include "oox/drawingml/chart/chartspacemodel.hxx" #include "oox/drawingml/chart/plotareaconverter.hxx" #include "oox/drawingml/chart/titleconverter.hxx" -#include "properties.hxx" using ::rtl::OUString; using ::com::sun::star::awt::Point; @@ -47,12 +47,14 @@ using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::Exception; using ::com::sun::star::uno::UNO_QUERY; using ::com::sun::star::uno::UNO_QUERY_THROW; +using ::com::sun::star::uno::makeAny; using ::com::sun::star::util::XNumberFormatsSupplier; using ::com::sun::star::drawing::XDrawPageSupplier; using ::com::sun::star::drawing::XShapes; using ::com::sun::star::chart2::XDiagram; using ::com::sun::star::chart2::XTitled; using ::com::sun::star::chart2::data::XDataReceiver; +using ::com::sun::star::beans::XPropertySet; namespace oox { namespace drawingml { @@ -60,6 +62,17 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::drawing; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::util; + +using ::rtl::OUString; + +// ============================================================================ + ChartSpaceConverter::ChartSpaceConverter( const ConverterRoot& rParent, ChartSpaceModel& rModel ) : ConverterBase< ChartSpaceModel >( rParent, rModel ) { @@ -200,6 +213,14 @@ void ChartSpaceConverter::convertFromModel( const Reference< XShapes >& rxExtern catch( Exception& ) { } + + // pivot chart + if ( mrModel.mbPivotChart ) + { + PropertySet aProps( getChartDocument() ); + aProps.setProperty( PROP_DisableDataTableDialog , true ); + aProps.setProperty( PROP_DisableComplexChartTypes , true ); + } } // ============================================================================ @@ -208,4 +229,4 @@ void ChartSpaceConverter::convertFromModel( const Reference< XShapes >& rxExtern } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx index ea772ac75445..baa690993dcb 100644 --- a/oox/source/drawingml/chart/chartspacefragment.cxx +++ b/oox/source/drawingml/chart/chartspacefragment.cxx @@ -27,22 +27,25 @@ ************************************************************************/ #include "oox/drawingml/chart/chartspacefragment.hxx" + #include "oox/drawingml/shapepropertiescontext.hxx" #include "oox/drawingml/textbodycontext.hxx" #include "oox/drawingml/chart/chartspacemodel.hxx" #include "oox/drawingml/chart/plotareacontext.hxx" #include "oox/drawingml/chart/titlecontext.hxx" -using ::rtl::OUString; -using ::oox::core::ContextHandlerRef; -using ::oox::core::XmlFilterBase; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using namespace ::oox::core; + +using ::rtl::OUString; + +// ============================================================================ + ChartSpaceFragment::ChartSpaceFragment( XmlFilterBase& rFilter, const OUString& rFragmentPath, ChartSpaceModel& rModel ) : FragmentBase< ChartSpaceModel >( rFilter, rFragmentPath, rModel ) { @@ -79,6 +82,9 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const case C_TOKEN( userShapes ): mrModel.maDrawingPath = getFragmentPathFromRelId( rAttribs.getString( R_TOKEN( id ), OUString() ) ); return 0; + case C_TOKEN( pivotSource ): + mrModel.mbPivotChart = true; + return 0; } break; @@ -126,4 +132,4 @@ ContextHandlerRef ChartSpaceFragment::onCreateContext( sal_Int32 nElement, const } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/chartspacemodel.cxx b/oox/source/drawingml/chart/chartspacemodel.cxx index 89f76e227d30..956fb54f8cee 100644 --- a/oox/source/drawingml/chart/chartspacemodel.cxx +++ b/oox/source/drawingml/chart/chartspacemodel.cxx @@ -39,7 +39,8 @@ ChartSpaceModel::ChartSpaceModel() : mnStyle( 2 ), mbAutoTitleDel( false ), mbPlotVisOnly( false ), - mbShowLabelsOverMax( false ) + mbShowLabelsOverMax( false ), + mbPivotChart( false ) { } @@ -53,4 +54,4 @@ ChartSpaceModel::~ChartSpaceModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx index 52bd978cd3b8..95ec0dd3b7ec 100644 --- a/oox/source/drawingml/chart/converterbase.cxx +++ b/oox/source/drawingml/chart/converterbase.cxx @@ -27,48 +27,42 @@ ************************************************************************/ #include "oox/drawingml/chart/converterbase.hxx" -#include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/frame/XModel.hpp> -#include <com/sun/star/drawing/FillStyle.hpp> -#include <com/sun/star/drawing/LineStyle.hpp> + #include <com/sun/star/chart/XAxisXSupplier.hpp> #include <com/sun/star/chart/XAxisYSupplier.hpp> #include <com/sun/star/chart/XAxisZSupplier.hpp> #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart/XSecondAxisTitleSupplier.hpp> #include <com/sun/star/chart2/RelativePosition.hpp> +#include <com/sun/star/chart2/RelativeSize.hpp> +#include <com/sun/star/drawing/FillStyle.hpp> +#include <com/sun/star/drawing/LineStyle.hpp> +#include <com/sun/star/frame/XModel.hpp> +#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <tools/solar.h> // for F_PI180 -#include "properties.hxx" #include "oox/core/xmlfilterbase.hxx" #include "oox/drawingml/theme.hxx" -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::XInterface; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::RuntimeException; -using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::uno::UNO_SET_THROW; -using ::com::sun::star::lang::XMultiServiceFactory; -using ::com::sun::star::frame::XModel; -using ::com::sun::star::awt::Point; -using ::com::sun::star::awt::Rectangle; -using ::com::sun::star::awt::Size; -using ::com::sun::star::chart2::RelativePosition; -using ::com::sun::star::chart2::XChartDocument; -using ::com::sun::star::chart2::XTitle; -using ::com::sun::star::drawing::XShape; -using ::oox::core::XmlFilterBase; - -namespace cssc = ::com::sun::star::chart; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +namespace cssc = ::com::sun::star::chart; + +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::drawing; +using namespace ::com::sun::star::frame; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::uno; + +using ::oox::core::XmlFilterBase; +using ::rtl::OUString; + +// ============================================================================ + namespace { struct TitleKey : public ::std::pair< ObjectType, ::std::pair< sal_Int32, sal_Int32 > > @@ -86,8 +80,7 @@ struct TitleLayoutInfo { typedef Reference< XShape > (*GetShapeFunc)( const Reference< cssc::XChartDocument >& ); - ::com::sun::star::uno::Reference< ::com::sun::star::chart2::XTitle > - mxTitle; /// The API title object. + Reference< XTitle > mxTitle; /// The API title object. ModelRef< LayoutModel > mxLayout; /// The layout model, if existing. GetShapeFunc mpGetShape; /// Helper function to receive the title shape. @@ -248,7 +241,7 @@ Reference< XInterface > ConverterRoot::createInstance( const OUString& rServiceN Reference< XInterface > xInt; try { - xInt = mxData->mrFilter.getGlobalFactory()->createInstance( rServiceName ); + xInt = mxData->mrFilter.getServiceFactory()->createInstance( rServiceName ); } catch( Exception& ) { @@ -331,9 +324,9 @@ sal_Int32 lclCalcSize( sal_Int32 nPos, sal_Int32 nChartSize, double fSize, sal_I sal_Int32 nValue = getLimitedValue< sal_Int32, double >( nChartSize * fSize + 0.5, 0, nChartSize ); switch( nSizeMode ) { - case XML_factor: // size as factor of chart size + case XML_factor: // passed value is width/height return nValue; - case XML_edge: // absolute end position as factor of chart size + case XML_edge: // passed value is right/bottom position return nValue - nPos + 1; }; @@ -341,6 +334,23 @@ sal_Int32 lclCalcSize( sal_Int32 nPos, sal_Int32 nChartSize, double fSize, sal_I return -1; } +/** Returns a relative size value in the chart area. */ +double lclCalcRelSize( double fPos, double fSize, sal_Int32 nSizeMode ) +{ + switch( nSizeMode ) + { + case XML_factor: // passed value is width/height + break; + case XML_edge: // passed value is right/bottom position + fSize -= fPos; + break; + default: + OSL_ENSURE( false, "lclCalcRelSize - unknown size mode" ); + fSize = 0.0; + }; + return getLimitedValue< double, double >( fSize, 0.0, 1.0 - fPos ); +} + } // namespace // ---------------------------------------------------------------------------- @@ -377,12 +387,20 @@ bool LayoutConverter::convertFromModel( PropertySet& rPropSet ) (mrModel.mnXMode == XML_edge) && (mrModel.mfX >= 0.0) && (mrModel.mnYMode == XML_edge) && (mrModel.mfY >= 0.0) ) { - RelativePosition aPos; - aPos.Primary = getLimitedValue< double, double >( mrModel.mfX, 0.0, 1.0 ); - aPos.Secondary = getLimitedValue< double, double >( mrModel.mfY, 0.0, 1.0 ); - aPos.Anchor = ::com::sun::star::drawing::Alignment_TOP_LEFT; + RelativePosition aPos( + getLimitedValue< double, double >( mrModel.mfX, 0.0, 1.0 ), + getLimitedValue< double, double >( mrModel.mfY, 0.0, 1.0 ), + Alignment_TOP_LEFT ); rPropSet.setProperty( PROP_RelativePosition, aPos ); - return true; + + RelativeSize aSize( + lclCalcRelSize( aPos.Primary, mrModel.mfW, mrModel.mnWMode ), + lclCalcRelSize( aPos.Secondary, mrModel.mfH, mrModel.mnHMode ) ); + if( (aSize.Primary > 0.0) && (aSize.Secondary > 0.0) ) + { + rPropSet.setProperty( PROP_RelativeSize, aSize ); + return true; + } } return false; } @@ -421,4 +439,4 @@ bool LayoutConverter::convertFromModel( const Reference< XShape >& rxShape, doub } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx index 6a750286d2d6..a34119a27a7f 100644 --- a/oox/source/drawingml/chart/datasourcecontext.cxx +++ b/oox/source/drawingml/chart/datasourcecontext.cxx @@ -27,11 +27,8 @@ ************************************************************************/ #include "oox/drawingml/chart/datasourcecontext.hxx" -#include "oox/drawingml/chart/datasourcemodel.hxx" -using ::rtl::OUString; -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; +#include "oox/drawingml/chart/datasourcemodel.hxx" namespace oox { namespace drawingml { @@ -39,6 +36,12 @@ namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; +using ::rtl::OUString; + +// ============================================================================ + DoubleSequenceContext::DoubleSequenceContext( ContextHandler2Helper& rParent, DataSequenceModel& rModel ) : DataSequenceContextBase( rParent, rModel ), mnPtIndex( -1 ) @@ -88,7 +91,7 @@ ContextHandlerRef DoubleSequenceContext::onCreateContext( sal_Int32 nElement, co return 0; } -void DoubleSequenceContext::onEndElement( const OUString& rChars ) +void DoubleSequenceContext::onCharacters( const OUString& rChars ) { switch( getCurrentElement() ) { @@ -171,7 +174,7 @@ ContextHandlerRef StringSequenceContext::onCreateContext( sal_Int32 nElement, co return 0; } -void StringSequenceContext::onEndElement( const OUString& rChars ) +void StringSequenceContext::onCharacters( const OUString& rChars ) { switch( getCurrentElement() ) { @@ -240,4 +243,4 @@ ContextHandlerRef DataSourceContext::onCreateContext( sal_Int32 nElement, const } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/datasourceconverter.cxx b/oox/source/drawingml/chart/datasourceconverter.cxx index 4c76b27b982e..b0bfc5aa9113 100644 --- a/oox/source/drawingml/chart/datasourceconverter.cxx +++ b/oox/source/drawingml/chart/datasourceconverter.cxx @@ -27,14 +27,10 @@ ************************************************************************/ #include "oox/drawingml/chart/datasourceconverter.hxx" + #include <com/sun/star/chart2/XChartDocument.hpp> #include "oox/drawingml/chart/chartconverter.hxx" #include "oox/drawingml/chart/datasourcemodel.hxx" -#include "properties.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::chart2::data::XDataSequence; namespace oox { namespace drawingml { @@ -42,6 +38,13 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::uno; + +using ::rtl::OUString; + +// ============================================================================ + DataSequenceConverter::DataSequenceConverter( const ConverterRoot& rParent, DataSequenceModel& rModel ) : ConverterBase< DataSequenceModel >( rParent, rModel ) { @@ -91,4 +94,4 @@ Reference< XDataSequence > DataSourceConverter::createDataSequence( const OUStri } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/datasourcemodel.cxx b/oox/source/drawingml/chart/datasourcemodel.cxx index b3535358231b..bc4c4f52bf4c 100644 --- a/oox/source/drawingml/chart/datasourcemodel.cxx +++ b/oox/source/drawingml/chart/datasourcemodel.cxx @@ -59,4 +59,4 @@ DataSourceModel::~DataSourceModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/modelbase.cxx b/oox/source/drawingml/chart/modelbase.cxx index 8ed15cac3425..d5fb42ba4dbe 100644 --- a/oox/source/drawingml/chart/modelbase.cxx +++ b/oox/source/drawingml/chart/modelbase.cxx @@ -27,9 +27,8 @@ ************************************************************************/ #include "oox/drawingml/chart/modelbase.hxx" -#include "oox/helper/attributelist.hxx" -using ::rtl::OUString; +#include "oox/helper/attributelist.hxx" namespace oox { namespace drawingml { @@ -37,6 +36,10 @@ namespace chart { // ============================================================================ +using ::rtl::OUString; + +// ============================================================================ + NumberFormat::NumberFormat() : mbSourceLinked( true ) { @@ -75,4 +78,4 @@ LayoutModel::~LayoutModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/objectformatter.cxx b/oox/source/drawingml/chart/objectformatter.cxx index 0dc5c2b24b40..0cfc314055f8 100644 --- a/oox/source/drawingml/chart/objectformatter.cxx +++ b/oox/source/drawingml/chart/objectformatter.cxx @@ -27,13 +27,11 @@ ************************************************************************/ #include "oox/drawingml/chart/objectformatter.hxx" -#include <rtl/strbuf.hxx> -#include <osl/thread.h> + #include <com/sun/star/util/XNumberFormatsSupplier.hpp> #include <com/sun/star/util/XNumberFormatTypes.hpp> -#include "properties.hxx" -#include "tokens.hxx" -#include "oox/helper/modelobjecthelper.hxx" +#include <osl/thread.h> +#include <rtl/strbuf.hxx> #include "oox/core/xmlfilterbase.hxx" #include "oox/drawingml/fillproperties.hxx" #include "oox/drawingml/lineproperties.hxx" @@ -41,24 +39,7 @@ #include "oox/drawingml/textparagraph.hxx" #include "oox/drawingml/theme.hxx" #include "oox/drawingml/chart/chartspacemodel.hxx" - -using ::rtl::OStringBuffer; -using ::rtl::OUString; -using ::rtl::OUStringToOString; -using ::com::sun::star::uno::Any; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::lang::Locale; -using ::com::sun::star::lang::XMultiServiceFactory; -using ::com::sun::star::frame::XModel; -using ::com::sun::star::chart2::XChartDocument; -using ::com::sun::star::graphic::XGraphic; -using ::com::sun::star::util::XNumberFormats; -using ::com::sun::star::util::XNumberFormatsSupplier; -using ::com::sun::star::util::XNumberFormatTypes; -using ::oox::core::XmlFilterBase; +#include "oox/helper/modelobjecthelper.hxx" namespace oox { namespace drawingml { @@ -66,6 +47,20 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::frame; +using namespace ::com::sun::star::graphic; +using namespace ::com::sun::star::lang; +using namespace ::com::sun::star::uno; +using namespace ::com::sun::star::util; + +using ::oox::core::XmlFilterBase; +using ::rtl::OStringBuffer; +using ::rtl::OUString; +using ::rtl::OUStringToOString; + +// ============================================================================ + namespace { struct AutoFormatPatternEntry @@ -1213,4 +1208,4 @@ void ObjectFormatter::convertAutomaticFill( PropertySet& rPropSet, ObjectType eO } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/plotareacontext.cxx b/oox/source/drawingml/chart/plotareacontext.cxx index 53ef3af9568d..8139d86645c6 100644 --- a/oox/source/drawingml/chart/plotareacontext.cxx +++ b/oox/source/drawingml/chart/plotareacontext.cxx @@ -27,6 +27,7 @@ ************************************************************************/ #include "oox/drawingml/chart/plotareacontext.hxx" + #include "oox/drawingml/shapepropertiescontext.hxx" #include "oox/drawingml/chart/axiscontext.hxx" #include "oox/drawingml/chart/plotareamodel.hxx" @@ -34,15 +35,17 @@ #include "oox/drawingml/chart/titlecontext.hxx" #include "oox/drawingml/chart/typegroupcontext.hxx" -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; + +// ============================================================================ + View3DContext::View3DContext( ContextHandler2Helper& rParent, View3DModel& rModel ) : ContextBase< View3DModel >( rParent, rModel ) { @@ -184,4 +187,4 @@ ContextHandlerRef PlotAreaContext::onCreateContext( sal_Int32 nElement, const At } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx b/oox/source/drawingml/chart/plotareaconverter.cxx index 2a866bb2f9fb..83910029c64b 100644 --- a/oox/source/drawingml/chart/plotareaconverter.cxx +++ b/oox/source/drawingml/chart/plotareaconverter.cxx @@ -27,28 +27,18 @@ ************************************************************************/ #include "oox/drawingml/chart/plotareaconverter.hxx" -#include <com/sun/star/drawing/Direction3D.hpp> -#include <com/sun/star/drawing/ProjectionMode.hpp> -#include <com/sun/star/drawing/ShadeMode.hpp> + #include <com/sun/star/chart/XChartDocument.hpp> #include <com/sun/star/chart/XDiagramPositioning.hpp> #include <com/sun/star/chart2/XChartDocument.hpp> #include <com/sun/star/chart2/XCoordinateSystemContainer.hpp> #include <com/sun/star/chart2/XDiagram.hpp> +#include <com/sun/star/drawing/Direction3D.hpp> +#include <com/sun/star/drawing/ProjectionMode.hpp> +#include <com/sun/star/drawing/ShadeMode.hpp> #include "oox/drawingml/chart/axisconverter.hxx" #include "oox/drawingml/chart/plotareamodel.hxx" #include "oox/drawingml/chart/typegroupconverter.hxx" -#include "properties.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::awt::Rectangle; -using ::com::sun::star::chart2::XCoordinateSystem; -using ::com::sun::star::chart2::XCoordinateSystemContainer; -using ::com::sun::star::chart2::XDiagram; namespace oox { namespace drawingml { @@ -56,6 +46,14 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::uno; + +using ::rtl::OUString; + +// ============================================================================ + namespace { /** Axes set model. This is a helper for the plot area converter collecting all @@ -454,4 +452,4 @@ void PlotAreaConverter::convertPositionFromModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx index 93aae6a898c0..807f3cab50fb 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -27,27 +27,30 @@ ************************************************************************/ #include "oox/drawingml/chart/seriescontext.hxx" + #include "oox/drawingml/shapepropertiescontext.hxx" #include "oox/drawingml/textbodycontext.hxx" #include "oox/drawingml/chart/datasourcecontext.hxx" #include "oox/drawingml/chart/seriesmodel.hxx" #include "oox/drawingml/chart/titlecontext.hxx" -using ::rtl::OUString; -using ::oox::core::ContextHandler2; -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2; +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; +using ::rtl::OUString; + +// ============================================================================ + namespace { -ContextHandlerRef lclDataLabelSharedCreateContext( - ContextHandler2& rContext, sal_Int32 nElement, const AttributeList& rAttribs, DataLabelModelBase& orModel ) +ContextHandlerRef lclDataLabelSharedCreateContext( ContextHandler2& rContext, + sal_Int32 nElement, const AttributeList& rAttribs, DataLabelModelBase& orModel ) { if( rContext.isRootElement() ) switch( nElement ) { @@ -80,7 +83,7 @@ ContextHandlerRef lclDataLabelSharedCreateContext( orModel.mobShowVal = rAttribs.getBool( XML_val ); return 0; case C_TOKEN( separator ): - // collect separator text in onEndElement() + // collect separator text in onCharacters() return &rContext; case C_TOKEN( spPr ): return new ShapePropertiesContext( rContext, orModel.mxShapeProp.create() ); @@ -90,14 +93,10 @@ ContextHandlerRef lclDataLabelSharedCreateContext( return 0; } -void lclDataLabelSharedEndElement( ContextHandler2& rContext, const OUString& rChars, DataLabelModelBase& orModel ) +void lclDataLabelSharedCharacters( ContextHandler2& rContext, const OUString& rChars, DataLabelModelBase& orModel ) { - switch( rContext.getCurrentElement() ) - { - case C_TOKEN( separator ): - orModel.moaSeparator = rChars; - break; - } + if( rContext.isCurrentElement( C_TOKEN( separator ) ) ) + orModel.moaSeparator = rChars; } } // namespace @@ -128,9 +127,9 @@ ContextHandlerRef DataLabelContext::onCreateContext( sal_Int32 nElement, const A return lclDataLabelSharedCreateContext( *this, nElement, rAttribs, mrModel ); } -void DataLabelContext::onEndElement( const OUString& rChars ) +void DataLabelContext::onCharacters( const OUString& rChars ) { - lclDataLabelSharedEndElement( *this, rChars, mrModel ); + lclDataLabelSharedCharacters( *this, rChars, mrModel ); } // ============================================================================ @@ -160,9 +159,9 @@ ContextHandlerRef DataLabelsContext::onCreateContext( sal_Int32 nElement, const return lclDataLabelSharedCreateContext( *this, nElement, rAttribs, mrModel ); } -void DataLabelsContext::onEndElement( const OUString& rChars ) +void DataLabelsContext::onCharacters( const OUString& rChars ) { - lclDataLabelSharedEndElement( *this, rChars, mrModel ); + lclDataLabelSharedCharacters( *this, rChars, mrModel ); } // ============================================================================ @@ -306,7 +305,7 @@ ContextHandlerRef TrendlineContext::onCreateContext( sal_Int32 nElement, const A mrModel.mfIntercept = rAttribs.getDouble( XML_val, 0.0 ); return 0; case C_TOKEN( name ): - return this; // collect name in onEndElement() + return this; // collect name in onCharacters() case C_TOKEN( order ): mrModel.mnOrder = rAttribs.getInteger( XML_val, 2 ); return 0; @@ -324,14 +323,10 @@ ContextHandlerRef TrendlineContext::onCreateContext( sal_Int32 nElement, const A return 0; } -void TrendlineContext::onEndElement( const ::rtl::OUString& rChars ) +void TrendlineContext::onCharacters( const OUString& rChars ) { - switch( getCurrentElement() ) - { - case C_TOKEN( name ): - mrModel.maName = rChars; - break; - } + if( isCurrentElement( C_TOKEN( name ) ) ) + mrModel.maName = rChars; } // ============================================================================ @@ -759,4 +754,4 @@ ContextHandlerRef SurfaceSeriesContext::onCreateContext( sal_Int32 nElement, con } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index d717413e6976..cc1256b5ee05 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -27,6 +27,7 @@ ************************************************************************/ #include "oox/drawingml/chart/seriesconverter.hxx" + #include <com/sun/star/chart/DataLabelPlacement.hpp> #include <com/sun/star/chart/ErrorBarStyle.hpp> #include <com/sun/star/chart2/DataPointLabel.hpp> @@ -39,21 +40,7 @@ #include "oox/drawingml/chart/titleconverter.hxx" #include "oox/drawingml/chart/typegroupconverter.hxx" #include "oox/drawingml/chart/typegroupmodel.hxx" -#include "properties.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::chart2::DataPointLabel; -using ::com::sun::star::chart2::XDataSeries; -using ::com::sun::star::chart2::XRegressionCurve; -using ::com::sun::star::chart2::XRegressionCurveContainer; -using ::com::sun::star::chart2::data::XDataSequence; -using ::com::sun::star::chart2::data::XDataSink; -using ::com::sun::star::chart2::data::XLabeledDataSequence; +#include "oox/helper/containerhelper.hxx" namespace oox { namespace drawingml { @@ -61,6 +48,15 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::uno; + +using ::rtl::OUString; + +// ============================================================================ + namespace { Reference< XLabeledDataSequence > lclCreateLabeledDataSequence( @@ -623,4 +619,4 @@ Reference< XLabeledDataSequence > SeriesConverter::createLabeledDataSequence( } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/seriesmodel.cxx b/oox/source/drawingml/chart/seriesmodel.cxx index 9db26a7225b2..16c302324cbc 100644 --- a/oox/source/drawingml/chart/seriesmodel.cxx +++ b/oox/source/drawingml/chart/seriesmodel.cxx @@ -156,4 +156,4 @@ SeriesModel::~SeriesModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/titlecontext.cxx b/oox/source/drawingml/chart/titlecontext.cxx index da314bf396c0..33bb914b6d99 100644 --- a/oox/source/drawingml/chart/titlecontext.cxx +++ b/oox/source/drawingml/chart/titlecontext.cxx @@ -27,21 +27,24 @@ ************************************************************************/ #include "oox/drawingml/chart/titlecontext.hxx" + #include "oox/drawingml/shapepropertiescontext.hxx" #include "oox/drawingml/textbodycontext.hxx" #include "oox/drawingml/chart/datasourcecontext.hxx" #include "oox/drawingml/chart/titlemodel.hxx" -using ::rtl::OUString; -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; +using ::rtl::OUString; + +// ============================================================================ + TextContext::TextContext( ContextHandler2Helper& rParent, TextModel& rModel ) : ContextBase< TextModel >( rParent, rModel ) { @@ -53,34 +56,28 @@ TextContext::~TextContext() ContextHandlerRef TextContext::onCreateContext( sal_Int32 nElement, const AttributeList& ) { - switch( getCurrentElement() ) + // this context handler is used for <c:tx> and embedded <c:v> elements + if( isCurrentElement( C_TOKEN( tx ) ) ) switch( nElement ) { - case C_TOKEN( tx ): - switch( nElement ) - { - case C_TOKEN( rich ): - return new TextBodyContext( *this, mrModel.mxTextBody.create() ); - case C_TOKEN( strRef ): - OSL_ENSURE( !mrModel.mxDataSeq, "TextContext::onCreateContext - multiple data sequences" ); - return new StringSequenceContext( *this, mrModel.mxDataSeq.create() ); - case C_TOKEN( v ): - OSL_ENSURE( !mrModel.mxDataSeq, "TextContext::onCreateContext - multiple data sequences" ); - return this; // collect value in onEndElement() - } - break; + case C_TOKEN( rich ): + return new TextBodyContext( *this, mrModel.mxTextBody.create() ); + + case C_TOKEN( strRef ): + OSL_ENSURE( !mrModel.mxDataSeq, "TextContext::onCreateContext - multiple data sequences" ); + return new StringSequenceContext( *this, mrModel.mxDataSeq.create() ); + + case C_TOKEN( v ): + OSL_ENSURE( !mrModel.mxDataSeq, "TextContext::onCreateContext - multiple data sequences" ); + return this; // collect value in onCharacters() } return 0; } -void TextContext::onEndElement( const OUString& rChars ) +void TextContext::onCharacters( const OUString& rChars ) { - switch( getCurrentElement() ) - { - case C_TOKEN( v ): - // store as single string sequence element - mrModel.mxDataSeq.create().maData[ 0 ] <<= rChars; - break; - } + // store as single string sequence element + if( isCurrentElement( C_TOKEN( v ) ) ) + mrModel.mxDataSeq.create().maData[ 0 ] <<= rChars; } // ============================================================================ @@ -96,25 +93,25 @@ TitleContext::~TitleContext() ContextHandlerRef TitleContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { - switch( getCurrentElement() ) + // this context handler is used for <c:title> only + switch( nElement ) { - case C_TOKEN( title ): - switch( nElement ) - { - case C_TOKEN( layout ): - return new LayoutContext( *this, mrModel.mxLayout.create() ); - case C_TOKEN( overlay ): - // default is 'false', not 'true' as specified - mrModel.mbOverlay = rAttribs.getBool( XML_val, false ); - return 0; - case C_TOKEN( spPr ): - return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() ); - case C_TOKEN( tx ): - return new TextContext( *this, mrModel.mxText.create() ); - case C_TOKEN( txPr ): - return new TextBodyContext( *this, mrModel.mxTextProp.create() ); - } - break; + case C_TOKEN( layout ): + return new LayoutContext( *this, mrModel.mxLayout.create() ); + + case C_TOKEN( overlay ): + // default is 'false', not 'true' as specified + mrModel.mbOverlay = rAttribs.getBool( XML_val, false ); + return 0; + + case C_TOKEN( spPr ): + return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() ); + + case C_TOKEN( tx ): + return new TextContext( *this, mrModel.mxText.create() ); + + case C_TOKEN( txPr ): + return new TextBodyContext( *this, mrModel.mxTextProp.create() ); } return 0; } @@ -132,26 +129,26 @@ LegendContext::~LegendContext() ContextHandlerRef LegendContext::onCreateContext( sal_Int32 nElement, const AttributeList& rAttribs ) { - switch( getCurrentElement() ) + // this context handler is used for <c:legend> only + switch( nElement ) { - case C_TOKEN( legend ): - switch( nElement ) - { - case C_TOKEN( layout ): - return new LayoutContext( *this, mrModel.mxLayout.create() ); - case C_TOKEN( legendPos ): - mrModel.mnPosition = rAttribs.getToken( XML_val, XML_r ); - return 0; - case C_TOKEN( overlay ): - // default is 'false', not 'true' as specified - mrModel.mbOverlay = rAttribs.getBool( XML_val, false ); - return 0; - case C_TOKEN( spPr ): - return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() ); - case C_TOKEN( txPr ): - return new TextBodyContext( *this, mrModel.mxTextProp.create() ); - } - break; + case C_TOKEN( layout ): + return new LayoutContext( *this, mrModel.mxLayout.create() ); + + case C_TOKEN( legendPos ): + mrModel.mnPosition = rAttribs.getToken( XML_val, XML_r ); + return 0; + + case C_TOKEN( overlay ): + // default is 'false', not 'true' as specified + mrModel.mbOverlay = rAttribs.getBool( XML_val, false ); + return 0; + + case C_TOKEN( spPr ): + return new ShapePropertiesContext( *this, mrModel.mxShapeProp.create() ); + + case C_TOKEN( txPr ): + return new TextBodyContext( *this, mrModel.mxTextProp.create() ); } return 0; } @@ -162,4 +159,4 @@ ContextHandlerRef LegendContext::onCreateContext( sal_Int32 nElement, const Attr } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/titleconverter.cxx b/oox/source/drawingml/chart/titleconverter.cxx index 1fe1556fd09a..b3134c283ce0 100644 --- a/oox/source/drawingml/chart/titleconverter.cxx +++ b/oox/source/drawingml/chart/titleconverter.cxx @@ -27,32 +27,19 @@ ************************************************************************/ #include "oox/drawingml/chart/titleconverter.hxx" -#include <com/sun/star/chart2/LegendExpansion.hpp> + +#include <com/sun/star/chart/ChartLegendExpansion.hpp> #include <com/sun/star/chart2/LegendPosition.hpp> #include <com/sun/star/chart2/XDiagram.hpp> #include <com/sun/star/chart2/XFormattedString.hpp> #include <com/sun/star/chart2/XLegend.hpp> #include <com/sun/star/chart2/XTitle.hpp> #include <com/sun/star/chart2/XTitled.hpp> -#include "properties.hxx" #include "oox/drawingml/textbody.hxx" #include "oox/drawingml/textparagraph.hxx" #include "oox/drawingml/chart/datasourceconverter.hxx" #include "oox/drawingml/chart/titlemodel.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::awt::Rectangle; -using ::com::sun::star::chart2::XDiagram; -using ::com::sun::star::chart2::XFormattedString; -using ::com::sun::star::chart2::XLegend; -using ::com::sun::star::chart2::XTitle; -using ::com::sun::star::chart2::XTitled; -using ::com::sun::star::chart2::data::XDataSequence; -using ::oox::core::XmlFilterBase; +#include "oox/helper/containerhelper.hxx" namespace oox { namespace drawingml { @@ -60,6 +47,16 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::awt; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::uno; + +using ::oox::core::XmlFilterBase; +using ::rtl::OUString; + +// ============================================================================ + TextConverter::TextConverter( const ConverterRoot& rParent, TextModel& rModel ) : ConverterBase< TextModel >( rParent, rModel ) { @@ -202,6 +199,7 @@ void LegendConverter::convertFromModel( const Reference< XDiagram >& rxDiagram ) { if( rxDiagram.is() ) try { + namespace cssc = ::com::sun::star::chart; namespace cssc2 = ::com::sun::star::chart2; // create the legend @@ -215,46 +213,35 @@ void LegendConverter::convertFromModel( const Reference< XDiagram >& rxDiagram ) // predefined legend position and expansion cssc2::LegendPosition eLegendPos = cssc2::LegendPosition_CUSTOM; - cssc2::LegendExpansion eLegendExpand = cssc2::LegendExpansion_HIGH; + cssc::ChartLegendExpansion eLegendExpand = cssc::ChartLegendExpansion_CUSTOM; switch( mrModel.mnPosition ) { case XML_l: eLegendPos = cssc2::LegendPosition_LINE_START; - eLegendExpand = cssc2::LegendExpansion_HIGH; + eLegendExpand = cssc::ChartLegendExpansion_HIGH; break; case XML_r: + case XML_tr: // top-right not supported eLegendPos = cssc2::LegendPosition_LINE_END; - eLegendExpand = cssc2::LegendExpansion_HIGH; + eLegendExpand = cssc::ChartLegendExpansion_HIGH; break; case XML_t: eLegendPos = cssc2::LegendPosition_PAGE_START; - eLegendExpand = cssc2::LegendExpansion_WIDE; + eLegendExpand = cssc::ChartLegendExpansion_WIDE; break; case XML_b: eLegendPos = cssc2::LegendPosition_PAGE_END; - eLegendExpand = cssc2::LegendExpansion_WIDE; - break; - case XML_tr: - eLegendPos = cssc2::LegendPosition_LINE_END; // top-right not supported - eLegendExpand = cssc2::LegendExpansion_HIGH; + eLegendExpand = cssc::ChartLegendExpansion_WIDE; break; } - // manual positioning - LayoutModel& rLayout = mrModel.mxLayout.getOrCreate(); - LayoutConverter aLayoutConv( *this, rLayout ); - aLayoutConv.convertFromModel( aPropSet ); - Rectangle aLegendRect; - if( aLayoutConv.calcAbsRectangle( aLegendRect ) ) + // manual positioning and size + if( mrModel.mxLayout.get() ) { - // #i71697# it is not possible to set the size directly, do some magic here - double fRatio = static_cast< double >( aLegendRect.Width ) / aLegendRect.Height; - if( fRatio > 1.5 ) - eLegendExpand = cssc2::LegendExpansion_WIDE; - else if( fRatio < 0.75 ) - eLegendExpand = cssc2::LegendExpansion_HIGH; - else - eLegendExpand = cssc2::LegendExpansion_BALANCED; + LayoutConverter aLayoutConv( *this, *mrModel.mxLayout ); + // manual size needs ChartLegendExpansion_CUSTOM + if( aLayoutConv.convertFromModel( aPropSet ) ) + eLegendExpand = cssc::ChartLegendExpansion_CUSTOM; } // set position and expansion properties @@ -272,4 +259,4 @@ void LegendConverter::convertFromModel( const Reference< XDiagram >& rxDiagram ) } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/titlemodel.cxx b/oox/source/drawingml/chart/titlemodel.cxx index 8a6d433fab9f..aef5bb02ce5f 100644 --- a/oox/source/drawingml/chart/titlemodel.cxx +++ b/oox/source/drawingml/chart/titlemodel.cxx @@ -71,4 +71,4 @@ LegendModel::~LegendModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx index 62892a3ab1b9..932cc1f09969 100644 --- a/oox/source/drawingml/chart/typegroupcontext.cxx +++ b/oox/source/drawingml/chart/typegroupcontext.cxx @@ -27,18 +27,21 @@ ************************************************************************/ #include "oox/drawingml/chart/typegroupcontext.hxx" + #include "oox/drawingml/chart/seriescontext.hxx" #include "oox/drawingml/chart/typegroupmodel.hxx" -using ::oox::core::ContextHandler2Helper; -using ::oox::core::ContextHandlerRef; - namespace oox { namespace drawingml { namespace chart { // ============================================================================ +using ::oox::core::ContextHandler2Helper; +using ::oox::core::ContextHandlerRef; + +// ============================================================================ + UpDownBarsContext::UpDownBarsContext( ContextHandler2Helper& rParent, UpDownBarsModel& rModel ) : ContextBase< UpDownBarsModel >( rParent, rModel ) { @@ -401,4 +404,4 @@ ContextHandlerRef SurfaceTypeGroupContext::onCreateContext( sal_Int32 nElement, } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx index 5be7af68ba38..d4ca5d9cc65d 100644 --- a/oox/source/drawingml/chart/typegroupconverter.cxx +++ b/oox/source/drawingml/chart/typegroupconverter.cxx @@ -27,6 +27,7 @@ ************************************************************************/ #include "oox/drawingml/chart/typegroupconverter.hxx" + #include <com/sun/star/chart/DataLabelPlacement.hpp> #include <com/sun/star/chart2/CurveStyle.hpp> #include <com/sun/star/chart2/DataPointGeometry3D.hpp> @@ -40,23 +41,7 @@ #include "oox/drawingml/lineproperties.hxx" #include "oox/drawingml/chart/seriesconverter.hxx" #include "oox/drawingml/chart/typegroupmodel.hxx" -#include "properties.hxx" - -using ::rtl::OUString; -using ::com::sun::star::uno::Reference; -using ::com::sun::star::uno::Sequence; -using ::com::sun::star::uno::Exception; -using ::com::sun::star::uno::UNO_QUERY; -using ::com::sun::star::uno::UNO_QUERY_THROW; -using ::com::sun::star::beans::XPropertySet; -using ::com::sun::star::chart2::XChartType; -using ::com::sun::star::chart2::XChartTypeContainer; -using ::com::sun::star::chart2::XCoordinateSystem; -using ::com::sun::star::chart2::XDataSeries; -using ::com::sun::star::chart2::XDataSeriesContainer; -using ::com::sun::star::chart2::XDiagram; -using ::com::sun::star::chart2::data::XDataSink; -using ::com::sun::star::chart2::data::XLabeledDataSequence; +#include "oox/helper/containerhelper.hxx" namespace oox { namespace drawingml { @@ -64,6 +49,15 @@ namespace chart { // ============================================================================ +using namespace ::com::sun::star::beans; +using namespace ::com::sun::star::chart2; +using namespace ::com::sun::star::chart2::data; +using namespace ::com::sun::star::uno; + +using ::rtl::OUString; + +// ============================================================================ + namespace { // chart type service names @@ -572,4 +566,4 @@ void TypeGroupConverter::insertDataSeries( const Reference< XChartType >& rxChar } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file diff --git a/oox/source/drawingml/chart/typegroupmodel.cxx b/oox/source/drawingml/chart/typegroupmodel.cxx index 8ddc70704917..bba55670ac29 100644 --- a/oox/source/drawingml/chart/typegroupmodel.cxx +++ b/oox/source/drawingml/chart/typegroupmodel.cxx @@ -82,4 +82,4 @@ TypeGroupModel::~TypeGroupModel() } // namespace drawingml } // namespace oox -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
\ No newline at end of file |