Skip to content
Samuel Mehrbrodt edited this page Jan 19, 2023 · 8 revisions

Table of Contents

Welcome to the noa-libre wiki!

 NOA-libre is a object-oriented Java wrapper around the LibreOffice/OpenOffice.org API (middleware) which is called UNO.

Getting started with NOA

Hello World in SWT/JFace How to embed OpenOffice.org Writer in a SWT application

Hello World in SWING How to embed OpenOffice.org Writer in a SWING application

Spreadsheet A snippet how to use NOA with OpenOffice.org Calc

Spreadsheet+Swing complete sourece how to place a spreadsheet in a SWING application

Search and replace test within a writer document

Change the font of a paragraph

Find out where OpenOffice is installed

Intermediate writer topics

Specify OpenOffice start arguments

Setting the native library path (libnativeview.so/nativeview.dll) of NOA 2.2 to something different than "lib"

Prevent quitting openoffice

Show and hide menu bars and other GUI elements

Calc and presenter

Have borders in spread sheets

Have additional sheets in spread sheets

Find text in spread sheets

Advanced spread sheets methods

Export every slide of a presentation ... as JPEG

Advanced writer topics

Show print preview

Zooming text documents

To select a printer or change the number of copies you can use a bit of UNO

Appending writer documents after one another

Search for a string and change it's font attributes

Substitute OpenOffice's save routine with a custom defined one

Delete paragraphs except the ones with tables

Get current page and jump to other pages

Open a writer document read only

Change the font attributes between two different search occurences

Adding Hyperlinks in text tables

Reroute some key events to the java application embedding the openoffice frame

Add a toolbar icon to openoffice

Make hidden document visible

Get OpenOffice.org Setup information such as version or locale

Create a placeholder and insert it into the text document

Replacing placeholders

Change the value of a variable

Change the value of a form text field

Convert linked images (text graphic objects) into embedded ones

Embed open office in an applet

Applications using NOA

Alternatives

  • Of course you can use UNO directly http://api.libreoffice.org/
  • UNOHelper is a lightweight wrapper around UNO API
  • http://www.jopendocument.org/ might help you parse/display/generate/convert LibreOffice files without a LibreOffice installation
  • "WebODF is a JavaScript library that makes it easy to add Open Document Format (ODF) support to your website and to your mobile or desktop application"