Apache OpenOffice (AOO) Bugzilla – Issue 108861
[From Symphony]Event TextBox.KeyPress,TextBox.Exit can't work with parameters
Last modified: 2017-05-20 11:29:20 UTC
Steps: 1.Open the sample file with OOo in attachments. 2.Run the sample file as the steps described in sheet1 Defects: 1.Keypress , runtime error occured with parameter 2.Exit , rurntime error occured with paramether
Created attachment 67543 [details] Fix for this issue
1. Root Cause: The VBA events such as TextBox_KeyPress(ByVal KeyAscii As MSForms.ReturnInteger) may cause an error because the original input parameter data structure -- msforms::ReturnInteger -- is a struct, it cannot support default value. 2. Resolution: Define new interface (XReturnInteger) to support the type of MSForms.ReturnInteger as well as the default value. Write new class (VbaReturnInteger) to implement the newly defined interface. Use the newly class in the event trigger process. For the issue of MSForms.ReturnBoolean, apply similiar method.
XReturnBoolean.idl & XReturnInteger.idl missing, also the sample file is missing, looks like a promising patch though
re-assign, please take over and prepare to upstream
Created attachment 68369 [details] Missing idl file for this issue
Created attachment 68370 [details] Missing idl file for this issue
Reset assigne to the default "issues@openoffice.apache.org".