summaryrefslogtreecommitdiff
path: root/chart2/qa/extras/data
AgeCommit message (Collapse)AuthorFilesLines
2014-06-10fdo#79676: Write unit test for this.Kohei Yoshida1-0/+861
Added a whole bunch of missing component files for handling flat ODF. Change-Id: Ib9d84be14327a1fd9ff64573ba1f6ba90e0bfc56
2014-05-20fdo#78290 : The File gets corrupted when saved in LOBisal Singh Nayal3-0/+0
Problem Description: Docx file containing a chart (line chart / scatter chart)which has used a builtin marker'x' gets corrupted when we save it in LO.The reason was that while exporting LO was writing the marker information 'x' as 'X' which MS Word doesn't recognize.‒<c:marker><c:symbol val="X" />. Also the size of the marker was coming 1 less than the actual value. Ex: if size is 7 then it was being written as 6. Solution: During export I have made changes so that now LO writes 'x' in the tag information ‒<c:marker> <c:symbol val="x" />. Now the size of the marker is also being correctly exported. Change-Id: I26b747f9576625bf3acb941322ae418a0bbc6b64 Reviewed-on: https://gerrit.libreoffice.org/9273 Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-05-01add test for fdo#78041Markus Mohrhard1-0/+0
Change-Id: I08d30102b2218584af2fb800a657728bec42ec18
2014-04-28fdo77216-Charts-Scattered chart: Chart gets distorted on RTSourav1-0/+0
In case there is some text entered in place of X coordinates for scatter chart then x coordinates should be taken as 1,2,3.... MS Word does the same thing Change-Id: I1db0fd64c6ac0f4d5e77a9676812f5e26577ecf6 Reviewed-on: https://gerrit.libreoffice.org/9011 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-04-17add fileMarkus Mohrhard1-0/+0
Change-Id: I45401846ae33e0b26e487093e60d90d128480c60
2014-04-05add test for fdo#64722, cp#1000058Markus Mohrhard1-0/+0
Change-Id: Idccff4629b8af84e59d52fb3135e9217d3564cb9
2014-03-30add test for fdo#74619Markus Mohrhard1-0/+0
Change-Id: I94ed07b730b976f32ce8572f1ccefa96be0a6e77
2014-03-26add test for improved overlap chart exportMarkus Mohrhard1-0/+0
Change-Id: Id1466f7a95470a7c90a7752971e126d3f4b45766
2014-03-23fdo#76356 : Docx file contianing chart in footer/header gets corrupted.sushil_shinde1-0/+0
- Docx file with chart in footer/header or .bin file referred in chart was getting corrupted. - Embedded file for footer.xml was not grabbaged. - .bin embedded files were not grab baged. - Added grab bag support for both case. - Added UT to check .bin files are grab baged properly. Reviewed on: https://gerrit.libreoffice.org/8674 Change-Id: I221e3867798fc2a3a42f6385d687e80b80a3678f
2014-03-12fdo#74111 3D Rotation is wrong after Round trip for pie chartPriyankaGaikwad1-0/+0
3D Rotation is lost after Round trip for pie chart. XML Difference: Original: <c:rotX val="40"/> <c:rotY val="30"/> Round Trip: <c:rotX val="310"/> <c:rotY val="0"/> Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I60132fef071e0573b17c35f509f3a74bd4ffcc66
2014-03-12fdo#75975 crash while saving the DOCX file containing chartsRavindra Vidhate1-0/+0
1. Open DOCX file containing Charts 2. Save this file into DOCX format. 3. LO crashed while saving/exporting to DOCX format. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I14d4f2c214ce3513b4bd14831771d72498e4486d
2014-03-11add test for fdo#75510Markus Mohrhard1-0/+0
Change-Id: I76cb1008138f7b79223330d4a24d45a026d1118f
2014-03-10test case for strict OOXML chart importMarkus Mohrhard1-0/+0
Change-Id: Ie000dda7b04615c2e79376c5da5dc96b4ea40db0
2014-03-04Revert "fdo#75200:Libreoffice crash while opening the file"Markus Mohrhard1-0/+0
This reverts commit 0b6a1f2afa7954afcf1f27b066169455ed6cff7a.
2014-03-03fdo#74826: File corruption-Issue related to Series idx & order val.YogeshBharate1-0/+0
Problem Description: - If the document contains more than one charts together. ex.Bar & Line chart - In that case, LO writes idx & order val equal to 0, instead of 1 for second chart series. - After roundtrip, the document get corrupted. Implementation: - Added varible to take the series count in case of multiple chart. Note: - Some of the UT's are failing when --enable-dbgutil is enabled. Change-Id: I40606b4d69026939fa19ae534dd7b2bb36ec97fc
2014-03-02fdo#75200:Libreoffice crash while opening the filePriyankaGaikwad1-0/+0
Conflicts: chart2/qa/extras/chart2import.cxx Change-Id: Icb2a5bc43ef5fd0f307b43bbe8aaf892a043dc5b Reviewed-on: https://gerrit.libreoffice.org/8127 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23add test for bnc#864396Markus Mohrhard1-0/+0
Change-Id: I38d77a11acf6684cb583ba3e5ffb80f30f3f2fdc
2014-02-15fdo#74137: Fix for courruption of Pie chart after roundtrip.Rohit Deshmukh1-0/+0
Problem: - Pie chart with data labels files gets corrupt because of label position is bestFit in original file. - But after round trip, data labels position gets changes to top, left and right. For some data labels postion value is missing. Implementaion: - In LO, while converting data label from model, the position gets changed. So we are ignoring this hack for Pie chart. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Ic51845cd6f39bc905439eea8971e878607d25dac
2014-02-13FDO#74430: File Corruption due to repetition of docPr Idumeshkadam1-0/+0
Issue : - If there is a scenario where a chart is followed by a shape (may it be in the footer or on a different page ) which is being exported as an alternate content then, the docPr Id is being repeated, ECMA 20.4.2.5 says that the docPr Id should be unique. - Two different variables were been used as counters for the docPr Id, hence there were repitions in the docPr Id. Implementation : - ensured that a single counter is used to track the docPr Id. Conflicts: chart2/qa/extras/chart2export.cxx Reviewed on: https://gerrit.libreoffice.org/7916 Change-Id: I1c105be184d045ef058423f03259eb8c634fcbbe
2014-02-12a 800 kB file is maybe not the best idea for a test caseMarkus Mohrhard1-0/+0
Change-Id: Ie59d6e019d140f87a8f5ebb922524a5a2d5218e6
2014-02-12fdo#74111 3D Rotation is wrong after Round trip for bar chartPriyankaGaikwad1-0/+0
3D Rotation is lost after Round trip for bar chart. XML Difference: Original: <c:rotX val="30"/> <c:rotY val="50"/> Round Trip: <c:rotX val="42"/> <c:rotY val="42"/> Implementation: The RightAngledAxes should set first then the RotationVertical and RotationHorizontal because the RightAngledAxes is needed while setting Rotation. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I64f3b6e56f8515bf6c3d935c59dfaf1d440dba31
2014-02-12fdo#74115 Fix for DOCX BitmapFill for Chart WallVinaya Mandke1-0/+0
Fixed import and export for chart wall Bitmap Fill in DOCX Added UT for the same. Conflicts: oox/source/export/chartexport.cxx Change-Id: Id066b0e4c2007fcdfdbbfa67b40307463bf0cfe7
2014-02-12fdo#74115 Fix for DOCX GradientFill for Chart WallVinaya Mandke1-0/+0
Fixed import and export for chart wall Gradient Fill in DOCX Added UT for the same. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Ie6caa2b238aeb70f7225145da8c5c78003e73002
2014-02-11fdo#74112 Write Chart Displayunits information back to XML.sushil_shinde1-0/+0
During export access properties stored during import and write back those. Currently we just support basic chart display unit information such as builtinunit, there are more properties ex. custUnit, dispUnitsLbl, extLst. which are pending. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I87e0a8322fc0b0c3df2b8053b7f29fffea611040 Reviewed-on: https://gerrit.libreoffice.org/7722 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-01-31Added unit test for fdo#72221:Fixed for doughnut chart - RT is invalidPriyankaGaikwad1-0/+0
Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I3540884f680f5042da8d12865a06e9ce2f2046d8
2014-01-16Unit test added for fdo#72345 Up Down Bars are missing after Round tripYogeshBharate1-0/+0
Unit test added to check whether Up Down Bars preserved after Round trip. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Ia427410cf76bc8cd998f399da8e9ad1f9712a076
2014-01-16fdo#72217 : Fix for corruption area chart with data labels after Round Trip.Rajashri1-0/+0
For labels under one series, there were child tags created for every data label individually. for example, if under one series there are five labels, then under <dLbls> there were 5 <dLbl> tags created separately. This issue is resolved now. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I7ae214f413bc27728df8a3d4cb8f4d703cba2f77
2014-01-16fdo#72520 : Exporting sheet external data for chart for docx files.sushil_shinde2-0/+0
- Adding external data path relationship for chart[n].xml for docx files. - Added Unit Test. Change-Id: If48ed21237433ddf6659454dda95d720aabdb300
2013-12-19fdo#72304 Write Chart Data Table information back to XML.Nikhil Walvekar1-0/+0
During export access properties stored during import and write back those. Currently we just support basic chart data table information such as border and outline, there are more properties, which are pending. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Icbc1245fc829f49833a8c307e029c3dd3dc2e0bd
2013-12-19fdo#72306 Axis names were lost after saving file on LO.sushil_shinde1-0/+0
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-13Added OOXML Unit Test framework for Chart module for export.Pallavi Jadhav1-0/+0
- Referred functions from sw module. Change-Id: I3ae90d40d92de0d67623e73e1676dabcc8a413f6
2013-12-11fdo#72226: Fix for Stock chart Invalid RTPallavi Jadhav1-0/+0
Issue : In chart1.xml, <c:chart> <c:plotArea> <c:stockChart> there are four types of series as Open,Low,High and Close. For Open series, <c:ser> <c:idx val="0" /> <c:order val="0" /> an attribute "val" should be 1 and not 0. i.e. index should start from 1 and not from 0. Implementation : - In ChartExport::exportCandleStickSeries(), Using idx variable, we are writing index value which should be greater than 0. So for idx=0, we are adding value 1 while writing index value. - Added Unit tese case for chart export Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: I4d5ffefbc8fcf62b50c13ca1b3ed80290962fc4e Reviewed-on: https://gerrit.libreoffice.org/6925 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-11-26Test trendline properties using an emport -> ixport cycleTomaž Vajngerl1-0/+0
Added a test which checks the preservation of properties for trendlines / regression curves in an export -> import cycle using different file formats - ODS, XLS and XLSX. Change-Id: I59fe6c045f7f503ee074e6a2741fa017756b3018
2013-11-01Unit test for Docx Chart Series NameVinaya Mandke1-0/+0
UT to verify that the series labels are imported (or rendered) as in the docx file. Change-Id: I9e4ade7a905dbb894bc163ecec8c333fa6797818 Reviewed-on: https://gerrit.libreoffice.org/6502 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-10-30Unit tests for Chart Series NameVinaya Mandke8-0/+0
Added UTS to verify the series names (Labels) for chart series for following- * xls, xlsx, ods * odt Change-Id: I4575a2e7ada9d4cf8b3fa708bd313f9d16244f65 Change-Id: Id291b49bf7547ee7264eb7c0751e416d20ca1e54 Reviewed-on: https://gerrit.libreoffice.org/6383 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-05-01add test for ooxml error bar exportMarkus Mohrhard1-0/+0
Change-Id: I87f99c8d47770181c3f29c70f1f91a1f3dd421b5
2013-05-01add export test for chartsMarkus Mohrhard1-0/+0
Change-Id: I176f7967d37f3032057758d9aaa5f39c46d29c3d
2013-04-22add test case for error bar range importMarkus Mohrhard2-0/+0
Change-Id: I6719731d1b142bc49cdd5b93e8bc22520d5db540
2013-04-22and now our test file can be also a valid ODF1.2 fileMarkus Mohrhard1-0/+0
Change-Id: I5565829385c553b4b83c97f4a6f61b6764f88604
2013-03-24add missing test fileMarkus Mohrhard1-0/+0
Change-Id: I87e2bdf944a3fdf374f8b1f14e44ebc0fdd83d46
2013-03-05start for an initial chart2 import testMarkus Mohrhard1-0/+0
Change-Id: Iedd531186fccd73704eb3137195a22d3ca005293