Files
libreoffice/xmloff/source/chart/SchXMLSeries2Context.cxx

1072 lines
46 KiB
C++
Raw Normal View History

INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* Copyright 2000, 2010 Oracle and/or its affiliates.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* OpenOffice.org - a multi-platform office productivity suite
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* This file is part of OpenOffice.org.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
*
************************************************************************/
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmloff.hxx"
#include "SchXMLSeries2Context.hxx"
#include "SchXMLPlotAreaContext.hxx"
#include "SchXMLSeriesHelper.hxx"
#include "SchXMLTools.hxx"
#include "PropertyMap.hxx"
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <com/sun/star/chart2/XChartDocument.hpp>
#include <com/sun/star/chart2/XDataSeries.hpp>
#include <com/sun/star/chart2/XRegressionCurve.hpp>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <com/sun/star/chart2/data/XDataSink.hpp>
#include <com/sun/star/chart2/data/XDataReceiver.hpp>
#include <com/sun/star/chart/ChartAxisAssign.hpp>
#include <com/sun/star/chart/ChartSymbolType.hpp>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <com/sun/star/container/XChild.hpp>
#include <com/sun/star/chart/ChartLegendPosition.hpp>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <com/sun/star/drawing/LineStyle.hpp>
#include <com/sun/star/embed/Aspects.hpp>
#include <com/sun/star/embed/XVisualObject.hpp>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <com/sun/star/uno/XComponentContext.hpp>
// header for define DBG_ERROR1
#include <tools/debug.hxx>
#include <rtl/ustrbuf.hxx>
#include "xmlnmspe.hxx"
#include <xmloff/xmlimp.hxx>
#include <xmloff/nmspmap.hxx>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include "SchXMLImport.hxx"
// header for class XMLPropStyleContext
#include <xmloff/prstylei.hxx>
#include <xmloff/xmlprmap.hxx>
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
#include <typeinfo>
using namespace ::com::sun::star;
using namespace ::xmloff::token;
using ::com::sun::star::uno::Reference;
using ::com::sun::star::uno::Sequence;
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
// ================================================================================
namespace
{
class SchXMLDomain2Context : public SvXMLImportContext
{
private:
SchXMLImportHelper& mrImportHelper;
::std::vector< OUString > & mrAddresses;
public:
SchXMLDomain2Context( SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
::std::vector< OUString > & rAddresses );
virtual ~SchXMLDomain2Context();
virtual void StartElement( const Reference< xml::sax::XAttributeList >& xAttrList );
};
SchXMLDomain2Context::SchXMLDomain2Context(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const rtl::OUString& rLocalName,
::std::vector< ::rtl::OUString > & rAddresses ) :
SvXMLImportContext( rImport, nPrefix, rLocalName ),
mrImportHelper( rImpHelper ),
mrAddresses( rAddresses )
{
}
SchXMLDomain2Context::~SchXMLDomain2Context()
{
}
void SchXMLDomain2Context::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
for( sal_Int16 i = 0; i < nAttrCount; i++ )
{
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
rtl::OUString aLocalName;
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
if( nPrefix == XML_NAMESPACE_TABLE &&
IsXMLToken( aLocalName, XML_CELL_RANGE_ADDRESS ) )
{
Reference< chart2::XChartDocument > xNewDoc( GetImport().GetModel(), uno::UNO_QUERY );
mrAddresses.push_back( xAttrList->getValueByIndex( i ));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
}
}
void lcl_setAutomaticSymbolSize( const uno::Reference< beans::XPropertySet >& xSeriesOrPointProp, const SvXMLImport& rImport )
{
awt::Size aSymbolSize(140,140);//old default for standard sized charts 7cm height
double fScale = 1;
uno::Reference< chart::XChartDocument > xChartDoc( rImport.GetModel(), uno::UNO_QUERY );
if( xChartDoc.is() )
{
uno::Reference< beans::XPropertySet > xLegendProp( xChartDoc->getLegend(), uno::UNO_QUERY );
chart::ChartLegendPosition aLegendPosition = chart::ChartLegendPosition_NONE;
if( xLegendProp.is() && (xLegendProp->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "Alignment" ))) >>= aLegendPosition)
&& chart::ChartLegendPosition_NONE != aLegendPosition )
{
double fFontHeight = 6.0;
if( xLegendProp->getPropertyValue( OUString( RTL_CONSTASCII_USTRINGPARAM( "CharHeight" ))) >>= fFontHeight )
fScale = 0.75*fFontHeight/6.0;
}
else
{
uno::Reference< embed::XVisualObject > xVisualObject( rImport.GetModel(), uno::UNO_QUERY );
if( xVisualObject.is() )
{
awt::Size aPageSize( xVisualObject->getVisualAreaSize( embed::Aspects::MSOLE_CONTENT ) );
fScale = aPageSize.Height/7000.0;
}
}
if( fScale>0 )
{
aSymbolSize.Height = static_cast<sal_Int32>( fScale * aSymbolSize.Height );
aSymbolSize.Width = aSymbolSize.Height;
}
}
xSeriesOrPointProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolSize")),uno::makeAny( aSymbolSize ));
}
void lcl_setSymbolSizeIfNeeded( const uno::Reference< beans::XPropertySet >& xSeriesOrPointProp, const SvXMLImport& rImport )
{
if( !xSeriesOrPointProp.is() )
return;
sal_Int32 nSymbolType = chart::ChartSymbolType::NONE;
if( xSeriesOrPointProp.is() && ( xSeriesOrPointProp->getPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolType"))) >>= nSymbolType) )
{
if(chart::ChartSymbolType::NONE!=nSymbolType)
{
if( chart::ChartSymbolType::BITMAPURL==nSymbolType )
{
//set special size for graphics to indicate to use the bitmap size itself
xSeriesOrPointProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolSize")),uno::makeAny( awt::Size(-1,-1) ));
}
else
{
lcl_setAutomaticSymbolSize( xSeriesOrPointProp, rImport );
}
}
}
}
void lcl_resetSymbolSizeForPointsIfNecessary( const uno::Reference< beans::XPropertySet >& xPointProp, const SvXMLImport& rImport
, const XMLPropStyleContext * pPropStyleContext, const SvXMLStylesContext* pStylesCtxt )
{
uno::Any aASymbolSize( SchXMLTools::getPropertyFromContext( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolSize")), pPropStyleContext, pStylesCtxt ) );
if( !aASymbolSize.hasValue() )
lcl_setSymbolSizeIfNeeded( xPointProp, rImport );
}
void lcl_insertErrorBarLSequencesToMap(
tSchXMLLSequencesPerIndex & rInOutMap,
const uno::Reference< beans::XPropertySet > & xSeriesProp,
bool bYError = true )
{
Reference< chart2::data::XDataSource > xErrorBarSource;
const OUString aPropName(
bYError
? ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ErrorBarY" ))
: ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "ErrorBarX" )));
if( ( xSeriesProp->getPropertyValue( aPropName ) >>= xErrorBarSource ) &&
xErrorBarSource.is() )
{
Sequence< Reference< chart2::data::XLabeledDataSequence > > aLSequences(
xErrorBarSource->getDataSequences());
for( sal_Int32 nIndex = 0; nIndex < aLSequences.getLength(); ++nIndex )
{
// use "0" as data index. This is ok, as it is not used for error bars
rInOutMap.insert(
tSchXMLLSequencesPerIndex::value_type(
tSchXMLIndexWithPart( 0, SCH_XML_PART_ERROR_BARS ), aLSequences[ nIndex ] ));
}
}
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
Reference< chart2::data::XLabeledDataSequence > lcl_createAndAddSequenceToSeries( const rtl::OUString& rRole
, const rtl::OUString& rRange
, const Reference< chart2::XChartDocument >& xChartDoc
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
, const Reference< chart2::XDataSeries >& xSeries )
{
Reference< chart2::data::XLabeledDataSequence > xLabeledSeq;
Reference< chart2::data::XDataSource > xSeriesSource( xSeries,uno::UNO_QUERY );
Reference< chart2::data::XDataSink > xSeriesSink( xSeries, uno::UNO_QUERY );
if( !(rRange.getLength() && xChartDoc.is() && xSeriesSource.is() && xSeriesSink.is()) )
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
return xLabeledSeq;
// create a new sequence
xLabeledSeq = SchXMLTools::GetNewLabeledDataSequence();
// set values at the new sequence
Reference< chart2::data::XDataSequence > xSeq = SchXMLTools::CreateDataSequence( rRange, xChartDoc );
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
Reference< beans::XPropertySet > xSeqProp( xSeq, uno::UNO_QUERY );
if( xSeqProp.is())
xSeqProp->setPropertyValue(OUString::createFromAscii("Role"), uno::makeAny( rRole));
xLabeledSeq->setValues( xSeq );
// add new sequence to data series / push to front to have the correct sequence order if charttype is changed afterwards
Sequence< Reference< chart2::data::XLabeledDataSequence > > aOldSeq( xSeriesSource->getDataSequences());
sal_Int32 nOldCount = aOldSeq.getLength();
Sequence< Reference< chart2::data::XLabeledDataSequence > > aNewSeq( nOldCount + 1 );
aNewSeq[0]=xLabeledSeq;
for( sal_Int32 nN=0; nN<nOldCount; nN++ )
aNewSeq[nN+1] = aOldSeq[nN];
xSeriesSink->setData( aNewSeq );
return xLabeledSeq;
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
} // anonymous namespace
// ================================================================================
SchXMLSeries2Context::SchXMLSeries2Context(
SchXMLImportHelper& rImpHelper,
SvXMLImport& rImport, const rtl::OUString& rLocalName,
const Reference< chart2::XChartDocument > & xNewDoc,
std::vector< SchXMLAxis >& rAxes,
::std::list< DataRowPointStyle >& rStyleList,
sal_Int32 nSeriesIndex,
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Bool bStockHasVolume,
GlobalSeriesImportInfo& rGlobalSeriesImportInfo,
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
const OUString & aGlobalChartTypeName,
tSchXMLLSequencesPerIndex & rLSequencesPerIndex,
bool& rGlobalChartTypeUsedBySeries,
const awt::Size & rChartSize ) :
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
SvXMLImportContext( rImport, XML_NAMESPACE_CHART, rLocalName ),
mrImportHelper( rImpHelper ),
mxNewDoc( xNewDoc ),
mrAxes( rAxes ),
mrStyleList( rStyleList ),
m_xSeries(0),
mnSeriesIndex( nSeriesIndex ),
mnDataPointIndex( 0 ),
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
m_bStockHasVolume( bStockHasVolume ),
m_rGlobalSeriesImportInfo(rGlobalSeriesImportInfo),
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
mpAttachedAxis( NULL ),
maGlobalChartTypeName( aGlobalChartTypeName ),
maSeriesChartTypeName( aGlobalChartTypeName ),
m_bHasDomainContext(false),
mrLSequencesPerIndex( rLSequencesPerIndex ),
mrGlobalChartTypeUsedBySeries( rGlobalChartTypeUsedBySeries ),
mbSymbolSizeIsMissingInFile(false),
maChartSize( rChartSize )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
if( 0 == aGlobalChartTypeName.reverseCompareToAsciiL( RTL_CONSTASCII_STRINGPARAM( "com.sun.star.chart2.DonutChartType" ) ) )
{
maSeriesChartTypeName = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.chart2.PieChartType" ));
maGlobalChartTypeName = maSeriesChartTypeName;
}
}
SchXMLSeries2Context::~SchXMLSeries2Context()
{
OSL_ASSERT( maPostponedSequences.empty());
}
void SchXMLSeries2Context::StartElement( const uno::Reference< xml::sax::XAttributeList >& xAttrList )
{
// parse attributes
sal_Int16 nAttrCount = xAttrList.is()? xAttrList->getLength(): 0;
const SvXMLTokenMap& rAttrTokenMap = mrImportHelper.GetSeriesAttrTokenMap();
mnAttachedAxis = 1;
bool bHasRange = false;
bool bHasLabelRange = false;
for( sal_Int16 i = 0; i < nAttrCount; i++ )
{
rtl::OUString sAttrName = xAttrList->getNameByIndex( i );
rtl::OUString aLocalName;
rtl::OUString aValue = xAttrList->getValueByIndex( i );
USHORT nPrefix = GetImport().GetNamespaceMap().GetKeyByAttrName( sAttrName, &aLocalName );
switch( rAttrTokenMap.Get( nPrefix, aLocalName ))
{
case XML_TOK_SERIES_CELL_RANGE:
m_aSeriesRange = aValue;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
bHasRange = true;
break;
case XML_TOK_SERIES_LABEL_ADDRESS:
m_aSeriesLabelRange = aValue;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
bHasLabelRange = true;
break;
case XML_TOK_SERIES_ATTACHED_AXIS:
{
sal_Int32 nNumOfAxes = mrAxes.size();
for( sal_Int32 nCurrent = 0; nCurrent < nNumOfAxes; nCurrent++ )
{
if( aValue.equals( mrAxes[ nCurrent ].aName ) &&
mrAxes[ nCurrent ].eClass == SCH_XML_AXIS_Y )
{
mpAttachedAxis = &( mrAxes[ nCurrent ] );
}
}
}
break;
case XML_TOK_SERIES_STYLE_NAME:
msAutoStyleName = aValue;
break;
case XML_TOK_SERIES_CHART_CLASS:
{
OUString aClassName;
sal_uInt16 nClassPrefix =
GetImport().GetNamespaceMap().GetKeyByAttrName(
aValue, &aClassName );
if( XML_NAMESPACE_CHART == nClassPrefix )
maSeriesChartTypeName = SchXMLTools::GetChartTypeByClassName( aClassName, false /* bUseOldNames */ );
if( ! maSeriesChartTypeName.getLength())
maSeriesChartTypeName = aClassName;
}
break;
}
}
if( mpAttachedAxis )
{
if( mpAttachedAxis->nIndexInCategory > 0 )
{
// secondary axis => property has to be set (primary is default)
mnAttachedAxis = 2;
}
}
try
{
OSL_ASSERT( mxNewDoc.is());
if( m_rGlobalSeriesImportInfo.rbAllRangeAddressesAvailable && ! bHasRange )
m_rGlobalSeriesImportInfo.rbAllRangeAddressesAvailable = sal_False;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
bool bIsCandleStick = maGlobalChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.CandleStickChartType"));
if( maSeriesChartTypeName.getLength() )
{
bIsCandleStick = maSeriesChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.CandleStickChartType"));
}
else
{
if( bIsCandleStick
&& m_bStockHasVolume
&& mnSeriesIndex == 0 )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
maSeriesChartTypeName = OUString::createFromAscii( "com.sun.star.chart2.ColumnChartType" );
bIsCandleStick = false;
}
else
{
maSeriesChartTypeName = maGlobalChartTypeName;
}
}
if( ! mrGlobalChartTypeUsedBySeries )
mrGlobalChartTypeUsedBySeries = (maSeriesChartTypeName.equals( maGlobalChartTypeName ));
sal_Int32 nCoordinateSystemIndex = 0;//so far we can only import one coordinate system
m_xSeries.set(
mrImportHelper.GetNewDataSeries( mxNewDoc, nCoordinateSystemIndex, maSeriesChartTypeName, ! mrGlobalChartTypeUsedBySeries ));
Reference< chart2::data::XLabeledDataSequence > xLabeledSeq(
SchXMLTools::GetNewLabeledDataSequence());
if( bIsCandleStick )
{
// set default color for range-line to black (before applying styles)
Reference< beans::XPropertySet > xSeriesProp( m_xSeries, uno::UNO_QUERY );
if( xSeriesProp.is())
xSeriesProp->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Color")),
uno::makeAny( sal_Int32( 0x000000 ))); // black
}
else if( maSeriesChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.PieChartType")))
{
//@todo: this property should be saved
Reference< beans::XPropertySet > xSeriesProp( m_xSeries, uno::UNO_QUERY );
if( xSeriesProp.is())
xSeriesProp->setPropertyValue( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VaryColorsByPoint")),
uno::makeAny( true ));
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
// values
Reference< chart2::data::XDataSequence > xSeq;
if( bHasRange )
xSeq = SchXMLTools::CreateDataSequence( m_aSeriesRange, mxNewDoc );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
Reference< beans::XPropertySet > xSeqProp( xSeq, uno::UNO_QUERY );
if( xSeqProp.is())
{
OUString aMainRole( OUString::createFromAscii("values-y") );
if( maSeriesChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.BubbleChartType") ) )
aMainRole = OUString::createFromAscii("values-size");
xSeqProp->setPropertyValue(OUString::createFromAscii("Role"), uno::makeAny( aMainRole ));
}
xLabeledSeq->setValues( xSeq );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
// register for setting local data if external data provider is not present
maPostponedSequences.insert(
tSchXMLLSequencesPerIndex::value_type(
tSchXMLIndexWithPart( m_rGlobalSeriesImportInfo.nCurrentDataIndex, SCH_XML_PART_VALUES ), xLabeledSeq ));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
// label
if( bHasLabelRange )
{
Reference< chart2::data::XDataSequence > xLabelSequence =
SchXMLTools::CreateDataSequence( m_aSeriesLabelRange, mxNewDoc );
xLabeledSeq->setLabel( xLabelSequence );
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
// Note: Even if we have no label, we have to register the label
// for creation, because internal data always has labels. If
// they don't exist in the original, auto-generated labels are
// used for the internal data.
maPostponedSequences.insert(
tSchXMLLSequencesPerIndex::value_type(
tSchXMLIndexWithPart( m_rGlobalSeriesImportInfo.nCurrentDataIndex, SCH_XML_PART_LABEL ), xLabeledSeq ));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
Sequence< Reference< chart2::data::XLabeledDataSequence > > aSeq( &xLabeledSeq, 1 );
Reference< chart2::data::XDataSink > xSink( m_xSeries, uno::UNO_QUERY_THROW );
xSink->setData( aSeq );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
catch( uno::Exception & ex )
{
(void)ex; // avoid warning for pro build
OSL_ENSURE( false, ::rtl::OUStringToOString(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Exception caught. Type: " )) +
::rtl::OUString::createFromAscii( typeid( ex ).name()) +
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( ", Message: " )) +
ex.Message, RTL_TEXTENCODING_ASCII_US ).getStr());
}
//init mbSymbolSizeIsMissingInFile:
try
{
if( msAutoStyleName.getLength() )
{
const SvXMLStylesContext* pStylesCtxt = mrImportHelper.GetAutoStylesContext();
if( pStylesCtxt )
{
const SvXMLStyleContext* pStyle = pStylesCtxt->FindStyleChildContext(
mrImportHelper.GetChartFamilyID(), msAutoStyleName );
const XMLPropStyleContext* pPropStyleContext = dynamic_cast< const XMLPropStyleContext * >( pStyle );
uno::Any aASymbolSize( SchXMLTools::getPropertyFromContext( ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolSize"))
, pPropStyleContext, pStylesCtxt ) );
mbSymbolSizeIsMissingInFile = !aASymbolSize.hasValue();
}
}
}
catch( uno::Exception & ex )
{
(void)ex; // avoid warning for pro build
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
struct DomainInfo
{
DomainInfo( const rtl::OUString& rRole, const rtl::OUString& rRange, sal_Int32 nIndex )
: aRole(rRole), aRange(rRange), nIndexForLocalData(nIndex)
{}
rtl::OUString aRole;
rtl::OUString aRange;
sal_Int32 nIndexForLocalData;
};
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
void SchXMLSeries2Context::EndElement()
{
// special handling for different chart types. This is necessary as the
// roles are not yet saved in the file format
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Int32 nDomainCount = maDomainAddresses.size();
bool bIsScatterChart = maSeriesChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.ScatterChartType"));
bool bIsBubbleChart = maSeriesChartTypeName.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM("com.sun.star.chart2.BubbleChartType"));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
bool bDeleteSeries = false;
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
std::vector< DomainInfo > aDomainInfos;
//different handling for different chart types necessary
if( bIsScatterChart || ( nDomainCount==1 && !bIsBubbleChart ) )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
DomainInfo aDomainInfo( OUString::createFromAscii("values-x"), m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress, m_rGlobalSeriesImportInfo.nFirstFirstDomainIndex ) ;
bool bCreateXValues = true;
CWS-TOOLING: integrate CWS dbaperf1 2009-04-02 09:12:25 +0200 oj r270372 : CWS-TOOLING: rebase CWS dbaperf1 to trunk@270033 (milestone: DEV300:m45) 2009-03-17 10:20:34 +0100 oj r269577 : add parameter 2009-03-17 10:20:05 +0100 oj r269576 : add parameter 2009-03-12 12:32:24 +0100 oj r269387 : add missing ++ 2009-03-11 12:53:35 +0100 oj r269315 : compile error 2009-03-06 08:52:11 +0100 oj r268968 : #i99264# remove duplicate code 2009-03-06 08:20:08 +0100 oj r268966 : add missingheader 2009-03-06 08:17:41 +0100 oj r268965 : add header 2009-03-06 08:15:07 +0100 oj r268964 : #i99708# remove duplicate code 2009-03-06 07:24:11 +0100 oj r268963 : #i99708# remove duplicate code 2009-03-06 07:22:24 +0100 oj r268962 : #i99708# use tenary operator 2009-03-06 07:19:21 +0100 oj r268961 : remove unused rtl_logs 2009-03-06 07:15:55 +0100 oj r268960 : #i99708# extract getLength from for loop 2009-03-06 07:15:35 +0100 oj r268959 : #i99708# extract getLength from for loop 2009-03-06 07:14:57 +0100 oj r268958 : remove unused rtl_logs 2009-03-06 07:13:01 +0100 oj r268957 : insert DBG_ helper 2009-03-06 07:12:17 +0100 oj r268956 : remove unused rtl_logs 2009-03-06 07:10:26 +0100 oj r268955 : remove unused rtl_logs 2009-03-06 07:04:51 +0100 oj r268954 : #i99708# use tenary operator 2009-03-05 12:04:46 +0100 oj r268895 : comment RTL_LOG out 2009-03-05 09:05:07 +0100 oj r268874 : add rtl logfile 2009-03-04 14:21:18 +0100 oj r268828 : #i99708# make static inplace and some method calls in for loop removed 2009-03-04 14:20:34 +0100 oj r268827 : #i99708# impl double check pattern for getInfohelper 2009-03-02 09:31:42 +0100 oj r268636 : add rtl logfile 2009-03-02 08:18:37 +0100 oj r268633 : add rtl logfile 2009-02-27 11:22:16 +0100 oj r268570 : #i99709# change algorithm for marking objects 2009-02-27 11:17:04 +0100 oj r268568 : #i99708# some improvements to load forms, controls faster and replacement of size() call with !empty() which is much faster 2009-02-24 10:09:35 +0100 sb r268383 : #i99290# no longer care to set a sensible context class loader for native threads attached to the VM 2009-02-23 13:44:04 +0100 oj r268354 : #i76606# seekrow changes 2009-02-23 12:27:30 +0100 oj r268349 : deleted 2009-02-20 15:14:23 +0100 oj r268325 : #i76606# some code changes 2009-02-19 14:15:25 +0100 oj r268284 : #i76606# use of simple prep stmt instead of full blown rowset, when source and dest connection are the same use insert into ... ( select ... ) 2009-02-19 11:27:55 +0100 oj r268265 : #i76606# insert some RTL_LOG and setObject impl 2009-02-18 14:45:37 +0100 oj r268222 : #i99363# insert RTL_LOG 2009-02-18 14:45:18 +0100 oj r268221 : #i99363# insert RTL_LOG 2009-02-18 11:14:54 +0100 oj r268207 : #i99363# call some impl_ methods to avoid duplicate cechCache calls 2009-02-18 11:10:47 +0100 oj r268206 : #i99363# make isCount inline 2009-02-18 10:33:22 +0100 oj r268203 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-18 10:32:57 +0100 oj r268202 : #i99363# use bookmarkable if available and inserted some RTL_LOG 2009-02-17 07:29:05 +0100 oj r267843 : #i96897# remove some dll public 2009-02-16 15:01:04 +0100 oj r267816 : #i96897# remove some dll public 2009-02-16 14:25:53 +0100 oj r267810 : #i99264# remove duplicate code 2009-02-16 14:25:33 +0100 oj r267809 : #i99264# remove duplicate code 2009-02-16 14:24:59 +0100 oj r267808 : #i99264# remove duplicate code 2009-02-13 10:56:17 +0100 oj r267703 : #i99191# comment the contextclassloader 2009-02-13 10:32:40 +0100 oj r267700 : reduce call to resultset meta data 2009-02-13 10:27:31 +0100 oj r267699 : reduce call to resultset meta data 2009-02-13 10:27:08 +0100 oj r267698 : reduce call to resultset meta data
2009-04-23 10:42:05 +00:00
if( !maDomainAddresses.empty() )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
if( !m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress.getLength() )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress = maDomainAddresses.front();
m_rGlobalSeriesImportInfo.nFirstFirstDomainIndex = m_rGlobalSeriesImportInfo.nCurrentDataIndex;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
aDomainInfo.aRange = maDomainAddresses.front();
aDomainInfo.nIndexForLocalData = m_rGlobalSeriesImportInfo.nCurrentDataIndex;
m_rGlobalSeriesImportInfo.nCurrentDataIndex++;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
else if( !m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress.getLength() && !m_bHasDomainContext && mnSeriesIndex==0 )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
if( SchXMLTools::isDocumentGeneratedWithOpenOfficeOlderThan2_3( GetImport().GetModel() ) ) //wrong old chart files:
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
//for xy charts the first series needs to have a domain
//if this by error iss not the case the first series is taken s x values
//needed for wrong files created while having an addin (e.g. BoxPlot)
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress = m_aSeriesRange;
m_rGlobalSeriesImportInfo.nFirstFirstDomainIndex = m_rGlobalSeriesImportInfo.nCurrentDataIndex++;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
bDeleteSeries = true;
bCreateXValues = false;//they will be created for the next series
}
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
if( bCreateXValues )
aDomainInfos.push_back( aDomainInfo );
}
else if( bIsBubbleChart )
{
if( nDomainCount>1 )
{
DomainInfo aDomainInfo( OUString::createFromAscii("values-x"), maDomainAddresses[1], m_rGlobalSeriesImportInfo.nCurrentDataIndex ) ;
if( !m_rGlobalSeriesImportInfo.aFirstSecondDomainAddress.getLength() )
{
//for bubble chart the second domain contains the x values which should become an index smaller than y values for own data table
//->so second first
m_rGlobalSeriesImportInfo.aFirstSecondDomainAddress = maDomainAddresses[1];
m_rGlobalSeriesImportInfo.nFirstSecondDomainIndex = m_rGlobalSeriesImportInfo.nCurrentDataIndex;
}
aDomainInfos.push_back( aDomainInfo );
m_rGlobalSeriesImportInfo.nCurrentDataIndex++;
}
else if( m_rGlobalSeriesImportInfo.aFirstSecondDomainAddress.getLength() )
{
DomainInfo aDomainInfo( OUString::createFromAscii("values-x"), m_rGlobalSeriesImportInfo.aFirstSecondDomainAddress, m_rGlobalSeriesImportInfo.nFirstSecondDomainIndex ) ;
aDomainInfos.push_back( aDomainInfo );
}
if( nDomainCount>0)
{
DomainInfo aDomainInfo( OUString::createFromAscii("values-y"), maDomainAddresses.front(), m_rGlobalSeriesImportInfo.nCurrentDataIndex ) ;
if( !m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress.getLength() )
{
m_rGlobalSeriesImportInfo.aFirstFirstDomainAddress = maDomainAddresses.front();
m_rGlobalSeriesImportInfo.nFirstFirstDomainIndex = m_rGlobalSeriesImportInfo.nCurrentDataIndex;
}
aDomainInfos.push_back( aDomainInfo );
m_rGlobalSeriesImportInfo.nCurrentDataIndex++;
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
if( bDeleteSeries )
{
//delete created series
SchXMLImportHelper::DeleteDataSeries(
m_xSeries, Reference< chart2::XChartDocument >( GetImport().GetModel(), uno::UNO_QUERY ) );
}
else
{
//add style
if( msAutoStyleName.getLength() ||
mnAttachedAxis != 1 )
{
DataRowPointStyle aStyle(
DataRowPointStyle::DATA_SERIES,
m_xSeries,
-1, 1,
msAutoStyleName, mnAttachedAxis );
aStyle.mbSymbolSizeForSeriesIsMissingInFile=mbSymbolSizeIsMissingInFile;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
mrStyleList.push_back( aStyle );
}
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
for( std::vector< DomainInfo >::reverse_iterator aIt( aDomainInfos.rbegin() ); aIt!= aDomainInfos.rend(); ++aIt )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
DomainInfo aDomainInfo( *aIt );
Reference< chart2::data::XLabeledDataSequence > xLabeledSeq =
lcl_createAndAddSequenceToSeries( aDomainInfo.aRole, aDomainInfo.aRange, mxNewDoc, m_xSeries );
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
if( xLabeledSeq.is() )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
// register for setting local data if external data provider is not present
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
mrLSequencesPerIndex.insert(
tSchXMLLSequencesPerIndex::value_type(
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
tSchXMLIndexWithPart( aDomainInfo.nIndexForLocalData, SCH_XML_PART_VALUES ), xLabeledSeq ));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
}
if( !bDeleteSeries )
{
for( tSchXMLLSequencesPerIndex::const_iterator aIt( maPostponedSequences.begin());
aIt != maPostponedSequences.end(); ++aIt )
{
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
sal_Int32 nNewIndex = aIt->first.first + nDomainCount;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
mrLSequencesPerIndex.insert(
tSchXMLLSequencesPerIndex::value_type(
tSchXMLIndexWithPart( nNewIndex, aIt->first.second ), aIt->second ));
}
CWS-TOOLING: integrate CWS bubblechart 2009-06-17 08:41:14 +0200 hde r273051 : i101635: added new charttype bubble 2009-06-17 08:39:37 +0200 hde r273050 : i101635: created new testcase tCreateNewBubbleChart 2009-06-17 08:38:07 +0200 hde r273049 : i101635: created new testcase tCreateNewBubbleChart 2009-06-15 15:22:32 +0200 hde r272991 : 101635 2009-06-11 12:44:01 +0200 iha r272864 : rebase to dev300m50 2009-06-10 23:27:54 +0200 iha r272841 : CWS-TOOLING: rebase CWS bubblechart to trunk@272827 (milestone: DEV300:m50) 2009-06-04 18:07:35 +0200 iha r272649 : #i64689# Bubble Chart 2009-06-04 17:26:44 +0200 iha r272647 : #i64689# Bubble Chart 2009-06-04 11:24:25 +0200 iha r272618 : #i64689# add more spacing between bubbles and data labels 2009-05-26 18:05:23 +0200 ufi r272314 : i101637 2009-04-22 14:37:50 +0200 iha r271115 : #i64689# bubble chart 2009-04-21 17:52:23 +0200 iha r271052 : #i64689# bubble chart 2009-04-21 17:50:48 +0200 iha r271051 : #i76728# type icon for xy chart 2009-04-21 17:25:52 +0200 iha r271049 : #i76728# type icon for xy chart 2009-04-09 11:18:09 +0200 iha r270685 : #i100977# autoscaling works not correct if missing values should be treated as zero 2009-04-08 16:39:43 +0200 iha r270656 : #i64689# bubble chart - missing value treatment 2009-04-08 15:13:25 +0200 iha r270655 : #i64689# bubble chart - remove unused code 2009-04-08 15:12:19 +0200 iha r270653 : #i64689# bubble chart - determine sereis length correctly on export 2009-04-08 14:22:43 +0200 iha r270650 : #i64689# bubble chart - remove unused code 2009-04-08 14:12:09 +0200 iha r270646 : #i64689# bubble chart - export domains even if no main sequence was found 2009-04-08 14:11:07 +0200 iha r270645 : #i64689# bubble chart - don't replace missing size values with 1.0 2009-04-07 16:20:22 +0200 iha r270602 : #i64689# bubble chart - do not offer percent values for data label display for xy and bubble chart 2009-04-07 16:17:42 +0200 iha r270601 : remove superfluous code 2009-04-06 16:39:32 +0200 iha r270569 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-02 17:33:33 +0200 iha r270427 : use input string for formatting in data table during edit 2009-04-02 16:00:29 +0200 iha r270413 : #i64689# bubble chart - when creating a new series within the data table give it the same number format as the former series, thus the new bubble size values can be edited with the same format immidiately 2009-04-02 11:25:33 +0200 iha r270385 : #i64689# bubble chart -correct automatic numberformat detection for axis, data table and data label + transport data label numberformat during copy paste in addition to axis numberformat 2009-04-01 11:32:03 +0200 iha r270312 : #i64689# bubble chart - add further parameter for view creation 2009-03-31 17:52:08 +0200 iha r270291 : #i64689# bubble chart - scale bubble size with diagram size 2009-03-31 13:38:13 +0200 iha r270278 : #i64689# bubble chart - wrong size for small values < 1 2009-03-27 19:11:07 +0100 iha r270169 : #i64689# bubble chart 2009-03-27 19:07:11 +0100 iha r270168 : #i64689# bubble chart - remove unused code 2009-03-27 18:33:57 +0100 iha r270167 : #i64689# bubble chart - create no shape for invalid sizes 2009-03-27 15:18:21 +0100 iha r270157 : #i76728# type icon for xy chart 2009-03-27 14:34:38 +0100 iha r270156 : #i64689# bubble chart - correct scaling 2009-03-27 14:27:27 +0100 iha r270155 : #i64689# bubble chart - images 2009-03-27 14:25:45 +0100 iha r270154 : #i64689# bubble chart - images 2009-03-27 11:38:57 +0100 iha r270142 : #i64689# bubble chart - values-size is the main series 2009-03-27 11:30:20 +0100 iha r270140 : #i64689# correct order of sequences after load thus switching charttypes afterwards produces expected results now 2009-03-26 10:22:55 +0100 iha r270056 : #i64689# bubble chart 2009-03-24 17:45:15 +0100 iha r269984 : #i64689# bubble chart - user properties from points (not only from the series) 2009-03-24 15:10:57 +0100 dr r269954 : #i64989# export bubble charts to xls 2009-03-24 14:55:29 +0100 dr r269952 : #i64989# import bubble charts from xls 2009-03-24 14:54:46 +0100 dr r269950 : #i64989# import bubble charts from ooxml 2009-03-23 18:59:08 +0100 iha r269895 : further cleanups possible with new member m_aGlobalSeriesImportInfo 2009-03-23 16:54:04 +0100 iha r269886 : #i64689# bubble chart - a single sequence must be interpreted as sizes because of ODF specification 2009-03-23 16:50:43 +0100 iha r269885 : #i64689# save&load bubble chart 2009-03-20 19:30:29 +0100 iha r269826 : CWS-TOOLING: rebase CWS bubblechart to trunk@269781 (milestone: DEV300:m44) 2009-03-19 11:30:33 +0100 iha r269732 : #i64689# rename SchXMLCategoriesDomainContext to SchXMLCategoriesContext avoid confusion with domains 2009-03-18 17:11:13 +0100 iha r269693 : #i64689# add charttype bubble 2009-03-18 17:09:22 +0100 iha r269692 : #i64689# remove unused code 2009-03-13 12:18:26 +0100 iha r269467 : #i64689# corrected lineends 2009-03-12 11:25:14 +0100 iha r269376 : #i64689# bubble chart (part 1)
2009-07-02 19:17:43 +00:00
m_rGlobalSeriesImportInfo.nCurrentDataIndex++;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
maPostponedSequences.clear();
}
SvXMLImportContext* SchXMLSeries2Context::CreateChildContext(
USHORT nPrefix,
const rtl::OUString& rLocalName,
const uno::Reference< xml::sax::XAttributeList >& )
{
SvXMLImportContext* pContext = 0;
const SvXMLTokenMap& rTokenMap = mrImportHelper.GetSeriesElemTokenMap();
switch( rTokenMap.Get( nPrefix, rLocalName ))
{
case XML_TOK_SERIES_DOMAIN:
if( m_xSeries.is())
{
m_bHasDomainContext = true;
pContext = new SchXMLDomain2Context(
mrImportHelper, GetImport(),
nPrefix, rLocalName,
maDomainAddresses );
}
break;
case XML_TOK_SERIES_MEAN_VALUE_LINE:
pContext = new SchXMLStatisticsObjectContext(
mrImportHelper, GetImport(),
nPrefix, rLocalName,
mrStyleList, m_xSeries,
SchXMLStatisticsObjectContext::CONTEXT_TYPE_MEAN_VALUE_LINE,
maChartSize );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
case XML_TOK_SERIES_REGRESSION_CURVE:
pContext = new SchXMLStatisticsObjectContext(
mrImportHelper, GetImport(),
nPrefix, rLocalName,
mrStyleList, m_xSeries,
SchXMLStatisticsObjectContext::CONTEXT_TYPE_REGRESSION_CURVE,
maChartSize );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
case XML_TOK_SERIES_ERROR_INDICATOR:
pContext = new SchXMLStatisticsObjectContext(
mrImportHelper, GetImport(),
nPrefix, rLocalName,
mrStyleList, m_xSeries,
SchXMLStatisticsObjectContext::CONTEXT_TYPE_ERROR_INDICATOR,
maChartSize );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
case XML_TOK_SERIES_DATA_POINT:
pContext = new SchXMLDataPointContext( mrImportHelper, GetImport(), rLocalName,
mrStyleList, m_xSeries, mnDataPointIndex, mbSymbolSizeIsMissingInFile );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
default:
pContext = new SvXMLImportContext( GetImport(), nPrefix, rLocalName );
}
return pContext;
}
//static
void SchXMLSeries2Context::initSeriesPropertySets( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const uno::Reference< frame::XModel >& xChartModel )
{
::std::list< DataRowPointStyle >::iterator iStyle;
// iterate over series first and remind propertysets in map
// new api <-> old api wrapper
::std::map< Reference< chart2::XDataSeries >, Reference< beans::XPropertySet > > aSeriesMap;
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType != DataRowPointStyle::DATA_SERIES )
continue;
if( !iStyle->m_xOldAPISeries.is() )
iStyle->m_xOldAPISeries = SchXMLSeriesHelper::createOldAPISeriesPropertySet( iStyle->m_xSeries, xChartModel );
aSeriesMap[iStyle->m_xSeries] = iStyle->m_xOldAPISeries;
}
//initialize m_xOldAPISeries for all other styles also
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType == DataRowPointStyle::DATA_SERIES )
continue;
iStyle->m_xOldAPISeries = aSeriesMap[iStyle->m_xSeries];
}
}
//static
void SchXMLSeries2Context::setDefaultsToSeries( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles )
{
::std::list< DataRowPointStyle >::iterator iStyle;
// iterate over series
// call initSeriesPropertySets first
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType != DataRowPointStyle::DATA_SERIES )
continue;
try
{
uno::Reference< beans::XPropertySet > xSeries( iStyle->m_xOldAPISeries );
if( !xSeries.is() )
continue;
if( rSeriesDefaultsAndStyles.maSymbolTypeDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SymbolType")),rSeriesDefaultsAndStyles.maSymbolTypeDefault);
if( rSeriesDefaultsAndStyles.maDataCaptionDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("DataCaption")),rSeriesDefaultsAndStyles.maDataCaptionDefault);
if( rSeriesDefaultsAndStyles.maErrorIndicatorDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorIndicator")),rSeriesDefaultsAndStyles.maErrorIndicatorDefault);
if( rSeriesDefaultsAndStyles.maErrorCategoryDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorCategory")),rSeriesDefaultsAndStyles.maErrorCategoryDefault);
if( rSeriesDefaultsAndStyles.maConstantErrorLowDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ConstantErrorLow")),rSeriesDefaultsAndStyles.maConstantErrorLowDefault);
if( rSeriesDefaultsAndStyles.maConstantErrorHighDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ConstantErrorHigh")),rSeriesDefaultsAndStyles.maConstantErrorHighDefault);
if( rSeriesDefaultsAndStyles.maPercentageErrorDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("PercentageError")),rSeriesDefaultsAndStyles.maPercentageErrorDefault);
if( rSeriesDefaultsAndStyles.maErrorMarginDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ErrorMargin")),rSeriesDefaultsAndStyles.maErrorMarginDefault);
if( rSeriesDefaultsAndStyles.maMeanValueDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MeanValue")),rSeriesDefaultsAndStyles.maMeanValueDefault);
if( rSeriesDefaultsAndStyles.maRegressionCurvesDefault.hasValue() )
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("RegressionCurves")),rSeriesDefaultsAndStyles.maRegressionCurvesDefault);
}
catch( uno::Exception & )
{
//end of series reached
}
}
}
//static
void SchXMLSeries2Context::setStylesToSeries( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName
, SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart
, tSchXMLLSequencesPerIndex & rInOutLSequencesPerIndex )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
::std::list< DataRowPointStyle >::iterator iStyle;
// iterate over series
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType == DataRowPointStyle::DATA_SERIES )
{
try
{
uno::Reference< beans::XPropertySet > xSeriesProp( iStyle->m_xOldAPISeries );
if( !xSeriesProp.is() )
continue;
if( iStyle->mnAttachedAxis != 1 )
{
xSeriesProp->setPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "Axis" ))
, uno::makeAny(chart::ChartAxisAssign::SECONDARY_Y) );
}
if( (iStyle->msStyleName).getLength())
{
if( ! rCurrStyleName.equals( iStyle->msStyleName ))
{
rCurrStyleName = iStyle->msStyleName;
rpStyle = pStylesCtxt->FindStyleChildContext(
rImportHelper.GetChartFamilyID(), rCurrStyleName );
}
//set style to series
// note: SvXMLStyleContext::FillPropertySet is not const
XMLPropStyleContext * pPropStyleContext =
const_cast< XMLPropStyleContext * >(
dynamic_cast< const XMLPropStyleContext * >( rpStyle ));
if( pPropStyleContext )
{
// error bar style must be set before the other error
// bar properties (which may be alphabetically before
// this property)
bool bHasErrorBarRangesFromData = false;
{
const ::rtl::OUString aErrorBarStylePropName( RTL_CONSTASCII_USTRINGPARAM("ErrorBarStyle"));
uno::Any aErrorBarStyle(
SchXMLTools::getPropertyFromContext( aErrorBarStylePropName, pPropStyleContext, pStylesCtxt ));
if( aErrorBarStyle.hasValue())
{
xSeriesProp->setPropertyValue( aErrorBarStylePropName, aErrorBarStyle );
sal_Int32 eEBStyle = chart::ErrorBarStyle::NONE;
bHasErrorBarRangesFromData =
( ( aErrorBarStyle >>= eEBStyle ) &&
eEBStyle == chart::ErrorBarStyle::FROM_DATA );
}
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
//don't set the style to the min max line series of a stock chart
//otherwise the min max line properties gets overwritten and the series becomes invisible typically
bool bIsMinMaxSeries = false;
if( bIsStockChart )
{
if( SchXMLSeriesHelper::isCandleStickSeries( iStyle->m_xSeries
, uno::Reference< frame::XModel >( rImportHelper.GetChartDocument(), uno::UNO_QUERY ) ) )
bIsMinMaxSeries = true;
}
if( !bIsMinMaxSeries )
{
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
pPropStyleContext->FillPropertySet( xSeriesProp );
if( iStyle->mbSymbolSizeForSeriesIsMissingInFile )
lcl_setSymbolSizeIfNeeded( xSeriesProp, rImport );
if( bHasErrorBarRangesFromData )
lcl_insertErrorBarLSequencesToMap( rInOutLSequencesPerIndex, xSeriesProp );
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
}
}
catch( uno::Exception & rEx )
{
(void)rEx; // avoid warning for pro build
DBG_ERROR1( "Exception caught during setting styles to series: %s",
OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
}
}
}
}
// static
void SchXMLSeries2Context::setStylesToStatisticsObjects( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName )
{
::std::list< DataRowPointStyle >::iterator iStyle;
// iterate over regession etc
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType == DataRowPointStyle::REGRESSION ||
iStyle->meType == DataRowPointStyle::ERROR_INDICATOR ||
iStyle->meType == DataRowPointStyle::MEAN_VALUE )
{
try
{
uno::Reference< beans::XPropertySet > xSeriesProp( iStyle->m_xOldAPISeries );
if( !xSeriesProp.is() )
continue;
if( (iStyle->msStyleName).getLength())
{
if( ! rCurrStyleName.equals( iStyle->msStyleName ))
{
rCurrStyleName = iStyle->msStyleName;
rpStyle = pStylesCtxt->FindStyleChildContext(
SchXMLImportHelper::GetChartFamilyID(), rCurrStyleName );
}
// note: SvXMLStyleContext::FillPropertySet is not const
XMLPropStyleContext * pPropStyleContext =
const_cast< XMLPropStyleContext * >(
dynamic_cast< const XMLPropStyleContext * >( rpStyle ));
if( pPropStyleContext )
{
Reference< beans::XPropertySet > xStatPropSet;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
switch( iStyle->meType )
{
case DataRowPointStyle::MEAN_VALUE:
xSeriesProp->getPropertyValue(
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
OUString( RTL_CONSTASCII_USTRINGPARAM(
"DataMeanValueProperties" ))) >>= xStatPropSet;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
case DataRowPointStyle::REGRESSION:
xSeriesProp->getPropertyValue(
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
OUString( RTL_CONSTASCII_USTRINGPARAM(
"DataRegressionProperties" ))) >>= xStatPropSet;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
case DataRowPointStyle::ERROR_INDICATOR:
xSeriesProp->getPropertyValue(
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
OUString( RTL_CONSTASCII_USTRINGPARAM(
"DataErrorProperties" ))) >>= xStatPropSet;
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
break;
default:
break;
}
if( xStatPropSet.is())
pPropStyleContext->FillPropertySet( xStatPropSet );
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
}
// set equation properties at a regression curve
// note: this must be done after setting the regression
// properties at the old API, otherwise the curve itself does
// not exist here
if( iStyle->meType == DataRowPointStyle::REGRESSION && iStyle->m_xEquationProperties.is())
{
OSL_ASSERT( iStyle->m_xSeries.is());
Reference< chart2::XRegressionCurve > xRegCurve( SchXMLTools::getRegressionCurve( iStyle->m_xSeries ));
if( xRegCurve.is())
xRegCurve->setEquationProperties( iStyle->m_xEquationProperties );
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
catch( uno::Exception & rEx )
{
(void)rEx; // avoid warning for pro build
DBG_ERROR1( "Exception caught during setting styles to series: %s",
OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
}
}
}
}
//static
void SchXMLSeries2Context::setStylesToDataPoints( SeriesDefaultsAndStyles& rSeriesDefaultsAndStyles
, const SvXMLStylesContext* pStylesCtxt
, const SvXMLStyleContext*& rpStyle
, ::rtl::OUString& rCurrStyleName
, SchXMLImportHelper& rImportHelper
, const SvXMLImport& rImport
, bool bIsStockChart, bool bIsDonutChart, bool bSwitchOffLinesForScatter )
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
{
::std::list< DataRowPointStyle >::iterator iStyle;
for( iStyle = rSeriesDefaultsAndStyles.maSeriesStyleList.begin(); iStyle != rSeriesDefaultsAndStyles.maSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType != DataRowPointStyle::DATA_POINT )
continue;
if( iStyle->m_nPointIndex == -1 )
continue;
//ignore datapoint properties for stock charts
//... todo ...
if( bIsStockChart )
{
if( SchXMLSeriesHelper::isCandleStickSeries( iStyle->m_xSeries, uno::Reference< frame::XModel >( rImportHelper.GetChartDocument(), uno::UNO_QUERY ) ) )
continue;
}
// data point style
for( sal_Int32 i = 0; i < iStyle->m_nPointRepeat; i++ )
{
try
{
uno::Reference< beans::XPropertySet > xSeriesProp( iStyle->m_xOldAPISeries );
if(!xSeriesProp.is())
continue;
uno::Reference< beans::XPropertySet > xPointProp(
SchXMLSeriesHelper::createOldAPIDataPointPropertySet( iStyle->m_xSeries, iStyle->m_nPointIndex + i
, uno::Reference< frame::XModel >( rImportHelper.GetChartDocument(), uno::UNO_QUERY ) ) );
if( !xPointProp.is() )
continue;
if( bIsDonutChart )
{
//set special series styles for donut charts first
if( !rCurrStyleName.equals( iStyle->msSeriesStyleNameForDonuts ) )
{
rCurrStyleName = iStyle->msSeriesStyleNameForDonuts;
rpStyle = pStylesCtxt->FindStyleChildContext(
rImportHelper.GetChartFamilyID(), rCurrStyleName );
}
// note: SvXMLStyleContext::FillPropertySet is not const
XMLPropStyleContext * pPropStyleContext =
const_cast< XMLPropStyleContext * >(
dynamic_cast< const XMLPropStyleContext * >( rpStyle ));
if( pPropStyleContext )
pPropStyleContext->FillPropertySet( xPointProp );
}
try
{
//need to set this explicitely here for old files as the new api does not support this property fully anymore
if( bSwitchOffLinesForScatter )
xPointProp->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Lines")),uno::makeAny(sal_False));
}
catch( uno::Exception & rEx )
{
(void)rEx; // avoid warning for pro build
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
if( !rCurrStyleName.equals( iStyle->msStyleName ) )
{
rCurrStyleName = iStyle->msStyleName;
rpStyle = pStylesCtxt->FindStyleChildContext(
rImportHelper.GetChartFamilyID(), rCurrStyleName );
}
// note: SvXMLStyleContext::FillPropertySet is not const
XMLPropStyleContext * pPropStyleContext =
const_cast< XMLPropStyleContext * >(
dynamic_cast< const XMLPropStyleContext * >( rpStyle ));
if( pPropStyleContext )
{
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
pPropStyleContext->FillPropertySet( xPointProp );
if( iStyle->mbSymbolSizeForSeriesIsMissingInFile )
lcl_resetSymbolSizeForPointsIfNecessary( xPointProp, rImport, pPropStyleContext, pStylesCtxt );
}
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
catch( uno::Exception & rEx )
{
(void)rEx; // avoid warning for pro build
DBG_ERROR1( "Exception caught during setting styles to data points: %s",
OUStringToOString( rEx.Message, RTL_TEXTENCODING_ASCII_US ).getStr() );
}
}
} // styles iterator
}
//static
void SchXMLSeries2Context::switchSeriesLinesOff( ::std::list< DataRowPointStyle >& rSeriesStyleList )
{
::std::list< DataRowPointStyle >::iterator iStyle;
// iterate over series
for( iStyle = rSeriesStyleList.begin(); iStyle != rSeriesStyleList.end(); iStyle++ )
{
if( iStyle->meType != DataRowPointStyle::DATA_SERIES )
continue;
try
{
uno::Reference< beans::XPropertySet > xSeries( iStyle->m_xOldAPISeries );
if( !xSeries.is() )
continue;
xSeries->setPropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Lines")),uno::makeAny(sal_False));
INTEGRATION: CWS chart2mst3 (1.1.2); FILE ADDED 2007/04/19 09:51:09 bm 1.1.2.35: #i75530# import explicit chart types at data series in correct order 2007/03/19 15:22:19 bm 1.1.2.34: #i75297# allow export and import of empty data series 2007/02/09 12:32:07 bm 1.1.2.33: #i72540# correct handling of scatter chart with only one sequence of y-values and no x-values 2007/02/08 11:01:27 iha 1.1.2.32: resync m195 -> m202 2006/12/12 16:55:12 bm 1.1.2.31: own data with no categories element: apply categories in applyTable() 2006/12/12 16:05:46 iha 1.1.2.30: #i67784# data disappear while selecting 'XY (Scatter)' having only one sequence 2006/12/08 10:04:41 bm 1.1.2.29: register sequence for labels always, so that a copied chart gets the originally auto-generated labels 2006/12/06 18:50:46 bm 1.1.2.28: #i64497# allow import and export to deal with flexible source ranges also with own data. This is needed for the clipboard between Calc and Impress 2006/11/14 19:25:38 iha 1.1.2.27: #i71330# xy 'symbols only' get lines when loading older versions 2006/10/20 10:46:53 bm 1.1.2.26: warnings removed 2006/10/20 09:50:40 bm 1.1.2.25: warnings removed 2006/10/19 16:21:36 bm 1.1.2.24: warnings removed 2006/08/02 12:54:54 iha 1.1.2.23: removed unused DomainOffset 2006/08/02 12:26:33 iha 1.1.2.22: read wrongly created files properly while having addin with basediagram xy 2006/08/01 09:01:15 iha 1.1.2.21: helping methods for chart im- and export 2006/06/07 14:59:13 bm 1.1.2.20: #124497# set styles of series before the styles of statistics properties, because the existence of statistics objects is determined by proeprties of the series 2006/03/09 13:51:45 iha 1.1.2.19: wrong include path 2006/02/03 19:53:08 iha 1.1.2.18: remove series index dependency 2005/12/21 21:34:25 iha 1.1.2.17: remove identifiers from model objects and create an index based CID protocol instead for selection purposes 2005/11/08 17:48:13 bm 1.1.2.16: catch IllegalArgumentException when calling XDataProvider::createDataSequenceByRangeRepresentation 2005/11/04 16:17:02 iha 1.1.2.15: enable loading point and series styles for donut charts 2005/11/01 12:52:28 iha 1.1.2.14: proper use of default domain (first x sequence) for load and save of scatter charts 2005/10/24 10:47:07 iha 1.1.2.13: coordinate system restructure 2005/10/11 11:52:29 bm 1.1.2.12: license header change 2005/07/28 12:50:44 bm 1.1.2.11: set VaryColorsByPoint property for pie and donut charts 2005/07/22 10:58:48 bm 1.1.2.10: create data sequences only if address is available (assertion in data provider about empty range) 2005/07/19 17:02:27 bm 1.1.2.9: StockChart issues (range-line defaults, series at which to set properties) 2005/07/18 16:11:15 bm 1.1.2.8: Stock Issues fixed: remove empty chart types in Chart Context instead of PlotArea, stock with volume: create new series with correct chart type 2005/07/15 21:00:16 iha 1.1.2.7: change from series index to series identifier 2005/07/06 09:22:10 bm 1.1.2.6: range conversion in import is FromXML 2005/07/06 09:16:53 bm 1.1.2.5: use XML range conversion of data provider 2005/06/24 09:07:29 bm 1.1.2.4: stock chart 2005/06/21 08:43:38 bm 1.1.2.3: according to OASIS spec, domain elements have table:cell-range-address attributes 2005/06/20 12:35:30 bm 1.1.2.2: scatter chart 2005/06/17 17:03:17 bm 1.1.2.1: context for series using new API
2007-05-22 15:07:02 +00:00
}
catch( uno::Exception & )
{
//end of series reached
}
}
}