Classes | Public Member Functions | Private Types | Private Attributes

OdsFileHandler Class Reference

#include <OdsFileHandler.h>

List of all members.

Classes

struct  cell_data

Public Member Functions

bool characters (const QString &str)
bool endElement (const QString &namespaceURI, const QString &localName, const QString &qName)
QString errorString () const
bool fatalError (const QXmlParseException &)
 OdsFileHandler (ApplicationWindow *app, const QString &odsFileName)
Tablesheet (int index)
int sheetsCount ()
bool startElement (const QString &namespaceURI, const QString &localName, const QString &qName, const QXmlAttributes &attributes)

Private Types

enum  CellType {
  EmptyCell = 0, Float, String, Date,
  Time, Boolean, Currency, Percent
}

Private Attributes

std::vector< cell_datacells
QString currentText
ApplicationWindowd_app
int d_col
int d_last_column
QString d_ods_file_name
int d_rows
QStringList d_sheet_names
QList< Table * > d_tables
QString errorStr

Member Enumeration Documentation

enum OdsFileHandler::CellType [private]
Enumerator:
EmptyCell 
Float 
String 
Date 
Time 
Boolean 
Currency 
Percent 

Constructor & Destructor Documentation

OdsFileHandler::OdsFileHandler ( ApplicationWindow app,
const QString &  odsFileName 
)

References d_col, d_last_column, and d_rows.


Member Function Documentation

bool OdsFileHandler::characters ( const QString &  str  ) 

References currentText.

bool OdsFileHandler::endElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName 
)
QString OdsFileHandler::errorString (  )  const

References errorStr.

bool OdsFileHandler::fatalError ( const QXmlParseException &   )  [inline]
Table * OdsFileHandler::sheet ( int  index  ) 
int OdsFileHandler::sheetsCount (  )  [inline]
bool OdsFileHandler::startElement ( const QString &  namespaceURI,
const QString &  localName,
const QString &  qName,
const QXmlAttributes &  attributes 
)

Member Data Documentation

std::vector<cell_data> OdsFileHandler::cells [private]

Referenced by endElement(), and startElement().

QString OdsFileHandler::currentText [private]

Referenced by endElement().

int OdsFileHandler::d_col [private]

Referenced by endElement(), and OdsFileHandler().

Referenced by endElement().

int OdsFileHandler::d_rows [private]
QStringList OdsFileHandler::d_sheet_names [private]

Referenced by endElement(), and startElement().

QList<Table *> OdsFileHandler::d_tables [private]

Referenced by endElement(), sheet(), and sheetsCount().

QString OdsFileHandler::errorStr [private]

Referenced by errorString().


The documentation for this class was generated from the following files: