summaryrefslogtreecommitdiff
path: root/wizards/com/sun/star/wizards/README
blob: 9ee28400481b3f5998d3f32f1cbc15ef23380ffd (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'/libreoffice-core/instdir/program/fundamentalrc"
    export PYTHONPATH=/home/'USER'/libreoffice-core/instdir/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()