summaryrefslogtreecommitdiff
path: root/xmloff
AgeCommit message (Collapse)Author
2014-02-11coverity#708722 Uninitialized scalar fieldCaolán McNamara
Change-Id: I553f573914a60c77184403cdf0478cb5b442475a
2014-02-11coverity#708721 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ief6411d08837fc7b50bdca71bd33503f8eed16b9
2014-02-10coverity#1079007 Uncaught exceptionCaolán McNamara
Change-Id: Ic4b1805809aa0a2a78007d5808fd8ae6097b080f
2014-02-09cppcheck: Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I34446102091ef8be72d5aec603740db531fdd14b
2014-02-07fdo#73281: Why!?Kohei Yoshida
This restriction makes absolutely no sense. It was likely someone's temporarily hack that was totally forgotten in the past 10 years... Not to mention removing this fixes my bug. Change-Id: I7394cccdc9fe486fda6cdd9b7eaf98fd291895a9
2014-02-08ODF export/import: text vertical adjustment attribute of text framesZolnai Tamás
ODF standard handle 'textarea-vertical-align' as a 'graphic-property' which "specifies formatting properties for chart, draw, graphic, and frame elements". So this change fit to the standard. Change-Id: I956f512953380983c2c882e943178335fd4dbfeb
2014-02-07fdo#74230: ODF export: write stroke and fill color in graphic defaultsMichael Stahl
The pool defaults for svg:stroke-color and draw:fill-color were changed and while previously (effective, manually overridden) defaults were written into ODF files, this was lost with the change; restore that. (regression from c0eb5e7772c848806db8ab461f77f9549c1d8b2b) Change-Id: Ibcd863260976aa42116175c7f19cb33760af986f
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06Typo: atribute(s) -> attribute(s)Julien Nabet
Change-Id: I5434402e372c4567b2c3f96f5c175618ba3e5cfb
2014-02-06Fix spelling errrorTor Lillqvist
Change-Id: Ie5fc19fa223942e31899408324beb2e15c1d7bef
2014-02-06xo: Constructor feature for XMLVersionListPersistence.Matúš Kukan
Change-Id: I04429d95622f0b5a5988fa3dc3bac16d55aa1b3f
2014-02-05fdo#54938 Convert sfx2, xmloff and connec.. to cppu::supportsServiceAlexandre Vicenzi
Change-Id: Ib5d3aabf8aa88ec24e44584047d0405a09fa44ed Reviewed-on: https://gerrit.libreoffice.org/7864 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-05Resolves: #i124143# for draw:frame containing multiple draw:image...Armin Le Grand
and draw:glue-point it is necessary to move the GluePoints from the last draw:image where they were automatically imported to the surviving one if these are different (cherry picked from commit c011af1087411a9bacd29cd479c807e698b2e92c) Conflicts: xmloff/inc/xmloff/xmlictxt.hxx xmloff/source/core/xmlmultiimagehelper.cxx xmloff/source/draw/ximpshap.cxx xmloff/source/draw/ximpshap.hxx Change-Id: I8f6c875767e9cbfee74838742401356df002b051
2014-02-03Remove needless SAL_DLLPRIVATE annotationsStephan Bergmann
Change-Id: I6a85d226bd9f61eb4e348ed34ec556762de7b023
2014-02-02Remove this duplicate and use the UNO constant values instead.Kohei Yoshida
Change-Id: Id81aacc6c594ad25d97f6f6dc578ed9ca16549ab
2014-01-30swpagerelsize: implement ODF import/exportMiklos Vajna
Export rel-height-rel / rel-width-rel only in case rel-height / rel-width is non-zero, though. Change-Id: I36120cbd8679ac4fc072d1e7cf4dfc024836b5ac
2014-01-28bool improvementsStephan Bergmann
Change-Id: I238ab0ebe54cc804c85356a3de9fbdcc396057d3
2014-01-27Resolves: fdo#73814 wrong name for drawing::PointSequenceSequence propertyCaolán McNamara
examining svx/source/unodraw/unoprov.cxx "Geometry" is a indeed a drawing::PolyPolygonBezierCoords for the BezierShapes and a drawing::PointSequenceSequence for the PolyShapes regression since e44335abe006d05f0f915279605a03ef084116d6 because after 223f6b631c1b087754c0f9051fb55f029f2503ce we started getting drawing::PointSequenceSequences in maPath which is the wrong type for the argument to property "PolyPolygonBezier" for those shapes. Which led me to incorrectly assume that the all PolyPolygonBezier properties were named "PolyPolygonBezier" which isn't the case. so reverting the non maPath hunks of e44335abe006d05f0f915279605a03ef084116d6 Change-Id: I013a66778d11a472fc4567e53a9e17e73e2b91ce
2014-01-24coverity#736746 Resource leakCaolán McNamara
Change-Id: I01fc15563b57560fd503f66abf2e2fc07301feb7
2014-01-24Resolves: fdo#73355 reconcile legacy path bug detectionCaolán McNamara
reconcile "223f6b631c1b087754c0f9051fb55f029f2503ce Resolves: #i123433# Detect pseudo-vertices at svg import..." with "7a19798c73fd39d8d69ff6364f0696e68cdd1381" Compatibility option for incorrect relative moves after closePath (fdo#47406) and "a2ee8055e9c136923f0244fe289cac6377933c31" Fix fdo#47406 incorrect relative moves after closePath Change-Id: I1221099a40500aeb4165a3350d8ae2df1fd3111b
2014-01-23Let C++ inline functions return bool instead of sal_BoolStephan Bergmann
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Missing overloads of insert() for bool have been added to OStringBuffer and OUStringBuffer (which required dropping one !VALID_CONVERSION check that would now pick that overload, but would be flagged by compilerplugins/clang/pointertobool.cxx). Change-Id: I2d64cd923b8f47bfaa31e753def6515c29a3f8c9
2014-01-22warning C4805: '|=' : unsafe mix of type 'bool' and type 'sal_Bool'Stephan Bergmann
Change-Id: I9a23865f7b1cf9d88f5b4f754b15e95554da3fda
2014-01-22bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)Stephan Bergmann
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-20Removed unused solar.h referenceAlexandre Vicenzi
Change-Id: I1ff7d4bad068a8bc8cdc7f27dbfaee199d0f2e5f Reviewed-on: https://gerrit.libreoffice.org/7513 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-17Flag bogus "true" with a FIXMEStephan Bergmann
Change-Id: I0ff052ca980f33aa62333a26c70ba91e21ede56a
2014-01-16Resolves: #i123457# suppress import and export of hyperlinks without an URLOliver-Rainer Wittmann
(cherry picked from commit 71d322a8ce0f5f5cbfd66fd689ff10b3490c1ee4) Conflicts: include/xmloff/xmlexp.hxx xmloff/source/core/xmlexp.cxx xmloff/source/text/txtparae.cxx xmloff/source/text/txtparai.cxx Change-Id: Ie8291c93c86815cab68482b35a5e88a3bd9b731e
2014-01-16fdo#72520 : Added property to store external data path in chart.sushil_shinde
- added new property entry to store xlsx external data for chart. Change-Id: I3695865ad7e888359d1048e9bc380cba26108636 Reviewed-on: https://gerrit.libreoffice.org/7212 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-14bool improvementsStephan Bergmann
Change-Id: I42127c096aa4310e3c8b6c9b6487b4de63e7ac9a
2014-01-09Resolves: #i123792# correction for comments/annotations on table cell rangesOliver-Rainer Wittmann
(cherry picked from commit c25523dd3a302d1bd36297a817a869afb3605d1f) Conflicts: sw/inc/IDocumentMarkAccess.hxx sw/inc/doc.hxx sw/source/core/doc/docbm.cxx sw/source/core/undo/undobj.cxx sw/source/ui/shells/textfld.cxx xmloff/source/text/txtfldi.cxx Change-Id: Ic2e12f47e7775ee16f31bedf89d5644b18734d7a
2014-01-09Consolidate XServiceInfo for classes derived from SvXMLImportStephan Bergmann
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-08123792: complete annotations on text ranges featureOliver-Rainer Wittmann
- rely annotations on text ranges on new annotation marks - support arbitrary text ranges for annotations - fix undo/redo regarding annotations an text ranges - support annotations on overlapping text ranges - fix *.docx import for annotations on overlapping text ranges - fix ODF import of annotations on text ranges cherry-picked from branch ooxml-osba (cherry picked from commit ebd2922ebd3cf2d3899fb80780d38f367197aadf) Conflicts: sw/Library_sw.mk sw/inc/IDocumentMarkAccess.hxx sw/inc/SidebarWin.hxx sw/inc/doc.hxx sw/inc/docufld.hxx sw/inc/hintids.hxx sw/inc/ndhints.hxx sw/inc/txatbase.hxx sw/inc/unobookmark.hxx sw/inc/unofield.hxx sw/inc/unoport.hxx sw/source/core/access/accpara.cxx sw/source/core/bastyp/init.cxx sw/source/core/crsr/bookmrk.cxx sw/source/core/crsr/findtxt.cxx sw/source/core/doc/dbgoutsw.cxx sw/source/core/doc/docbm.cxx sw/source/core/doc/doccorr.cxx sw/source/core/doc/docdde.cxx sw/source/core/doc/docedt.cxx sw/source/core/doc/docfld.cxx sw/source/core/doc/doclay.cxx sw/source/core/doc/tblrwcl.cxx sw/source/core/docnode/ndcopy.cxx sw/source/core/docnode/nodes.cxx sw/source/core/docnode/section.cxx sw/source/core/edit/edfld.cxx sw/source/core/fields/docufld.cxx sw/source/core/fields/postithelper.cxx sw/source/core/fields/reffld.cxx sw/source/core/inc/MarkManager.hxx sw/source/core/inc/crossrefbookmark.hxx sw/source/core/text/inftxt.cxx sw/source/core/text/itratr.cxx sw/source/core/text/txtfrm.cxx sw/source/core/txtnode/atrfld.cxx sw/source/core/txtnode/ndtxt.cxx sw/source/core/txtnode/thints.cxx sw/source/core/undo/undel.cxx sw/source/core/undo/undobj.cxx sw/source/core/unocore/unofield.cxx sw/source/core/unocore/unoport.cxx sw/source/core/unocore/unoportenum.cxx sw/source/filter/html/htmlatr.cxx sw/source/filter/html/htmlgrin.cxx sw/source/filter/html/wrthtml.cxx sw/source/filter/writer/writer.cxx sw/source/filter/ww1/fltshell.cxx sw/source/filter/ww8/wrtw8nds.cxx sw/source/filter/ww8/ww8par.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/dochdl/swdtflvr.cxx sw/source/ui/docvw/PostItMgr.cxx sw/source/ui/docvw/SidebarWin.cxx sw/source/ui/fldui/fldmgr.cxx sw/source/ui/fldui/fldref.cxx sw/source/ui/inc/fldmgr.hxx sw/source/ui/inc/wrtsh.hxx sw/source/ui/shells/textfld.cxx sw/source/ui/uiview/view2.cxx sw/source/ui/utlui/navipi.cxx sw/source/ui/wrtsh/wrtsh2.cxx writerfilter/source/dmapper/DomainMapper_Impl.cxx writerfilter/source/dmapper/DomainMapper_Impl.hxx writerfilter/source/dmapper/PropertyMap.cxx xmloff/inc/txtfldi.hxx xmloff/source/text/txtfldi.cxx xmloff/source/text/txtparae.cxx Change-Id: Ie4cc467dbb837054c73742262ee20f35c151ff3f
2014-01-08Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-04cppcheck: const_cast instead of C castJulien Nabet
Change-Id: I9b4a01364ff8b8c82fec687ab0cbd73952b3e237
2013-12-20fdo#58112 write loext:contextual-spacing accept style:contextual-spacingEike Rathke
Change-Id: I3e6698d9d9399dd5a13658641847df8a5f34f6ae
2013-12-20prepare to accept loext:contextual-spacing, fdo#58112Eike Rathke
Change-Id: I58e151743bf910b8b51f1b453e0bfcb4ed767d9d
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20added bool bForExport parameter to XMLPropertySetMapper ctorEike Rathke
Set to true for export, false for import. If export true, an XMLPropertyMapEntry with mbImportOnly==true is not added to the mappings. This to be able to have more than one mappings for import (for example a current extension namespace and the future namespace proposed to the ODF-TC, or corrected typos in element or attribute names), but map only to one entry on export, of course. Change-Id: Ia01ea949c88eda2f8a6c10f51c59e35e7abdcaf3
2013-12-20prepared XMLPropertyMapEntry with mbImportOnly flagEike Rathke
Change-Id: Id5a54a591a42c836884af1fd09dc055f2fce6db5
2013-12-20reordered member variables for 4 byte alignmentEike Rathke
Change-Id: Iaae7689d1ed3c74e261fcc90fa88b5521468e376
2013-12-19Add new XML tokens for ODS, for calc data stream import & export.Kohei Yoshida
Change-Id: I3b86a53a3fcbac8eab56a74c5c636e0ce0cb13e5
2013-12-19fdo#72304 Preserve Chart data table properties during ODF import/export.Nikhil Walvekar
Change-Id: I767bb32fdaddcaf742923055cc86bb19138b42be
2013-12-19fdo#72306 Axis names were lost after saving file on LO.sushil_shinde
While exporting chart "crosses" position values were not handled properly in chartexport. Fixed this issue by handling "autozero" value for c:crosses. Added unit test. Change-Id: I3489908d4c3d4b41a04debfecf95e65f373649ce
2013-12-18fdo#72850: ODF export: don't export spurious style:display="false"Michael Stahl
... on style:header-left, style:header-first, style:footer-left, style:footer-first. (regression from d92345561c998f7382cf9ef0fdcd29096f978435) Change-Id: I48c51fcd2b07ae8b0e3ec2c1087a388c6900b366
2013-12-18fdo#72452: ODF import/export: fix handling of style:page-numberMichael Stahl
Class XMLNumberWithAutoInsteadZeroPropHdl (which appears to be used only for this attribute) needs to be adapted to the change that "PageNumberOffset" value 0 is no longer invalid; use "void" value for invalid instead, which appears more appropriate anyway. Unfortunately the type of style:page-number is positiveInteger so writing 0 would be invalid; write "auto" instead for now. Change-Id: I9621ea201fd928087b863c562607c3d77a3b0269
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-16Clean-up uno/lbnames.hStephan Bergmann
Change-Id: I4bd729499aa8be58f04194656e35c1f79d5d4919
2013-12-13fdo#72697 actually write this only in ODF 1.2 extendedEike Rathke
Change-Id: I32097cc4b8a67615b0b6d6172cafd0edad7469b6
2013-12-13fdo#72697 write <loext:sender-initials>Eike Rathke
Change-Id: I032bd79aa3ab73889a3ca723fba56ec371a28231