summaryrefslogtreecommitdiff
path: root/chart2
AgeCommit message (Collapse)Author
2013-03-04do not access vector elements beyond size, rhbz#847519 relatedEike Rathke
The actual bug (crash) is not triggered anymore because the categories are assembled differently, nevertheless the code in question could expose the same behavior under different preconditions. Change-Id: Ic37f6b34effaf4e5252e80aab46b021547b36efb (cherry picked from commit d1ba2cd612a4c39976e2980c7dc4e3fa38c88470) Reviewed-on: https://gerrit.libreoffice.org/2274 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-25bnc#590020: Sort data points stably.Kohei Yoshida
std::sort is unstable sort, which is not what we want. Use std::stable_sort to sort data points by X values. If we use unstable sort, it may mess up the order of the sequence when two data points contain identical X values. Change-Id: I6453a986185b326dc680fbcec6227ea332235b22
2013-01-25bnc#798271: Don't delete the PropertyMapEntry instance prematurely.Kohei Yoshida
When using comphelper::PropertyMapEntry array to create a UNO property set, we need to make sure we keep this instance while the property set object is alive, else it would cause a very hard-to-debug problem down the road... In this particular case, the aExportInfoMap array instance was destroyed when it went out of scope, but the xInfoSet which references it was used afterward. Change-Id: I02132b6b2e6bef7b461f0f77c2c4a3e911e42014
2013-01-21n#791985: Automatically rotate chart labels (if overlapping).Muthu Subramanian
This bug fixes two issues: * Overlap detection seems to be approximate and doesn't work for rotated text. Added a workaround for labels rotated at angles 45-135 and 225-315. * Auto rotate labels, which overlap. This is done only for labels having zero degrees rotate. For forcing angles, use 'enable overlap' or non-zero angles (1 degree). Of course, zero degrees plus skipping of labels would no longer occur. Better solutions?
2012-12-08bnc#791952: Setting properties for all data labels.Kohei Yoshida
You can set different properties to individual data labels. But setting new properties to all data labels should overwrite the individual settings. Change-Id: I934bad89326115aa83feb86275cf380d701a5686
2012-12-08bnc#791952: Use "center" label placement for "Best fit" in pie charts.Kohei Yoshida
It works better this way for Excel interoperability. In Excel, Best fit is slightly different than the center placement, but the two are pretty close in pie charts. Change-Id: I7f04a1babb04fd488d8cf90df247c294fa9d7b67
2012-12-08bnc#791952: Better placement of 3D pie chart data labels.Kohei Yoshida
This value appears to control the logical vertical offset of data labels along the z-axis for 3D pie charts (no effect in 2D pie charts). With -0.5, the data labels appear lifted from the top surface of the pie chart. With -1.0, the labels get placed right at the top surface, which improves the precision of data label positions. With this change, data labels that are centered are really centered inside their respective pie segments. Change-Id: I26d5d7cb7f68bd09131b70bcb4fc030ac924bcce
2012-11-05Merge remote-tracking branch 'origin/libreoffice-3-6-3' into suse-3.6Petr Mladek
Conflicts: desktop/source/app/sofficemain.cxx instsetoo_native/util/openoffice.lst solenv/inc/minor.mk Change-Id: I3e9510067c7173f6c71368e70ba6dfe168c5318e
2012-10-15bnc#759197: adjust chart layout distanceFelix Zhang
Change-Id: Ifae4faeb234630dcce79851a0ad8bb0c6960f9f7
2012-10-06limit polynomial degree in the dialog, related fdo#46100Markus Mohrhard
Change-Id: If49db1a503548103dcf605cc1c2d8064cdd2d5b2 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-10-06limit degree for b-spline to 15 to prevent std::bad_alloc, fdo#46100Markus Mohrhard
Change-Id: Ib801c6af84b52ed093be2ba5eba902513bfa4070 Signed-off-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2012-09-27fdo#55298: We should only treat empty values as continuation of previous ones.Kohei Yoshida
For better Excel compatibility. Change-Id: I3bc44f65127d3f020894dc29e5c6549bb257f218 Signed-off-by: Noel Power <noel.power@suse.com>
2012-09-27fdo#55297: Fix regression in chart complex category placements.Kohei Yoshida
This is effectively a revert of a769fd1ec076b61c1ce2f84da87283cc637dd5d5 and a1be31fd8bf830a4f5961e690bcffd050782e210 which unfortunately caused regression in complex category placements. This unfortunately re-introduces fdo#44832. We need to re-think how to fix that one without breaking the multi-level category feature. Change-Id: I1ed8364a46174ac6c29aa0b027a33f84bcca51fa Signed-off-by: Noel Power <noel.power@suse.com>
2012-09-26fdo#55298: We should only treat empty values as continuation of previous ones.Kohei Yoshida
For better Excel compatibility. Change-Id: I3bc44f65127d3f020894dc29e5c6549bb257f218 Signed-off-by: Noel Power <noel.power@suse.com>
2012-09-26fdo#55297: Fix regression in chart complex category placements.Kohei Yoshida
This is effectively a revert of a769fd1ec076b61c1ce2f84da87283cc637dd5d5 and a1be31fd8bf830a4f5961e690bcffd050782e210 which unfortunately caused regression in complex category placements. This unfortunately re-introduces fdo#44832. We need to re-think how to fix that one without breaking the multi-level category feature. Change-Id: I1ed8364a46174ac6c29aa0b027a33f84bcca51fa Signed-off-by: Noel Power <noel.power@suse.com>
2012-07-04Remove duplication of License/Credits informationStefan Knorr (astron)
A bit differently this time around: + remove Credits menu item from menu + remove License button from the About dialog Conflicts: cui/source/dialogs/about.cxx Change-Id: I07c1e115aa209ef1d69458f5b188d73caaae4294
2012-06-05Unify ODF extended vs. ODF1.2 handlingThorsten Behrens
Make "export extended ODF" consistently mean "version > ODF1.2". Future ODF versions need manual review anyway, of the various changes/additions we ship. Change-Id: I0f6c1646b306e18f0abcdd1a1802fece821b2e93
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-01targeted string re-workNorbert Thiebaud
Change-Id: I8e6b9ac1e9382e7dcd51421263e1fb51605565ca
2012-05-31target cppcheck index incrementing revertMichael Meeks
Change-Id: I890dfe9fbd7b5a850daaa0d2b4d5040a5ddbefd7
2012-05-31targetted minor size vs. empty reversionMichael Meeks
Change-Id: Icf49ed7746a4325e626976ce376762804d0c82be
2012-05-31nuke unused typedefTakeshi Abe
Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf
2012-05-29hide local functions harderCaolán McNamara
Change-Id: I874a7cda6b2948866a56f0559ab737fed5f42385
2012-05-28status bar: Standardize the size of modification status to '9' everywhere.Jan Holesovsky
Change-Id: Ic5f8473fb5edaa84cdcd5a6cb563c6a5c4fadea3
2012-05-20Some cppcheck cleaningJulien Nabet
Change-Id: Ic30cdeffabec1eb1a6c153ac450a3d28064ef534
2012-05-17removed unused const rtl::OUStringTakeshi Abe
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
2012-05-17fdo#49921 make sure all tab pages have the same dimensionsDavid Tardon
The reason is that they can be combined arbitrarily in dialogs, so changing, e.g., height of one tab can lead to "interesting" results. Cf. commits 8631dbf85fb5ed56d225e32ea5a9c36c96b0d649 and 29042d096a2c5812ae179e1553367afd21b0f71e that were the cause of the problem described fdo#49921. Change-Id: I9995002a2bd5c3604bdfa06dc817916ce61c558d
2012-05-16removed unused constant rtl::OUStringTakeshi Abe
Change-Id: I173275e0f8faa852500d108f65636080f79636c6
2012-05-16remove unneeded include of boost/bind.hppCaolán McNamara
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-02WaE: simple-minded msvc2008 considers code unreachableCaolán McNamara
Change-Id: I97da4392bb3ca814e8d9037346c83fde4d460f97
2012-05-02WaE: doubles truncated to floatsCaolán McNamara
Change-Id: I42b67cc0670f3d0990708fb299243098c1aa972b
2012-04-30make ResId::toString a non-static memberCaolán McNamara
Change-Id: I756c0a19bea7b1cc0e290d9f382a04d655819bfb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29more tolerance for tinderboxMarkus Mohrhard
Change-Id: Ia717de507ef85029c566af6a99badeb1b8bc36d0
2012-04-28we can't move that into a test only libMarkus Mohrhard
Revert "move xshape dumper into test" This reverts commit beccf477581b1f3e85100d43be81ea55d3b3f912.
2012-04-27move xshape dumper into testMarkus Mohrhard
XShapeDumper can now be used by other parts of the code too. Please keep in mind that changing the dumper affects other parts too and might require a regneration of reference files. Change-Id: I540420a8bdf8afd8d43c5ea0bb0d82d7e0ecc44b
2012-04-27sberg's tinderbox needs a bit more tolerance than 1%Markus Mohrhard
Change-Id: If1df2da94bc20b10dd8c5d3e8b77304fef565e19
2012-04-27increase the tollerance for x differences for sberg's tinderboxMarkus Mohrhard
Change-Id: I0538e1ccebf81d1cbcfe2756045ebb9e876e50ac
2012-04-27increase tolerance for now for clang tinderboxMarkus Mohrhard
see fdo#49221 Change-Id: I77ac9a80b497048c4729376f486f34a27f489067
2012-04-27add tolerance to chart regression testMarkus Mohrhard
Change-Id: I5e7694571815df48e54488a33435bb7d022e6889
2012-04-27adapt dumper to new xml diffMarkus Mohrhard
2012-04-25refactor ImpSvtDataCaolán McNamara
2012-04-19enable the chart2 dumper testMarkus Mohrhard
2012-04-19don't use the debug mode for normal testsMarkus Mohrhard
2012-04-11Calculate correct standard deviation for XErrorBar.Rafael Dominguez
- Add method to calculate X standard deviation. - Set correct XErrorBar position when using standard deviation error type.
2012-04-11Display correct errorbars columns in chart data browser.Rafael Dominguez
2012-04-09do not put things directly into $(WORKDIR)David Tardon
2012-04-09add package deps for resourcesDavid Tardon
2012-04-08OUString( whatever ? "foo" : "bar" ) does not work with MSVCLuboš Luňák
2012-04-08Cleanup of C2U macro in chart2.Rafael Dominguez