blob: 2d7bcbced36562d7bb9a71372e578aee1f2ef670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
To call a wizard remotely you need to:
-> For testing on core:
export URE_BOOTSTRAP="file:///home/'USER'/git/libo/install/program/fundamentalrc"
export PYTHONPATH=/home/'USER'/git/libo/install/program
#and run LibreOffice in listening mode:
./soffice --"accept=socket,host=localhost,port=2002;urp;"
-> For testing on installed LibreOffice:
export URE_BOOTSTRAP="file:///usr/lib/libreoffice/program/fundamentalrc"
export PYTHONPATH=/usr/lib/libreoffice/program
#and run LibreOffice in listening mode:
soffice --"accept=socket,host=localhost,port=2002;urp;"
-> Launch the wizard from wizards parent folder:
python3.3
from wizards.[Wizard's folder].CallWizard import CallWizard
CallWizard.callRemote()
|