summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)AuthorFilesLines
2015-05-20fix Win buildNoel Grandin1-1/+1
ambiguous symbol Change-Id: Ie3eea266b6a1bf6ca65edaf6a2f22e543a128646
2015-05-19coverity#1298896 dead codeCaolán McNamara1-5/+0
Change-Id: I27b27b4f6ca4b443ebbfb0898cef7481b47658f9
2015-05-19coverity#1298897 deadcodeCaolán McNamara1-5/+1
Change-Id: I61892eeeb3d90e50f23cb1dbaf303aabaa1225fa
2015-05-18tdf#90245: Support for table merge cell export.Sujith Sudhakaran1-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>
2015-05-18oox: these ctors can be explicitMiklos Vajna8-8/+8
Change-Id: Ie53422eb4684bc3d720c8922d4764b807df4c8f3
2015-05-18Remove include stdio (part2)Julien Nabet2-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>
2015-05-16Fix copy-paste errorJoren De Cuyper1-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>
2015-05-15tdf#91064: Revert "tdf#89790 DOCX: saving LO version number in app.xml"Joren De Cuyper1-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>
2015-05-15tdf#74932 FILESAVE: Shapes appear when saving a .XLSX file with filterPriyankaGaikwad1-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>
2015-05-15support iconSets in extLst entriesMarkus Mohrhard5-6/+7
Change-Id: Iec293ec3541b87b16f5a8097d51b878166814670
2015-05-14convert GRFILTER_I_FLAGS to scoped enumNoel Grandin1-1/+1
Change-Id: Ic1cb9b32fe252706cd607abb2ae1fd5a00999901
2015-05-13the secondary axis should be on the rightMarkus Mohrhard1-1/+1
Change-Id: I604acb0b7f0bf8b726ace07c2fa9919c0f0b6aa6
2015-05-12uno::Sequence provides now begin and endMarkus Mohrhard1-3/+3
Change-Id: I7af0db5381737c7d28a491e4aca673d9cc4b1e19
2015-05-12export each axis only once non-deleted, related tdf#84347Markus Mohrhard1-1/+9
Change-Id: Ia0e23faf43fd266b8314f807b77423e9a3e15797
2015-05-12remove and replace old OSL_TRACE messagesMarkus Mohrhard1-6/+4
Change-Id: Id6de1425c03be8552d1dd2597001bf0632292e90
2015-05-12use r prefix for referenceMarkus Mohrhard1-6/+6
Change-Id: Iad76b7263526da4e50ef3c0b6933a8833f567790
2015-05-12use chart2 API for attached axis exportMarkus Mohrhard1-8/+24
Change-Id: Ide1a30307711e3857d83b691c95d984439359005
2015-05-12rename variableMarkus Mohrhard1-5/+5
Change-Id: I6606ca56c28569b6b2ceb1607c8dc570ce50bba7
2015-05-12tdf#90246 PPTX paragraph and bullet leftMargin and Indentation is not exportedPriyankaGaikwad1-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>
2015-05-12loplugin:cstylecastStephan Bergmann1-1/+1
Change-Id: I1c0f16d4f68013f126a52976d4ff9f7dde9f3eaf
2015-05-11tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad1-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>
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-1/+1
Change-Id: Ic92c92704e04ce868717a8fabf9919adbf27a54a
2015-05-11Unused oox::AttributeConversion::decodeUnsignedHex()Miklos Vajna1-5/+0
Change-Id: I26d52d4ba49216dd9c3d402dbd5480865e5351e1
2015-05-11only export series for same axis into same chart type element, tdf#84347Markus Mohrhard1-48/+107
Change-Id: I2b8b962054b0e1ca98db3929c6692e7c354e6a93
2015-05-11split exportSeries function upMarkus Mohrhard1-33/+36
Change-Id: I06c09a494bdf37a87ff851a8e3cbc94b22b9a511
2015-05-10tdf#90607:Issue in bullets not having any text following.Charu Tyagi1-0/+8
Change-Id: If0571864684ec484e859c967aebb23c378c302ef Reviewed-on: https://gerrit.libreoffice.org/15298 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-10Code is executed in both cases so take it outside the statementJoren De Cuyper1-15/+7
Change-Id: I8d4c3a62d4e63d2666bfce18d6af772a29e271d4 Reviewed-on: https://gerrit.libreoffice.org/15695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-10CppunitTest_sd_export_tests: fix validation errorsMiklos Vajna1-1/+2
Regression from 3e4d2043e99201ec542186039e3be34d3c226111 (tdf#90190 PPTX table cell border width is not exported., 2015-04-16). Change-Id: I9ccbfe32a068ea787f1bb5c62034a54f2a5996aa
2015-05-09Do not write v:fill properties on export of imagedataJoren De Cuyper1-37/+40
See validation log of fdo73214: ERROR cvc-complex-type.3.2.2: Attribute 'type' is not allowed to appear in element 'v:imagedata'. ERROR cvc-complex-type.3.2.2: Attribute 'color2' is not allowed to appear in element 'v:imagedata'. http://dev-builds.libreoffice.org/crashtest/d879d5346b525c478e93363b7ec06e797ce01461/validation/docx/fdo73214-1.docx.log Change-Id: I99eacc05ed28c3cd848326fd08f3668a1ce0f4fb Reviewed-on: https://gerrit.libreoffice.org/15668 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-09tdf#90672: PPTX table cell border color is not exported.yogesh.bharate0011-1/+9
Problem Description : XML Difference : Original : <a:solidFill> <a:srgbClr val="00B0F0"/> </a:solidFill> After Roundtrip : tag is missing Solution : Added support for table cell border color. Change-Id: I2baf969d7a8e46a0c5825d9f57bf135ec479c9eb Reviewed-on: https://gerrit.libreoffice.org/15364 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-09tdf#90828 FILESAVE:XLSX export of underline color for text inside textboxPriyankaGaikwad1-0/+9
Problem Description: Unable to save .xlsx with underline color for text inside textbox. Current behavior: After RT text underline color was not exported Expected behaviour: After RT text underline color should export Added export support for <a:uFill> Change-Id: If8ffeb07f2f5e0b768689647e480792ea9c8540a Reviewed-on: https://gerrit.libreoffice.org/15514 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-09tdf#90190 PPTX table cell border width is not exported.yogesh.bharate0012-2/+68
Problem: - Table cell border width is not exported. i.e lnL, lnR, lnT, LnB are not exported inside the tcPr. XML Difference: Original : <a:lnT w = "76200"> After RT : tag is missing. Solution : Added solution for Table cell border width. Change-Id: I19185f2ad176325bf7990c9da6becc66557c717b Reviewed-on: https://gerrit.libreoffice.org/15350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-08default text rotation for secondary axis is also from parent, tdf#75316Markus Mohrhard1-1/+1
Change-Id: I0d17787e1b554854853910b1196582985864c944
2015-05-08inherit default title rotation from parent, tdf#75316Markus Mohrhard6-17/+17
Change-Id: I2cf609a3f2c5eb1f9d7716b3ee89d4131d942ffb
2015-05-08Unused oox::AttributeList::getUnsignedHex() variantMiklos Vajna1-7/+0
Change-Id: I4ec0cd4781aaa905f734b15ba4eff7819ca01082
2015-05-07tdf#91066: Condensed Character Spacing i.e spc(negative value) is not ↵yogesh.bharate0011-1/+2
exported after RT. Problem Description: - Condensed character spacing i.e Spacing between characters/letters (negative value) is not preserved after roundtrip. XML Difference: XML Difference : Original: <a:rPr lang="en-IN" sz="6000" b="1" kern="0" spc="-1000" baseline="0"> After Roundtrip: <a:rPr b="1" lang="en-IN" sz="6000" strike="noStrike"> spc="-1000" is missing in roundtripped file. Change-Id: I02edbb31375c2406a6e39873b7b886f4786a3758 Solution: Added support for Condensed Character Spacing. Reviewed-on: https://gerrit.libreoffice.org/15635 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann1-0/+1
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann1-7/+7
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann2-3/+3
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorageStreamRef aliasStephan Bergmann1-6/+6
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
2015-05-07tdf#91122 docx import: fix wrong vertical position of OLE object shapeLászló Németh1-2/+7
Change-Id: I34cdae7182631ca2d6e86f94f244e9362fe9dc6b
2015-05-06convert SUBSFONT_ to scoped enumNoel Grandin1-2/+2
Change-Id: Ic66191ac4cdfa753dc784e7bd1a6dd20f50def6b
2015-05-05loplugin:staticmethodsNoel Grandin13-78/+77
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-05-03don't assume varyColors for bubbleChart, related tdf#90876Markus Mohrhard1-0/+5
Change-Id: If31ce89380424b7248e49f3d4ab40e35106378c4
2015-05-03don't assume varyColors for barCharts, tdf#90876Markus Mohrhard1-0/+6
Change-Id: I754d667fa9f909916265bd9320f1bd56d2226ecd
2015-05-02our values are related to the inner mode, tdf#90979Markus Mohrhard1-0/+3
Change-Id: I5531bbb813f8ace9a9c3f35c6c79777755ff81b8
2015-05-01tdf#89790 - DOCX: saving LO version number in correct tag in app.xmlRadu Ioan1-2/+3
Converted existing method that provides application name and version in two functions Change-Id: I93b70da7c78ee5db3d6eb710a2a2a9f4b7b4fb86 Reviewed-on: https://gerrit.libreoffice.org/15151 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-30see if a re-org will silence coverity#1272392 Resource leakCaolán McNamara2-11/+7
Change-Id: I65c20f75c4086dc5167c6fa41b0171f07c1419bb
2015-04-30tdf#90955: CharKerning i.e spc is not exported after RT.yogesh.bharate0011-0/+12
Problem Description: - CharKerning i.e spacing between characters/letter is not exported after roundtrip. XML Difference: Original: <a:rPr lang="en-IN" sz="6000" b="1" kern="0" spc="2000" baseline="0"> After Roundtrip: <a:rPr b="1" lang="en-IN" sz="6000" strike="noStrike"> spc is missing after RT. Change-Id: I8bcefd6f0d0e3a1825618bece6f563792633a272 Solution: added support for spc. Reviewed-on: https://gerrit.libreoffice.org/15575 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-04-30tdf#38693: Document property TotalTime misinterpreted as secondsRavindra_Vidhate1-1/+2
Problem Description : The xlsx file has the extended document property <TotalTime>#n</TotalTime> in /docProps/app.xml LibreOffice appears to read this as a a total editing time of in second_ but according to ECMA-376 2nd edition: 22.2.2.27 TotalTime (Total Edit Time Metadata Element) Total time that a document has been edited. The default time unit is minutes. (ECMA-376 1st edition has the same statement in 7.2.2.27) XML difference: None After RT : None Solution : As LO uses the TotalTime in seconds, while importing the TotalTime, the TotalTime mentioned in the app.xml [which is in minutes] converted it to seconds. TODO: Writing a UT seems to be tricky for this change. Need to analyze and will raise the UT in separate CL. Change-Id: Icbe998b9881ac241a9147628573bab6ef63582c4 Reviewed-on: https://gerrit.libreoffice.org/15479 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>