Commit Graph

60 Commits

Author SHA1 Message Date
998ab5c405 More on removing (unreasonable) use of std::auto_ptr.
Change-Id: I98f5fb22eecb7749e4c86e1ce52965b0c73641ca
2014-07-21 23:12:34 -04:00
8918dabbee coverity#705359 Mixing enum types
and

coverity#705361 Mixing enum types
coverity#705362 Mixing enum types

Change-Id: I557d7178277e5d497e3bbab12b75724c05653f57
2014-07-02 14:00:41 +01:00
5cbd7b68b9 coverity#1158117 Unchecked dynamic_cast
Change-Id: I0d78af6a9aa1f206ceaf0cc9942c2a1e450ea980
2014-06-10 16:08:07 +01:00
6d166057c9 coverity#1158118 Unchecked dynamic_cast
Change-Id: I25cb0dd2d6850565aff8a08e4d3955a497415d93
2014-06-10 16:08:07 +01:00
97a5ba4a71 remove comments why a file gets included
also remove some commented out code

Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
329332ba52 chart2: sal_Bool->bool
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +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
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
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
00669d5976 replace some auto_ptr with boost::scoped_ptr in chart2
Change-Id: I45abfdee2e4a4e51d2066afc867e730008579814
2013-09-29 20:26:06 +02:00
dd9c97d587 fdo#62475 removed pointless comments
Change-Id: I3f5e86dba2df950aeb12c895f52d99274c0959aa
Reviewed-on: https://gerrit.libreoffice.org/5148
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-29 11:34:33 +00:00
5efc15f000 reduce use of UniString from ResID ctor
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
362635961a Remove InsertTrendlineDialog as it is not used anymore.
Change-Id: I58dbdc416254e631f33784bb2a2cf124e69fc69a
2013-07-03 21:46:47 +02:00
b0fbaa6fa2 Adding multiple trendlines with menu item Insert>Trend Lines..
Menu item "Insert>Trend Lines.." allowed adding trendlines for all
data series at the same time. As we can now have more trendlines
per one data series this becomes cumbersome so only allow to add
a trend line when data series is selected or known.

Change-Id: I676876f389d00d3fbe668d429f0f98bd8c8d4d3d
2013-07-03 21:46:47 +02:00
1c5c226698 Insert new trendline instead of changing the existing one.
Change-Id: Ic7cbfa55c7b2e42eb21400b2fca34724a72de701
2013-07-03 21:46:45 +02:00
1cd3e20380 Multiple trendline removing and changing type support.
Change-Id: I33a298341e228080920977639cb59986d0b4bd82
2013-07-03 21:46:44 +02:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
b93b23fe10 Replace rtl::O(U)String with O(U)String
Other changes include:
in bridges/test/testcomp.cxx duplicate 'using namespace ::test' removed,
'using namespace ::rtl' replaced with 'using ::rtl::OUString' and
'using ::rtl::OUStringToOString'

Change-Id: I67a5952afd305adeb07f728c9074620ecba8e9fc
Reviewed-on: https://gerrit.libreoffice.org/2475
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-01 13:19:13 +00:00
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
63c508e3e8 re-base on ALv2 code. Includes:
118568: switch to using ucpp
    Patch contributed by Juergen Schmidt
    http://svn.apache.org/viewvc?view=revision&revision=1209396
2012-07-18 09:29:19 +01:00
6294d8f4df Update DeleteYErrorbar function to handle X and Y bars. 2012-03-23 02:55:32 +01:00
d2e77741cb Set errorbar type attribute when inserting or formating an errorbar. 2012-03-23 02:55:32 +01:00
34cadd6397 Specialize STR_OBJECT_ERROR_BARS for each errobar type. 2012-03-23 02:55:30 +01:00
3e964eeb7c Set chart objecttype depending on errorbar type. 2012-03-23 02:55:29 +01:00
2ea77e4926 Display correct errorbar in InsertDialog. 2012-03-23 02:55:29 +01:00
2a1d5a428d Make executeDispatch_InsertYErrorBars a generic function.
- Make the function usable for XError and YError bars.
- Rename executeDispatch_InsertYErrorBars to executeDispatch_InsertErrorBars.
- Add a new parameter that control the error bar direction.
- Update arguments in callers.
2012-03-23 02:55:29 +01:00
7d42654aa4 Merge InsertMenu_YErrorBar and InsertYErrorBar commands in chart controller. 2012-03-23 02:55:29 +01:00
3bb87d7c5f Set bar type as YErrorBar when creating InsertErrorBarsDialog. 2012-03-23 02:55:28 +01:00
1aae826501 catch by const reference 2011-11-29 10:07:04 +09:00
6da8379e14 remove include of pch header in chart2 2011-11-27 12:59:19 -06:00
12343c1556 Merge commit 'ooo/DEV300_m101' into integration/dev300_m101 2011-03-10 20:21:13 -05:00
cac42d3f6a Remove dead code 2011-02-06 17:38:48 +01:00
be6d1a44a1 CWS-TOOLING: integrate CWS chart46 2011-01-31 17:20:05 +01:00
dbf69a6612 chart46: #i25706# implement date axis - #i116467# change behaviour of own data table 2011-01-14 18:11:00 +01:00
4d0ae2eac2 undoapi: step 2.3 of the migration of css.chart2.XUndoManager to css.document.XUndoManager:
migrate the clients of XDocumentActions to using the new XUndoManager, and completely remove the (X)DocumentActions
 still some more cleanup needed
2010-11-16 08:49:38 +01:00
587dfc9e8a undoapi: step 2.0 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: rename css.chart2.XUndoManager to XDocumentActions. Not sure this class will still exist (in either form) after the refactoring is finished. 2010-11-09 21:37:01 +01:00
78fed9b862 undoapi: step 0.1 of the migration of css.chart2.XUndoManager to css.document.XUndoManager: remove the XModel paramter from the XUndoManager methods, they're an implicit attribute of the instance 2010-11-09 21:36:54 +01:00
c94a7511bf merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 17:57:36 -05:00
defa3490b4 use SolarMutexGuard to guard the SolarMutex 2010-10-25 17:54:58 -05:00
63bb42ab7d Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-13 10:57:18 +02:00
5be9c91744 chart47: #i109770# #i110253# prevent null access on empty m_aModel and reduce assertions 'already disposed' 2010-05-19 17:08:43 +02:00
4573ccfffd changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
921ff4b99a CWS-TOOLING: integrate CWS chartuseability01
2009-09-07 17:26:44 +0200 iha  r275906 : CWS-TOOLING: rebase CWS chartuseability01 to trunk@275801 (milestone: DEV300:m57)
2009-08-27 13:48:16 +0200 iha  r275481 : #7049# listbox to select chart elements
2009-08-27 11:54:53 +0200 iha  r275464 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-26 16:49:58 +0200 iha  r275435 : #i102820# added missing case 'floor'
2009-08-26 15:33:51 +0200 iha  r275427 : #i102820# make 'insert legend' work properly
2009-08-25 16:35:00 +0200 ufi  r275369 : i104087
2009-08-25 15:12:17 +0200 iha  r275360 : #i104087# 'Object Properties' -> 'Format Selection'
2009-08-25 15:11:31 +0200 iha  r275359 : #i104087# 'Object Properties' -> 'Format Selection'
2009-08-25 15:11:15 +0200 iha  r275358 : #i104087# 'Object Properties' -> 'Format Selection'
2009-08-25 11:57:43 +0200 iha  r275344 : #i104087# changed behavior of insert menu
2009-08-18 12:53:54 +0200 oc  r275093 : #i104082,104086,104089# multiple changes because of changed chartUI
2009-08-10 16:46:17 +0200 ufi  r274824 : i104083 i104087 i104090
2009-08-07 14:04:34 +0200 iha  r274763 : #7049# listbox to select chart elements
2009-08-07 13:06:05 +0200 iha  r274760 : #7049# listbox to select chart elements
2009-08-07 13:05:06 +0200 iha  r274759 : #7049# listbox to select chart elements
2009-08-07 12:32:31 +0200 iha  r274756 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-07 12:31:54 +0200 iha  r274755 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-06 19:00:48 +0200 iha  r274742 : #i103593# make insert menu behavior selection dependent
2009-08-06 19:00:14 +0200 iha  r274741 : #i103593# make insert menu behavior selection dependent
2009-08-06 15:34:01 +0200 iha  r274731 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-06 14:39:20 +0200 iha  r274728 : #i86146# ease adding R-squared value with an equation
2009-08-06 14:37:02 +0200 iha  r274727 : #i86146# ease adding R-squared value with an equation
2009-08-06 13:37:54 +0200 iha  r274724 : #i86146# ease adding R-squared value with an equation
2009-08-06 13:37:15 +0200 iha  r274723 : #i86146# ease adding R-squared value with an equation
2009-08-06 13:04:27 +0200 iha  r274722 : #i103593# make insert menu behavior selection dependent
2009-08-06 13:03:35 +0200 iha  r274721 : #i103593# make insert menu behavior selection dependent
2009-08-05 18:26:31 +0200 iha  r274693 : #i104033# inconsistent wording 'error indicator' <-> 'error bar'
2009-08-05 16:51:45 +0200 iha  r274688 : #i104028# rename font tabpage 'Characters'->'Font'
2009-08-05 16:30:21 +0200 iha  r274685 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 15:34:11 +0200 iha  r274680 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 15:32:43 +0200 iha  r274679 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 15:31:26 +0200 iha  r274678 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 15:17:51 +0200 iha  r274676 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 15:16:22 +0200 iha  r274675 : #i58163# #i69422# #i102820# enhance chart context menu
2009-08-05 14:58:59 +0200 iha  r274674 : #7049# listbox to select chart elements
2009-08-05 14:33:54 +0200 iha  r274669 : #7049# listbox to select chart elements
2009-08-05 14:22:17 +0200 iha  r274665 : #7049# listbox to select chart elements
2009-08-05 13:21:05 +0200 iha  r274656 : #i102820# offer insertion of several elements in context menu also if nothing is selected
2009-08-05 11:56:06 +0200 iha  r274647 : #7049# listbox to select chart elements
2009-08-05 11:43:40 +0200 iha  r274645 : #7049# listbox to select chart elements
2009-07-24 19:46:50 +0200 iha  r274318 : #i58163# #i69422# #i102820# enhance chart context menu
2009-07-24 16:23:13 +0200 iha  r274313 : #i58163# #i69422# #i102820# enhance chart context menu
2009-07-24 16:13:22 +0200 iha  r274311 : #i58163# #i69422# #i102820# enhance chart context menu
2009-09-11 16:06:18 +00:00
70346a3272 CWS-TOOLING: integrate CWS chart30 2008-10-01 07:35:04 +00:00
69aab605e6 INTEGRATION: CWS changefileheader (1.15.20); FILE MERGED
2008/04/01 15:04:09 thb 1.15.20.2: #i85898# Stripping all external header guards
2008/03/28 16:43:48 rt 1.15.20.1: #i87441# Change license header to LPGL v3.
2008-04-10 19:48:21 +00:00
8193acfc0f INTEGRATION: CWS chart20_DEV300 (1.14.4); FILE MERGED
2008/02/22 16:52:19 bm 1.14.4.2: #i366# commands for deleting statistics objects
2008/02/21 15:59:27 bm 1.14.4.1: #i366# error bars from ranges
2008-03-06 15:57:00 +00:00
4009435efa INTEGRATION: CWS chart19 (1.13.8); FILE MERGED
2008/01/15 08:19:42 bm 1.13.8.7: #i44768# some string adaptions for trendlines
2008/01/14 17:14:50 bm 1.13.8.6: #i44768# executeDispatch_InsertTrendline: commit changes when property dialog
 was quit with OK without having changed anything in the dialog.
2008/01/14 16:09:37 bm 1.13.8.5: #i44768# set correct CID for properties dialog for trendline
2008/01/14 13:46:10 bm 1.13.8.4: #i44768# insert/delete mean value lines via menu commands
2008/01/14 12:15:56 bm 1.13.8.3: #i44768# optimize width of trendline dialog
2008/01/11 15:58:43 bm 1.13.8.2: #i44768# make it easier to add and modify trendlines
2007/12/20 16:15:27 bm 1.13.8.1: #i84801# split up statistic dialog into error bar dialog and trendline dialog
2008-02-18 14:57:37 +00:00
23b12945b3 INTEGRATION: CWS chart17 (1.12.32); FILE MERGED
2007/10/12 15:06:24 bm 1.12.32.2: #i7998# compile problem on Linux
2007/10/12 12:35:07 bm 1.12.32.1: #i7998# equations for regression curves
2007-11-23 10:53:59 +00:00
15d248c47f INTEGRATION: CWS chart07 (1.11.12); FILE MERGED
2007/07/13 11:20:44 iha 1.11.12.4: cleanup data label controls (one implementation only)
2007/07/06 13:30:40 iha 1.11.12.3: #i8877# Error bar values limited to 0.1 and above
2007/07/05 12:52:32 iha 1.11.12.2: cleanup statistic controls (one implementation only) - prepare for issue 8877
2007/06/25 12:52:11 bm 1.11.12.1: #i74653# store undo manager at model to be able to do an undo even after inplace re-activation
2007-07-25 07:43:11 +00:00
f55c4ae410 INTEGRATION: CWS chart2mst3 (1.8.4); FILE MERGED
2007/01/16 16:25:18 iha 1.8.4.24: #i73426# wrong help context bvecause of wrong window hirarchy
2006/11/26 11:39:17 bm 1.8.4.23: includes for solar mutex missing
2006/10/27 15:17:00 iha 1.8.4.22: name consolidation
2006/10/18 17:07:34 bm 1.8.4.21: RESYNC: (1.9-1.10); FILE MERGED
2006/04/10 15:03:33 iha 1.8.4.20: api restructure axis, grids, scales and increments
2006/04/10 12:25:07 iha 1.8.4.19: api restructure axis, grids, scales and increments
2006/02/21 19:45:05 iha 1.8.4.18: added property show to axis to make axis title possible with invisible axis and enlarge lifetime for old api
2006/01/24 10:51:11 bm 1.8.4.17: pass ReferenceSizeProvider to axis insertion dialog to adapt settings for new axes
2006/01/06 20:29:01 iha 1.8.4.16: added legendposition to wizard and restructured legend postiion control classes
2005/11/22 10:53:20 bm 1.8.4.15: use correct undo strings
2005/11/21 16:08:37 bm 1.8.4.14: #i27351# use correct undo strings
2005/11/18 18:19:53 iha 1.8.4.13: restructuring for proper subgrid support
2005/11/15 18:10:37 iha 1.8.4.12: remove direct view update call and use UndoGuard
2005/11/15 15:32:02 iha 1.8.4.11: guard dialogs with solarmutex
2005/10/18 14:36:41 bm 1.8.4.10: lock controllers during model change callsProperties.cxxProperties.cxx
2005/10/13 17:38:48 iha 1.8.4.9: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/11 12:48:15 bm 1.8.4.8: #i27351# implement Undo
2005/10/07 11:33:53 bm 1.8.4.7: RESYNC: (1.8-1.9); FILE MERGED
2005/07/12 12:57:04 bm 1.8.4.6: use named properties for gradients etc. in chart model
2005/06/16 12:53:52 iha 1.8.4.5: create legend on demand
2005/05/31 18:58:54 iha 1.8.4.4: create view without controller
2004/04/07 21:52:23 iha 1.8.4.3: #i20344# moved methods from here to MeterHelper to create/remove axis/grids
2004/03/18 16:32:13 iha 1.8.4.2: moved method createAxis to MeterHelper
2004/03/12 15:33:37 iha 1.8.4.1: added AxisPosition for secondary axes
2007-05-22 17:03:30 +00:00