To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=51494
------- Additional comments from [EMAIL PROTECTED] Tue Jul 5 23:47:52 -0700 2005 ------- Hi cyb! << Anyway, if such an enhancement would be made - and I think it would be a very << useful one - it would be nice to be able to get the implementation exposed as << an API object, so that API developers can get the version number as well << (without needing to run ./soffice -v in the shell). This discussion was done some times before on OOo. There wont be any support for versions on the API. The API itself is stable and you have to check if an interface is supported by the created API object before you use it. So you dont need any version information. An example: The implementation of css.frame.Frame got's a new interface named css.util. XCloseable. It must be used instead of XComponent.dispose() ... if it exists. XCloseable xClose = (XCloseable)UnoRuntime.queryInterface( XCloseable.class, xFrame); if (xClose != null) xClose.close(false); else { XComponent xDispose = (XComponent)UnoRuntime.queryInterface( XComponent.class, xFrame); if (xDispose != null) xDispose.dispose(); else throw Exception("cant close."); } In this case the version of the office doesnt help you. Because it's possible to move the new implementation of css.frame.Frame to an older version ! That's possible because it's an UNO component, which can be applied to any office version ... where it finds the right environment. So the version of an office cant be applied to the interface of an API object. You can extend the office with any UNO component you like and it's not related to the version of the office. Regards Andreas --------------------------------------------------------------------- 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]