To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=42339
User bm changed the following:
What |Old value |New value
================================================================================
Status|NEW |STARTED
--------------------------------------------------------------------------------
------- Additional comments from [EMAIL PROTECTED] Fri Feb 18 07:02:03 -0800
2005 -------
This problem is twofold.
1. the initial size of the chart is not correctly incorporated. The table chart
is created with a given size which is used in the SdrOle2Obj CTOR. All functions
that resize SdrOle2Objects call ImpSetVisAreaSize() except the CTOR. Adding this
call would fix this problem. However, for ImpSetVisAreaSize to work the model
must be set, which is impossible in the CTOR. Adding
pObj->SetModel( pModel );
pObj->NbcSetSnapRect( aInsRect );
after
SdrOle2Obj* pObj = new SdrOle2Obj( xObj, aObjName, aInsRect );
in sc/source/ui/unoobj/chartuno.cxx solves the problem, but seems a bit of a
hack.
2. I am not sure how to fix this. When the new diagram is set, a BuildChart is
done, which first deletes all its draw objects and then creates the titles and
the legend and then the diagram. It looks like some of these operations
broadcast SFX_HINT_DOCCHANGED hints, and due to timing the replacement
PreviewMetafile for the OLE object is created at the point where the diagram
isn't yet inserted. The fix for issue 42572 that suppresses broadcasting any
hints during BuildCharts seems not to change this behaviour reliably (I could
see some charts correctly -- by chance).
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]