summaryrefslogtreecommitdiffstats
path: root/xmloff
Commit message (Collapse)AuthorAgeFilesLines
* fix odf validation errorMarkus Mohrhard2014-03-141-1/+2
| | | | | | New elements must not be exported into the chart namespace. Change-Id: I295d61224e255dff04ea8564b01a5a438876afc1
* xmloff,vbahelper: prefer passing OUString and OString by referenceNoel Grandin2014-03-1327-89/+89
| | | | Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
* fdo#75872: ODF import: fix up graphics defaults stroke/fill colorsMichael Stahl2014-03-122-2/+82
| | | | | | | | | | | | | | | These have changed a few times, notably in LO 4.0 with commit 895890563cb0cc5fa872bdfd06918a46cdda172d and AOO 4.0 with commit c0eb5e7772c848806db8ab461f77f9549c1d8b2b; unfortunately historic OOo and current AOO do not write the values into ODF files, whereas LO 4.x does (probably by accident, since 45d3577bc5726eee44f491fd30a7f11dc428431a by design). Try to set the defaults depending on the generator; since the defaults are not specified by ODF they are implementation defined anyway so this should be OK. Change-Id: I1270d6e0cdeea5cb493724a0998f661a0cf644f1
* Spelling fix: suportedTor Lillqvist2014-03-121-1/+1
| | | | Change-Id: I3b67edd5ba4541a65cb0916abea6db1362c32afd
* fix one more ODF validation errorMarkus Mohrhard2014-03-101-1/+1
| | | | Change-Id: I265ea970043a954e2e60234d4b3ff90956c939ec
* fix odf validation errors around new chart regression curvesMarkus Mohrhard2014-03-101-8/+19
| | | | Change-Id: If67207abb204b5aca8365737088437b12ac6eaf1
* support export of property mappingMarkus Mohrhard2014-03-102-0/+44
| | | | Change-Id: I9529eedb9c9c002bfc2fee638938082cef59f185
* unnecessary null pointer check before deleteMarkus Mohrhard2014-03-101-2/+1
| | | | Change-Id: I16d48a501353b45e2d6c8cc0de49f3da0709eabe
* coverity#736008 Dereference after null checkCaolán McNamara2014-03-101-2/+4
| | | | Change-Id: I87977322458b6f22816bdfefb44795609c8159a4
* Keying on XTypeProvider::getImplementationId is unnecessary hereStephan Bergmann2014-03-102-75/+27
| | | | | | | | ...given that cases where "every instance of getPropertySetInfo returns a new object [...] must not be cached" anyway, so just key on the XPropertySetInfo instances. Change-Id: I11f0a1fe030226d1d26d6b6e6a2654f4511fdce8
* fix ODF validation errorMarkus Mohrhard2014-03-081-6/+0
| | | | | | that attribute was only written for backwards compatibility Change-Id: Icf06300809c55c3a20a74ee3b9d36644d6f5c2d9
* fdo#75260: Correctly draw double lines for both Writer and Calc.Kohei Yoshida2014-03-042-0/+6
| | | | | | | | | | | | | | Fix all sorts of incorrect double line handling in drawinglayer in order to draw thick-thin double line types correctly. Also change handling of border lines in writer tables. There are still some outstanding issues but it's much better than how it was before. Also realized that Word and Excel handle simple thin double lines differently; Word varies widths of all of the lines and the gap whereas Excel only has one fixed size for its double line. For this reason I decided to add a separate double line type (DOUBLE_THIN) to handle Excel's double line. Change-Id: Iaaa353b6e4f998b524262bea59260b4333e0cdb4
* Clean up uses of rtl_ustr_ascii_shortenedCompareIgnoreAsciiCase_WithLengthStephan Bergmann2014-03-011-8/+2
| | | | Change-Id: Ie37614dac882bfe05f8ce595ae6b20326dce872e
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2645-312/+312
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from xmloffAlexander Wilms2014-02-2659-295/+295
| | | | | | | Change-Id: I205d4e555f5b88654a90007eb7ac05bc7b00a904 Reviewed-on: https://gerrit.libreoffice.org/8346 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe2014-02-261-3/+2
| | | | Change-Id: I773524536c0ed7bc34eb08cd35cfc77e83f722ba
* Typo: apropriate -> appropriateJulien Nabet2014-02-252-2/+2
| | | | Change-Id: I05e23039dc3ae0b6595c87fe550f4228ad93d5d6
* (T/t)herfor -> (T/t)hereforeJulien Nabet2014-02-251-1/+1
| | | | Change-Id: I7678dcccc3afa8ecde5160a3f0d731b923f3bfca
* coverity#738306 Uncaught exceptionCaolán McNamara2014-02-251-2/+4
| | | | Change-Id: Id8b343993b22ceb83490c7f2d1f465a728ccb4fc
* xmloff: import/export loext:rel-width/height-rel for Writer shapesMiklos Vajna2014-02-251-0/+4
| | | | Change-Id: Ie6e4367a235038479287530bd08b0a89c6bb498b
* xmloff: import style:rel-width/height for drawinglayer shapesMiklos Vajna2014-02-252-0/+28
| | | | | | | In case the underlying UNO object supports that, which is the case for Writer. Export was already working before. Change-Id: I4676c8349ebe1959da004d6e1a024a342da45049
* Replace exisiting TriState, AutoState with more generic TriStateStephan Bergmann2014-02-243-10/+10
| | | | Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
* Here the line made sense, bring it back.Jan Holesovsky2014-02-241-1/+1
| | | | Change-Id: Iba1c798edfe1b0eb5edcba904ceacec9174cacc6
* Remove unnecessary bool2anyStephan Bergmann2014-02-2411-41/+36
| | | | Change-Id: Ie2caee1d5a7912011d76172539c2f8f37eaee5cf
* Remove unnecessary extractInterfaceStephan Bergmann2014-02-241-2/+1
| | | | Change-Id: I4848bf84615274ad5732223a354fb7a6b845d9a8
* Remove unneccessary commentsAlexander Wilms2014-02-236-12/+12
| | | | | | | Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#708698 unused mbAdaptPercentage memberCaolán McNamara2014-02-211-1/+0
| | | | Change-Id: Ie94623b31b7874dc05a3ea5a7a6709b9487a5aa6
* coverity#708700 Uninitialized scalar fieldCaolán McNamara2014-02-211-7/+6
| | | | Change-Id: I294e455eb2b8853f2fbe43527a960e30d32c88c8
* coverity#708702 Uninitialized scalar fieldCaolán McNamara2014-02-211-6/+7
| | | | Change-Id: I89bab63349a5d89df0683eb36c3e69b6370e2ed1
* coverity#708704 Uninitialized scalar fieldCaolán McNamara2014-02-211-4/+5
| | | | Change-Id: I135988584eb00e891bbc6410f3cf80f955f046ec
* coverity#708705 Uninitialized scalar fieldCaolán McNamara2014-02-211-2/+4
| | | | Change-Id: If48058d1f5cfb1c91c996f2921381b9c74aca04e
* coverity#708707 Uninitialized scalar fieldCaolán McNamara2014-02-211-15/+16
| | | | Change-Id: I36432d090334440b596dfcc56339f10cb0b96426
* coverity#708708 Uninitialized scalar fieldCaolán McNamara2014-02-211-4/+5
| | | | Change-Id: I1b0f4ed24dd6c1281f2170e5b1199435ce1409f5
* coverity#708711 Uninitialized scalar fieldCaolán McNamara2014-02-211-9/+8
| | | | Change-Id: I3f67e5609d0c25837b56d65ade364fc29c87d057
* coverity#708712 Uninitialized scalar fieldCaolán McNamara2014-02-211-7/+6
| | | | Change-Id: I11ac81246cba518763a9af759fa4b08880c90ae8
* coverity#708713 Uninitialized scalar fieldCaolán McNamara2014-02-211-12/+11
| | | | Change-Id: Ia7a75985df0ad80e7cf0006b63a3f2a25c93bab1
* coverity#708715 unused member variableCaolán McNamara2014-02-211-3/+0
| | | | Change-Id: Idc7c58ec1f2646276e16177dcb748daea8f85849
* coverity#708718 Uninitialized scalar fieldCaolán McNamara2014-02-211-6/+7
| | | | Change-Id: I77c96d2b070f5c4735de000d7513d0867626bd5c
* coverity#708719 Uninitialized scalar fieldCaolán McNamara2014-02-211-0/+1
| | | | Change-Id: I8188b0c1ac443938e645c41b9e3cd6eb340732aa
* coverity#708720 Uninitialized scalar fieldCaolán McNamara2014-02-211-7/+9
| | | | Change-Id: I62a103fb6c194f7e5cf88495be39759e349366f7
* coverity#708724 Uninitialized scalar fieldCaolán McNamara2014-02-211-0/+1
| | | | Change-Id: I797a2e31550642be937c4641c12bd6c71dd6cba2
* coverity#708725 Uninitialized scalar fieldCaolán McNamara2014-02-211-13/+11
| | | | Change-Id: I65f2b71422cdb62e2bc29c4825c0cede590720f4
* comphelper: sal_Bool -> boolStephan Bergmann2014-02-175-18/+18
| | | | Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
* Resolves: #i42894# added support for <presentation:animations>...Armin Le Grand2014-02-171-2/+3
| | | | | | | | | | | | | at import and creation (cherry picked from commit 0f11a9d487744af6c50e9f1d547c22cd4bdeab48) Conflicts: sd/source/core/EffectMigration.cxx sd/source/ui/dlg/animobjs.cxx sd/source/ui/unoidl/unoobj.cxx Change-Id: Ib498bf718d40501cbab71a700342343df68a6ee9
* fdo#74524: ODF import: fix unhandled exception in annotation importMichael Stahl2014-02-151-5/+10
| | | | | | | Crash with unhandled UnknownPropertyException when trying to get "Name" property from a PageNumber field. Change-Id: I501cc138caba034c85630519014b94d783ab8f39
* sal_Bool->boolNoel Grandin2014-02-1411-18/+18
| | | | Change-Id: Iab0165ef642dfee5bd315fc1f42f4bad8e86aa47
* sal_Bool->boolNoel Grandin2014-02-147-8/+8
| | | | Change-Id: Iadc9f9ef444fe36d58304c2d6219021173385118
* sal_Bool->boolNoel Grandin2014-02-142-17/+17
| | | | Change-Id: Ia453c7868e030e3f10a7f69c1e2d28244758fdef
* Resolves: #i123879 dr3d rotation angle is degree in ODF1.2...Regina Henschel2014-02-131-6/+7
| | | | | | | | | | | but radiant in AOO core (cherry picked from commit 23b2b0b395537f4b5d0226f9ebb19dc38029ee55) Conflicts: xmloff/source/draw/xexptran.cxx Change-Id: I66cd482b2b237ca008c31b7738f9ea21502f3d45
* cid#705350 missing break in switchNoel Grandin2014-02-121-0/+1
| | | | Change-Id: I8f01d7b3406eed629b08082c5a1c9e1466d954f1