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


Hi Dev Team,

I am trying to use XModifyListener class to listen to cell change Events
for LibreOffice Calc.
My problem is :: When a user modifies a cell, the event is getting
triggered twice.
public void modified(EventObject event)  is getting called twice in my code.
I have to perform custom tasks in a cell change event and I end up doing it
twice which is leading to errors for me.

Can you please help me to solve this issue.

PS: Registering for the events is done only once. I have cross verified
this and this is not an issue.
*xModifyBroadcaster.addModifyListener(xModifyListener)
*- the code to register for the change event is called only once and hence
no issues there.


https://ask.libreoffice.org/en/question/257898/cell-change-event-in-libreoffice-gets-called-twice/






-- 
Best Regards,
Harish Kumar.B

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.