Apache OpenOffice (AOO) Bugzilla – Issue 56741
OLE - Macro Returncode
Last modified: 2017-05-20 11:28:00 UTC
If you run a in OpenOffice Writer or Calc over an OLE-Connection you cant get a macro returnvalue. Thats not good, because the MS Office products can it and many companys use Macros for her Interface to control the Office Suite. If there want to migrate to OpenOffice.org, they have problems. For a better and easier way to migrate an appication interface from MS Office to OpenOffice.org this function is needed. If there is a way, please correct me, but i have posted serval Posts in Maillinglists and Forums and all say there is no way.
Try it with the new Scripting Framework please, I am not sure if OLE - UNO has well-working type mappings for that, but I hope so. See the last discussions on the api mailinglist.
changing priority
sw->apdata: I'm not sure what you are trying to achieve ... are you trying to execute a OOo Basic macro from your program using the OLE-Bridge ? ... why not coding the macro directly in your application instead of dispatching it ?
Because, the performance is better, when you run macros. If you make all with OLE, it works much slower. And, if there is an error with the macros (openoffice integration), we have only to change it and not the complete application. So that we can sent fixes to the customers using email. I will check the new Scripting Framework.
sw->ab: can you comment on the possibilities to execute OOo-Basic macros and gather the return value from outside Basic ?
As far as I no really not possible currently. Sounds like a difficult problem as many levels are involved. -> OOo later
STARTED
Reset assigne to the default "issues@openoffice.apache.org".