Commit Graph

983 Commits

Author SHA1 Message Date
Kohei Yoshida
86090ef2fb Make the new OpenGL chart type a compile time option.
And it's disabled for now.

Change-Id: I9a513d757960b61e7b2d6009eabf97a75b6c453e
2014-03-25 22:50:50 -04:00
Kohei Yoshida
44fc32edcd Properly import and export the new chart type to and from ODF.
Change-Id: I38e9813c6eb853dfb92b1537cea0b9ad97473b57
2014-03-25 22:50:50 -04:00
Kohei Yoshida
b7c3e85146 Turn this into a regular method.
Change-Id: Idb4dc17971cd37a4cdf99b2c02e61fca14cb3ce2
2014-03-25 22:50:50 -04:00
Kohei Yoshida
be1152e0cc List child type for GL3D bar chart type.
For now there is only one child type.

Change-Id: If39a3e75fdae62f0b20769c21e6a4e235ede941e
2014-03-25 22:50:49 -04:00
Kohei Yoshida
be89276e63 Add a new chart type "GL 3D Bar" (working name).
Change-Id: I0b0a65bf4f9365a8d522e3c439afe19797b2fdd5
2014-03-25 22:50:48 -04:00
Noel Grandin
80ef0dfedc svtools: sal_Bool->bool
Change-Id: I42a341b5805e0b2a7d619ba552700db35815afd5
2014-03-25 14:32:57 +02:00
Noel Grandin
436cd90095 svtools: sal_Bool->bool
Change-Id: Ifd3e643dbc6755839ad4af73ae141fd115ddb4f4
2014-03-25 14:32:56 +02:00
Noel Grandin
f5864e8ff4 svtools: sal_Bool->bool
Change-Id: Ia0280d3d4f2d5b8a93a37a93847951391e928028
2014-03-25 14:32:53 +02:00
Kohei Yoshida
6292dbc3ef Better to associate true for "enable" and false for "disable".
The code reads better this way, and certainly is easier on human brain
to process their logic.

Change-Id: I3150fca3385931b9fe01ad13cb11fab410331349
2014-03-24 22:24:30 -04:00
Noel Grandin
9604eb8758 svtools: sal_Bool->bool
Change-Id: I8f171f7f61ea06a79183e9bf9b15b8c35c98cc9b
2014-03-24 08:12:09 +02:00
Noel Grandin
f661ac03e0 svtools: sal_Bool->bool
Change-Id: I22d8869551f46d2a0607f670f937853f394b6acf
2014-03-24 08:12:09 +02:00
Noel Grandin
1a1fe47731 svtools: sal_Bool->bool
Change-Id: I0c2e9314d85860831b29db76c89c8776c1b071b9
2014-03-24 08:12:08 +02:00
Noel Grandin
236d6cd67e chart2: prefer passing OUString by reference
Change-Id: I685b1dc3d7c735bc70be29252f55c082546f3cb1
2014-03-17 13:30:50 +02:00
Markus Mohrhard
0e894caf47 we also need to translate from ui to internal roles
Change-Id: Id66f2f015d1eabe469a944f2bbafe2afbb360464
2014-03-17 08:13:48 +01:00
Stephan Bergmann
ce7cc9d92d chart2: simplify deprecated XTypeProvider.getImplementationId
Change-Id: Ie06f10648b0e79101c30da4768d5462cdf38838a
2014-03-10 17:39:52 +01:00
Tor Lillqvist
f4dfd81134 WaE: unused function
Change-Id: I05a7e05b72d0923f5d8883b96df197611c034abd
2014-03-09 21:50:18 +02:00
Markus Mohrhard
d7bb16fde8 disable property mapping for unsupported chart types
Change-Id: I1c7c3bebe71029787796c21706088784c4934954
2014-03-09 19:27:50 +01:00
Markus Mohrhard
835c637d49 the method is static
Change-Id: Ie6953bbb4eca365124a3408f71ef43cb424ec343
2014-03-09 19:27:49 +01:00
Markus Mohrhard
6d7514357b use localized names instead of the internal ones
Change-Id: Idd5d5def2550f8ba98f4e8a8a17330a4b663862e
2014-03-09 19:27:49 +01:00
Markus Mohrhard
1e9993be10 don't hardcode property mapping, read them from chart2::XChartType
Change-Id: I7889dbddab603d7650d58a04f53e7c5fe38fcce2
2014-03-09 19:27:49 +01:00
Markus Mohrhard
caac9026f6 improve the property mapping dialog
Change-Id: I0dbb44febb058a3b33030aa1fa86d850e71eef48
2014-03-09 19:27:49 +01:00
Markus Mohrhard
bc338f4afc improve the handling of property mapping sequences
Change-Id: I4ddd656a41ab975786ce6e5cd05597f6b773b334
2014-03-09 19:27:49 +01:00
Eike Rathke
68ec95b3f8 made ListBox handle more than 64k elements, fdo#61520 related
ListBox and related now handle up to sal_Int32 elements correctly.
sal_Int32 instead of sal_Size or size_t because of UNO and a11y API.
Also disentangled some of the mess of SvTreeList and other containers
regarding sal_uInt16, sal_uLong, long, size_t, ... type mixtures.

Change-Id: Idb6e0ae689dc5bc2cf980721972b57b0261e688a
Reviewed-on: https://gerrit.libreoffice.org/8460
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2014-03-05 07:31:19 -06:00
Stephan Bergmann
d1478f42c7 -Werror,-Wunused-function
Change-Id: Ief9b2179db2e6c05dbf6e076e147a0a8adbccc04
2014-03-03 16:07:35 +01:00
Caolán McNamara
885fd98fa3 convert chart type page to .ui format
Change-Id: I2e95e0dec66b8985abad81b02722e1bf632a15e0
2014-03-03 13:27:10 +00:00
Alexander Wilms
f2cdf8848c Remove visual noise from chart2
Change-Id: Ic8dc71c2815df265e1935e629e0220396a50aaac
Reviewed-on: https://gerrit.libreoffice.org/8239
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-02-27 00:44:41 -06:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Stephan Bergmann
76b114f849 implicitboolconversion: warn about implicit conversion of call args to bool
...to be able to find problems like 6e0bdf04ad
"sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it"
earlier when converting occurrences of sal_Bool to bool.

Restricting this check to function call arguments avoids too much noise while
hopefully still catching all the relevant problems.

(This check partially overlaps the pointertobool check, so implicit conversions
from pointers to bool call arguments will now generate two loplugin warnings,
but that's harmless.)

Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24 17:25:05 +01:00
Stephan Bergmann
33740b7d5a Replace exisiting TriState, AutoState with more generic TriState
Change-Id: Ida05478aae5a379775c671e0c2f2851d820d78be
2014-02-24 12:27:32 +01:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
Caolán McNamara
5c3a6d383e callcatcher: update unused code
Change-Id: Ie4df15ab292df51274d983d31ce8e21e0549de81
2014-02-21 09:05:21 +00:00
Tobias Lippert
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
Caolán McNamara
b0cf499b3e convert chart data dialog to .ui
this one was a complete pig to convert with the
conflicting home-grown existing layout code.

Change-Id: I135bd486d10f7d972e143daae44d6b24a6e8fdb8
2014-02-20 13:50:01 +00:00
Stephan Bergmann
12f1faf7bf svl: sal_Bool -> bool
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
Tor Lillqvist
1113c243b1 Don't violate the One Definition Rule
There were two different struct types called chart::TimeBasedInfo,
which caused problems at least in statically linked iOS app.

Rename the other struct to chart::DialogModelTimeBasedInfo for now.

Change-Id: Ib95736b1046c5bd9001d7aeba2b8bbd22a18f8c2
2014-02-17 14:48:15 +02:00
Caolán McNamara
829a2f9b1f this dialog is unfinished, but fix it to not crash
Change-Id: Icb6d1d1bb14678eb711100644f3f60725db4b5db
2014-02-17 10:53:37 +00:00
Takeshi Abe
bbe3bec949 Drop unused #include
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-14 18:44:05 +09:00
Caolán McNamara
2b12a5b87b the return of callcatcher
Change-Id: I447ebcc61ff061bce15678c6fcfd3d0a4669908f
2014-02-10 11:21:03 +00:00
Markus Mohrhard
042fec5bf2 forgot the new files
Change-Id: I63bdb340aa06b072541bb8b0ed975457c504c9a2
2014-02-09 14:20:36 +01:00
Markus Mohrhard
ec4b0ed8e0 improve dialogs for mapped properties
Change-Id: I87e07a30743de0fc30d0caafd35192b18caf3dae
2014-02-09 14:16:42 +01:00
Markus Mohrhard
8cb2877b2d add the time based charting stuff to the ui files
Change-Id: I5ffb382f61e56d1c07dfb945f08fa354aea9d5fc
2014-02-09 14:16:41 +01:00
Stephan Bergmann
85cdb06fd5 sal_Bool -> bool
Change-Id: Ifc80202e0865b59931af6e50d3d60f5021f8b52e
2014-02-07 18:43:32 +01:00
Caolán McNamara
16738ab4d8 coverity#1158121 Unchecked dynamic_cast
Change-Id: I961c3da368c1f2bffb4c116c325a82cf7619cf15
2014-02-07 12:24:43 +00:00
Caolán McNamara
b37bce11cf Resolves: rhbz#975421 wrong chart direction in Farsi
Where Farsi (and apparenly Moroccon) are RTL but have LTR
math and charts should reportedly follow the math direction

Change-Id: Ib60eaaaa90fe46ef240030a91169fdff3f736329
2014-02-06 15:11:59 +00:00
Stephan Bergmann
d2d5864462 TabControl::DeactivatePage should return bool
Change-Id: I9fb774a235db2b9bc759976d2d3f84363ed944ec
2014-02-06 15:44:03 +01:00
Caolán McNamara
f79bfd0ac5 convert chart type dialog to .ui
Change-Id: I6da39b06629e3913048a48490f45863de24c4f15
2014-02-04 09:21:00 +00:00
Norbert Thiebaud
498c878ddc coverity#707670 : Uninitialized scalar field
Change-Id: I8815381cc1a9801ff5f5ecfac06ada234d5bc363
2014-01-31 23:54:18 -06:00
Markus Mohrhard
9c5593bebf start time based onlz after dialog is closed
everything else seems to result in serious bugs!!

Change-Id: I1afbdb7623f877781c7ef362d87608a1e2aba72e
2014-01-29 08:09:34 +01:00
Markus Mohrhard
d70331f9de first step for mapped properties
Only FillColor in bubble charts is supported right now.

Change-Id: If6ad0220c15e06a9a57c554f6243fd9908b2651b
2014-01-29 08:09:33 +01:00