Forum


Replies: 10   Views: 4403
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 admin-phpdocx  · 29-07-2013 - 17:42

You may control the line spacing with the lineSpacing option in the $paragraphOptions parameter.



The way Word handles it is a little bizarre: a value of 240 corresponds to single spacing and 480 to double spacing and so long so forth.



We decided to keep that notation although it could have been clearer to use a float with 1 corresponding to single spacing.