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





------- Additional comments from [EMAIL PROTECTED] Mon Apr 18 06:15:31 -0700 
2005 -------
Looking at your code we noticed that you call getSheets on the wrong object.
getCurrentController returns an XController on which you have to call  getModel.
On the returned XModel you have to call getSheets. 

It is no good idea to use getCurrentController because it depends on the focus.
It would be better to load your document explicitely by using
loadComponentFromURL. This function is implemented by the desktop service
(com.sun.star.frame.Desktop).

Please also have a look at the interface documentation at:
http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html

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