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


On 12.03.2018 18:31, Robert Marcano wrote:
I am modifying many properties of document styles, using the 
XPropertySet interface, that means that there are many consecutive calls 
to setPropertyValue(), and that generate some bliking on the document 
while changes are being made.

Is there a way to run document modifications inside a block of code 
where documents visual updates are delayed to the end of the block? or 
what is the best way to make document updates in one go, without 
triggering temporary events?.

try XModel::lockControllers/unlockControllers, it should delay the view
update until unlock.

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.