Issue 69313

Summary: new chart: Writer Document: Insert / Object / Chart is showing default chart
Product: General Reporter: jogi
Component: chartAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: issues, tony.galmiche.ooo
Version: 3.3.0 or older (OOo)Keywords: new_implementation
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: TASK Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Big document none

Description jogi 2006-09-06 08:48:47 UTC
Testcase:
1. Use attached Writer bugdoc
2. Place the cursor into the first (empty) cell
3. Insert / Object / Chart
4. The Wizard comes up
4. Select (as example= X/Y chart and enable 'Sort by X values' checkbox
5- Press 'Create'-button
BUG: The Writer document is showing the default chart instead of the correct
chart which you can get if you go into the 'inplace mode' by a double click.
Comment 1 jogi 2006-09-06 08:49:47 UTC
Created attachment 38989 [details]
Big document
Comment 2 kla 2006-09-06 10:59:31 UTC
set keyword
Comment 3 IngridvdM 2006-09-18 14:07:51 UTC
This is a repaint error in writer. In contrast to the calc the writer does not
create an inplace active chart. Thus there is no chart view that can listen to
changes and update the display correctly.
There are two possible solutions:
1) The writer creates an inplace active chart - like the calc does.
or
2) The writer OLE object has to listen to chart model changes and request a new
visual representation accordingly.
Comment 4 andreas.martens 2006-11-08 13:09:08 UTC
AMA->TL: Please have a look.
Comment 5 andreas.martens 2006-11-09 08:29:19 UTC
Hand over to TL.
Comment 6 thomas.lange 2006-11-09 09:19:59 UTC
.
Comment 7 thomas.lange 2006-11-09 09:20:51 UTC
Fixed in CWS chart2mst3.
Comment 8 thomas.lange 2006-11-10 13:54:21 UTC
Files changed in sw:

Some but not all of:

inc/editsh.hxx
inc/swtable.hxx
inc/tblsel.hxx

source/core/doc/docchart.cxx
source/core/doc/docsort.cxx
source/core/doc/tblrwcl.cxx
source/core/docnode/ndtbl.cxx
source/core/edit/editsh.cxx
source/core/frmedt/feflyole.cxx
source/core/frmedt/tblsel.cxx
source/core/undo/untbl.cxx
source/core/unocore/unotbl.cxx
source/ui/inc/chartins.hxx
source/ui/inc/tablemgr.hxx
source/ui/inc/wrtsh.hxx
source/ui/shells/textsh.cxx
source/ui/table/chartins.cxx
source/ui/table/tablemgr.cxx
source/ui/wrtsh/wrtsh1.cxx
Comment 9 thomas.lange 2006-12-13 15:09:07 UTC
Fixed in CWS chart2mst3 milestone10.
TL->MRU: Please check. Thanks!
Comment 10 IngridvdM 2007-01-18 11:47:14 UTC
changed target to 2.3
Comment 11 IngridvdM 2007-03-01 20:56:07 UTC
changed issue type
Comment 12 michael.ruess 2007-03-26 13:26:52 UTC
Verified in CWS chart2mst3.
Comment 13 michael.ruess 2007-06-21 15:56:03 UTC
Checked in 680m214.