To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=79698





------- Additional comments from [EMAIL PROTECTED] Mon Sep 24 13:49:54 +0000 
2007 -------
@bm: Obviously I have not been able to express myself sufficiently clear so far,
hence another attempt. There are programs which used to work, but do not so
anymore in 2.3.0. They bomb where the property "SolidType" gets set.

Here's the snippet in ooRexx (which uses the Java-interfaces to OOo, the tilde ~
is the message operator; left of the tilde is the receiving object, right of it
the interface or the method name):


------------------ cut here ------------------
/*  xTableCharts is a SUBCLASS of XNameAccess ! */
xChart = xTableCharts~getByName("FirstChart")~XTableChart

/* get the embedded Object */
xComponent = xChart~XEmbeddedObjectSupplier~getEmbeddedObject

/* get the Diagram from the ChartDocument */
xDiagram = xComponent~XChartDocument~getDiagram

/* set the properties */
xPropsChart = xDiagram~XPropertySet

xPropsChart~setPropertyValue("Dim3D", box("bool", .true))
xPropsChart~setPropertyValue("Deep",  box("bool", .true))

type=bsf.getConstant("com.sun.star.chart.ChartSolidType", "CYLINDER")
 /* the next statement bombs on 2.3.0, but used to work in earlier versions ! */
xPropsChart~setPropertyValue("SolidType", box("INT", type))
------------------ cut here ------------------

So this looks like a bug in 2.3.0. The question would be: if this is a bug, will
it get removed in the next version ?

---rony


---------------------------------------------------------------------
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]

Reply via email to