Back to index

scribus-ng  1.3.4.dfsg+svn20071115
odtim.h File Reference
#include <qstring.h>
#include <gtwriter.h>
#include "scconfig.h"
#include "pluginapi.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


PLUGIN_API void GetText (QString filename, QString encoding, bool textOnly, gtWriter *writer)
PLUGIN_API QString FileFormatName ()
 Returns the string with importer description.
PLUGIN_API QStringList FileExtensions ()

Function Documentation

PLUGIN_API QStringList FileExtensions ( )

Definition at line 15 of file csvim.cpp.

    return QStringList("csv");

Returns the string with importer description.

Return values:
QStringa string or QString::null when the plugin should not be loaded.

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;