Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


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.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.