#88337# Inserted example Minimal Component.

This commit is contained in:
Bertram Nolte 2001-11-23 10:42:12 +00:00
parent c202f7951a
commit f28cdb80bc

View file

@ -164,53 +164,53 @@
<td width="76%" valign="top"><b>Description</b></td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/CalcAddins/">CalcAddins</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/CalcAddins/">CalcAddins</a></td>
<td width="76%" valign="top">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 <i>Add-in</i>.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/Car/">Car</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/Car/">Car</a></td>
<td width="76%" valign="top">The component <i>Car</i> 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.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/ConverterServlet/">ConverterServlet</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/ConverterServlet/">ConverterServlet</a></td>
<td width="76%" valign="top">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.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"> <a href="java/DocumentConverter/">DocumentConverter</a></td>
<td width="24%" valign="top"> <a href="http://api.openoffice.org/source/browse/api/odk/examples/java/DocumentConverter/">DocumentConverter</a></td>
<td width="76%" valign="top">Here, the program offers a service, which
converts arbitrary documents to a favored document type.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/DocumentLoader/">DocumentLoader</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/DocumentLoader/">DocumentLoader</a></td>
<td width="76%" valign="top">The <i>DocumentLoader</i> can open a new
or an existing document.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/DocumentPrinter/">DocumentPrinter</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/DocumentPrinter/">DocumentPrinter</a></td>
<td width="76%" valign="top">The <i>DocumentPrinter</i> allows you to
print your favored pages of a specified document on your favored printer.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/DocumentSaver/">DocumentSaver</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/DocumentSaver/">DocumentSaver</a></td>
<td width="76%" valign="top">The DocumentSaver shows you, how to save
a document. Furthermore, you can change the type of your document.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/GraphicsInserter/">GraphicsInserter</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/GraphicsInserter/">GraphicsInserter</a></td>
<td width="76%" valign="top">The GraphicsInserter creates a graphics
object on an empty text document by setting its position, width, height,
and URL.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"> <a href="java/Inspector/">Inspector</a></td>
<td width="24%" valign="top"> <a href="http://api.openoffice.org/source/browse/api/odk/examples/java/Inspector/">Inspector</a></td>
<td width="76%" valign="top">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
@ -223,20 +223,20 @@
those are available with the object concerned.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"> <a href="java/MinimalComponent/">MinimalComponent</a></td>
<td width="24%" valign="top"> <a href="http://api.openoffice.org/source/browse/api/odk/examples/java/MinimalComponent/">MinimalComponent</a></td>
<td width="76%" valign="top">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.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/NotesAccess/">NotesAccess</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/NotesAccess/">NotesAccess</a></td>
<td width="76%" valign="top">This class creates a spreadsheet document
and fills it with existing values of documents from a Lotus Notes
database.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/ToDo/">ToDo</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/ToDo/">ToDo</a></td>
<td width="76%" valign="top"> 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.
@ -251,18 +251,18 @@
red, you should take a look at your entries.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/WriterSelector/">WriterSelector</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/WriterSelector/">WriterSelector</a></td>
<td width="76%" valign="top">This class gives you information on the
selected objects (text range, text frame, or graphics) at an OpenOffice.org
Server.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/calc/ChartTypeChange/">ChartTypeChange</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/calc/ChartTypeChange/">ChartTypeChange</a></td>
<td width="76%" valign="top">This class loads an OpenOffice.org Calc
document and changes the type of the embedded chart.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/calc/">EuroAdaption</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/calc/">EuroAdaption</a></td>
<td width="76%" valign="top">The application connects to the office
server and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>, opens an empty Calc document, enters an example
@ -270,7 +270,7 @@
(Euro), and uses the DM/EUR factor on each cell with a content.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/calc/">SCalc</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/calc/">SCalc</a></td>
<td width="76%" valign="top">The program connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. Then an empty calc document will be opened, cell
@ -279,21 +279,21 @@
be inserted.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/draw/">SDraw</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/draw/">SDraw</a></td>
<td width="76%" valign="top">This program connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. Afterwards, an empty text document will be created
and some shapes will be inserted on the draw page</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">BookmarkInsertion</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">BookmarkInsertion</a></td>
<td width="76%" valign="top">This application connects to the office
server and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. An empty text document will be opened and an
example text will be entered. After all some bookmarks will be inserted.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">HardFormatting</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">HardFormatting</a></td>
<td width="76%" valign="top">This program connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. Furthermore, an empty text document will be opened,
@ -302,7 +302,7 @@
will be checked from the selection.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">SWriter</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">SWriter</a></td>
<td width="76%" valign="top">The program connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. An empty text document will be created, some
@ -310,14 +310,14 @@
will be inserted.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">StyleCreation</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">StyleCreation</a></td>
<td width="76%" valign="top">The example connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. An empty text document will be opened, a new
paragraph style will be created, and applied.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">StyleInitialization</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">StyleInitialization</a></td>
<td width="76%" valign="top">The program connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. Thereafter, an empty text document will be opened
@ -325,7 +325,7 @@
be used, in order to apply a different paragraph style on the paragraphs.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">TextDocumentStructure</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">TextDocumentStructure</a></td>
<td width="76%" bgcolor="#f0f0f0" valign="top">The application connects
to the office server and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. An empty text document will be opened, an enumeration
@ -333,7 +333,7 @@
created. </td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/writer/">TextReplace</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/writer/">TextReplace</a></td>
<td width="76%" valign="top">The example connects to the office server
and gets the <a href="http://api.openoffice.org/common/ref/com/sun/star/lang/XMultiServiceFactory.html">multi
service factory</a>. An empty text document will be created, an example
@ -341,7 +341,7 @@
with US spelled words.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="java/com/sun/star/comp/demo/">DemoComponent</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/java/com/sun/star/comp/demo/">DemoComponent</a></td>
<td width="76%" valign="top">This Java program is a demo component,
which exports two services.</td>
</tr>
@ -429,7 +429,7 @@
<td width="76%" valign="top"><b>Description</b></td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Changing
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Changing
Appearance</font></a></td>
<td width="76%" valign="top">To change the style used for certain words,
you can start with the following example. This code searches for the
@ -442,7 +442,7 @@
from an open text document.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Replacing
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Replacing
Text</font></a></td>
<td width="76%" valign="top">
<p>If you regularly receive documents from other people for editing,
@ -456,7 +456,7 @@
</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Using
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Using
Regular Expressions</font></a></td>
<td width="76%" valign="top">
<p>Another application of automatic text modification is related to
@ -476,7 +476,7 @@
</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Inserting
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/text/modifying_text_automatically/" target="_blank"><font face="Times New Roman, serif">Inserting
Bookmarks</font></a></td>
<td width="76%" valign="top">
<p>The next example does something very similar. This time, however,
@ -495,7 +495,7 @@
</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/text/creating_an_index/" target="_blank"><font face="Times New Roman, serif">Creating
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/text/creating_an_index/" target="_blank"><font face="Times New Roman, serif">Creating
an Index</font></a></td>
<td width="76%" valign="top">Indices for text documents can be created
manually in StarWriter by clicking on the words that shall appear
@ -503,7 +503,7 @@
indices for several documents, this task should be automated.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/sheet/" target="_blank"><font face="Times New Roman, serif">Adapting
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/sheet/" target="_blank"><font face="Times New Roman, serif">Adapting
to Euroland</font></a></td>
<td width="76%" valign="top">Most of the member of the European Union
will abandon their old currency in favor of the new Euro in 2001.
@ -514,7 +514,7 @@
string DM.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/drawing/" target="_blank"><font face="Times New Roman, serif">Import/Export
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/drawing/" target="_blank"><font face="Times New Roman, serif">Import/Export
of ASCII Files</font></a> </td>
<td width="76%" valign="top">You can use the drawing facilities of StarOffice
API to generate a picture from ASCII input. One application would
@ -522,7 +522,7 @@
textual data.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/stock_quotes_updater/" target="_blank"><font face="Times New Roman, serif">Stock
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/stock_quotes_updater/" target="_blank"><font face="Times New Roman, serif">Stock
Quotes Updater</font></a></td>
<td width="76%" valign="top">If you want to display stock charts for
certain companies, you can fire up your browser every day, go to Yahoo,
@ -536,7 +536,7 @@
and <font face="Courier New, Courier, mono">UpdateChart()</font>.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="basic/forms_and_controls/" target="_blank"><font face="Times New Roman, serif">Forms
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/basic/forms_and_controls/" target="_blank"><font face="Times New Roman, serif">Forms
and Controls</font></a></td>
<td width="76%" valign="top">The example document Burger Factory offers
you some forms and controls, which you can use to order your desired
@ -562,12 +562,13 @@
<td width="76%" valign="top"><b>Description</b></td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="OLE/vbscript/">WriterDemo</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/OLE/vbscript/">WriterDemo</a></td>
<td width="76%" valign="top">This Visual Basic Script creates an empty
text document and inserts text, a table, and a text frame.</td>
</tr>
<tr bgcolor="#f0f0f0">
<td width="24%" valign="top"><a href="OLE/delphi/">Inserting Tables</a></td>
<td width="24%" valign="top"><a href="http://api.openoffice.org/source/browse/api/odk/examples/OLE/delphi/">Inserting
Tables</a></td>
<td width="76%" valign="top">This Delphi program is an application,
which creates a connection to the StarOffice server and an empty text
document. Further on, you can insert tables specified by the table
@ -590,7 +591,7 @@
<TD WIDTH=50% BGCOLOR="#666699">
<P ALIGN=LEFT><FONT COLOR="#ffffff"> Author: <A HREF="mailto:Bertram.Nolte@sun.com"><FONT COLOR="#ffffff">Bertram
Nolte</FONT></A> (
<!-- #BeginDate format:IS1a -->2001-11-22 5:49 PM<!-- #EndDate -->
<!-- #BeginDate format:IS1a -->2001-11-23 11:29 AM<!-- #EndDate -->
)<BR>
<I>Copyright 2001 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto,
CA 94303 USA.</I></FONT> </P>