Basic in UNO and OpenOffice.org |
Basic is a scripting language directly integrated in OpenOffice.org. OpenOffice.org is based on the language independent component model UNO. In the moment it's not possible write components in Basic. But already existing components and the complete OpenOffice.org API based on UNO can be accessed from Basic.
The following list contains some sources that explain how Basic can be used for accessing UNO.
- The general functionality of StarBasic is described in the OpenOffice.org online help system.
- Description of the UNO/Basic language binding: Developers guide , chapter ProfessionalUNO.pdf, paragraph 3.4.4 Basic. This document is part of the UNO Developer Manual. Although only the Basic chapter contains explicit information about UNO programming with Basic, the whole document can also be useful for Basic programmers as a general UNO development overview.
- API related information about the Basic programming language:
UsingBasic.xml
(this DRAFT document will become part of the UNO Developer Manual). * - The Integrated development Environment used to write Basic programs and to design
dialogs the can be used from Basic is described in:
BasicIDE.xml
(this DRAFT document will become part of the UNO Developer Manual). * - Description of the toolkit controls that are used to create Basic dialogs and the
corresponding API:
ToolkitControls.xml
(this DRAFT document will become part of the UNO Developer Manual). * - The organisation of Basic libraries and the corresponding API is described in:
BasicLibraries.xml
(this DRAFT document will become part of the UNO Developer Manual). * - A simple UNO developers guide can be found here:
Tutorial.pdf.
This is an older document and refers to the UNO API in StarOffice 5.2 but in general it's still valid for StarOffice 6.0 / OpenOffice.org.
* All DRAFT documents are stored in a special flat XML format that needs a special filter to read them (for details see guideline.html). The flat XML format doesn't contain pictures but only links to pictures. So also some image files (located in the same cvs directory) may be needed to display the according documents correctly.