Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Classes | Functions
csvim.h File Reference
#include "pluginapi.h"
#include "csvdia.h"
#include <gtwriter.h>
#include <gtparagraphstyle.h>
#include <qcstring.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qstring.h>
#include <qstringlist.h>
#include <qtextcodec.h>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  CsvIm


PLUGIN_API void GetText (QString filename, QString encoding, bool textOnly, gtWriter *writer)
PLUGIN_API QString FileFormatName ()
PLUGIN_API QStringList FileExtensions ()

Function Documentation

PLUGIN_API QStringList FileExtensions ( )

Definition at line 15 of file csvim.cpp.

    return QStringList("csv");

Definition at line 10 of file csvim.cpp.

    return QObject::tr("Comma Separated Value Files");
PLUGIN_API void GetText ( QString  filename,
QString  encoding,
bool  textOnly,
gtWriter *  writer 

Definition at line 20 of file csvim.cpp.

       CsvDialog* csvdia = new CsvDialog();
       if (csvdia->exec())
              CsvIm *cim = new CsvIm(filename, encoding, writer, csvdia->getFDelim(), csvdia->getVDelim(),
                               csvdia->hasHeader(), csvdia->useVDelim());
              delete cim;
       delete csvdia;