Forum


Replies: 1   Views: 10
Transform to pdf with libreoffice in windows when paths include blank spaces

Posted by galileogali  · 22-12-2024 - 00:58

Hi guys

My dev environment is running on Windows and many of the paths are long paths. Default configuration on PDF transformer using LibreOffice didn't work. I've spent many hours to figure out the reason.

It turned out I've got long paths having a space in them (such as C:\Program Files\...). This brakes the passthru() calls in TransformDocAdvLibreOffice.php.

The sollution - if dealing with long names in Windows, all paths to executables and input/output dirs must be enclosed in double quotation marks.

Is it possible you will fix this?

 

Thanks

Radek