Forum


Replies: 2   Views: 3434
Addtext spacingbottom rawwordml
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 bowett  · 09-08-2013 - 16:31

If I use the folowing snippet then the text adds correctly with almost no spacing underneath...



$para_nogap = array(

      'spacingBottom' => 1,

      'font'          => 'Futura Std Medium',

      'sz'            => 14,

      'color'         => '6c6241',

      'caps'          => 'on',

      'rawWordML'     => false,

    );



$docx->addText('Header Text', $para_nogap);



However if I do the same but use 'rawWordML' => true and store in a variable which I then add to the document - I seem to lose the 'spacingBottom' and it resets to 200.



 



 


Posted by jorgelj  · 12-08-2013 - 08:33

Hello,



We'll check it to be solved ASAP.



Regards.