A stream reader class which reads Excel XML files.
Definition excelxmlreader.h:23
Util::Array< Util::FixedTable< Util::String > > tables
Definition excelxmlreader.h:62
SizeT GetNumTables() const
get the number of tables in the file
Definition excelxmlreader.cc:262
virtual ~ExcelXmlReader()
destructor
Definition excelxmlreader.cc:26
bool HasColumn(const Util::String &columnName, IndexT tableIndex=0) const
return true if table has named column
Definition excelxmlreader.cc:304
ExcelXmlReader()
constructor
Definition excelxmlreader.cc:18
bool ParseExcelXmlStream()
parse the Excel-XML-stream
Definition excelxmlreader.cc:79
const Util::String & GetElement(IndexT rowIndex, IndexT columnIndex, IndexT tableIndex=0) const
get cell content by row index and column index
Definition excelxmlreader.cc:337
SizeT GetNumColumns(IndexT tableIndex=0) const
get number of columns in table
Definition excelxmlreader.cc:292
Util::Array< Util::String > tableNames
Definition excelxmlreader.h:61
SizeT GetNumRows(IndexT tableIndex=0) const
get number of rows in table
Definition excelxmlreader.cc:282
virtual void Close()
end reading from the stream
Definition excelxmlreader.cc:66
bool ParseTables(const Ptr< IO::XmlReader > &xmlReader)
parse table contents
Definition excelxmlreader.cc:107
IndexT FindColumnIndex(const Util::String &columnName, IndexT tableIndex=0) const
get column index by name, returns InvalidIndex if column doesn't exist
Definition excelxmlreader.cc:316
virtual bool Open()
begin reading from the stream
Definition excelxmlreader.cc:39
const Util::String & GetTableName(IndexT tableIndex=0) const
get the name of the table at given table index
Definition excelxmlreader.cc:272
__DeclareClass(ExcelXmlReader)
IndexT GetTableIndex(const Util::String &tableName)
get index of table by name
Definition excelxmlreader.cc:358
Stream reader classes provide a specialized read-interface for a stream.
Definition streamreader.h:24
Nebula's smart pointer class which manages the life time of RefCounted objects.
Definition ptr.h:38
Nebula's dynamic array class.
Definition array.h:60
Instances of wrapped stream classes.
Definition orientation.cc:10
Nebula's universal string class.
Definition string.h:50
int SizeT
Definition types.h:49
int IndexT
Definition types.h:48