-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the PyUNO_Workspace wiki!
-
Start LibreOffice from the command line
soffice "--accept=socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" --writer --norestore
/opt/libreofficedev5.4/program/soffice "--accept=socket,host=localhost,port=2002;urp;StarOffice.ComponentContext" --writer --norestore
-
Start Dash-like offline documentation browser
-
Open your project in editor
-
Set breakpoints in the source code
-
Run source code in the editor
Menu
Run -> Run file as script
-
Debugging
Use the toolbar buttons to move to the next line.
Move to next line or select property or method in workspace
-
Examine property or method
With double clik drill futher
or find more information with right clik
-
Set argument
Write argument and double click on object
-
Insert code in editor
Pres icon to insert code at cursor position
Inserted code in the script
initial_target = document.BasicLibraries
item = initial_target.getByName("Standard")