Replies: 6   Views: 3757
Horizontal line
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 thetaylor82  · 19-01-2011 - 18:47


What's the best way to add a horizontal line, the html equivalent is <hr>?

I actually want to put this in a footer, is this possible?


Posted by admin  · 11-04-2013 - 12:12


I have added a task to add a line, the next version will have support.


Posted by thetaylor82  · 11-04-2013 - 12:12

Any advance on this?

Posted by admin  · 11-04-2013 - 12:12


Please check:


Posted by thetaylor82  · 11-04-2013 - 12:12

How would you add this to the footer? Using addElement? I cannot see how to stack items other than with addElement.

Posted by temp2010  · 04-09-2013 - 23:49

$docx->addShape("line", array("position" => "relative", 'from' => '0,0', 'to' => '584,0'));