Macros in Database Documents

From Apache OpenOffice Wiki
Revision as of 08:55, 28 November 2007 by Frank Schoenheit (Talk | contribs)

Jump to: navigation, search
Specification Status
Author Frank Schönheit
Last Change 2007-11-27
Status (Help) Preliminary

Abstract

OpenOffice.org Base, unlike the other OpenOffice.org applications, is currently not able to embed macros and scripts into its documents. We will empower Base users to use macros and scripts (StarBasic, JavaScript, BeanShell, Python) in their database documents the very same way they can use them in all other application's documents.

Detailed Specification

Accessing Macros and Scripts

  • Macro and Script Organizers (Template:Menuitem) will show opened database documents, and allow editing/creating macros/scripts therein.
  • The Basic IDE will treat macros in database documents the very same way as macros in other application's documents.
  • The Macro Selector (Template:Menuitem) will show opened database documents, and allow to run them.
  • The UI customization dialog (Template:Menuitem) will allow access to the current database document's macros and scripts, when invoked for this document.

Unavailable Functionality

  • For the moment, it will not be possible to sign macros embedded in database documents. This is up to a later step.
Help | User Interface Element Templates | Example Spec

Database Document Macros vs. Macros in embedded documents.

Migration

<START TYPING HERE --- If this part is irrelevant state a reason for its absence.>

Configuration

<START TYPING HERE --- If this part is irrelevant state a reason for its absence.>

File Format

<START TYPING HERE --- If this part is irrelevant state a reason for its absence.>

Open Issues

none so far

Appendix

Acronyms and Abbreviations

Acronym / Abbreviation Definition

References

Reference Document Check Location (URL)
Specification Process Entry Check [passed/failed] n/a
Product Requirement, RFE, Issue ID (required) available

Possibility to put macros in *.odb files
Impossible to bind a macro to an OpenOffice.org Base document
RFE: add database specific event for macros to the database

Test case specification (required) not available

Contacts

Role Name
Developer Frank Schönheit
Quality Assurance Marc Neumann
Documentation Uwe Fischer
User Experience Bettina Haberer
Personal tools