I just review your code. I have one question. When loading a xls file with a picture which does not have any related macro, will SetSimpleMacro(true) bring side effect.
On Thu, Sep 6, 2012 at 2:46 PM, Chen Peng <chenpeng2...@gmail.com> wrote: > Hi All, > I have fixed a bug about macro doesn't work on images, as shown in > below: > *Bug 119487* > <https://issues.apache.org/ooo/show_bug.cgi?id=119487> - [From > Symphony]Images lose macro association when open Excel file in AOO > https://issues.apache.org/ooo/show_bug.cgi?id=119487 > > Root Cause: > Macro on picture is supported by VBA, should set the related > flag to true. > Resolution: > Set the SimpleMacro flag to true to enable the macro on > picture. > > Anyone help to review the fix will be appreciated, thanks! >