Commit Graph

117 Commits

Author SHA1 Message Date
e99535df4d remove executable bits
Change-Id: Iec785ae538de81325812b1e6fe33115789b39770
2014-08-17 05:50:13 +02:00
5c5f083186 Another test for radar chart data label export.
This one doesn't support label placement property either.

Change-Id: If1f17a135eabd810033644e27db6b1e5c049daff
2014-08-07 19:32:35 -04:00
3119e04b45 Write test for exporting data label positions for percent stack bar chart.
Change-Id: Idebb56fc96828ec38d5c239c16e5b413a50c837f
2014-08-07 19:01:43 -04:00
9c2af3c885 Fix the test. It's bar3DChart not barChart.
Change-Id: I8e504dfee81557a1965bb4bbce4ea975c13fe775
2014-08-07 14:44:51 -04:00
3683cddee8 Write test for exporting data labels in area chart for OOXML.
Change-Id: Icbb17f56643f7d89bf739b0f218b2ca8a6309d9a
2014-08-07 14:44:51 -04:00
844d143905 Add test for default data label placement for line chart.
Change-Id: I25cf48703a286470907ccc5415a0fab479aa4b8c
2014-08-07 14:22:05 -04:00
96f890c638 Write test for doughnut chart export of data labels to OOXML.
We must not export label position properties for doughnut charts, else
MS Office would think the file is corrupt.

Change-Id: Icfab257ffb6da945b8add661e6455aa66cc475ab
2014-08-07 14:21:53 -04:00
d99d1d2c4e Remove the 2nd argument which was added unintentionally.
Change-Id: I264dba74bf4cab4beb97b33d3a71e82601119372
2014-08-06 14:37:27 -04:00
bd1fb229b4 update the reference files
Change-Id: I063100a632286b7fbec71c5fba00b9705972ac9f
2014-08-06 20:28:18 +02:00
2f24740766 Add test to ensure that we don't export label position attributes.
At least for 3D bar chart, exporting this would choke MS Office.

Change-Id: Ic6747f3c5502495d8cae734290183ff89b14fc70
2014-08-05 13:26:29 -04:00
0ee728634d bnc#886540: Add test cases for chart background fill variance.
"Automatic" fill in docx and xlsx should be solid white, whereas in
pptx it is no fill (transparent).

Change-Id: I7e64f2f895e4c4ed072a234e622a348599456f37
2014-08-04 12:25:56 -04:00
dbe2da9334 Add chart import, percentage number formats, unit test.
Change-Id: Id1b73c153f4b09ab94446452e7eb096b529473f4
2014-07-29 22:58:16 +02:00
c2fd8c4492 bnc#885825: Write test for this.
Originally it was a pptx document, but switched to docx because reloading
an impress document in cppunit currently mysteriously crashes.

Change-Id: I3e9ba6b9a4dc7d3c0ca1d59a073dc8a4cca4008c
2014-07-26 23:38:56 -04:00
8b273da280 add SAL_OVERRIDE
Change-Id: I5c0f34f035765fcfd916b635ab18f5cb1bbcabb0
2014-07-20 16:17:53 +02:00
83da521ee2 one more simplification
Change-Id: I9aaf67872dde324f403598a7361cd4eda60b82b0
2014-07-19 22:22:40 +02:00
e674cd3f77 use the shared XPath test code in chart2
Change-Id: Ia8481516eb3d53f406824cc2ef8873fe1cba3909
2014-07-19 22:22:40 +02:00
dc4355e517 bnc#881025: Write test for this.
Change-Id: Ifb1f83bbe5f9bb9ecb7fca26f883d1331052f10d
2014-07-07 19:06:22 -04:00
344a596acc bnc#882383: Add chart unit test for GradientName property.
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-07 17:25:51 +02:00
97857c2581 Test the import of data series values as well.
There was a bug in there earlier that none of the tests didn't catch.

Change-Id: I1f4ed1ba5e08e7842899a140163f9e165705569b
2014-07-03 12:32:00 -04:00
50a5d6ac3f Better and more descriptive naming.
Change-Id: Ic2e3b14399d2acc91c75922a25dc736b1605c320
2014-07-03 12:05:30 -04:00
d53a9dc1cc bnc#812796: Write test for this.
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-03 11:50:13 -04:00
994fc8faa1 fdo#54361:Add test case for the chart background
Change-Id: I03f0a45d821b14fe687b3ec7df98f9367adab1f2
Reviewed-on: https://gerrit.libreoffice.org/9978
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-07-03 14:18:13 +00:00
bdad8d9051 More fine-grained check of data series labels in the unit test.
Change-Id: I6b23126816bb114407f2b75545094bc297ee7cc3
2014-07-02 20:56:30 -04:00
3575dba98d remove whitespaces
Change-Id: I05ef3c1ffd4e2179e0142a21abf8a4578718102e
2014-07-02 23:03:07 +02:00
c6da184295 Track all uses of ErrorBarX and ErrorBarY UNO property names.
Change-Id: I994424c98d977c3a8f9138cccc17348de813a9d7
2014-06-26 19:36:46 -04:00
113866583c add test case for fdo#78080
Change-Id: If676eb03f5bd19f8abf13d1d7826d500d51e542e
2014-06-22 05:05:01 +02:00
a1d2c88124 add test case for property mapping
Change-Id: Ib8630d15f40b00c8620eeb1c79d5d9f00d07ef49
2014-06-22 05:05:00 +02:00
aac149e4ad fdo#71767: Write test for this.
Not a direct test for the reported bug, but to ensure that the reworked
properties survive import and export.

Change-Id: I6c5a4c98eca5180251f04a24346290dedc44447a
2014-06-20 12:03:06 -04:00
465503f52d sw: clean up leftover TextBox TODOs
Change-Id: I12782690368789849ea2ce2ed08ad4838a0a55db
2014-06-20 17:28:19 +02:00
860f543cdb chart2, sw: remaining textbox DOCX import test preparations
Ideally now all testcases handle both cases during DOCX import:

- current situation, when shape with text is imported as a Writer
  TextFrame
- future situation, when shape with text will be imported as shape with
  an assicated TextBox

Change-Id: I5b95ff4672cecf39eb744f8557f967ade73404c0
2014-06-18 10:24:54 +02:00
10f8d24540 fdo#77506: Enable this check.
Change-Id: Ib4ad7c1a1583b9fde1a06dc8e355442f10bb9bec
2014-06-12 11:27:18 -04:00
56ca1b7696 fdo#77506: (finally) write a unit test for this.
I've switched from using a Draw document to Writer document due to some
instability with Draw instance in our cppunit run.  The bug is reproducible
either way.

The test is disabled for now, since the bug has yet to be fixed.

Change-Id: I49e0417e1ecbc70f40aab8531237ae98ae58bdd3
2014-06-11 12:00:17 -04:00
967157a4ba loplugin:unreffun
Change-Id: I3d5ddbca7760a32231ef7fee19b45bca83667ca7
2014-06-11 07:58:24 +02:00
7d10da2174 Remove this.
Change-Id: Ie2c64d3254dba35ba3fcb1af2566de84b8b300e2
2014-06-10 21:17:02 -04:00
81d2c208a4 New unit test for Draw document with chart. Disabled due to weird crash.
No idea why it crashes whatsoever....

Change-Id: Ic46d5a98f21cacb03adb3bc0d6da239bde5d8ce2
2014-06-10 19:48:16 -04:00
6f6d81c3b6 Consistent naming please.
Change-Id: I8a7e1d0a42aacdc7dcaeda0f7e51db78727f4b54
2014-06-10 14:10:13 -04:00
9455b4eb4b fdo#79676: Write unit test for this.
Added a whole bunch of missing component files for handling flat ODF.

Change-Id: Ib9d84be14327a1fd9ff64573ba1f6ba90e0bfc56
2014-06-10 10:02:30 -04:00
8e115c6008 fdo#68849: Add header guards to all include files
added header guards for directories basebmp/, chart2/, cppuhelper/,
include/test/, io/test/, sax/test, shell/, writerfilter/, and xmlhelp/

Change-Id: I0e29a9b75c26d71f58aa98986b52f6d3b46015a6
Reviewed-on: https://gerrit.libreoffice.org/9615
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-06-02 08:46:30 +00:00
ee0bb265c9 fdo#78290 : The File gets corrupted when saved in LO
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-20 05:12:08 -05:00
5588d66825 loplugin:passstringbyref
Change-Id: I0e97ab6ed479ba4057470946d45a0e8cda29470e
2014-05-14 14:30:47 +02:00
78b9537b6a various: sal_Bool->bool
Change-Id: I30fa5227f30373f95060148f269450d2945c1bb9
2014-05-08 11:48:14 +02:00
d5e89e0573 WaE: -Werror=maybe-uninitialized
Change-Id: I0b973088a9d14dbe3eccb0c002aab5bb861f777d
2014-05-01 17:19:51 +01:00
5d185dc3b4 add test for fdo#78041
Change-Id: I08d30102b2218584af2fb800a657728bec42ec18
2014-05-01 02:31:58 +02:00
a211c75400 fdo77216-Charts-Scattered chart: Chart gets distorted on RT
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-28 09:51:00 +00:00
4211ce7c62 add file
Change-Id: I45401846ae33e0b26e487093e60d90d128480c60
2014-04-17 09:30:40 +02:00
326f8dc37b add test case for fdo#70609
Change-Id: I85ddd43f5c8e88c6f6bf19284b0822f8bbea1d44
2014-04-17 02:44:43 +02:00
50b450d754 Fully comment out commented-out test
Change-Id: I23b42998c72f190addb75a4b9e624f0c3c948f8f
2014-04-15 16:10:53 +02:00
e98e738a82 replace some SvStream seeking with calls to remainingSize()
Change-Id: I2905e98425b9991d6138ab0adc15083d313ca445
2014-04-11 23:08:11 +02:00
c47bbfce2d add test for fdo#64722, cp#1000058
Change-Id: Idccff4629b8af84e59d52fb3135e9217d3564cb9
2014-04-05 18:35:20 +02:00
6052c28240 rename variable
Change-Id: I6ac553172a7c017010d4efa42224f25e2d5537da
2014-04-05 18:34:22 +02:00