I did some tests with that API call and whatever I do: the document is always opened "readOnly".

- when I open the document using OpenOffice 3.0 via dialog, the document opens the normal way: writeable
- when using the API call I always get a write protected document
- when I use the property "ReadOnly" and do set it to true I get a write protected document (thats ok ...) - when I use the property "ReadOnly" and do set it to false I get a VT_UNKNOWN value from the loadComponentFromURL call.

Then I thought, that perhaps the parameter handling was wrong and created an empty document (via factory) and used the attribute "Hidden" and that work well. Therefore I think, that my parameter handling seems to be correct.

Any idea ???

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

Reply via email to