OpenOffice.org
Development with
NetBeans
Steffen Grund
Software Engineer
Sun Microsystems GmbH, Hamburg
Sun Confidential: Internal Only
Agenda
•
Introduction
•
OpenOffice.org API plug in
•
Project Wizards
•
File Support
•
File Wizards
•
Actions
•
Outlook
•
Demonstration
•
Q & A
Sun Confidential: Internal Only
Introduction
•
NetBeans: powerful IDE for Java
•
OpenOffice.org programming in Java is popular
•
OpenOffice.org
plug in
for NetBeans
•
Lower initial learning barrier
Sun Confidential: Internal Only
OpenOffice.org plug in
•
Current Version: 1.1.0 with
>
Configuration
>
Context sensitive help
>
Project Wizards
>
File Support
>
File Wizards
>
Actions: create, deploy, debug
Sun Confidential: Internal Only
OpenOffice.org plug in
•
OpenOffice.org and OOo SDK installed
•
Logging directory (optional)
•
For NetBeans 5.5 and 5.5.1 in NetBeans update center, not
yet for NetBeans 6.0
•
Linux, Solaris, Windows, Mac (with limitations caused by
OOo)
Sun Confidential: Internal Only
Project Wizards
Available in OpenOffice.org folder
•
Client Application Wizard
>
create OpenOffice.org client
•
Component Wizard
>
general extension: implement a Service
•
AddOn Wizard
>
special extension: UI support
•
Calc AddIn Wizard
>
special extension: own functions for Calc
Sun Confidential: Internal Only
File Support
•
IDL file support: syntax highlighting
•
Configuration file support (xcu, xcs files):
syntax highlighting, auto completion
•
Support for description.xml:
own UI for:
>
Extension version and identifier
>
Dependencies
>
Update URL
>
Licenses
Sun Confidential: Internal Only
File Wizards
Available in OpenOffice.org folder
•
New configuration files: empty xcs and xcu files
•
Create new implementation object for existing Service or
Interface
•
New IDL file: all supported types available
>
Interface and Service:
create Java implementation object directly
Sun Confidential: Internal Only
Actions
•
Generally available from Context Menu
•
Compile single IDL file
•
Create oxt
•
Deploy oxt
•
Deploy oxt and run OpenOffice.org
•
Debug oxt
•
View extension properties (UI for description.xml)
Sun Confidential: Internal Only
Additional Features
•
Custom manifest
•
External jars
•
Project update to new plug in version
•
Ant targets to overwrite in build scripts
•
Central registration class
Sun Confidential: Internal Only
Outlook
•
specialized file wizards for adding to Calc AddIns and
AddOns
•
Help files for extensions
•
C++ support
•
Library API Wrapper Project Type
Sun Confidential: Internal Only
Resources
•
OpenOffice.org API plug in wiki page
>
http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration
•
Developer's Guide
>
http://api.openoffice.org/docs/DevelopersGuide/Extensions/Extensions.xhtml
Sun Confidential: Internal Only
Demonstration
Sun Confidential: Internal Only
Q & A
OpenOffice.org
Development with
NetBeans
Steffen Grund
Steffen.Grund@sun.com
Enter the password to open this PDF file:
File name:
-
File size:
-
Title:
-
Author:
-
Subject:
-
Keywords:
-
Creation Date:
-
Modification Date:
-
Creator:
-
PDF Producer:
-
PDF Version:
-
Page Count:
-
Preparing document for printing…
0%
Comments 0
Log in to post a comment