Stephan Bergmann
b57f8a9451
Reduce to static_cast any reinterpret_cast from void pointers
...
Change-Id: I97e238df6fc71367b4a17a5da48ed527c5b57666
2015-03-31 13:12:20 +02:00
Markus Mohrhard
e7f65a0a98
fix y-axis position on x-axis handling
...
Change-Id: I870541c44babdcdbf3c4ca3da6da624d7850b0e2
2015-03-20 18:24:54 +01:00
Michael Stahl
908d1b6e63
chart2: fix memory leak due to cyclic reference in VAxisBase
...
The VAxisBase::m_xNumberFormatsSupplier refers to the ChartModel itself,
and apparently that is a cyclic reference. Naively using the
ChartModel's m_xNumberFormatsSupplier in
ChartView::impl_createDiagramAndContent() because it will later be passed
to AxisHelper::getExplicitNumberFormatKeyForAxis(), which expects to be
able to convert it to a ChartModel.
Since passing around the ChartModel as an XNumberFormattingSupplier is
sort of un-intuitive anyway, refactor some methods to use XChartDocument
instead, and only create the VPolarAxis / VCartesianAxis with the
ChartModel's m_xNumberFormatsSupplier.
The drawback is that if ChartModel::attachNumberFormatsSupplier()
is called after ChartView::update() has created the axes, it may not
have an effect on them; not sure if that is a real or hypothetical
problem.
Change-Id: Ib5f0d5882b85adaf44f80e086f19178b3e64882f
2014-10-20 17:14:26 +02:00
Stephan Bergmann
ea733ab5b6
Turn SfxItemState into a C++11 scoped enumeration
...
...to gain further confidence in the claim "that none of the existing
code tries to uses combinations of these enum values"
(d92602c5b1
"more fixes for SfxItemState")
Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13
Reviewed-on: https://gerrit.libreoffice.org/11384
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2014-09-12 06:08:32 +00:00
Kohei Yoshida
7df0cb37a4
boost::checked_deleter will do.
...
Change-Id: I952d9dfcffd85aaae49fc1f1eba9ba070900f672
2014-07-22 00:03:43 -04:00
Kohei Yoshida
a630bfb5a0
Perhaps it's time we put ItemConverter etc into the right namespace.
...
Change-Id: I8082c51ff82568b8a00f92e5ab20263c017f1265
2014-07-21 23:54:44 -04:00
Kohei Yoshida
9e970303dd
Remove auto_ptr from CharacterPropertyItemConverter.
...
And adjust all that's necessary.
Change-Id: I121e5aa4d117da2e5e6b11e4fd85960a8b3aa727
2014-07-21 20:31:24 -04:00
Kohei Yoshida
1d38cb3655
fdo#71076, fdo#71767: Preserve number formats when charts are copied.
...
Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
2014-06-19 14:46:56 -04:00
Kohei Yoshida
2538e30ccc
Use define constant to keep track of all NumberFormat property usage.
...
Change-Id: I2a544922e03ec8253290ac8bf5a89c9cdd72d8dd
2014-06-19 14:46:56 -04:00
Thomas Arnhold
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
Noel Grandin
329332ba52
chart2: sal_Bool->bool
...
Change-Id: I85751b4e636596ef88ef02bc958abdc6abf98427
2014-04-15 15:23:29 +02:00
Jelle van der Waa
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
Olivier Hallot
8f14c8a611
OUString cleanup in Chart2
...
Include C2U macro and rtl prefix
Change-Id: If930f77179dbf24d43f10a344b68edcf968f7304
2012-10-08 21:41:49 +05:30
Michael Meeks
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
Norbert Thiebaud
6da8379e14
remove include of pch header in chart2
2011-11-27 12:59:19 -06:00
Caolán McNamara
871426533f
just silence the auto_ptr deprecations in isolation
2011-09-22 15:01:05 +01:00
Christian Lohmaier
dca0391318
WaE - add explicit casting (decimal-types → integer types)
2011-05-16 22:09:46 +02:00
Kohei Yoshida
12343c1556
Merge commit 'ooo/DEV300_m101' into integration/dev300_m101
2011-03-10 20:21:13 -05:00
Carsten Driesner
e1d7ba2932
removetooltypes01: Rebase to DEV300m99
2011-02-07 13:06:08 +01:00
Mikhail Voytenko
3d6a5a98cd
removetooltypes01: #i112600# remove tooltypes from chart2
2011-01-14 15:18:08 +01:00
Ingrid Halama [iha]
edaa216847
chart46: #i25706# implement date axis
2010-11-30 01:45:03 +01:00
Timo Heino
65f4978e91
Removed (again) some commented out code.
...
Hopefully this helps!
Signed-off-by: Timo Heino <eraggo@gmail.com >
2010-11-29 16:05:12 +00:00
Sebastian Spaeth
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
Jens-Heiner Rechtien
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
Mathias Bauer
a293d0a7b1
#i103496#: split svtools; improve ConfitItems
2009-10-16 00:05:16 +02:00
Kurt Zenker
a3acf41195
CWS-TOOLING: integrate CWS chart37
...
2009-05-22 09:10:36 +0200 iha r272170 : #i102130# color of pies is not loaded correctly
2009-04-27 17:16:20 +0200 iha r271294 : #i24203# compiler problem
2009-04-27 16:43:21 +0200 iha r271292 : #i101281# missing API documentation for secondary axis title properties
2009-04-27 15:26:05 +0200 hde r271276 : #i100987
2009-04-27 15:24:42 +0200 hde r271273 : #i100987
2009-04-24 15:08:33 +0200 iha r271214 : #i100995# crash with some logarithmic scalings
2009-04-22 18:50:56 +0200 dr r271134 : #i82177# write out deleted point labels
2009-04-22 18:40:48 +0200 iha r271133 : #i101281# missing API documentation for secondary axis title properties
2009-04-22 16:39:42 +0200 dr r271128 : #i82177# extensions for bubble charts
2009-04-22 14:37:00 +0200 dr r271114 : #i82177# import/export data label type and separator
2009-04-22 14:36:24 +0200 dr r271113 : #i82177# import/export data label type and separator
2009-04-21 15:25:26 +0200 dr r271038 : #i82177# import data label type and separator from BIFF8 CHFR records
2009-04-21 14:37:16 +0200 dr r271037 : #i82177# dump BIFF8 chart future records
2009-04-20 17:44:27 +0200 iha r271002 : #i96898# reduce library exports
2009-04-20 13:01:13 +0200 iha r270975 : #i24203# rotate data labels - help ids
2009-04-20 11:40:33 +0200 dr r270969 : #i96600# export of axis scaling/positioning properties
2009-04-16 16:02:31 +0200 dr r270892 : #i69599# keep Y axis left in 3d charts
2009-04-15 18:16:46 +0200 dr r270859 : #i69599# import of axis position settings
2009-04-15 18:16:01 +0200 dr r270858 : #i69599# correct handling of logarithmic crossing axes
2009-04-14 16:27:48 +0200 dr r270794 : #i96599# handle auto axis position on logarithmic axes
2009-04-09 19:59:51 +0200 dr r270722 : #i96599# import axis crossing settings, fix import of logarithmic scaling settings
2009-04-09 18:26:00 +0200 iha r270720 : #i96898# reduce library exports
2009-04-09 15:17:04 +0200 iha r270710 : #i96898# reduce library exports
2009-04-09 10:50:14 +0200 dr r270682 : #i24203# import/export of data label rotation, fixed some other broken stuff too
2009-04-08 16:54:54 +0200 dr r270657 : #i24203# import rotation for data point labels
2009-04-06 18:19:17 +0200 iha r270571 : #i100876# Axis scaling settings dialog wrong after API usage (anys different from double type)
2009-04-06 15:57:05 +0200 iha r270567 : #i100105# #i58585# leftover ->
2009-04-06 15:55:48 +0200 iha r270564 : #i58585# leftover ->
2009-04-02 16:41:07 +0200 iha r270422 : #i99721# remove unused code
2009-04-02 14:29:03 +0200 iha r270407 : #i99721# remove unused code
2009-03-26 10:58:23 +0100 iha r270059 : #i96898# reduce library exports
2009-03-26 10:13:49 +0100 iha r270055 : #i96898# reduce library exports
2009-03-25 09:39:13 +0100 iha r269998 : CWS-TOOLING: rebase CWS chart37 to trunk@269781 (milestone: DEV300:m44)
2009-03-24 17:56:56 +0100 iha r269986 : #i96898# reduce library exports
2009-03-24 16:56:44 +0100 iha r269974 : #i99721# remove unused code
2009-03-24 16:48:48 +0100 iha r269970 : #i89731# remove unused string
2009-03-24 15:44:04 +0100 iha r269961 : remove unused code
2009-03-24 15:22:45 +0100 iha r269959 : remove unused code
2009-03-24 15:17:17 +0100 iha r269957 : remove unused code
2009-03-24 11:14:53 +0100 iha r269923 : #i24203# rotate data labels
2009-03-09 12:10:25 +0100 hde r269076 : #i99300#
2009-03-06 15:56:26 +0100 iha r269011 : #i93953# Source Format for secondary axis without data
2009-02-17 15:59:05 +0100 iha r268177 : avoid warning during build
2009-02-17 15:01:59 +0100 iha r268173 : avoid warning during build
2009-02-13 09:39:03 +0100 ufi r267693 : i96999
2009-02-11 15:12:35 +0100 iha r267604 : removed unused string
2009-02-11 14:00:29 +0100 iha r267600 : #i96999# Corrected wording from 'correlation coefficient' to 'coefficient of determination'
2009-02-11 10:56:45 +0100 iha r267584 : #i89731# typo in resource string
2009-02-11 10:01:29 +0100 iha r267582 : #i89031# compile error on asian windows systems
2009-02-10 16:15:16 +0100 iha r267552 : #i24203# rotate data labels
2009-02-04 18:00:33 +0100 iha r267395 : #i98893# don't export defaults to file
2009-02-04 15:48:15 +0100 iha r267390 : #i92128# asian typography for chart elements
2009-02-04 15:17:41 +0100 iha r267386 : #i92128# asian typography for chart elements
2009-01-30 14:41:10 +0100 iha r267197 : CWS-TOOLING: rebase CWS chart37 to trunk@267171 (milestone: DEV300:m41)
2009-06-04 09:41:18 +00:00
Rüdiger Timm
8f03095fa0
CWS-TOOLING: integrate CWS rtlchart02
2008-12-12 12:17:17 +00:00
Vladimir Glazounov
70346a3272
CWS-TOOLING: integrate CWS chart30
2008-10-01 07:35:04 +00:00
Rüdiger Timm
768c087cc4
INTEGRATION: CWS changefileheader (1.13.66); FILE MERGED
...
2008/04/01 15:04:08 thb 1.13.66.3: #i85898# Stripping all external header guards
2008/04/01 10:50:24 thb 1.13.66.2: #i85898# Stripping all external header guards
2008/03/28 16:43:46 rt 1.13.66.1: #i87441# Change license header to LPGL v3.
2008-04-10 19:43:10 +00:00
Vladimir Glazounov
c36b8c3a67
INTEGRATION: CWS chart14 (1.11.6); FILE MERGED
...
2007/09/24 11:50:10 bm 1.11.6.3: RESYNC: (1.11-1.12); FILE MERGED
2007/09/20 11:21:29 iha 1.11.6.2: #i24614# enable reverse scales
2007/09/20 08:39:33 iha 1.11.6.1: #i24614# enable reverse scales
2007-10-22 15:50:54 +00:00
Vladimir Glazounov
c542550c3f
INTEGRATION: CWS chart11 (1.10.2); FILE MERGED
...
2007/08/23 12:35:14 bm 1.10.2.2: RESYNC: (1.10-1.11); FILE MERGED
2007/07/31 21:36:19 iha 1.10.2.1: avoid duplicate code - isLogarithmic
2007-09-18 13:55:41 +00:00
Jens-Heiner Rechtien
314dfc2597
INTEGRATION: CWS pj83 (1.10.6); FILE MERGED
...
2007/08/01 07:20:42 pjanik 1.10.6.1: #i80015#: Make chart2 WaE clean.
2007-08-03 11:35:16 +00:00
Rüdiger Timm
9033049c05
INTEGRATION: CWS chart07 (1.9.12); FILE MERGED
...
2007/07/10 11:57:29 bm 1.9.12.1: #i69281# warnings removed
2007-07-25 07:42:13 +00:00
Vladimir Glazounov
7dba71d0bb
INTEGRATION: CWS chart2mst3 (1.6.4); FILE MERGED
...
2007/05/15 11:49:00 bm 1.6.4.16: #i73604# RESYNC: additional changes for ItemId cleanup
2007/03/26 17:25:31 iha 1.6.4.15: #i75655# crash when sourcefomat was disabled withoutt changing the format itself
2007/03/26 13:51:17 iha 1.6.4.14: #i75655# crash when sourcefomat was disabled withoutt changing the format itself
2007/03/19 15:05:48 iha 1.6.4.13: #i73605#, #i75389# use correct numberformat for scale tabpage and numbers tabpage
2006/10/18 17:05:46 bm 1.6.4.12: RESYNC: (1.7-1.8); FILE MERGED
2006/09/24 09:12:53 iha 1.6.4.11: #i61970# correct implementation of axis at
2006/04/10 15:03:32 iha 1.6.4.10: api restructure axis, grids, scales and increments
2006/04/10 12:25:06 iha 1.6.4.9: api restructure axis, grids, scales and increments
2006/02/20 14:46:43 iha 1.6.4.8: move SchItemPool from controller to view lib -> ChartItemPool
2005/10/24 11:06:39 iha 1.6.4.7: coordinate system restructure
2005/10/13 17:38:46 iha 1.6.4.6: renamed BoundedCoordinateSystem to CoordinateSystem
2005/10/07 11:31:04 bm 1.6.4.5: RESYNC: (1.6-1.7); FILE MERGED
2005/07/21 08:20:25 bm 1.6.4.4: handle source number format (corresponds to a void property NumberFormat at the axis)
2005/07/12 12:57:01 bm 1.6.4.3: use named properties for gradients etc. in chart model
2005/06/08 11:28:13 iha 1.6.4.2: use number format key at API instead of string
2004/05/07 09:14:19 bm 1.6.4.1: enabling member-ids for all items
2007-05-22 17:00:06 +00:00
Oliver Bolte
720f05167a
INTEGRATION: CWS pchfix02 (1.7.80); FILE MERGED
...
2006/09/01 17:18:37 kaib 1.7.80.1: #i68856# Added header markers and pch files
2006-09-17 12:02:03 +00:00
Rüdiger Timm
8db403fe09
INTEGRATION: CWS ooo19126 (1.6.110); FILE MERGED
...
2005/09/05 18:42:37 rt 1.6.110.1: #i54170# Change license header: remove SISSL
2005-09-07 23:28:33 +00:00
Björn Milcke
3fe1d17a07
drafts namespace of API removed
...
public API moved to offapi
Calc as DataEditor - first integration
2004-01-26 08:13:31 +00:00
Björn Milcke
15e00581dc
FontSizes with ReferenceSize implemented for dialog
2003-11-25 12:08:01 +00:00
Björn Milcke
759b3eb17c
ChartType concept: the template creates the diagram. To determine with which
...
template an existing Diagram was probably created, the data series tree is
searched and according to the result the template is guessed.
OldApi chart type support
SubGrid added
2003-11-04 11:37:45 +00:00
Björn Milcke
4ae7a3fe11
catch exceptions when properties are not found
2003-10-17 13:30:15 +00:00
Björn Milcke
af99d31b40
ItemConverter rework/compiler warnings removed (gcc Linux)
2003-10-07 16:18:46 +00:00
Björn Milcke
668c6b0245
initial import
2003-10-06 08:58:36 +00:00