kspread

KSpread::Currency Class Reference

List of all members.

Detailed Description

Definition at line 733 of file kspread_format.h.


Public Types

 Native
 Gnumeric
 OpenCalc
 ApplixSpread
 GobeProductiveSpread
 HancomSheet
enum  currencyFormat {
  Native, Gnumeric, OpenCalc, ApplixSpread,
  GobeProductiveSpread, HancomSheet
}

Public Member Functions

 Currency ()
 ~Currency ()
 Currency (int index)
 Currency (int index, QString const &code)
 Currency (QString const &code, currencyFormat format=Native)
Currencyoperator= (int type)
Currencyoperator= (char const *code)
bool operator== (Currency const &cur) const
bool operator== (int type) const
 operator int () const
QString getCode () const
QString getCountry () const
QString getName () const
QString getDisplayCode () const
int getIndex () const
QString getExportCode (currencyFormat format) const

Static Public Member Functions

static QString getChooseString (int type, bool &ok)
static QString getDisplaySymbol (int type)
static QString getCurrencyCode (int type)

Constructor & Destructor Documentation

Currency::Currency ( int  index,
QString const &  code 
)

If code doesn't fit to index the index gets ignored.

Definition at line 3357 of file kspread_format.cc.

Currency::Currency ( QString const &  code,
currencyFormat  format = Native 
)

code: e.g.

EUR, USD,.. Looks up index, if code found more than once: saved without country info currencyFormat: in Gnumeric the code is: [$EUR] saves some work in the filter...

Definition at line 3365 of file kspread_format.cc.


Member Function Documentation

QString Currency::getExportCode ( currencyFormat  format  )  const

Code for use in Gnumeric export filter.

Definition at line 3461 of file kspread_format.cc.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys