summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/README
blob: a3877a34398a83709173b3a641cdf5c8086ef950 (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:
    python3.3
    from wizards.[Wizard's folder].CallWizard import CallWizard  
    CallWizard.callRemote()