[PATCH] minor around python and SDK
Laurent Godard
lgodard.libre at laposte.net
Thu Dec 8 08:24:33 PST 2011
- add Python as available language desc. in SDK homepage
- add a readme file to toolpanel example
---
odk/examples/examples.html | 4 ++--
odk/examples/python/toolpanel/readme | 13 +++++++++++++
odk/index.html | 6 +++---
3 files changed, 18 insertions(+), 5 deletions(-)
create mode 100644 odk/examples/python/toolpanel/readme
diff --git a/odk/examples/examples.html b/odk/examples/examples.html
index 0c9c6b1..9ced1e1 100644
--- a/odk/examples/examples.html
+++ b/odk/examples/examples.html
@@ -38,7 +38,7 @@
<tr>
<td colspan="3">
<p>The SDK provides a rich set of examples in different programming
- languages (Java, C++, OpenOffice.org %PRODUCT_RELEASE% Basic, OLE) to illustrate the use
+ languages (Java, Python, C++, OpenOffice.org %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 OpenOffice.org %PRODUCT_RELEASE%.<br>
@@ -399,7 +399,7 @@
</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="cell80">This extension illustrates how to create a ToolPanel in Calc.</td>
+ <td class="cell80">This proof of concept extension illustrates how to create a ToolPanel in Calc.</td>
</tr>
<tbody>
</table>
diff --git a/odk/examples/python/toolpanel/readme b/odk/examples/python/toolpanel/readme
new file mode 100644
index 0000000..1139438
--- /dev/null
+++ b/odk/examples/python/toolpanel/readme
@@ -0,0 +1,13 @@
+
+This extension is a Proof of concept on implementing Toolpanel in Python
+
+- make will create the oxt
+ - provided sdk environnement is set
+ - alternatively zip the files and name it toolpanel.oxt
+- install it
+- activate Task Panes in menu (check View > Task Pane menu)
+- enjoy !
+
+The events of the controls (Click me button) in the task pane are handled by basic macro code to illustrate that Toolpanel definition and events codes are indepedant. One could use any language to react on events
+
+Then focus only on .py and xml files for the toolpanel activation analysis
diff --git a/odk/index.html b/odk/index.html
index 2a9c57e..f1baa8a 100644
--- a/odk/index.html
+++ b/odk/index.html
@@ -47,9 +47,9 @@
with new functions.</p>
<p>The SDK provides the basic building blocks for external developers
to develop components in any language for which a binding exists.
- Currently, there are language bindings for LibreOffice %PRODUCT_RELEASE% Basic, Java,
+ Currently, there are language bindings for LibreOffice %PRODUCT_RELEASE% Basic, Java, Python,
and different C++ compilers on different platforms, for LibreOffice %PRODUCT_RELEASE%,
- thus covering the two most commonly used programming languages. There
+ thus covering the most commonly used programming languages. There
will be no limit for office automation in heterogeneous environments.
Currently supported platforms of the SDK are Linux, Solaris (sparc,
x86), and Windows.</p>
@@ -125,7 +125,7 @@
<td class="content4"><img src="docs/images/arrow-1.gif"></td>
<td colspan="2"><a href="examples/examples.html" title="link to the examples overview page">Examples</a></td>
<td class="content70">A collection of examples in different
- programming languages (Java, C++, Basic, OLE, CLI).</td>
+ programming languages (Java, Python, C++, Basic, OLE, CLI).</td>
</tr>
<tr valign="middle">
<td><img class="nothing10" src="docs/images/nada.gif"></td>
--
1.7.1
--------------080600060707020605060601--
More information about the LibreOffice
mailing list