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

--- Comment #15 from Justin L <[email protected]> ---
> DOC round-trip losing macros:
This never worked for the checkboxes. ActiveX checkboxes were round-tripped as
FormField's until LO 6.0's commit b45446fcb4958b13bc94e70e2d3d1940db3322e2
Author: Tamás Zolnai on Tue Aug 22 23:40:56 2017 +0200
    tdf#111975: Inline checkbox control's label is not saved to DOC format

    This MiserableFormFieldExportHack lives from the beginning
    of the git history:
    7155b11b7eac65e242aca1efaf29ffcfa28f2564

    So it might be a workaround of an old issue. By now when
    the checkbox is not inline, but a floating one, it is exported
    as ActiveX control, which works nicely. So just remove this
    workaround and let the code export also inline checkboxes
    as ActiveX controls.

Did it ever work for the button? On import, the macro got wired back up in LO
5.2 with commit 1f7a31a461bb3a6fcd277ab57875405875568f8b
Author: Stephan Bergmann on Tue May 10 10:08:35 2016 +0200
    Missing break in switch

which was broken 5 years earlier with
commit 4fae740db79d4e7cc97440e2bab8d1ef612d9b51
Author: Noel Power on Fri Aug 12 00:36:51 2011 -0400
    Disable fake VBA events for the old-style form controls.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to