In order to connect the following client programs to the running office server, before running those
programs, you should invoke the office with the following command:
You could also customize the mentioned host and port to your needs.
| Example |
Description |
| CalcAddins |
This component adds new functions to the spreadsheet application. After registering the
component, the inserted functions can be found with help of the functions autopilot.
The new functions are assigned to the category Add-in.
|
| Car |
The component Car is a very simple, but complete component, which simulates the
driving, acceleration, and braking of a car. Moreover, the component demonstrates the use
of properties and their listeners.
|
| ConverterServlet |
This servlet shows you, how to convert arbitrary documents on a remote running office server.
The converted document will be pushed from the web server to the client browser.
|
| DocumentConverter |
Here, the program offers a service, which converts arbitrary documents to a favored document type.
|
| DocumentLoader |
The DocumentLoader can open a new or an existing document.
|
| DocumentPrinter |
The DocumentPrinter allows you to print your favored pages of a specified document on
your favored printer.
|
| DocumentSaver |
The DocumentSaver shows you, how to save a document. Furthermore, you can change the type of
your document.
|
| GraphicsInserter |
The GraphicsInserter creates a graphics object on an empty text document by setting its position,
width, height, and URL.
|
| Inspector |
The Instance Inspector is primarily an auxiliary tool for developer, which can present
information about an object of the Star Office API at run-time. Dependent on the object
to be inspected appropriate methods, interfaces, services, and attributes can be displayed
to the developer. The methods, interfaces, services and attributes are represented in a
predictable tree. If the attributes contained in an object are to be examined, the
appropriate nodes in the tree can be expanded with the help of the mouse. For each non
primitive object five categories are offered to the user, as far as those are available
with the object concerned.
|
| MinimalComponent |
This class provides a minimal UNO component. You can take this class as base for your own
components. By extensions of this class it is possible to extend also the function range of
the Office.
|
| NotesAccess |
This class creates a spreadsheet document and fills it with existing values of documents
from a Lotus Notes database.
|
| ToDo |
For every to-do listed in a spreadsheet document this component calculates the start date,
day of week of the start date, the end date and the day of week of the end date.
All calculations are dependent on the values of "Needed Days", "Due Date"
and "Status". The columns "Needed Days" and "Status" are mandatory.
The first to-do should be placed in row nine. The date to start the calculation should be
placed in cell C6. The private holidays should be placed in cell K4/K5 and below.
All rows will be calculated up to the first empty cell in the first column. If a cell in the
column "Due Date" will be colored red, you should take a look at your entries.
|
| WriterSelector |
This class gives you information on the selected objects (text range, text frame, or graphics)
at an OpenOffice.org Server.
|
| ChartTypeChange |
This class loads an [PRODUCTNAME] Calc document and changes the type of the embedded chart.
|
| EuroAdaption |
The application connects to the office server and gets the
multi service factory, opens an empty Calc document, enters an example text, sets the
number format to DM, changes the number format to EUR (Euro), and uses the DM/EUR factor on
each cell with a content.
|
| SCalc |
The program connects to the office server and gets the
multi service factory. Then an empty calc document will be opened, cell styles will be
created, some data will be inserted into the sheets, and the created cell styles will be applied.
Finally, a 3D chart will be inserted.
|
| SDraw |
This program connects to the office server and gets the
multi service factory. Afterwards, an empty text document will be created and some shapes
will be inserted on the draw page.
|
| BookmarkInsertion |
This application connects to the office server and gets the
multi service factory. An empty text document will be opened and an example text will be
entered. After all some bookmarks will be inserted.
|
| HardFormatting |
This program connects to the office server and gets the
multi service factory. Furthermore, an empty text document will be opened, an example text
will be entered, some text attributes will be inspected, and the
PropertyState will be checked from the selection.
|
| SWriter |
The program connects to the office server and gets the
multi service factory. An empty text document will be created, some text will be entered,
and a text table, a colored text, and text frame will be inserted.
|
| StyleCreation |
The example connects to the office server and gets the
multi service factory. An empty text document will be opened, a new paragraph style will
be created, and applied.
|
| StyleInitialization |
The program connects to the office server and gets the
multi service factory. Thereafter, an empty text document will be opened and an example
text will be entered. The paragraph collection will be used, in order to apply a different
paragraph style on the paragraphs.
|
| TextDocumentStructure |
The application connects to the office server and gets the
multi service factory. An empty text document will be opened, an enumeration of all
paragraphs and an enumeration of all text portions will be created.
|
| TextReplace |
The example connects to the office server and gets the
multi service factory. An empty text document will be created, an example text will be
inserted, and some English spelled words will be replaced with US spelled words.
|
| DemoComponent |
This Java program is a demo component, which exports two services.
|
| PropTest |
Contains a component that provides property set interfaces by means of inheriting
com.sun.star.lib.uno.helper.ProperterSet.
|