Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

IE_Imp_GDA Class Reference

This class' purpose is to take (or generate) a GdaDataModel and turn it into an AbiWord table. More...

Inheritance diagram for IE_Imp_GDA:
IE_Imp

List of all members.

Public Member Functions

 IE_Imp_GDA (PD_Document *pDocument, GdaDataModel *model=0)
virtual ~IE_Imp_GDA ()
UT_Error importDataModel ()

Protected Member Functions

virtual UT_Error _loadFile (GsfInput *input)

Private Member Functions

 IE_Imp_GDA ()
 IE_Imp_GDA (const IE_Imp_GDA &)
IE_Imp_GDAoperator= (const IE_Imp_GDA &)
UT_Error _importDataModel ()
void openTable ()
void closeTable ()
void openRow ()
void closeRow ()
void addCell (const GdaValue *value)
void addCell (const char *value, bool header=false)

Private Attributes

GdaDataModel * m_model
int m_row
int m_col
bool m_generatedModel

Detailed Description

This class' purpose is to take (or generate) a GdaDataModel and turn it into an AbiWord table.

If we generate a DataModel from a .connection file (i.e. we're importing a new document), we'll open up a new window. If not, we'll act like the data set got pasted in place


Constructor & Destructor Documentation

IE_Imp_GDA::IE_Imp_GDA ( PD_Document pDocument,
GdaDataModel *  model = 0 
) [inline]

References m_generatedModel, and m_model.

virtual IE_Imp_GDA::~IE_Imp_GDA (  )  [inline, virtual]

References m_model.

IE_Imp_GDA::IE_Imp_GDA (  )  [private]
IE_Imp_GDA::IE_Imp_GDA ( const IE_Imp_GDA  )  [private]

Member Function Documentation

virtual UT_Error IE_Imp_GDA::_loadFile ( GsfInput *  input  )  [inline, protected, virtual]

Implements IE_Imp.

References UT_ASSERT, and UT_TODO.

void IE_Imp_GDA::addCell ( const GdaValue *  value  )  [inline, private]

References gchar.

Referenced by _importDataModel().

void IE_Imp_GDA::addCell ( const char *  value,
bool  header = false 
) [inline, private]
void IE_Imp_GDA::closeRow (  )  [inline, private]

References m_col, and m_row.

Referenced by _importDataModel().

void IE_Imp_GDA::closeTable (  )  [inline, private]
UT_Error IE_Imp_GDA::importDataModel (  )  [inline]

References _importDataModel().

Referenced by handle_recordset().

void IE_Imp_GDA::openRow (  )  [inline, private]

References m_col.

Referenced by _importDataModel().

void IE_Imp_GDA::openTable (  )  [inline, private]
IE_Imp_GDA& IE_Imp_GDA::operator= ( const IE_Imp_GDA  )  [private]

Member Data Documentation

Referenced by _importDataModel(), and IE_Imp_GDA().

GdaDataModel* IE_Imp_GDA::m_model [private]
int IE_Imp_GDA::m_row [private]

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