diff options
Diffstat (limited to 'odk/examples/examples.html')
-rw-r--r-- | odk/examples/examples.html | 163 |
1 files changed, 81 insertions, 82 deletions
diff --git a/odk/examples/examples.html b/odk/examples/examples.html index d3b57c809b35..7086f8d5d0f3 100644 --- a/odk/examples/examples.html +++ b/odk/examples/examples.html @@ -19,9 +19,8 @@ <html> <head> <title>LibreOffice %PRODUCT_RELEASE% SDK - Examples</title> - <link rel="stylesheet" type="text/css" href="../docs/sdk_styles.css"> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <meta name="author" content="Jürgen Schmidt"> + <link rel="stylesheet" type="text/css" href="../docs/sdk_styles.css"/> + <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> </head> <body> <a name="exapmles"></a> @@ -41,16 +40,16 @@ Examples </h1> -<table class="table1" cellpadding=0> +<table class="table1" cellpadding="0"> <tr> - <td colspan="3"><img class="nothing10" src="../docs/images/nada.gif"></td> + <td colspan="3"><img class="nothing10" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> - <td colspan="3"><img class="nothing1" src="../docs/images/nada.gif"></td> + <td colspan="3"><img class="nothing1" src="../docs/images/nada.gif"/></td> </tr> <tr> <td> @@ -61,7 +60,7 @@ languages (Java, Python, C++, LibreOffice %PRODUCT_RELEASE% Basic, OLE) to illustrate the use of the API and demonstrate how to benefit from the included word processor, spreadsheet, presentation software, graphics program and - database of LibreOffice %PRODUCT_RELEASE%.<br> + database of LibreOffice %PRODUCT_RELEASE%.<br/> Some fo the examples need a running office instance listening on a port. If this is necessary you will get further information in the makefiles.</p> @@ -75,74 +74,75 @@ </td> </tr> <tr> - <td><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> </table> + </td> </tr> <tr> <td> <table class="table3"> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="DevelopersGuide/examples.html" title="link to the Developer's Guide examples overview page">Developer's Guide examples</a></td> <td class="content75">The <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OpenOffice.org_Developers_Guide" title="link to the Developer's Guide in the Wiki">Developer's Guide</a> comes with a rich set of examples which demonstrate the use of the API in the different application areas.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#Java_examples" title="link to the Java examples section">Java examples</a></td> <td class="content75">Set of simple and more complex examples which shows the use of the API from Java.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#python_examples" title="link to the Python examples section">Python examples</a></td> <td class="content75">Small set of examples which shows the use of the API from Python.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#Cpp_examples" title="link to the C++ examples section">C++ examples</a></td> <td class="content75">Small set of examples which shows the use of the API from C++.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#Basic_examples" title="link to the LibreOffice %PRODUCT_RELEASE% Basic examples section">LibreOffice %PRODUCT_RELEASE% Basic examples</a></td> <td class="content75">Small set of examples which shows the use of the API from LibreOffice %PRODUCT_RELEASE% Basic.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#OLE_examples" title="link to the OLE examples section">Object Linking and Embedding (OLE) examples</a></td> <td class="content75">Examples which show the use of the API from OLE.</td> </tr> <tr valign="top"> - <td class="content3"><img src="../docs/images/arrow-1.gif"></td> + <td class="content3"><img src="../docs/images/arrow-1.gif"/></td> <td><a href="#CLI_examples" title="link to the CLI examples section">Common Language Infrastructure (CLI) examples</a></td> <td class="content75">Examples which show the use of the API from the CLI.</td> </tr> - </table> + </table></td> </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="Java_examples">Java examples</td> + <td colspan="2" class="head1"><a name="Java_examples"/>Java examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> </table> @@ -216,7 +216,7 @@ objects (text range, text frame, or graphics) at a LibreOffice Server.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -255,7 +255,7 @@ and the created cell styles will be applied. Finally, a 3D chart will be inserted.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -273,7 +273,7 @@ the <a href="../docs/idl/ref/interfacecom_1_1sun_1_1star_1_1lang_1_1XMultiComponentFactory.html" title="link into the IDL reference to the interface com.sun.star.lang.XMultiComponentFactory"> multi component factory</a>. Afterwards, an empty text document will be created and some shapes will be inserted on the draw page.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -296,7 +296,7 @@ existing document.</td> </tr> <tr> - <td class="cell20"><a href="java/DocumentHandling/"title="link to the source directory of the Java DocumentHandling examples">DocumentPrinter</a></td> + <td class="cell20"><a href="java/DocumentHandling/" title="link to the source directory of the Java DocumentHandling examples">DocumentPrinter</a></td> <td class="cell80">The <i>DocumentPrinter</i> allows you to print the favored pages of a specified document on your favored printer.</td> </tr> @@ -305,7 +305,7 @@ <td class="cell80">The DocumentSaver shows how to save a document and how you can change the type of your document.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -351,7 +351,7 @@ 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.<br> + The private holidays should be placed in cell K4/K5 and below.<br/> All rows will be calculated up to the first empty cell in the first column. If a cell in the column "Due Date" is colored red, you should take a look at your entries.</td> @@ -360,7 +360,7 @@ <td class="cell20"><a href="java/EmbedDocument/EmbeddedObject" title="link to the source directory of the Java EmbeddedObject example">EmbeddedObject</a></td> <td class="cell80">Contains a component that provides an example of embedded object implementation.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -371,9 +371,9 @@ <td colspan="3"> <p>Additional information:</p> <p> - <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Simple_Component_in_Java" title="link to the "Simple component in Java" chapter in the Developer's Guide">How to write a UNO component in Java</a><br> - <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding" title="link to the "Java UNO Language Bnding" chapter in the Developer's Guide">Java UNO Language Binding</a><br> - <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Debugging" title="link to the "Debugging Java components" chapter in the Developer's Guide">Debugging Java components</a><br> + <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Simple_Component_in_Java" title="link to the "Simple component in Java" chapter in the Developer's Guide">How to write a UNO component in Java</a><br/> + <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/Java/Java_Language_Binding" title="link to the "Java UNO Language Bnding" chapter in the Developer's Guide">Java UNO Language Binding</a><br/> + <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Debugging" title="link to the "Debugging Java components" chapter in the Developer's Guide">Debugging Java components</a><br/> </p> </td> </tr> @@ -382,23 +382,23 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="python_examples">Python examples</td> + <td colspan="2" class="head1"><a name="python_examples"/>Python examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> <tr> @@ -416,10 +416,10 @@ <td class="cell80">Description</td> </tr> <tr> - <td class="cell20"><a href="python/toolpanel/"title="link to the source directory of the ToolPanel python axample">ToolPanelPoc</a></td> + <td class="cell20"><a href="python/toolpanel/" title="link to the source directory of the ToolPanel python axample">ToolPanelPoc</a></td> <td class="cell80">This proof of concept extension illustrates how to create a ToolPanel in Calc.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -436,23 +436,23 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="Cpp_examples">C++ examples</td> + <td colspan="2" class="head1"><a name="Cpp_examples"/>C++ examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> <tr> @@ -478,7 +478,7 @@ <td class="cell80">Description</td> </tr> <tr> - <td class="cell20"><a href="cpp/DocumentLoader/"title="link to the source directory of the C++ DocumentLoader example">DocumentLoader</a></td> + <td class="cell20"><a href="cpp/DocumentLoader/" title="link to the source directory of the C++ DocumentLoader example">DocumentLoader</a></td> <td class="cell80">This component works the same as the appropriate Java example, but is implemented in C++.</td> </tr> @@ -502,7 +502,7 @@ <td class="cell80">This example shows how to create a toolbar add-on with complex toolbar controls. It shows how to use an Image Button, a Combo Box, a Spin Field, an Edit Field, a Dropdown Box, a Toggle Dropdown Button and a normal Dropdown Button</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -513,8 +513,8 @@ <td colspan="3"> <p>Additional information:</p> <p> - <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/C%2B%2B/C%2B%2B_Component" title="link to the "How to write a UNO component in C++" chapter in the Developer's Guide">How to write a UNO component in C++</a><br> - <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C%2B%2B/C%2B%2B_Language_Binding" title="link to the "C++ UNO Language Binding" chapter in the Developer's Guide">C++ UNO Language Binding</a><br> + <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/C%2B%2B/C%2B%2B_Component" title="link to the "How to write a UNO component in C++" chapter in the Developer's Guide">How to write a UNO component in C++</a><br/> + <a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/ProUNO/C%2B%2B/C%2B%2B_Language_Binding" title="link to the "C++ UNO Language Binding" chapter in the Developer's Guide">C++ UNO Language Binding</a><br/> <a href="../docs/cpp/ref/index.html" title="link to the C++ API reference">C++ reference</a> </p> </td> @@ -524,23 +524,23 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="Basic_examples">LibreOffice %PRODUCT_RELEASE% Basic examples</td> + <td colspan="2" class="head1"><a name="Basic_examples"/>LibreOffice %PRODUCT_RELEASE% Basic examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> <tr> @@ -583,7 +583,7 @@ <td class="cell80">If you regularly receive documents from other people for editing, you might want to make sure that certain words are always written the same. The next example illustrates this by forcing certain - words to be spelled in American English.<br> + words to be spelled in American English.<br/> In order for this example to work, you must execute it from an open text document. For a real world application, it is a good idea to read the words from an external file.</td> @@ -591,12 +591,12 @@ <tr> <td class="cell20"><a href="basic/text/modifying_text_automatically/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/modifying_text_automatically examples">Using Regular Expressions</a></td> <td class="cell80">Another application of automatic text modification is - related to stylistic questions. Suppose your company’s policy is to + related to stylistic questions. Suppose your company’s policy is to avoid the use of certain words. You want to replace these words, but you cannot do that automatically because you have to find the appropriate replacement, which depends on the context. So instead of deleting or replacing the offending words automatically, you change their color to - make them stand out during a subsequent manual review process.<br> + make them stand out during a subsequent manual review process.<br/> The following example handles two kinds of unwanted wordings: those which are absolutely forbidden and must be replaced by something else, and those which are considered bad style. A subroutine is responsible @@ -618,7 +618,7 @@ <code>markList()</code>. Instead of changing the color of the current word, it creates a new bookmark, oBookmark, whose name is the current word with an integer appended. It then inserts this bookmark at the - word.</td> + word.</p></td> </tr> <tr> <td class="cell20"><a href="basic/text/creating_an_index/" title="link to the source directory of the LibreOffice %PRODUCT_RELEASE% Basic text/create_index example">Creating an Index</a></td> @@ -662,7 +662,7 @@ beverage, topping, and sauce. By hitting the button "Order now!", your order will be placed.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -679,23 +679,23 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="OLE_examples">Object Linking and Embedding (OLE) examples</td> + <td colspan="2" class="head1"><a name="OLE_examples"/>Object Linking and Embedding (OLE) examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> </table> @@ -717,7 +717,7 @@ so it can be used only in containers that allow the use of such controls. It can be activated with an <OBJECT> tag from a html-page to embed a document. Without any parameters a new writer document will be opened - for editing. For more details please see the <a href="OLE/activex/README.txt" title="link to the README file of the activex example">README</a>.<br> + for editing. For more details please see the <a href="OLE/activex/README.txt" title="link to the README file of the activex example">README</a>.<br/> Note: This example works only under windows and if you don't use the MS .Net C++ compiler please check the makefile and take notice of the comments.</td> @@ -727,7 +727,7 @@ <td class="cell80">This Visual Basic Script creates an empty text document and inserts text, a table, and a text frame.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -744,23 +744,23 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> <tr> - <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"></td> + <td colspan="3"><img class="line" src="../docs/images/sdk_line-1.gif"/></td> </tr> <tr> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> <td> <table class="table2"> <tr> <td> <table class="table3"> <tr> - <td colspan="2" class="head1"><a name="CLI_examples">Common Language Infrastructure (CLI) examples</td> + <td colspan="2" class="head1"><a name="CLI_examples"/>Common Language Infrastructure (CLI) examples</td> <td align="right"> - <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"></a> - <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"></a> + <a href="#examples" title="link to the examples overview"><img class="navigate" src="../docs/images/nav_up.png"/></a> + <a href="../index.html" title="link to the SDK start page"><img class="navigate" src="../docs/images/nav_home.png"/></a> </td> </tr> </table> @@ -786,7 +786,7 @@ <td class="cell80">This example is written in VB.NET. It creates a text document and inserts text, a table, and a text frame.</td> </tr> - <tbody> + </tbody> </table> </td> </tr> @@ -803,7 +803,7 @@ </tr> </table> </td> - <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"></td> + <td class="content1"><img class="nothing8" src="../docs/images/nada.gif"/></td> </tr> </table> </div> @@ -811,11 +811,11 @@ <div id="FooterText"> <p> Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved. - <br> + <br/> LibreOffice was created by The Document Foundation, based on Apache OpenOffice, which is Copyright 2011 The Apache Software Foundation. - <br> + <br/> The Document Foundation acknowledges all community members, please find more info <a href="http://www.libreoffice.org/about-us/credits/" target="_blank">at our website</a>. </p> <p> @@ -829,7 +829,6 @@ </div> </div> </div> + </div> </body> </html> -</body> -</html> |