Fwd: Re: Ask for help, Young developer request

Michael Stahl mstahl at redhat.com
Wed Feb 25 08:58:55 PST 2015


On 25.02.2015 09:46, Bartłomiej Mikos PrimeSoft Polska wrote:
> Good morning,
> 
> I solved the problem. I thougth than UpdateDocMode.NEVER_UPDATE will set
> up loading without warning. It is not true, the problem solved set libre
> office by hand in options -> set update document from on request to
> never update. It solving the problem. I thinking now why UpdateDocMode
> property not working and how set Never Update documents from code (its
> not good idea to setting libre office conf by hand :D).

>         PropertyValue[] properties = new PropertyValue[3];
> 
>         properties[0] = getHiddenProperty();
> 
>         properties[1] = new PropertyValue();
>         properties[1].Name = "UpdateDocMode";
>         properties[1].Value = new Short((short) 1);

which values did you try? 1 is QUIET_UPDATE which *does* update if that
is possible without asking information from user.

did you try NO_UPDATE = 0 too?  if that would also update links then
that would clearly be a bug.



More information about the LibreOffice mailing list