Forum


Replies: 8   Views: 3450
Using native word formatting with html
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 pphornet  · 15-01-2013 - 06:53

Hello!

Using native Word formatting with HTML - this is a great feature PHPDocX 3.0.
I needed to format the header for use with table of contents, and now I'm almost completely in control header with html.
But unfortunately I can not control the setting font-weight.
In different situations, it must have a different value (normal, bold etc.), But the title is always bold. ((
This is not enough for complex document.
Is there any solution to this problem?

For example headers with different format:

[b]Chapter 1. PHPDocX - great tool[/b] (it's bold header) (is sent to the TOC)
1.1 Using native Word formatting with HTML (i needn't bold it) (is sent to the TOC)
[i]1.1.1 Formatting headers with HTML[/i] (i needn't bold it) (is sent to the TOC)