Scribus Developer Documentation - API
logo-pen

Scribus Developer Documentation - API

gtGetText Class Reference

#include <gtgettext.h>

Collaboration diagram for gtGetText:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 gtGetText (ScribusDoc *doc)
 ~gtGetText ()
ImportSetup run ()
void launchImporter (int importer, const QString &filename, bool textOnly, const QString &encoding, bool append, PageItem *target=0)

Private Member Functions

void loadImporterPlugins ()
void CallDLL (const ImporterData &idata, const QString &filePath, const QString &encoding, bool textOnly, bool append, PageItem *importItem)
bool DLLName (QString name, QString *ffName, QStringList *fileEndings)
void createMap ()

Private Attributes

std::vector< ImporterDataimporters
QMap< QString, ImporterData * > importerMap
gtDialogsdias
QStringList ilist
ScribusDocm_Doc


Detailed Description

Definition at line 64 of file gtgettext.h.


Constructor & Destructor Documentation

gtGetText::gtGetText ( ScribusDoc doc  ) 

Definition at line 40 of file gtgettext.cpp.

References loadImporterPlugins(), and m_Doc.

gtGetText::~gtGetText (  ) 

Definition at line 216 of file gtgettext.cpp.


Member Function Documentation

void gtGetText::loadImporterPlugins (  )  [private]

void gtGetText::CallDLL ( const ImporterData idata,
const QString &  filePath,
const QString &  encoding,
bool  textOnly,
bool  append,
PageItem importItem 
) [private]

bool gtGetText::DLLName ( QString  name,
QString *  ffName,
QStringList *  fileEndings 
) [private]

void gtGetText::createMap (  )  [private]

Definition at line 207 of file gtgettext.cpp.

References importerMap, and importers.

Referenced by loadImporterPlugins().

ImportSetup gtGetText::run (  ) 

void gtGetText::launchImporter ( int  importer,
const QString &  filename,
bool  textOnly,
const QString &  encoding,
bool  append,
PageItem target = 0 
)


Member Data Documentation

std::vector<ImporterData> gtGetText::importers [private]

Definition at line 67 of file gtgettext.h.

Referenced by createMap(), launchImporter(), loadImporterPlugins(), and run().

QMap<QString, ImporterData*> gtGetText::importerMap [private]

Definition at line 68 of file gtgettext.h.

Referenced by createMap(), and launchImporter().

Definition at line 74 of file gtgettext.h.

Referenced by launchImporter(), and run().

QStringList gtGetText::ilist [private]

Definition at line 75 of file gtgettext.h.

Referenced by launchImporter(), and run().

Definition at line 76 of file gtgettext.h.

Referenced by gtGetText(), and launchImporter().


The documentation for this class was generated from the following files:
Created with personalized Doxygen. This is documentation for GPL software Scribus - Open Source Desktop Publishing.