[libreoffice] # To find this location, open python3 interactive, >>> import uno; print(uno.__file__) python_uno_location = "/usr/lib/python3/dist-packages/" # soffice.bin should be run with these flags flags = ["--headless", "--invisible", "--nocrashreport", "--nodefault", "--nofirststartwizard", "--nologo", "--norestore", "--accept='%s'"] [libreoffice.connection] binary_location = "/usr/lib/libreoffice/program/soffice.bin" # UNO socket connection settings host = "localhost" port = 2002 # content of '--accept=' flag for starting soffice.bin with open connection accept_open = "socket,host=%s,port=%s,tcpNoDelay=1;urp;StarOffice.ComponentContext" # this is used to connect running libreoffice process with opened socket connection_url = "uno:socket,host=%s,port=%s,tcpNoDalay=1;urp;StarOffice.ComponentContext" # how much time to wait for connecting timeout = 5