[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
Wed Feb 26 04:47:25 UTC 2020


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

--- Comment #7 from Stang <sgrekow at yahoo.com> ---
Have an alternative using doVerb().

In ActivateDiagram replaced:

    oXCOEO.changeState(4)       ' UI_ACTIVE = 4
    oXCOEO.changeState(0)       ' LOADED = 0

with:

    oXCOEO.doVerb(-2)
    oXCOEO.doVerb(-3)

Then added:

    oXCOEO = oDiag.ExtendedControlOverEmbeddedObject
    oXCOEO.doVerb(-2)
    oXCOEO.doVerb(-3)

to the end of Change Data.

Works well on Ubuntu 18.04 Mate with LO:

Version: 6.4.0.3
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Will attach original sample with noted modifications.

-- 
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/20200226/520fcc32/attachment.htm>


More information about the Libreoffice-bugs mailing list