Hello,
We tried to update Aspose in our application to version 14.6.0 and 14.7.0 but we have an issue with insertHtml. We wanted to update to the new version to fix the problem:
WORDSNET-10163 Normal style’s font size is not applied to text inside Table when importing HTML using InsertHtml method
However, what we are seeing now is that the normal text outside of tables keeps getting reset to Times new roman 12pt. After some research I found that the following issue is the cause:
WORDSNET-9421 InsertHtml method resets paragraph’s style to 'Normal’ |
---|
see: Inserting a text to a paragraph does not retain its style anymore in version 13.11.0
The issue WORDSNET-9421 does not make sense as you seem to have fixed two other issues which do the exact opposite of issue WORDSNET-9421. They both apply the style from the word document to the inserted html. See:
WORDSNET-10163 Normal style’s font size is not applied to text inside Table when importing HTML using InsertHtml method
WORDSNET-9571 InsertHtml method changes formatting of Heading1 paragraph |
---|
Even if we apply the MERGEFORMAT to the mergefields that get html inserted into them the style keeps resetting to Times new roman 12pt.
As our customers create their own templates this is unacceptable. The font and height of the inserted html should match the normal style in their templates and not get reset.
Please undo the issue WORDSNET-9421 or provide a reasonable workaround.