summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/README
blob: c0351e910ce0ac0f06c56a6a34a44b30b1e1af69 (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/basis-link/program
    #and run LibreOffice in listening mode:
    soffice --"accept=socket,host=localhost,port=2002;urp;"
      
-> Launch the wizard from wizards parent folder:
    python
    from wizards.[Wizard's folder].CallWizard import CallWizard
    CallWizard.callRemote()