Issue 30052 - new chart: Implement public Chart2 API for Writer
Summary: new chart: Implement public Chart2 API for Writer
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: bjoern.milcke
QA Contact: issues@graphics
URL:
Keywords: new_implementation
Depends on:
Blocks:
 
Reported: 2004-06-10 12:29 UTC by bjoern.milcke
Modified: 2013-02-24 21:22 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Chart with data from writer separated in columns (26.82 KB, application/vnd.oasis.opendocument.text)
2005-11-25 09:22 UTC, IngridvdM
no flags Details
Chart with data from writer separated in rows (27.83 KB, application/vnd.oasis.opendocument.text)
2005-11-25 09:31 UTC, IngridvdM
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2004-06-10 12:29:27 UTC
Implement the css::chart2::XDataProvider interface and all sub-interfaces.
Comment 1 thomas.lange 2004-06-10 12:48:38 UTC
.
Comment 2 thomas.lange 2004-06-10 13:04:08 UTC
Files changed:
sw:
- inc/unochart.hxx                    1.1.2.1
- source/core/unocore/unochart.cxx    1.1.2.1
- inc/unocoll.hxx                     1.13.428.1
- inc/unocrsr.hxx                     1.3.714.1
- inc/unomap.hxx                      1.45.82.1
- inc/unoprnms.hxx                    1.93.12.1
- inc/unotbl.hxx                      1.14.542.1
- source/core/crsr/unocrsr.cxx        1.6.418.1
- source/core/frmedt/tblsel.cxx       1.23.14.1
- source/core/unocore/makefile.mk     1.16.232.1
- source/core/unocore/unocoll.cxx     1.23.428.1
- source/core/unocore/unomap.cxx      1.161.10.1
- source/core/unocore/unoprnms.cxx    1.97.12.1
- source/core/unocore/unotbl.cxx      1.85.12.1
- source/ui/table/chartins.cxx        1.8.248.2
- source/ui/uno/unotxdoc.cxx          1.89.14.1
- xml/writer.xml                      1.12.220.1
Comment 3 thomas.lange 2004-06-10 13:07:11 UTC
.
Comment 4 thomas.lange 2004-06-16 13:20:57 UTC
TL: changed type to FEATURE.
Comment 5 andreas.martens 2004-07-30 10:44:12 UTC
Because of a shortage of resources we have to retarget this issue to OOo later.
Comment 6 Martin Hollmichel 2004-08-09 14:04:18 UTC
according to http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=7690
this issue will be set to OOoLater
Comment 7 IngridvdM 2005-09-06 15:09:59 UTC
set keyword and set target for new chart issues
Comment 8 bjoern.milcke 2005-09-09 13:31:45 UTC
Please fix XDataProvider::detectArguments soon, because this is the thing that
currently breaks Load/Save of charts in writer in many situations.

I checked in a version that returns fixed values for the three needed parameters.
Comment 9 bjoern.milcke 2005-09-09 16:05:14 UTC
Even more important than detectArguments (and probably much easier to implement)
is the implementation of the XRangeXMLConversion. The two methods there
transform ranges from Writer format to XML format (this should already be
implemented somewhere in Writer) and vice versa.

Please implement this. I added the interface and the two methods empty.
Comment 10 thomas.lange 2005-11-15 09:12:02 UTC
XRangeXMLConversion implemented in CWS chart2mst3.

Files changed:
- sw/source/core/unocore/XMLRangeHelper.hxx  new file
- sw/source/core/unocore/XMLRangeHelper.cxx  new file
- sw/source/core/unocore/makefile.mk
- sw/source/core/unocore/unotbl.cxx
- sw/source/core/unocore/unochart.cxx





Comment 11 thomas.lange 2005-11-22 14:22:01 UTC
Further changes:

- sw/inc/unotbl.hxx
- sw/inc/unochart.hxx
- sw/source/core/unocore/unotbl.cxx
- sw/source/core/unocore/unochart.cxx
Comment 12 thomas.lange 2005-11-24 10:54:43 UTC
TL: Task is fixed now. But I still should write some description about what
createDataSource and detectArguments can do now since it is much more than what
would be allowed via the Writer's UI but still has some restrictions to be known.
Comment 13 IngridvdM 2005-11-25 09:18:13 UTC
If charts are created from rows the data is not composed correctly. Creating
charts from columns this seems to work now.
Furthermore the method XDataSequence::generateLabel( eLabelOrigin )  does not
what it should do. Please return one localized string indicating the position of
the range depending on the paramter eLabelOrigin.
Comment 14 IngridvdM 2005-11-25 09:22:55 UTC
Created attachment 31785 [details]
Chart with data from writer separated in columns
Comment 15 IngridvdM 2005-11-25 09:31:27 UTC
Created attachment 31788 [details]
Chart with data from writer separated in rows
Comment 16 IngridvdM 2005-11-25 09:32:15 UTC
added me to cc
Comment 17 thomas.lange 2005-12-06 12:53:18 UTC
Fixed in CWS chart2mst3.

Files changed:
sw:
- unochart.cxx
Comment 18 thomas.lange 2006-01-13 12:47:50 UTC
New string resources created according to spec.

Files changed:
- sw/inc/rcid.hrc
- sw/inc/unocore.hrc  new file
- sw/inc/unochart.hxx
- sw/source/core/unocore/unocore.src  new file
- sw/source/core/unocore/unochart.cxx
- sw/source/core/unocore/makefile.mk
- sw/util/makefile.mk
Comment 19 IngridvdM 2006-03-21 20:12:25 UTC
changed summary to start with 'new chart: ' to avoid confusion with regular
chart issues
Comment 20 IngridvdM 2006-03-22 11:02:00 UTC
changed issue type from feature to task
Comment 21 bjoern.milcke 2006-06-23 10:02:54 UTC
Changed target to 2.x
Comment 22 thomas.lange 2006-12-13 15:11:45 UTC
TL->BM: Please check. Thanks!
Comment 23 bjoern.milcke 2006-12-14 11:00:22 UTC
Is done. If there are issues concerning the API, we need specific issues for that.
Comment 24 bjoern.milcke 2006-12-14 11:05:12 UTC
Closing (just a development reminder issue)