Marten Feldtmann wrote:

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

It would perhaps help if you posted a code snippet showing the
parameters you use and the call itself. Besides that the only idea I
have is that the document might be open already.

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[EMAIL PROTECTED]".
I use it for the OOo lists and only rarely read other mails sent to it.


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

Reply via email to