OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
OpenOffice.org BASIC Guide - OpenOffice.org wiki
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
About <strong>OpenOffice</strong>.<strong>org</strong> Basic<br />
and allows these to be created, saved, modified, and printed.<br />
The Dialog Editor: Creates personal dialog windows and provides scope for the adding of control elements<br />
and event handlers.<br />
Note – VBA : Compatibility between <strong>OpenOffice</strong>.<strong>org</strong> Basic and VBA relates to the <strong>OpenOffice</strong>.<strong>org</strong> Basic<br />
language as well as the runtime library. The <strong>OpenOffice</strong>.<strong>org</strong> API and the Dialog Editor are not compatible with<br />
VBA (standardizing these interfaces would have made many of the concepts provided in <strong>OpenOffice</strong>.<strong>org</strong><br />
impossible).<br />
Intended Users of <strong>OpenOffice</strong>.<strong>org</strong> Basic<br />
The scope of application for <strong>OpenOffice</strong>.<strong>org</strong> Basic begins where the standard functions of <strong>OpenOffice</strong>.<strong>org</strong> end.<br />
Routine tasks can therefore be automated in <strong>OpenOffice</strong>.<strong>org</strong> Basic, links can be made to other programs — for<br />
example to a database server — and complex activities can be performed at the press of a button by using<br />
predefined scripts.<br />
<strong>OpenOffice</strong>.<strong>org</strong> Basic offers complete access to all <strong>OpenOffice</strong>.<strong>org</strong> functions, supports all functions, modifies<br />
document types, and provides options for creating personal dialog windows.<br />
Use of <strong>OpenOffice</strong>.<strong>org</strong> Basic<br />
<strong>OpenOffice</strong>.<strong>org</strong> Basic can be used by any <strong>OpenOffice</strong>.<strong>org</strong> user without any additional programs or aids. Even in<br />
the standard installation, <strong>OpenOffice</strong>.<strong>org</strong> Basic has all the components needed to create its own Basic macros,<br />
including:<br />
The integrated development environment (IDE) which provides an editor for creating and testing macros.<br />
The interpreter, which is needed to run <strong>OpenOffice</strong>.<strong>org</strong> Basic macros.<br />
The interfaces to various <strong>OpenOffice</strong>.<strong>org</strong> applications, which allow for direct access to Office documents.<br />
More Information<br />
The components of the <strong>OpenOffice</strong>.<strong>org</strong> API that are discussed in this guide were selected based on their practical<br />
benefits for the <strong>OpenOffice</strong>.<strong>org</strong> Basic programmer. In general, only parts of the interfaces are discussed. For a<br />
more detailed picture, see the API reference.<br />
The Developer's <strong>Guide</strong> describes the <strong>OpenOffice</strong>.<strong>org</strong> API in more detail than this guide, but is primarily intended<br />
for Java and C++ programmers. Anyone who is already familiar with <strong>OpenOffice</strong>.<strong>org</strong> Basic programming can<br />
find additional information in the Developer's <strong>Guide</strong> on <strong>OpenOffice</strong>.<strong>org</strong> Basic and <strong>OpenOffice</strong>.<strong>org</strong><br />
programming.<br />
Programmers who want to work directly with Java or C++ rather than <strong>OpenOffice</strong>.<strong>org</strong> Basic should consult the<br />
<strong>OpenOffice</strong>.<strong>org</strong> Developer's <strong>Guide</strong> instead of this guide. <strong>OpenOffice</strong>.<strong>org</strong> programming with Java or C++ is a<br />
considerably more complex process than programming with <strong>OpenOffice</strong>.<strong>org</strong> Basic.<br />
8 <strong>OpenOffice</strong>.<strong>org</strong> 3.2 <strong>BASIC</strong> <strong>Guide</strong> · March 2010