path: root/chart2/qa/extras/chart2import.cxx
AgeCommit message (Collapse)AuthorFilesLines
2015-06-15cppcheck:redundantAssignmentNoel Grandin1-2/+1
Change-Id: I1167d0ce6b6f6e48309d0551c1d2a283d79546a7
2015-05-08add test for xlsx rotated axis title importMarkus Mohrhard1-0/+34
Change-Id: Ibfcf7cffe661efc1ce2063e87d38c45d943df69d
2015-05-08also add test for secondary axis, related tdf#75316Markus Mohrhard1-0/+19
Change-Id: I88f46f7724296e1c58cf7604a0c514de91b5ae2a
2015-05-08add test for tdf#75316Markus Mohrhard1-0/+20
Change-Id: Ic9f20c90e54f53484d67c1c38530dbac9638cbfe
2015-05-02add test for tdf#86624Markus Mohrhard1-0/+13
Change-Id: Iaab521433d8573fb1184ec59e7d734b0e0c97f00
2015-04-30add test for minorTickMark OOXML default valueMarkus Mohrhard1-0/+17
Change-Id: Id1a4dcbc25b78afe123d529413ac8873b6452d2e
2015-04-30add test for majorTickMark OOXML default valueMarkus Mohrhard1-0/+18
Change-Id: Ib8af3f17db019dcddca58173806ee6499b50b416
2015-04-30add test for rAngAx OOXML default valueMarkus Mohrhard1-0/+15
Change-Id: Iaad4aa553564e31726b31ebf890ef0376c8f1690
2015-04-30add test for plotVisOnly default valueMarkus Mohrhard1-0/+15
Change-Id: I0b0a5df307bc5478283fbbe48a0016256b9cf7cd
2015-04-25and in the chart testsMarkus Mohrhard1-1/+1
Change-Id: I1ed69bb1c09982e8d0964a700da9b22b66af82f8
2015-04-21add test case for VaryColor default valuesMarkus Mohrhard1-0/+34
Change-Id: Iaf8012d573044dad21d1008e3a6d583625e6f386
2015-04-21add tests for trendline default valuesMarkus Mohrhard1-0/+57
Change-Id: Id1ff3b7dd10f6d200a0f2cd86ef7f8fa47722344
2015-04-21add smoothed line default value import testMarkus Mohrhard1-0/+41
Change-Id: I67f6c6e433402ba610f39b7fa4ee50a8cb5295fe
2015-03-16add test for fixed dispBlanksAs OOXML importMarkus Mohrhard1-0/+33
Change-Id: I096e235560c81ef4c55cf14ead3544b977916c20
2015-03-16add tests for autoTitleDel flag default value fixesMarkus Mohrhard1-0/+31
Change-Id: I9860142f2da9c19f52f3a8a2be6ec851bdf81b6e
2015-02-19add test for tdf#89454Markus Mohrhard1-0/+19
Change-Id: Iefb52f6fa77cf90955dbb47c1b9ca7ab699a43eb
2015-02-18add test for missing chart area style fill import, tdf#89451Markus Mohrhard1-0/+19
Change-Id: I052838eaf4134a72feb067fc2a1355fabcafe11f
2014-12-18chart2: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: Ifc28920e69db410b00312e634caba33b0e286b7f
2014-11-05loplugin:unreffunStephan Bergmann1-1/+3
Change-Id: Id1a5a0756c2704a622eccecb32726a427e64b70d
2014-11-04Actually we shouldn't always set Overlap flag on for all xlsx charts...Kohei Yoshida1-1/+1
The correct fix unfortunately would require making the axis label layout smarter, to avoid overlapping of angled text label objects. Change-Id: I92198dbb90fd4a206ee226307992343d064f733a
2014-10-20chart2: fix temp file leak caused by missing tearDown() between testsMichael Stahl1-0/+6
Change-Id: Ia4ee76743c640c0c5b92ec169e619f6c8788480e
2014-10-20Revert "at least fix the crash when calling SdXImpressDocument::disposeMichael Stahl1-6/+0
... for now" This reverts commit 599473a13e3c5ba669d995c913ad415bd674a16c. moggi says the unspecified crash happened with the tests following the comment in chart2import.cxx:75, but the tests run fine in valgrind now. The commit creates a memory leak in the CppunitTests as SfxBaseModel::dispose() returns early, because mbDisposed is set. Change-Id: I987dce6a4090784d166a4a3b2e7f9e2c0cddd289
2014-10-11fdo#84647 : Fixed default value for TickLableSkip value.sushil_shinde1-0/+23
1. 'TextCanOverlap' property was stored as false if TickLableSkip is not equal to one. 2. For OOXML charts TickLableSkip can be between 1 to 999999999. 3. We can not apply zero or less than zero value to TickLableSkip. ( As per specification) 4. In axis model default value for TickLableSkip was zero which is incorrect. 5. Added unit test to check 'TextCanOverlap' property for chart. Change-Id: Ib3104b1d932f6e9376c149eabb201c8e9ad23da9 Reviewed-on: Reviewed-by: Kohei Yoshida <> Tested-by: Kohei Yoshida <>
2014-10-10loplugin:passstuffbyrefStephan Bergmann1-2/+2
Change-Id: If17bfdfdb51d5b9b8db563fccf09bb7608fcd0f8
2014-10-10fdo#54361: Add additional unit test case.Muthu Subramanian1-2/+9
Change-Id: Ifa3fd6f074d1957a468a1dad5dc2c223d38d24d4
2014-09-11bnc#892610: OOXML import: Improve chart number formats.Matúš Kukan1-0/+52
If sourceLinked is used, do not set "PercentageNumberFormat" even if showPercent is true. The format string should be used for "NumberFormat". c8cc89ff802d86b1f3a69afe1b4835b7df7f70c7 unnecessarily disabled "LinkNumberFormatToSource". Use that for data labels but not for axis. Also, actually make attaching number format supplier work for Calc. Previously, non standard formats were added into wrong supplier, and they were thrown away later because it was attached too late. (See also ChartModel::attachNumberFormatsSupplier) Change-Id: Iaf9945abc3d82d0ac63d9f36b8888eb49f39ab57
2014-08-04bnc#886540: Add test cases for chart background fill variance.Kohei Yoshida1-0/+26
"Automatic" fill in docx and xlsx should be solid white, whereas in pptx it is no fill (transparent). Change-Id: I7e64f2f895e4c4ed072a234e622a348599456f37
2014-07-29Add chart import, percentage number formats, unit test.Matúš Kukan1-0/+68
Change-Id: Id1b73c153f4b09ab94446452e7eb096b529473f4
2014-07-07bnc#881025: Write test for this.Kohei Yoshida1-0/+61
Change-Id: Ifb1f83bbe5f9bb9ecb7fca26f883d1331052f10d
2014-07-07bnc#882383: Add chart unit test for GradientName property.Matúš Kukan1-0/+15
It needs to be set, so that the chart has colors. It was grey before. The bug was fixed already in aacfd5038d05a02f8b1eade3a5896d3d7e959f3d, which got pushed sooner, so this commit only changes the property name from 'INVALID' to 'FillTransparenceGradientName'. Change-Id: If06899258a4307d583480538338480ba5bb830b9
2014-07-03bnc#812796: Write test for this.Kohei Yoshida1-0/+39
Right now, we skip hidden data series when importing OOXML charts into our internal data table. This of course means that if/when we add support for hidden columns in the internal data table, we may want to change this. Change-Id: Ida1b77821fbc2f8f937244576b52521b59d6ab89
2014-07-03fdo#54361:Add test case for the chart backgroundHeena Gupta1-0/+21
Change-Id: I03f0a45d821b14fe687b3ec7df98f9367adab1f2 Reviewed-on: Tested-by: Markus Mohrhard <> Reviewed-by: Markus Mohrhard <>
2014-07-02More fine-grained check of data series labels in the unit test.Kohei Yoshida1-8/+22
Change-Id: I6b23126816bb114407f2b75545094bc297ee7cc3
2014-07-02remove whitespacesMarkus Mohrhard1-1/+0
Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
2014-06-26Track all uses of ErrorBarX and ErrorBarY UNO property names.Kohei Yoshida1-4/+4
Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
2014-06-22add test case for fdo#78080Markus Mohrhard1-0/+13
Change-Id: If676eb03f5bd19f8abf13d1d7826d500d51e542e
2014-06-10fdo#79676: Write unit test for this.Kohei Yoshida1-0/+19
Added a whole bunch of missing component files for handling flat ODF. Change-Id: Ib9d84be14327a1fd9ff64573ba1f6ba90e0bfc56
2014-05-01WaE: -Werror=maybe-uninitializedCaolán McNamara1-1/+1
Change-Id: I0b973088a9d14dbe3eccb0c002aab5bb861f777d
2014-05-01add test for fdo#78041Markus Mohrhard1-0/+27
Change-Id: I08d30102b2218584af2fb800a657728bec42ec18
2014-04-17add test case for fdo#70609Markus Mohrhard1-0/+13
Change-Id: I85ddd43f5c8e88c6f6bf19284b0822f8bbea1d44
2014-03-10test case for strict OOXML chart importMarkus Mohrhard1-0/+13
Change-Id: Ie000dda7b04615c2e79376c5da5dc96b4ea40db0
2014-03-04Revert "fdo#75200:Libreoffice crash while opening the file"Markus Mohrhard1-7/+3
This reverts commit 0b6a1f2afa7954afcf1f27b066169455ed6cff7a.
2014-03-02fdo#75200:Libreoffice crash while opening the filePriyankaGaikwad1-3/+7
Conflicts: chart2/qa/extras/chart2import.cxx Change-Id: Icb2a5bc43ef5fd0f307b43bbe8aaf892a043dc5b Reviewed-on: Reviewed-by: Caolán McNamara <> Tested-by: Caolán McNamara <>
2014-02-23add test for bnc#864396Markus Mohrhard1-3/+20
Change-Id: I38d77a11acf6684cb583ba3e5ffb80f30f3f2fdc
2013-11-01Unit test for Docx Chart Series NameVinaya Mandke1-28/+12
UT to verify that the series labels are imported (or rendered) as in the docx file. Change-Id: I9e4ade7a905dbb894bc163ecec8c333fa6797818 Reviewed-on: Tested-by: Markus Mohrhard <> Reviewed-by: Markus Mohrhard <>
2013-10-30Unit tests for Chart Series NameVinaya Mandke1-1/+148
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: Reviewed-by: Markus Mohrhard <> Tested-by: Markus Mohrhard <>
2013-07-29fdo#62475 removed pointless commentsJelle van der Waa1-1/+0
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa Reviewed-on: Reviewed-by: Luboš Luňák <> Tested-by: Luboš Luňák <>
2013-05-19WaE on mac osx buildNorbert Thiebaud1-1/+1
Change-Id: Ief28d2563b66754d00fdc09d6d68ea3a73aff22a
2013-04-24extract common chart test parts into own headerMarkus Mohrhard1-129/+2
Change-Id: Id41b9c3cd241de9bc5fa1da885bc9a206bca093d
2013-04-22add test case for error bar range importMarkus Mohrhard1-1/+33
Change-Id: I6719731d1b142bc49cdd5b93e8bc22520d5db540