diff options
Diffstat (limited to 'wizards/com/sun')
-rw-r--r-- | wizards/com/sun/star/wizards/README | 19 | ||||
-rw-r--r-- | wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py | 4 |
2 files changed, 21 insertions, 2 deletions
diff --git a/wizards/com/sun/star/wizards/README b/wizards/com/sun/star/wizards/README new file mode 100644 index 000000000000..473282f17dc8 --- /dev/null +++ b/wizards/com/sun/star/wizards/README @@ -0,0 +1,19 @@ +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 + #Fax wizard + from wizards.fax.FaxWizardDialogImpl import FaxWizardDialogImpl + FaxWizardDialogImpl.main() diff --git a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py index 9252d0db4eb9..c1a8e48b7419 100644 --- a/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py +++ b/wizards/com/sun/star/wizards/fax/FaxWizardDialogImpl.py @@ -67,8 +67,8 @@ class FaxWizardDialogImpl(FaxWizardDialog): self.sTemplatePath = "" @classmethod - def main(self, args): - #Call the wizard remotely + def main(self): + #Call the wizard remotely(see README) try: ConnectStr = \ "uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" |