summaryrefslogtreecommitdiffstats
path: root/oox
Commit message (Collapse)AuthorAgeFilesLines
* cppcheck:unreadVariableNoel Grandin2015-06-151-1/+1
| | | | Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
* no need to check for pShape hereAndras Timar2015-06-131-1/+1
| | | | Change-Id: I6de2da7d2f17a14ddbe7e70651a416a01f49164b
* amend commentAndras Timar2015-06-131-1/+1
| | | | Change-Id: I45a452a7dbab35ab96c04336b35857f58a0af0c5
* tdf#92000 save rectangle to DrawingML as a preset shapeAndras Timar2015-06-131-0/+1
| | | | Change-Id: I8b39a210490759e9f548c195e516a26b94a8b3cb
* tdf#92001 'Handles' contains array of PropertyValuesAndras Timar2015-06-121-1/+2
| | | | | | | Change-Id: I17ea45f2b1dd46a7f1c0f3ce8c680bef9ec533fa Reviewed-on: https://gerrit.libreoffice.org/16249 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* convert expressions like 'size() == 0' to 'empty()'Noel Grandin2015-06-112-3/+3
| | | | Change-Id: Ia5c8c0f38a347f398d587970a22e03f29ffd37af
* convert 'it.begin() == it.end()' to 'it.empty()'Noel Grandin2015-06-111-1/+1
| | | | | | | Change-Id: I244a9eb6bce6b1c649653ec38ebb9a39f8b4c145 Reviewed-on: https://gerrit.libreoffice.org/16212 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Prop_pSegmentInfo is totally misunderstood apparentlyCaolán McNamara2015-06-101-35/+46
| | | | | | | digging into the crash on export of kde216114-1.odt reveals various horrors Change-Id: I0d24fe303d561a00a08098b306d10fd8273af928
* similarly fix fatal export of kde216114-1.odt to docxCaolán McNamara2015-06-101-11/+30
| | | | Change-Id: I78478de91473681fd8d836293dabe7b790dda516
* fix fatal attempt to export kde302504-1.odt to docxCaolán McNamara2015-06-101-8/+9
| | | | | | | the enhanced-path contains decimal points so the last element is a double not an integer Change-Id: I90be76a2d4cb90ee7a904aa72fe65770c675fc53
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-085-6/+6
| | | | Change-Id: Ia702fa56c6ed17b26817e1c0d1720cb26199a6da
* WaE: ‘nLocalAttachedAxis’ may be used uninitialized in this functionTor Lillqvist2015-06-051-1/+1
| | | | Change-Id: I74f4c4507bbe6abe7618ca41764715b3b5c68b5b
* that special case was a really stupid idea, tdf#91685Markus Mohrhard2015-06-021-1/+1
| | | | | | | The default value is context depending and not 0. So always export the rotation value. Change-Id: I36162459757c58846f3ecea7dcbcb58b6ef3d1f6
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-021-1/+1
| | | | Change-Id: I4373b1698ed81cd84dc5f319fde003f9b8c301fb
* another DrawingML export crash fixAndras Timar2015-05-301-0/+12
| | | | | | | Change-Id: I0386b4a768a9ac51cb86ac1c3edb17c41caf821a Reviewed-on: https://gerrit.libreoffice.org/15993 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* loplugin:loopvartoosmallNoel Grandin2015-05-294-6/+6
| | | | Change-Id: Icbe68b31d4ab04ca3cd9f572e3598413946a75c7
* DrawingML export crash fixAndras Timar2015-05-281-20/+14
| | | | | | | Change-Id: I777c6734a7f63240e9021152ecff0a86f530ff8f Reviewed-on: https://gerrit.libreoffice.org/15951 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* disable more annoying log outputMarkus Mohrhard2015-05-272-18/+18
| | | | Change-Id: I9f50b991defe7e241a66a0d52af24c9912508d26
* transform calc URLs to OOXML format, related tdf#91334Markus Mohrhard2015-05-271-1/+22
| | | | Change-Id: I497a6600e155200e913ed386a539f284a5c86320
* fix indentationMarkus Mohrhard2015-05-271-9/+10
| | | | Change-Id: Ib686c76e024cccd33614f812e80ad6c16b5287e4
* silence annoying log outputMarkus Mohrhard2015-05-271-17/+18
| | | | Change-Id: Ia2f55b85a649e0286573477511016f36bf29a9d5
* tdf#90338 related: ignore empty shape handles structAndras Timar2015-05-271-2/+6
| | | | | | | Change-Id: I486564a124cfb0d13a8b20e89cf13e752ccb7237 Reviewed-on: https://gerrit.libreoffice.org/15923 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* tdf#90338 tdf#84254 DrawingML export fixAndras Timar2015-05-272-10/+213
| | | | | | | Change-Id: I610d8099f057a2a34a1f9573d8ac16b5b8da9fc7 Reviewed-on: https://gerrit.libreoffice.org/15918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* tdf#91429 do not convert ooxml preset shape modifier valuesAndras Timar2015-05-231-10/+1
| | | | | | | | | | | | | | | | | | Revert "Resolves: #i124703# adapt coordinate range from ms relative..." This reverts commit c764a3d978beb2e6197a8d3f7df53d81ebf72467. The reverted commit did not fix anything in LibreOffice in the first place. The document referenced in #i124703# is as good without the patch as with it. But it caused a regression. Conflicts: oox/source/drawingml/customshapeproperties.cxx Change-Id: I65eb114423039e9c9c684cc55009275fd06caacd Reviewed-on: https://gerrit.libreoffice.org/15875 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
* fix asserts on export to pptxCaolán McNamara2015-05-221-4/+13
| | | | | | | | | | | | | | regression from commit e4fab06d82299054ddd46c7d925d300cd3d0a17d Author: Sujith Sudhakaran <sudhakaran.sujith@yahoo.com> Date: Tue Apr 7 08:56:04 2015 +0530 tdf#90245: Support for table merge cell export. where we can now ened up with unbalanced start/end cell tags Change-Id: I03a8fd5f9f3d77a984d68423bae946fca85135ec
* convert CVT constants to scoped enumNoel Grandin2015-05-211-2/+2
| | | | | | | Change-Id: I7703816b6a1df2bf24c06cdf9992f9982ae724e8 Reviewed-on: https://gerrit.libreoffice.org/15826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
* fix Win buildNoel Grandin2015-05-201-1/+1
| | | | | | ambiguous symbol Change-Id: Ie3eea266b6a1bf6ca65edaf6a2f22e543a128646
* coverity#1298896 dead codeCaolán McNamara2015-05-191-5/+0
| | | | Change-Id: I27b27b4f6ca4b443ebbfb0898cef7481b47658f9
* coverity#1298897 deadcodeCaolán McNamara2015-05-191-5/+1
| | | | Change-Id: I61892eeeb3d90e50f23cb1dbaf303aabaa1225fa
* tdf#90245: Support for table merge cell export.Sujith Sudhakaran2015-05-181-9/+124
| | | | | | | | | | | | | | | | | | | | | | | | Previously, the merged cells were not getting saved. Also it was leading to corruption if saved as pptx. While on opening the round-trip file of odf extension which has merged cells, merged cell properties not used to persist. In the current implementation XMergeableCell class was not having any property to identify the parent cell of a merged cell. This CL includes: - Fixed the above scenario for export of file - Now, the odf file with table merged cells persists its property - MS doesn't complain for any corruption after export an odf file as pptx TODO: Writing a UT seems to be tricky for this change. Need to analyze and will raise the UT in separate CL. Change-Id: I32f9daf77312a0ef3f291f36aef372671554c56d Reviewed-on: https://gerrit.libreoffice.org/15282 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* oox: these ctors can be explicitMiklos Vajna2015-05-188-8/+8
| | | | Change-Id: Ie53422eb4684bc3d720c8922d4764b807df4c8f3
* Remove include stdio (part2)Julien Nabet2015-05-182-2/+0
| | | | | | | Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
* Fix copy-paste errorJoren De Cuyper2015-05-161-1/+1
| | | | | | | | | Due the variables above this error, I think this needs to be the .Height, not .Width Change-Id: If796cd1950f59d0e1a6005c1c1185066c688ef55 Reviewed-on: https://gerrit.libreoffice.org/15748 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
* tdf#91064: Revert "tdf#89790 DOCX: saving LO version number in app.xml"Joren De Cuyper2015-05-151-3/+2
| | | | | | | | | This reverts commit 480ca7434a330b2678f9ef287cffd6d9cf27bed5. Change-Id: I69a16425fc36979d49f409bbd7921495a22a35dc Reviewed-on: https://gerrit.libreoffice.org/15737 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
* tdf#74932 FILESAVE: Shapes appear when saving a .XLSX file with filterPriyankaGaikwad2015-05-151-0/+6
| | | | | | | | | | | | | | | | | | Problem Description If the attribute hidden is set and then after exporting it to .xlsx, the shape does not remain hidden. XML Difference Original : <xdr:cNvPr id="2" name="Rectangle 1" hidden="1"/> Roundtrip : <xdr:cNvPr id="0" name="CustomShape 1"></xdr:cNvPr> Change-Id: I2e87a484ea984b56415891fd157995cb49453f76 Reviewed-on: https://gerrit.libreoffice.org/15662 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* support iconSets in extLst entriesMarkus Mohrhard2015-05-155-6/+7
| | | | Change-Id: Iec293ec3541b87b16f5a8097d51b878166814670
* convert GRFILTER_I_FLAGS to scoped enumNoel Grandin2015-05-141-1/+1
| | | | Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
* the secondary axis should be on the rightMarkus Mohrhard2015-05-131-1/+1
| | | | Change-Id: I604acb0b7f0bf8b726ace07c2fa9919c0f0b6aa6
* uno::Sequence provides now begin and endMarkus Mohrhard2015-05-121-3/+3
| | | | Change-Id: I7af0db5381737c7d28a491e4aca673d9cc4b1e19
* export each axis only once non-deleted, related tdf#84347Markus Mohrhard2015-05-121-1/+9
| | | | Change-Id: Ia0e23faf43fd266b8314f807b77423e9a3e15797
* remove and replace old OSL_TRACE messagesMarkus Mohrhard2015-05-121-6/+4
| | | | Change-Id: Id6de1425c03be8552d1dd2597001bf0632292e90
* use r prefix for referenceMarkus Mohrhard2015-05-121-6/+6
| | | | Change-Id: Iad76b7263526da4e50ef3c0b6933a8833f567790
* use chart2 API for attached axis exportMarkus Mohrhard2015-05-121-8/+24
| | | | Change-Id: Ide1a30307711e3857d83b691c95d984439359005
* rename variableMarkus Mohrhard2015-05-121-5/+5
| | | | Change-Id: I6606ca56c28569b6b2ceb1607c8dc570ce50bba7
* tdf#90246 PPTX paragraph and bullet leftMargin and Indentation is not exportedPriyankaGaikwad2015-05-121-6/+69
| | | | | | | | | | | | | | | | | Problem Description : XML Difference Original : <a:pPr marL="360000" indent="-456840"> After RT : <a:pPr> Solution : added support for marL and indent for paragraph and bullet. Change-Id: I1132d7b90ac1d7fc924f9a048f189e07e255e33b Reviewed-on: https://gerrit.libreoffice.org/15016 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:cstylecastStephan Bergmann2015-05-121-1/+1
| | | | Change-Id: I1c0f16d4f68013f126a52976d4ff9f7dde9f3eaf
* tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad2015-05-111-0/+12
| | | | | | | | | | Added pptx export support for bullet color. Change-Id: I0c7713a6d2161e1ecbe0d7f5778e78791e9759cd Reviewed-on: https://gerrit.libreoffice.org/15169 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann2015-05-111-1/+1
| | | | Change-Id: Ic92c92704e04ce868717a8fabf9919adbf27a54a
* Unused oox::AttributeConversion::decodeUnsignedHex()Miklos Vajna2015-05-111-5/+0
| | | | Change-Id: I26d52d4ba49216dd9c3d402dbd5480865e5351e1
* only export series for same axis into same chart type element, tdf#84347Markus Mohrhard2015-05-111-48/+107
| | | | Change-Id: I2b8b962054b0e1ca98db3929c6692e7c354e6a93