Script API

In this article

The whole API is under the namespace "Banana". The following objects can be accessed by the script at run time:

Banana.application

The object Banana.application represent the running application.

Banana.document

The object Banana.document represent the current document opened in the application. If any document is opened this object is of type Undefined.

Banana.Converter

The class Banana.Converter contains methods useful to convert data from and to various formats.

Banana.Report

The class Banana.Report enable you to create reports, preview and print them in Banana Accounting.

Banana.Ui

The class Banana.Ui contains predefined dialogs to interact with the user, and methods to load dialogs from .ui or .qml.

 

This documentation is outdated

Search in the latest documentation

The feature you are looking for is missing? Try the new version! Banana Accounting 9