Commit Graph

908 Commits

Author SHA1 Message Date
3c5dd9812b fdo#40316 Remove SpinButton in UI for extrapolate trendline
UI Trendline: Spinbutton are not adapted for real value of x-values used
in extrapolate For/Back-ward. Replaced with FormattedFiled
like Intercept value

Change-Id: Idc49f842a0f76906eb3c027e15a493e625c3d535
Reviewed-on: https://gerrit.libreoffice.org/7067
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-14 09:45:45 +00:00
2300cdcb63 Show name of the trendline in tooltip (at hovering).
Change-Id: Iaaef26fdb5f1f46b6e0ffece484cf884cc29c84c
2013-12-11 08:09:48 +01:00
67db0ef92f fdo#40315 Improve text for moving average trendline
Change text in status bar for moving average trendline:
no equation, no R²

Change-Id: I0e18a72ff1f1d78e3bb28cab4d5f215c096898dc
Reviewed-on: https://gerrit.libreoffice.org/7015
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-10 16:30:02 +00:00
b0e66c05af More clearly name the trendline in chart's element selection box.
Change-Id: I5f787eb064524a3b2399d591866a5b8cbdee6294
2013-12-09 23:05:13 +01:00
ee545ea38e Display correct equation with multiple trendlines in chart.
When there were multiple trendlines for one data series and one
was selected, always the equation and R^2 of the first trendline
was displayed in status bar.

Change-Id: I320261e129c51bbdd1228173ca2f1d8447fdcb89
2013-12-09 23:05:12 +01:00
f84960ecba Avoid C99 digraph <:
Change-Id: Ifcd4f86bbdd0b780c73f277bc2b35f16e79ac682
2013-12-09 23:30:11 +02:00
e3a5fec0ea convert 3dview dialog to .ui
Change-Id: I790d8cccedeac70f5430cfb75e03914472b9c3d6
2013-12-09 20:39:49 +00:00
56e1133f72 Convert chart 3D scene illumination to .ui
Change-Id: I55e56196818e181d16e74ae93376ff4ff1c4c395
Reviewed-on: https://gerrit.libreoffice.org/6998
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09 20:32:52 +00:00
ad0a87f71e drop unused helpds ids and macros
Change-Id: I3f957fe2fbe731c5d8847cfdd518e0593a615339
2013-12-09 16:48:24 +00:00
28de078a73 missing string resources
regression since 1a404132d94af93d99b2ab65185d2c1b3efd78d4

Change-Id: Ied3080d101783e14e3e620d7cd00b7b482a1a8af
2013-12-09 16:20:36 +00:00
98e135931a convert chart elements page to .ui
Change-Id: I7b6dba29622dc1eaa7e12c58084c6ffed19fe886
2013-12-09 16:20:35 +00:00
cf38ab5d89 Convert chart::InsertTitleDlg to .ui
Change-Id: Ic92ab5e715253caa4be9c0fea4499797ed2b7485
Reviewed-on: https://gerrit.libreoffice.org/6997
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09 16:20:05 +00:00
496ae60435 fdo#40314 Force intercept only for linear/poly trendlines
Force intercept option is available only for linear and polynomial
trendlines

Change-Id: I98f551a51b4d1e85924ce23135588a03fabbea35
Reviewed-on: https://gerrit.libreoffice.org/7001
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-09 07:12:27 +00:00
1ef7640148 fdo#40314 Free value of intercept for trend line
Intercept value field has been changed to FormattedField
to support scientific notation and more than 4 digits
after decimal point

Change-Id: Idb2d27862ddabcdc96a036d93f1f3498cc6327df
Reviewed-on: https://gerrit.libreoffice.org/6904
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-12-07 20:10:17 +00:00
b193123b8e Integrate branch of IAccessible2
Change-Id: Ic7e0b943749266646722cf6525e77b006ae79232
2013-11-28 17:22:16 +00:00
1a404132d9 Convert chart 3D scene appearance tabpage to .ui
Change-Id: I4b420b0abf0142837e525a5b35e5af882269b370
Reviewed-on: https://gerrit.libreoffice.org/6841
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-28 09:02:44 -06:00
51a423cd75 Convert chart 3D scene geometry tabpage to widget
Change-Id: I5840d47047880636fb4e8f80ecef1a6f5377d786
Reviewed-on: https://gerrit.libreoffice.org/6840
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-28 08:28:21 -06:00
07a58db413 provide two LegendPositionResources for the interim
LegendPositionResources for .ui based stuff and a legacy
oldLegendPositionResources which can be phased out when
the last .res based user is gone

Change-Id: I02478882e0cb54ee0fe5c2c5d15382f94758a3d2
2013-11-27 10:33:25 +00:00
e5ad76c11f Convert chart legend position tabpage to widget UI
Change-Id: Iefdbbff83ea05c2e926191a2058a0be67c281789
Reviewed-on: https://gerrit.libreoffice.org/6824
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-27 04:32:46 -06:00
eaa13b8b63 fdo#35712 fdo#40315 fdo#40314 Autoselect trendline type
Modification of Degree or Period select trendline type
Modification of Intercept select option

Change-Id: If3a212c381061e831ee4411c8e17fbaf8ca12895
Reviewed-on: https://gerrit.libreoffice.org/6815
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-11-27 00:09:29 -06:00
382ceea544 fdo#40315 Improve UI for moving average trendline
If moving average trendline is selected, show equation is
uncheked, and all options disable

Change-Id: Ic25c09b8c8410a12ac9f14cb0ba7833f304053ee
Reviewed-on: https://gerrit.libreoffice.org/6796
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2013-11-25 01:16:49 -06:00
6f62f3f0af Custom name for a trend line (shown in legend).
Previously, a trendline name was fixed to a combination of the
trendline type and the name of the series. With this it is possible
to add a custom name for the trendline, which is shown in the
legend.

Change-Id: I61eaaf14e6df45088abdf1f3e9c24877d26ae8a7
2013-11-24 19:43:16 +01:00
b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
7589bf4a62 Convert axis position tab page to widget UI
Change-Id: I76da8002013bdda3d12544aabda84360a2e39929
Obs: Many widget were not implemented and were left for future development
Reviewed-on: https://gerrit.libreoffice.org/6737
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-21 08:14:51 -06:00
7e93e93a4a both help ids end up in the same help
Change-Id: Ia08494cd48a510be53006d6beda14e4b5affbdc2
2013-11-20 10:39:07 +00:00
19956d09e0 Convert chart axis scale tab page to widget UI.
Obs:
-Several widget positioning methods turned useless and were deleted
-Corner case related to axis origin untested (couldn't find where it is used)

Change-Id: I6a563c89ddcfbff62494ce7726f3e7d6089e6b57
Reviewed-on: https://gerrit.libreoffice.org/6730
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-20 04:27:45 -06:00
401f01caf5 use ChartModel instead of XModel in a few places
This allows us easier implementation of some advanced features. Mainly
the 4D chartting will now be able to work without several ugly layers of
UNO.

Change-Id: I74d07229eaef921c508f3bab8fae6d6075ad737a
2013-11-19 13:47:36 +01:00
06d2d3290a fdo#35712 Correct update of equation in status bar
Change-Id: I6db5628bbad337f70e3a39a4c65afbd0f6c30a9d
Reviewed-on: https://gerrit.libreoffice.org/6658
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2013-11-16 11:16:15 +00:00
6be8a39eb9 -Werror,-Wunused-member-function
Change-Id: I36135da5d3ccf6f9860d4b248c0622145bdaf777
2013-11-14 10:15:03 +01:00
c5c7861634 drop unnecessary hids
Change-Id: I9aefbdad5f4b21f926f1c9bad0c545852b604f94
2013-11-12 13:23:40 +00:00
d8dc136bbf Convert tp_Trendline.src to .ui
Change-Id: I429a90441a68a94403d89d7746628528ed4dc876
Reviewed-on: https://gerrit.libreoffice.org/6638
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-11-12 12:54:50 +00:00
0a9ef5a18e convert OUString 0==compareToAscii to equalsAscii
Convert code like:
   0 == aStr.compareToAscii("XXX")
to
   aStr.equalsAscii("XXX")
which is both clearer and faster.

Change-Id: I2e906d7d38494db38eb292702fadb781b1251e07
2013-11-11 12:58:12 +02:00
03995a6bea remove unnecessary use of OUString constructor in CHART2 module
Change-Id: Ic71774a8e6c4ffc8267b940b8b253e4526512435
2013-11-11 11:21:25 +02:00
54a17dd246 windows: warning 4355 is disabled globally in com_MSC_defs.mk
So there is no need to do this locally, too.

Change-Id: I0fa1d0cd3e077ba0985848a9d2cbb061b123e8ad
2013-10-28 01:02:13 +01:00
75b7ce9c66 fixincludeguards.sh: chart2
Change-Id: I166e054926fb975949b3021cbc43b25a222f6198
2013-10-23 23:22:34 +02:00
dd28837249 vcl: mark more Image constructors as "explicit"
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-22 14:42:17 +02:00
cb918dda4d convert remnants of String to CHART2 module to OUString
Change-Id: I799d7ff1d9e8a72b1e68e53aa7d9ef21a2d299b1
2013-10-01 10:08:40 +02:00
9b2c434da9 Werror: nMinWidth unused
Change-Id: I2fea7be5e59c449b4d17fc30d2d3c1fcc651938d
2013-09-30 07:30:38 +02:00
30e72a9a36 cppcheck: some cleanings
Change-Id: Ie41b33c09d79b40116cc10f7557987860acb55e8
2013-09-29 22:49:49 +02:00
f77dedbc97 remove a few more auto_ptr
Change-Id: I316d5c91bf80ab46f8f29f4986295d48fc4427e7
2013-09-29 20:26:06 +02:00
00669d5976 replace some auto_ptr with boost::scoped_ptr in chart2
Change-Id: I45abfdee2e4a4e51d2066afc867e730008579814
2013-09-29 20:26:06 +02:00
0c377feb71 no need for this temporary object
Change-Id: I207e8fa781721ed20c306a8c581af1bc03b5d8f2
2013-09-29 20:26:05 +02:00
98de5b40c8 Related: fdo#38838 remove UniString::EqualsIgnoreCaseAscii
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-25 19:24:23 +02:00
7be7824bbb chart2: String to OUString
Change-Id: I8abc6a31a46bea404e9d8b0c8777e3400dbf928c
Reviewed-on: https://gerrit.libreoffice.org/5865
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-08 02:23:15 +00:00
b4f8efc3bc typo fix: absoulte -> absolute
Change-Id: Ib728cb9bac3f42e17649685b4413b9335f2dc2c4
2013-09-07 15:59:10 +02:00
9f3769dcf3 CID#1078500: Copy-paste error
Change-Id: Ibf553adbfe0b892d920e22d3a74d3433b6d6659a
Reviewed-on: https://gerrit.libreoffice.org/5853
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-09-07 12:23:07 +00:00
07aade88b0 tp_axisLabel.ui widgets
Change-Id: I279d2989e6a3a8f0aa279c5aa8eb13251a6052da
Reviewed-on: https://gerrit.libreoffice.org/5801
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-04 08:56:47 +00:00
0e2ef09316 titlerotationtabpage.ui widgets
Change-Id: I187ec2b6bbee10820fcea5b770972fc63b2f7117
Reviewed-on: https://gerrit.libreoffice.org/5729
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-01 14:06:56 +00:00
ef3e7f2316 janitorial: indentation
Change-Id: I3070c0b4fa84090412191415b23e455b9e8d1bbc
2013-08-30 18:36:45 +02:00
64b993e046 finish deprecation of O(U)String::valueOf()
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.

Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00