Free Support Forum - aspose.com

Parsing tables in a word document

I am trying to read a whole bunch on information from a word document. There are around 20 tables each with a number of cells containing the relevant data.

Does ASPose.word support this style of document parsing. If so, what is the best approach?

If not - can it convert the file to html using SaveAs?

Thanks.
Stuart

Hi Stuart,

Thank you for your interest in Aspose.Word.

Parsing documents is available by implementing the IDocumentVisitor interface. Please read the following article to learn how to do that (the article will soon be moved to our programmers guide being written):

http://www.aspose.com/Wiki/default.aspx/Aspose.Word/HowToExtractVariousPartsFromDocument.html

The document could also be saved as a HTML file by specifying the appropriate save format:

doc.Save(“output.htm”, SaveFormat.FormatHtml);