Forum


Replies: 1   Views: 197
Transform to pdf with libreoffice in windows when paths include blank spaces
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

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