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





------- Additional comments from [EMAIL PROTECTED] Mon Oct 31 03:26:19 -0800 
2005 -------
The variable sFile ist a URL converted to a OpenOffice URL for 
Example "file:///E|/dir/example.swx".
I haven't written the correct params:
LoadComponentFromURL(sFile, '_default', 0, CreatePropertys(['Hidden', 
TRUE,'ReadOnly', FALSE])).
The exception happens if the document is opened for writing and open it for 
writing again.
The document will be made visible later.
This case i can catch, i search the document first and take the opened 
document.
The problem is if the document is closed manually or per code.
The next opening of the document fails with the same exception.
It seems the document is not really closed but invisible, but i can't find it 
with programcode.
If i leave the param "ReadOnly" out, the document opens readonly.
If i leave the param "Hidden" out, the document opens correct.
If i close OpenOffice first (the icon in the Windows toolbar too) the document 
opens correct.
It seems that a first hidden document is not listed in the desktop components 
enumeration.

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