Ok, I did some further tests:
a) deinstalled the 3.0.0 and installed the newest developer
build - same error.
b) deinstalled the developer build and installed OO 2.4.1
and my software worked without problems ....
It's not a feature ... perhaps just a nasty little bug in the
OLE bridge ???
Marten
Mathias Bauer schrieb:
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org