When exporting a document containing a Field that has no Separator set the content after this field is omitted.
According to the OOXML Specification, the fldCharType value separate is optional.
When the data is set as double or float the Numeric formatting of the MergeField is not respected.
When the following merge field:
MERGEFIELD BAL \# ###,0.00
is populated with 5.70F or 5.70D the result is 5.7 instead of 5.70.
Add support for Upper and Lower field switches More info is available here: Formatting fields with switches
Here are the switches that should be supported:
Add support for all number switches. More info is available here: Formatting fields with switches
Here are the switches that should be supported:
Amount \# $,0.00: {MERGEFIELD FirstAmount \# $,0.00}When we have Document properties set (no Section properties set) and the \sectd control word is missing the Document properties are not respected.
From the RTF Specification: When we have Section properties set the \sectd resets the values to that specified by the Document properties. But when we don't have Section properties set and the \sectd is missing we should inherit the values specified by the Document properties
margin-top margin-right margin-bottom margin-left
Background properties do not inherit, but the parent element's background will shine through by default because of the initial 'transparent' value on 'background-color'.
HTML content:
<div style="background-color: gray; color: red">
Text outside the list
<ul>
<li>
Text in the list
</li>
</ul>
</div>
The result when exported to DOCX/PDF:
Workaround: set the style directly to the <ul> element:
<div style="background-color: gray; color: red">
Text outside the list
<ul style="background-color: gray;">
<li>
Text in the list
</li>
</ul>
</div>