Basic IDE Window

From Apache OpenOffice Wiki
Jump to: navigation, search

The Apache OpenOffice IDE is mainly represented by the Basic IDE window. The IDE window has two different modes:

  • The Basic editor mode displays and modifies Basic source code modules to control the debugging process and display the debugger output
  • The dialog editor mode displays and modifies dialogs.

Basic source code and dialogs are never displayed at the same time. The IDE window is in Basic editor or debugger, or in dialog editor mode. The following illustration shows the Basic IDE window in the Basic editor mode displaying Module2 of the application Standard library.

The Basic IDE window

The IDE window control elements common to the Basic editor and dialog editor mode are described below. The mode specific control elements are described in the corresponding subchapters Basic Source Editor and Debugger and Dialog Editor:

  • Clicking the Printer button in the main toolbar prints the displayed Basic module or dialog directly without displaying a printer dialog.
  • The Save button in the main toolbar behaves in two different ways depending on the library currently displayed in the IDE window.
    • If the library belongs to the application library container, the Save button saves all modified application libraries.
    • If the library belongs to a document, the Save button saves the document.
  • On the left-hand side of the toolbar, a Library list box shows the currently displayed library. The user can also modify the displayed library. In the example above, the Standard library of the application Basic ([My Macros & Dialogs].Standard) is displayed. The list box contains all the application and document libraries that are currently accessible. The user can select one to display it in the IDE window.
  • The tabs at the bottom of the IDE window indicate all the modules and dialogs of the active library. Clicking one of these tabs activates the corresponding module or dialog. If necessary, the IDE window switches from Basic editor to dialog editor mode or conversely. Right-clicking a tab opens a context menu:
    • Insert opens a sub menu to insert a new module or dialog.
    • Delete deletes the active module or dialog after confirmation by the user.
    • Rename changes the name of the active module or dialog.
    • Hide makes the active module or dialog invisible. It no longer appears as a tab flag, thus it cannot be activated. To activate, access it directly using the OpenOffice Basic Macros or OpenOffice Basic Macro Organizer dialog and clicking the Edit button.
    • Modules opens the OpenOffice Basic Macro Organizer dialog.
  • The status bar displays the following information:
    • The first cell on the left displays the fully qualified name of the active module or dialog in the notation LibraryContainer.LibraryName.<ModuleName | DialogName>.
    • The second cell displays an asterisk "*" indicating that at least one of the libraries of the active library container has been modified and requires saving.
    • The third cell displays the current position of the cursor in the Basic editor window.
    • The fourth cell displays "INSRT" if the Basic editor is in insertion mode and "OVER" if the Basic editor is in overwrite mode. The modes are toggled with the Insert key.
Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
In other languages