[Libreoffice] Make check from master fails in sc_datapilotfieldobj
Markus Mohrhard
markus.mohrhard at googlemail.com
Thu Dec 8 02:39:49 PST 2011
Hello Michael,
> of course there is:
>
> PropertyValue[] loadProps = new PropertyValue[1];
> loadProps[0] = new PropertyValue();
> loadProps[0].Name = "ReadOnly";
> loadProps[0].Value = new Boolean(true);
>
> now pass that as the last argument to loadComponentFromURL
>
This is not an option. If you set the document read-only you can at
least in calc no longer do a lot of actions. We have a function that
tests the SfxMedium if it is read only and prevent modification in
this case.
I'll work on the copy idea.
More information about the LibreOffice
mailing list