summaryrefslogtreecommitdiffstats
path: root/odk/examples/python/DocumentLoader/README.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:06:44 +0000
commited5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch)
tree7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /odk/examples/python/DocumentLoader/README.md
parentInitial commit. (diff)
downloadlibreoffice-upstream.tar.xz
libreoffice-upstream.zip
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'odk/examples/python/DocumentLoader/README.md')
-rw-r--r--odk/examples/python/DocumentLoader/README.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/odk/examples/python/DocumentLoader/README.md b/odk/examples/python/DocumentLoader/README.md
new file mode 100644
index 000000000..d95c933ab
--- /dev/null
+++ b/odk/examples/python/DocumentLoader/README.md
@@ -0,0 +1,12 @@
+# DocumentLoader
+This example is somehow similar to DocumentLoader in C++ and Java.
+to get started, first start LibreOffice listening on port 2083
+
+ $OFFICE_PROGRAM_PATH/soffice "--accept=socket,port=2083;urp;"
+
+The syntax to run this example is:
+
+ $OFFICE_PROGRAM_PATH/python DocumentLoader.py <path>
+
+You should use 'setsdkenv_unix' for Unix/Linux and setsdkenv_windows.bat for Windows. In this way,
+the LibreOffice internal Python interpreter will be used.