Replies: 10   Views: 4105
A paragraph without spacing between lines
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 intphpdocx  · 29-07-2013 - 17:00

An easy fix for this is to use importStyles() to load the styles from an existing Word document in which you have set the desired line spacing.

$docx = new CreateDocx();

$docx->importStyles('./default_styles.docx', 'replace');