Toxy is very easy for developers to get started.


You must understand several concepts first to get started.

ParserContext – which is used to describe the parser information like the source file path, the encoding of this parser.

Parser – the real object for parsing texts or data

Toxy objects – They are the result returned by each parser. For example,  ToxySpreadsheet, ToxyDocument and so on.


The basic code for parsing a spreadsheet:

ParserContext context = new ParserContext("test.xlsx");
ISpreadsheetParser parser = ParserFactory.CreateSpreadsheet(context);
ToxySpreadsheet ss = parser.Parse();
//handle the result - ToxySpreadsheet

Last edited Apr 17, 2014 at 8:34 PM by tonyqus, version 3