Forum


Replies: 2   Views: 2136
Border styles
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  · 20-01-2020 - 09:40

Hello,

You can see the supported border styles in MS Word on http://officeopenxml.com/WPtableBorders.php . Or you can create a custom one using MS Word and import it to be used in your DOCX: https://www.phpdocx.com/api-documentation/layout-and-general/import-styles-from-a-Word-document-with-PHP

MS Word doesn't support adding rounded borders in contents, only using shapes: https://answers.microsoft.com/en-us/msoffice/forum/all/word-table-borders-are-rounded-corners-possible/7c9bfcf6-3820-4ed3-bc70-0b7e2030a5a1

Regards.