OpenOffice temporary template

From CDOT Wiki
Revision as of 17:04, 3 June 2010 by Xderick910 (talk | contribs)
Jump to: navigation, search


Introduction to OpenOffice Overview

OpenOffice Extensions


What are extensions? Writer extensions Calc extensions Base extensions Impress extensions Math extensions Draw extensions Chart extensions

How to install extensions

Using extensions

Developing extensions

Checklist for developing an extension

Preparing development environment


Install and SDK program and SDK can be installed through package manager program, such as apt-get, yum, merge and pacman. Also, several GUI font-end for package manager programs are available to make installation easier. On Ubuntu, Synaptic is good choice. YumEx is the best option on Fedora.

  • Ubuntu:
    • With aptitude: launch a terminal and enter following command
    sudo aptitude install
    If you want SDK examples and documentations, install as well.
    sudo aptitude install
    • With Synaptic: Go to menu: System -> Administration -> Synaptic Package Manager. Search openoffice, and click,, packages, then click Mark for Installation and hit Apply on toolbar.
  • Fedora:
    • With Yum:
    sudo yum install {package name}
    To-Do: replace {package name} with real package names under Fedora
    • With YumEx:
    YumEx does not come with distribution. You needed to be installed manually.
    sudo yum install yumex
    After installation, launch YumEx, search openoffice, select those packages and install.

Note: On Fedora, sudo is not set by default. You can add you account to wheel user group so that you can use sudo. Also, you may use su to change to root, and run yum to install packages.
Note: On Ubuntu, if you use program that comes with distribution, and try to install SDK that is downloaded from website, you may encounter dependency issue. You should the SDK that come with distribution.

Install NetBean, and Extension Development Plugin

NetBean can be installed through package manager as well. Package name is netbeans.


sudo aptitude install netbeans


sudo yum install netbeans

To-Do: need someone check if the packages name for Netbeans on Fedora is netbeans.

After installation, you can install development plugin in NetBean. Lunch NetBean, select Plugins under Tool menu. Then switch to Available Plugins tab, and install OOo API plugin. Finally, select Options under Tool menu, and go to Miscellaneous -> OOo API Plugins tab. Fill in the path to program and SDK. Path is provide in following section.

Install Eclipse and Extension Development Plugin

To-Do: guild on install setup Eclipse for OOo Extension Dev

Path to Program and SDK
  • Ubuntu:
    • Program: /usr/lib/openoffice
    • SDK: /usr/lib/openoffice/basis3.2/sdk
    • Examples: /usr/lib/openoffice/basis3.2/sdk/example
  • Mint:
    • Program: /usr/lib/openoffice
    • SDK: /usr/lib/openoffice/basis3.1/sdk
    • Examples: /usr/lib/openoffice/basis3.1/sdk/example

To-Do: need path on Fedora and others major disctros.


This is tutorial is to set up a Java development platform on Windows.

You will need the following software: SDK


Make sure you install OpenOffice and the SDK before running Netbeans.

First Open Netbeans and go to:

Tools -> Plugins

Go the Available Plugins tab and look for API Plugin and check the box beside it.

It will prompt you to install and click the Install button on the bottom of the list.

The plugin will install. To change the setting for the plugin go to:

Tools -> Options -> Miscellaneous -> OOo API Plugin

There you will see the directory path to the installation of both OO and The SDK. If you need to change it then you can make the corrections here.


Solaris ?

Programming languages for developing an extension






CLI SDK (Software Development Kit) API (Application Programming Interface)

UNO (Universal Network Objects)


Understanding UNO

UNO Concepts

UNO Concepts Developers Guide

  1. Introduction
  2. First Steps
  3. Professional UNO
  4. Writing UNO Components
  5. Extensions
  6. Advanced UNO
  7. Office Development
  8. Text Documents
  9. Spreadsheet Documents
  10. Drawing and Presentation
  11. Charts
  12. OOo Basic and Dialogs
  13. Database Access
  14. Forms
  15. Universal Control Broker
  16. Configuration Management
  17. Java Beans for Office Componets
  18. Accessibility
  19. Scripting Framework
  20. GUI
  21. Design Guidelines
  22. IDL Documentation Guidelines
  23. Universal Content Providers
  24. UNOIDL Syntax/Grammer

UNO Architecture

UNO Architecture Introduction

UNO Architecture Diagrams

Related technologies/ frameworks

Factory Pattern Design

UNO Interfaces

UNO Language Bindings


Creating a simple Hello World extension for Writer

Creating a simple extension for Calc

Creating a simple extension for Base

Creating a simple extension for Impress

Sample codes

sample code 1

sample code 2

sample code 3

Resources / Links

OpenOffice UX (User Experience)

under construction...

OpenOffice UI (User Interface)

under construction...

Resources / Links

Development Resources API site SDK site

Others Resources

Wiki Markup