You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However formatting\fonts (like big bold font) gets lost\not used of the @variable in the template after rendering. Is there a way to solve this?
Perhaps this question is the same as issue #159 But ok, would still like to be sure it is not possible\too tedious and not in scope to be developed with docxtemplater.
The text was updated successfully, but these errors were encountered:
No that it not possible with docxtemplater : the raw xml tag will completely remove the tag <w:p><w:r></w:r></w:p>, and this tag contains the style of the document.
This module handles to "keep the existing style" since version 3.0.4, and handles tag for newline (and lots of other tags)
3.0.4
Keep word-run style for inline replacement. For example if, the text that the {~html} tag is written in is red, it will also be the base style for the generated elements of the html tag.
I am using @rawxml to put in linebreaks into the variables, as described in: http://docxtemplater.readthedocs.io/en/latest/faq.html#how-to-insert-linebreaks
However formatting\fonts (like big bold font) gets lost\not used of the @variable in the template after rendering. Is there a way to solve this?
Perhaps this question is the same as issue #159 But ok, would still like to be sure it is not possible\too tedious and not in scope to be developed with docxtemplater.
The text was updated successfully, but these errors were encountered: