Commit Graph

4097 Commits

Author SHA1 Message Date
b193123b8e Integrate branch of IAccessible2
Change-Id: Ic7e0b943749266646722cf6525e77b006ae79232
2013-11-28 17:22:16 +00:00
3c10c9ec66 Remove code that never effectively did anything
... since inception in 44569a657c4282757443ae06efc6441e571a0409 "CWS-TOOLING:
integrate CWS bubblechart."

Change-Id: I1785ef41bf7146ea7f4d8927165c38317d7183e8
2013-11-28 17:58:03 +01: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
b5c2e38a71 drop unused HID_SCH_LEGEND_POS helpid
Change-Id: I520951b21dd017c0d8a21f455f9abaa18e329e68
2013-11-27 10:42:51 +00: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
f58e03e7bb Simplify conversion from/to ItemSet/PropertySet for RegressionCurves
Change-Id: I5ddf53f984508a88fd02063eb9f81cd05cf627c9
2013-11-24 19:43:16 +01:00
3af08dd27d DRY-cleanup RegressionCurveItemConverter
Change-Id: I8fb799b2efc81587252161ccadfa1dbd6b096bda
2013-11-24 19:43:16 +01:00
b3c2cf2ae1 widht -> width
Change-Id: I661eeb167a95540a223ce72aac51789daf3767dc
2013-11-23 23:22:25 +01:00
fc87d57f04 replace OUString::reverseCompareTo("xxx") with operator==
operator== with OUString and literal internally does a reverse-compare
(via OUString::equalsAsciiL) anyway, so no need to keep explicit calls
to OUString::reverseCompareTo with literal argument

Change-Id: I799d9bcd0d5c308a9547ce7cacb2db6042fdb643
2013-11-22 11:23:05 +02:00
73342dbb82 remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new
OUString and OString methods that can detect string literals.

Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22 08:07:19 +02: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
89633c6da1 remove unnecessary use of OUString::createFromAscii
Convert code like this:
    OUString aStrSpacing(OUString::createFromAscii("spacing"));
to:
    OUString aStrSpacing("spacing");

Change-Id: Ia2b7d6b42f35d33cfe587a0d6668030f3537fa6d
2013-11-21 13:29:29 +02: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
52bbd9cc00 remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii calls
Convert code like:
    aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" ));
to:
    aStrBuf.append( "ln(x)" );
which compiles down to the same code.

Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-20 10:07:32 +02:00
c289fb1bad unknown log area
Change-Id: Ideb0742c2c6f3f7ba45af23359d5a653f58b120c
2013-11-19 15:20:22 +01:00
f1c06bb8d9 -Werror,-Wunused-function
Change-Id: I337691b4a7548c5c92bc0484c2ef9224ce461ba5
2013-11-19 15:19:09 +01:00
b976c1e328 -Werror,-Wunused-function
Change-Id: I4ae45a0809cc57fad3d8e872952aedfead27a518
2013-11-19 15:17:01 +01:00
3b2b516ce0 this only works with c++11 2013-11-19 13:54:35 +01:00
4fdd44f579 fix tinderbox 2013-11-19 13:51:30 +01:00
449157cae7 disable building the OpenGL pieces 2013-11-19 13:47:41 +01:00
7dab0e8667 fix tests
Change-Id: Ib090d9a6a007a738a0603d1d0a38d5b274feadcc
2013-11-19 13:47:41 +01:00
1c6b94c78e fix the windows build
Change-Id: Ie3625211a32c41dd0fadf94294bc689aef7b1c24
2013-11-19 13:47:40 +01:00
ea306793cc more windows build fixes
Change-Id: I79b75bbb193851855328a7dbbd8ab547afe29aec
2013-11-19 13:47:40 +01:00
e4926e844e fix windows build
Change-Id: I51942eb3719459abc0353a7fd024784f2c4abdb3
2013-11-19 13:47:40 +01:00
2d90ddc9cf removed unused variable
Change-Id: I74af65aba6d19e39f889a28b15d04f7e293168c5
2013-11-19 13:47:40 +01:00
35b6d31154 fix crash in opengl backend
Change-Id: I1257f4568e55ca545e96bda8a53f272ba8e1f0b0
2013-11-19 13:47:40 +01:00
78fb95eeb9 dbgutil build fix
Change-Id: I54abcc2a9fbe7d30bdf64d194df1a435d21f24ac
2013-11-19 13:47:39 +01:00
73fcf2ad12 we need to init manually now
Change-Id: I1374814e549dcbb33de75ffa118d1eccfd168893
2013-11-19 13:47:39 +01:00
1ccab525db fix lifetime problems of ChartView
Change-Id: I99b24b026c50a05f8f3803348c76277e29a45ec7
2013-11-19 13:47:39 +01:00
7070318e0f it builds again
Change-Id: I969ff5ed6fd979e9fd126e8d0b79a518697e7915
2013-11-19 13:47:39 +01:00
678008264f add glew and make chartopengl a dynamically loaded lib 2013-11-19 13:47:39 +01:00
a715ebeee9 add a few property cases
Change-Id: Idd77baf2f84550f1a29e5eaf9afb4aa454e79154
2013-11-19 13:47:38 +01:00
0aa94225ba add the definition for the shapes
resolves the linker errors

Change-Id: I24d18a4491c8bc4f5839f9245386d0cd2b612cf0
2013-11-19 13:47:38 +01:00
4813b13542 make the shapes explicit in the backend
Change-Id: Idf92176c66cefde3022cec2990c9711a1b49a111
2013-11-19 13:47:38 +01:00
22c8bb9e0f actually create a dummy root shape object
Change-Id: I6251042266f531a28944197bda8d2fab39fce495
2013-11-19 13:47:38 +01:00
cf74b7fb77 make it possible to avoid XShape/XShapes in the backend
Change-Id: I9aa4b71d12bb6720e2197dc1de6f06c61f27d6ee
2013-11-19 13:47:38 +01:00
d821f5aa04 implement XMultiPropertySet
Change-Id: I91878c0883f0de03341eee65f2925ec3beb71889
2013-11-19 13:47:37 +01:00
eb26543b11 implement top level shape and method to get it
This class contains the glcontext

Change-Id: If0418cfbfb0486396a75ab274e7b480607f8de6d
2013-11-19 13:47:37 +01:00
ca121aff30 fix build
Change-Id: I776455675a066dad790bc6beac4aa545186d5192
2013-11-19 13:47:37 +01:00
b4c78680e0 adapt name of method
Change-Id: I02435256f747bb2bff63414735fa5af3b3413e82
2013-11-19 13:47:37 +01:00
a369737c18 rename DummyShapeFactory to OpenglShapeFactory
Change-Id: Ife9640b10e90351f871513f1f8e26d80c384e0d9
2013-11-19 13:47:37 +01:00
0574f59c6a add methods to render whole data series at once
additionally we have now a method for timebased data series in the shape
factory. The method contains the two points in time and the rendering
backend should calculate intermitiate points for a good interpolation.

Change-Id: Id30e2039ec90a6c36e947b7a7f9bca65ef0e8961
2013-11-19 13:47:36 +01: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
cf90715b35 work on plotting a whole series at once
Change-Id: I70a7b22aa30e959ed311348f047e349be38ebcfb
2013-11-19 13:47:36 +01:00