forked from amazingfate/loongoffice
Change-Id: I0a8ce634944df4af5c9e2000af5f6429b4e40b2e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119097 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
13 lines
466 B
Markdown
13 lines
466 B
Markdown
# 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.
|