Hi,
I am converting a Word document to HTML using Aspose, but the table borders in the HTML output do not match the source document. I used this link for the conversion: Convert DOCX To HTML C#.
Could you please explain why this is happening and how I can fix it?
Source Document :
bordersample.docx (13.1 KB)
Output :
bordersample.zip (811 Bytes)
@AlpeshChaudhariDev You should note, that Aspose.Words is designed to work with MS Word documents. HTML documents and MS Word documents object models are quite different and it is not always possible to provide 100% fidelity after conversion one model to another. In most cases Aspose.Words mimics MS Word behavior when work with HTML. If you convert your document to HTML using MS Word this type of birder is also not preserved.
When I set the page border in Word, it does not appear in the HTML output.
Word Document :
019-bca-9d7-822-0356.docx (42.3 KB)
Could you please suggest an approach for post-processing after converting a Word document to HTML?
@AlpeshChaudhariDev
What page border do you mean. As I can see borders are properly shown in the output HTML:
out.zip (5.1 KB)
You can consider using Aspose.HTML for postprocessing HTML documents after conversion document to HTML.