On Mar 27, 2005, at 21:35, Christian Junker wrote:

As a side note, compare my Java code to Andrew's SB code ;).
And do not ask yourself why I am using such an awkward coding style, I
just played around in Eclipse a bit to refresh my Java knowledge.

I think the UNO-Java bridge necessarily leads to less beautiful code. If the Basic runtime can work without queryInterface, why doesn't the Java bridge make the proxy objects implement the exported interfaces right away?


(com.sun.star.beans.XPropertySet) UnoRuntime.queryInterface(
                                com.sun.star.beans.XPropertySet.class, info);
                xProps.setPropertyValue("Title", getTitle());

Thank you. This bit was what I needed.

Are the supported property set keys documented somewhere?

--
Henri Sivonen
[EMAIL PROTECTED]
http://hsivonen.iki.fi/


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to