Commit Graph

924 Commits

Author SHA1 Message Date
76702bc75d Bin leftover printf
Change-Id: I5469199841dc56e93ff82fe5c3b722d43e766240
2014-01-11 11:03:49 +02:00
7b2d1ee505 Resolves: fdo#72814 Fix Chart Data Ranges Dialog
revert part of b193123b8e658d2eb25af5debe9de9e1b2386ef8

That "hidden" column conatined data which is important to make the dialog work.
If the hidden data is causing a11y problems then it needs to be reworked in a
different way rather than removed in one place but still being looked for in
another

Change-Id: I2990ac940a52d97da193af2147f2b61281e11020
2014-01-10 20:22:19 +00:00
db666bdf0c convert data range tabdialog to .ui
Change-Id: I70e9064a13a751f6b0dae153522953eaf2ac53a5
2014-01-07 09:43:15 +00:00
44029ade1b convert chart shape paragraph dialog to .ui
Change-Id: I5682ccdaa7d0f877310b937ad12ceeeb0b91c350
2014-01-04 19:37:53 +00:00
204c2a1a02 convert chart shape character dialog to .ui
Change-Id: I03917fdceebdf5bd06c04f5719615092ee166852
2014-01-04 19:22:15 +00:00
1cedea0eef WaE: C4805: '!=' : unsafe mix of type 'sal_Bool' and type 'bool' in operation
Change-Id: If67bcfa3f3faaf7ed48493a0f8281fba70431abf
2014-01-03 15:42:55 +02:00
ce4db6fe77 Convert chart range chooser tab page to .ui
Change-Id: Ibe80ec369b8efcded6cf9ce31f7c7d66e3e61dc0
Reviewed-on: https://gerrit.libreoffice.org/7224
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-29 16:53:05 +00:00
86fcb2eaae WaE: private field 'm_pParentWindow' is not used
Change-Id: Iad6433396844cae5785b6b8ba80f0593c2dea62e
2013-12-28 11:08:45 +02:00
e6a87e17b2 Convert insert error bars dialog to widget UI
Change-Id: Ie2fbcb0bacb968a784698908c8cc62f73a80cf32
Reviewed-on: https://gerrit.libreoffice.org/7219
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-28 08:44:59 +00:00
3596e88b65 Convert chart data label dialog to widget UI
Conflicts:
	chart2/AllLangResTarget_chartcontroller.mk

Change-Id: Id9054b3b0c6e7a10a72bc90b05cd7c6bbc5e82a2
Reviewed-on: https://gerrit.libreoffice.org/7205
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-27 21:19:56 +00:00
27eb33d753 remove unnecessary empty dtor, etc.
Change-Id: Ia2a1d1fe81a07d1e37437539d6d651a7c6ce1111
2013-12-27 20:59:01 +00:00
acf3949da9 Convert chart error bars tab page to widget UI
Change-Id: I9f3cb1fb3186e77b5c5ee57ff3e6086022c80bfd
Note: kept old resouce to allow dialog to be called by dlg_InsertErrorBars, util we find a way to have a dialog to call a tab page and access the resources. Once a solution is found, old- resources can be deleted, RangeEdit and RangeSelectionHelper can be nuked too.
Reviewed-on: https://gerrit.libreoffice.org/7198
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-27 20:20:35 +00:00
9143eaff72 Convert chart legend dialog to widget UI
Conflicts:
	chart2/AllLangResTarget_chartcontroller.mk

Change-Id: Ibc265efe5a8bdf3e0e5fb8135fb0487de7e96764
Reviewed-on: https://gerrit.libreoffice.org/7199
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-27 16:52:29 +00:00
1568dc2541 Convert chart polar options tab page to widget UI
Conflicts:
	chart2/AllLangResTarget_chartcontroller.mk

Change-Id: If9730589e44ab40331ea217986e79d78b926d5af
2013-12-27 15:07:26 +00:00
d1c74734c8 Transex3: NO_LOCALIZE_EXPORT
In the past, NO_LOCALIZE_EXPORT macro must be used to
skip uneeded parsing of src files which has no localizable content.
It is unsued by now and it is more effective to handle
this files on gmake level:
gb_SrsTarget_add_nonlocalizable_files
gb_SrsTarget_add_nonlocalizable_templates

Plus remove some empty src file.

Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-27 07:14:57 +01:00
9dccff429d Convert chart data labels tabpage to .ui
Change-Id: I6ffd992fe8a2cb290c8f8992922f0e54276e6ae1
Reviewed-on: https://gerrit.libreoffice.org/7124
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-19 13:30:41 +00:00
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