To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83758
------- Additional comments from [EMAIL PROTECTED] Thu Dec 6 17:19:03 +0000 2007 ------- This issue turned out to be more problematic as it first seemed. The events *are* fired. But: no macros are executed because we currently don't allow the execution of macros in embedded objects. This can be changed. It requires that a "MacroExecutionMode" is handed over in the API call that loads the embedded document. For security reasons the macro mode should be set so that the configured macro execution mode is selected; simply allowing macro execution without asking will create a security hole. The first problem will be that in the highest security setting OOo will execute macros only if they are digitally signed or if the file is from a "safe" location. As the embedded document does not know the location of its container this won't work. This limitation can't be overcome but IMHO is not very important. A bigger problem is that in other security modes a dialog about macro security will be shown as soon as a document containing macros is loaded. For embedded objects this will happen when the object is put into "running" state. At that time the object still is not active and probably not even becomes active. So a dialog can't be placed successfully and may also be irritating. Another problem is that the dialog will be shown each time when the document is set to running state. It's unpredictable how often this will happen, it depends on the container. This is not a major problem and can be workarounded by code in the EmbdeddedServer implementation. So the biggest problem is the second. The best way out would be to enable OOo to postpone showing the dialog to the point in time where macros shall be executed and also allow the macro execution mode to change its state (what currently is allowed to happen only once). If the embedded document has a macro bound to "OnLoad", we can postpone the dialog until the embedded document is really activated. This needs some further investigation. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
