[Libreoffice-bugs] [Bug 126499] Chart in a form: setmodified(true) won't be executed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 26 16:56:16 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=126499

--- Comment #15 from Robert Großkopf <robert at familiegrosskopf.de> ---
Has changed a little bit more with LO 7.1, but this will work:

oDiag.model.DataProvider.setData(aNewData)
oDiag.model.DataProvider.setRowDescriptions(aNewRowDescription)
oDiag.model.DataProvider.setColumnDescriptions(aNewColumnDescription)
oDiag.Component.setmodified(true)       
oDiag.Component.update()
oXCOEO.changeState(1)

Don't know why, but there has to been added the update() command to change the
charts.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210426/5d8f6291/attachment.htm>


More information about the Libreoffice-bugs mailing list