Forum


Replies: 5   Views: 3806
Line height not working correctly in google doc
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 rahul@dexteroustechnologies.co.in  · 20-03-2015 - 08:15

I'm generating a doc file.We're having an issue with line height,line-height working perfectly in Libra-office and open office but not seems to work in Google doc and Microsoft office. Here is my sample code. $docx = new CreateDocxFromTemplate('APA.docx'); $html1.= ''; $html .= '

simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged.

'; $html .= ''; $docx->replaceVariableByHTML('BODY', 'block', $html); $docx->createDocxAndDownload('example_replaceTemplateVariableByHTML_1'); Please help me out. Thanks,