Difference between revisions of "NL/Documentation/BASIC Guide"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Created page with "{{Documentation/BASICGuideTOC/v2 |ShowPrevNext=block |ShowPrevPage=none |NextPage=Documentation/BASIC Guide/Language }} {{DISPLAYTITLE:{{OOo}} BASIC Programming Guide}} __NOTO...")
 
(Over {{OOo}} Basic)
Line 30: Line 30:
 
==Over {{OOo}} Basic==
 
==Over {{OOo}} Basic==
  
The {{OOo}} Basic programming language has been developed especially for {{OOo}} and is firmly integrated in the Office package.
+
De programmeertaal {{OOo}} BASIC is speciaal ontwikkeld voor {{OOo}} en is stevig geïntegreerd in het kantoorpakket.
  
As the name suggests, {{OOo}} Basic is a programming language from the Basic family. Anyone who has previously worked with other Basic languages — in particular with Visual Basic or Visual Basic for Applications (VBA) from Microsoft — will quickly become accustomed to {{OOo}} Basic. Large sections of the basic constructs of {{OOo}} Basic are compatible with Visual Basic.
+
Zoals de naam al suggereert is {{OOo}} BASIC een programmeertaal uit de BASIC-familie. Iedereen die eerder heeft gewerkt met andere talen van BASIC — in het bijzonder met Visual Basic of Visual Basic for Applications (VBA) van Microsoft — zal snel gewend raken aan {{OOo}} BASIC. Grote delen van de basisconstructies van {{OOo}} BASIC zijn vergelijkbaar met Visual Basic.
  
The {{OOo}} Basic programming language can be divided into four components:
+
De programmeertaal {{OOo}} BASIC kan wordne opgedeeld in vier componenten:
  
* The language of {{OOo}} Basic: Defines the elementary linguistic constructs, for example, for variable declarations, loops, and functions.
+
* De taal van {{OOo}} BASIC: Definieert de elementaire taalkundige constructies, bijvoorbeeld voor het declareren van variabelen, loops en functies.
* The runtime library: Provides standard functions which have no direct reference to {{OOo}}, for example, functions for editing numbers, strings, date values, and files.
+
* De Runtime-bibliotheek: Biedt standaard functies die niet direct verwijzen naar {{OOo}}, bijvoorbeeld functies voor het bewerken van getallen, tekenreeksen, datumwaarden en bestanden.
* The {{OOo}} API (Application Programming Interface): Permits access to {{OOo}} documents and allows these to be created, saved, modified, and printed.
+
* De {{OOo}} API (Application Programming Interface): Maakt toegang mogelijk naar documenten van {{OOo}} en maken mogelijk dat deze worden gemaakt, opgeslagen, aangepast en afgedrukt.
* The Dialog Editor: Creates personal dialog windows and provides scope for the adding of control elements and event handlers.
+
* De bewerker voor dialoogvensters: Maakt persoonlijke dialoogvenster en verschaft het bereik voor het toevoegen van besturingselementen en afhandelaars voor gebeurtenissen.
  
{{Documentation/VBAnote|Compatibility between {{OOo}} Basic and VBA relates to the {{OOo}} Basic language as well as the runtime library. The {{OOo}} API and the Dialog Editor are not compatible with VBA (standardizing these interfaces would have made many of the concepts provided in {{OOo}} impossible).}}
+
{{Documentation/VBAnote|Compatibiliteit tussen {{OOo}} BASIC en VBA relateert aan de {{OOo}} BASIC-taal en ook naar de de runtime-bibliotheek. De {{OOo}} API en de Bewerker voor dialoogvensters zijn niet compatibel met VBA (standaardisering van deze interfaces zou veel van de concepten die worden verschaft in {{OOo}} onmogelijk hebben gemaakt).}}
  
 
==Intended Users of {{OOo}} Basic==
 
==Intended Users of {{OOo}} Basic==

Revision as of 18:42, 10 January 2013


PDF Icon.gif Download as a PDF or ODT


Deze gids verschaft een introductie in het programmeren met Apache OpenOffice BASIC. Om het meeste uit dit boekwerk te halen, zou u bekend moeten zijn met andere programmeertalen. Uitgebreide voorbeelden worden verschaft om u te helpen om snel uw eigen Apache OpenOffice BASIC-programma's te ontwikkelen.

Template:Documentation/Tip

Deze gids verdeelt de informatie over het beheer van Apache OpenOffice in verschillende hoofdstukken. De eerste drie hoofdstukken introduceren u met Apache OpenOffice BASIC:

Deze hoofdstukken bieden een overzicht van Apache OpenOffice BASIC en zouden door iedereen moeten worden gelezen door iedereen die van plan is programma's met Apache OpenOffice BASIC te schrijven. De resterende hoofdstukken beschrijven de individuele componenten van de Apache OpenOffice API meer in detail en kunnen, indien nodig, selectief wordne gelezen:

Over Apache OpenOffice Basic

De programmeertaal Apache OpenOffice BASIC is speciaal ontwikkeld voor Apache OpenOffice en is stevig geïntegreerd in het kantoorpakket.

Zoals de naam al suggereert is Apache OpenOffice BASIC een programmeertaal uit de BASIC-familie. Iedereen die eerder heeft gewerkt met andere talen van BASIC — in het bijzonder met Visual Basic of Visual Basic for Applications (VBA) van Microsoft — zal snel gewend raken aan Apache OpenOffice BASIC. Grote delen van de basisconstructies van Apache OpenOffice BASIC zijn vergelijkbaar met Visual Basic.

De programmeertaal Apache OpenOffice BASIC kan wordne opgedeeld in vier componenten:

  • De taal van Apache OpenOffice BASIC: Definieert de elementaire taalkundige constructies, bijvoorbeeld voor het declareren van variabelen, loops en functies.
  • De Runtime-bibliotheek: Biedt standaard functies die niet direct verwijzen naar Apache OpenOffice, bijvoorbeeld functies voor het bewerken van getallen, tekenreeksen, datumwaarden en bestanden.
  • De Apache OpenOffice API (Application Programming Interface): Maakt toegang mogelijk naar documenten van Apache OpenOffice en maken mogelijk dat deze worden gemaakt, opgeslagen, aangepast en afgedrukt.
  • De bewerker voor dialoogvensters: Maakt persoonlijke dialoogvenster en verschaft het bereik voor het toevoegen van besturingselementen en afhandelaars voor gebeurtenissen.
Documentation note.png VBA : Compatibiliteit tussen Apache OpenOffice BASIC en VBA relateert aan de Apache OpenOffice BASIC-taal en ook naar de de runtime-bibliotheek. De Apache OpenOffice API en de Bewerker voor dialoogvensters zijn niet compatibel met VBA (standaardisering van deze interfaces zou veel van de concepten die worden verschaft in Apache OpenOffice onmogelijk hebben gemaakt).


Intended Users of Apache OpenOffice Basic

The scope of application for Apache OpenOffice Basic begins where the standard functions of Apache OpenOffice end. Routine tasks can therefore be automated in Apache OpenOffice Basic, links can be made to other programs — for example to a database server — and complex activities can be performed at the press of a button by using predefined scripts.

Apache OpenOffice Basic offers complete access to all Apache OpenOffice functions, supports all functions, modifies document types, and provides options for creating personal dialog windows.

Use of Apache OpenOffice Basic

Apache OpenOffice Basic can be used by any Apache OpenOffice user without any additional programs or aids. Even in the standard installation, Apache OpenOffice Basic has all the components needed to create its own Basic macros, including:

  • The integrated development environment (IDE) which provides an editor for creating and testing macros.
  • The interpreter, which is needed to run Apache OpenOffice Basic macros.
  • The interfaces to various Apache OpenOffice applications, which allow for direct access to Office documents.

More Information

The components of the Apache OpenOffice API that are discussed in this guide were selected based on their practical benefits for the Apache OpenOffice Basic programmer. In general, only parts of the interfaces are discussed. For a more detailed picture, see the API reference.

The Developer's Guide describes the Apache OpenOffice API in more detail than this guide, but is primarily intended for Java and C++ programmers. Anyone who is already familiar with Apache OpenOffice Basic programming can find additional information in the Developer's Guide on Apache OpenOffice Basic and Apache OpenOffice programming. Advanced programmers may wish to consult Iannz's tutorial.

Programmers who want to work directly with Java or C++ rather than Apache OpenOffice Basic should consult the Apache OpenOffice Developer's Guide instead of this guide. Apache OpenOffice programming with Java or C++ is a considerably more complex process than programming with Apache OpenOffice Basic.


Content on this page is licensed under the Public Documentation License (PDL).
Personal tools