- Data Truncation Issue (Large Tables)
This issue is occurring only in one of the form and is limited to a single section. The fix is working as expected in the local environment; however, the issue still persists in the environment.
Reference screenshots attached.
- Cosmetic Issue (Background Color)
Only in one section of the text background is appearing even though no background color has been explicitly set. Reference screenshots attached.
Sample code attached.
AsposeTruncationDemo.zip (1.0 MB)
Heading background:

IG Timestamp Local:

Table truncated:

@Hamzakutty Unfortunately, I cannot reproduce the problem with data truncation. Your test application simply does not produce the output with the problematic table shown on the screenshot.
Regarding the Background Color issue. The problem occurs because the placeholder you are replacing has explicitely set background:
<w:r w:rsidRPr="00BF09C3">
<w:rPr>
<w:rStyle w:val="normaltextrun"/>
<w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:cs="Times New Roman"/>
<w:color w:val="000000"/>
<w:sz w:val="24"/>
<w:szCs w:val="24"/>
<w:shd w:val="clear" w:color="auto" w:fill="FFFFFF"/>
</w:rPr>
<w:t>${appendix2}</w:t>
</w:r>
And in your code you use
builder.insertHtml(appendixHtml, true);
In this case Aspose.Words inherits the current node formatting and applies text background color. You should either modify your template and clear the background or do not inherit document builder formatting upon inserting HTML.
1 Like
Thanks Alexey. We were able to resolve the highlighting issue. the table truncation fix is working on our local however when we deploy the change to our Linux servers it does not work. Would it be possible if we can get on meeting to check this issue and see if we can explain this better.
Please let me know a good slot that works for you and I will schedule a call to connect.
@Hamzakutty Unfortunately, we do not provide technical support over the phone or video calls.
If possible, please create a very simplified code example that will allow us to reproduce the problem. We will check it on our side and provide you more information.