Apache OpenOffice (AOO) Bugzilla – Issue 76128
Impossible to bind a macro to an OpenOffice.org Base document (ODB) EVENT
Last modified: 2009-04-02 05:56:05 UTC
It is imposible to BIND a macro to an OpenOffice.org Base document (ODB) EVENT. In the GUI, if we open an OpenOffice.org Base document (ODB), go to the menu "TOOLS" - "CUSTOMIZE", and we choose the tab "EVENTS", in the "Save in" list box there is NO chance to choose the current open OOoBase document, just OpenOffice.org as a whole. Therefore the user can't assign a macro to a document event (what is called "event binding") just as he/she can with other OOo documents. In the API: an OpenOffice.org Base document (ODB) is a com.sun.star.sdb.OfficeDatabaseDocument, which includes the service com.sun.star.document.OfficeDocument. Therefore the OfficeDatabaseDocument, like all the other OOo documents ODT, ODS, ODG, ODP, should export the interface com.sun.star.document.XEventsSupplier that has a method getEvents() to bind events to the OfficeDocument, but it does not.
confirming, grabbing, targeting
feature freeze for 2.4 passed, so this can go into 3.0 only
Given the feature freeze for 3.0 which passed a while ago, I move this out to 3.1.
implemented in CWS odbmacros3
fs-> msc: please verify in CWS odbmacos3
in general its possible now in the cws odbmacros3 see http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fodbmacros3 for the CWS
Issue 76128 has been fixed in master version OOo-dev 3.1 .0 (OOO310m7 Build:9393) for Windows XP and can be closed.
The Issue checked and closed by HitekSchool interns, Group 1 - as part of an Issue Hunting Party.