Hi,
I have an html table with inline formating for color, alignment etc...it displays correctly in browser, but when i try to insert same in word using aspose, i dont get same formatting in the word document.
Portfolio Manager | Market Value |
---|---|
BRIAN BRENNAN | 23,905,236.03 |
CHERYL MICKEL | 72,401,044.58 |
CHRIS ROTHERY | 1,017,606.91 |
DANIEL SHACKELFORD | 36,321,119.13 |
Total | 608,347,310.34 |
code--
public void FieldMerging(FieldMergingArgs e)
{
DocumentBuilder builder = new DocumentBuilder(e.Document);
builder.MoveToMergeField(e.DocumentFieldName);
builder.InsertHtml(Convert.ToString(e.FieldValue));
}
here e.FieldValue contains the html string written above...
Please suggest
thanks in advance