Text Documents (Writer)
HTML Documents (Writer Web)
Spreadsheets (Calc)
Presentations (Impress)
Drawings (Draw)
Database Functionality (Base)
Formulae (Math)
Charts and Diagrams
Macros and Scripting
Office Installation
Common Help Topics
OneOffice Logo

Macro Toolbar

The Macro Toolbar contains commands to create, edit and run macros.

Library

Select the library that you want to edit. The first module of the library that you select is displayed in the Basic IDE.

Library List Box

Compile

Compiles the Basic macro. You need to compile a macro after you make changes to it, or if the macro uses single or procedure steps.

Compile

Run

Runs the first macro of the current module.

Run

Stop

Stops running the current macro. You can also press Shift+Ctrl+Q.

Stop

Procedure Step

Runs the macro and stops it after the next procedure.

Procedure Step

Single Step

Runs the macro and stops it after the next command.

Single Step

Step Out

Jumps back to the previous routine in the current macro.

Step Out

Breakpoint

Inserts a breakpoint in the program line.

Breakpoint

Manage Breakpoints

Calls a dialogue box to manage breakpoints.

Manage Breakpoints

Enable Watch

Click this icon to view the variables in a macro. The contents of the variable are displayed in a separate window.

Enable Watch

Object Catalogue

Opens the Objects pane, where you can view Basic objects.

Object Catalogue

Macros

Opens the Macro dialogue box.

Macros

Modules

Click here to open the Macro Organiser dialogue box.

Modules

Find Parentheses (Round Brackets)

Highlights the text that is enclosed by two corresponding brackets. Place the text cursor in front of an opening or closing bracket and then click this icon.

Find Parentheses (Round Brackets)

Insert Source Text

Opens the Basic source text in the Basic IDE window.

Insert source text

Save Source As

Saves the source code of the selected Basic macro.

Save Source As

Import Dialog

Calls an "Open" dialogue box to import a BASIC dialog file.

If the imported dialog has a name that already exists in the library, you see a message box where you can decide to rename the imported dialog. In this case the dialog will be renamed to the next free "automatic" name like when creating a new dialog. Or you can replace the existing dialog by the imported dialog. If you click Cancel the dialog is not imported.

Dialogs can contain localisation data. When importing a dialog, a mismatch of the dialogs' localisation status can occur.

If the library contains additional languages compared to the imported dialog, or if the imported dialog is not localised at all, then the additional languages will silently be added to the imported dialog using the strings of the dialog's default locale.

If the imported dialog contains additional languages compared to the library, or if the library is not localised at all, then you see a message box with Add, Omit, and Cancel buttons.

  • Add: The additional languages from the imported dialog will be added to the already existing dialog. The resources from the library's default language will be used for the new languages. This is the same as if you add these languages manually.
  • Omit: The library's language settings will stay unchanged. The imported dialog's resources for the omitted languages are not copied into the library, but they remain in the imported dialog's source files.

Import Dialog

Export Dialog

In the dialog editor, this command calls a "Save as" dialog to export the current BASIC dialog.

Export Dialog