casforkids.blogg.se

Libreofficeportable
Libreofficeportable









This sleep should be apply only when office is started using a LibreOfficePortable executable (not a regular office installation). Adding a 1 second sleep right before this line seems to do the trick, but I didn't test it a lot. A quick solution would be to check if there is a LibreOfficePortable.exe in the specified office home path when we search for an office process and return it if there is one.īut then the LibreOfficePortable executable is responsible to start the real office process, and this means that we must wait a while before trying to retrieve the office process PID after the LibreOfficePortable process is started. I did some tests today in order to understand how the wrapper works. So it needs to close a different process than the one it opened, which is either the soffice.exe or the soffice.bin (the soffice.bin seems to work better, but we did not test that extensively yet).Įdit: THIS IS NOT REQUIRED, DO NOT INCLUDE INTO DOCUMENTATION.

libreofficeportable

  • On close, it is important that the JODConverter does not close the LibreOfficePortable.exe, since that is only a wrapper.
  • You need to start LibreOfficePortable from the LibreOfficePortable.exe (that can be solved by somehow detecting that the officepath is within a libreofficeportable, then it uses a different executable path which points to the LibreOfficePortable.exe).
  • If I told you what the significant differences are, could you help me to find the places where I should apply those changes to contribute back to you? However, I am sure I do it a bit too much quick and dirty.

    libreofficeportable

    Therefore I took your source and started to modify it for the support. Now I realized that LibreOffice Portable works a little differently. We recently switched to LibreOffice Portable to easily distribute LibreOffice with our software.











    Libreofficeportable