21 #ifndef IMPORTVIVAPLUGIN_H
22 #define IMPORTVIVAPLUGIN_H
24 #include "pluginapi.h"
25 #include "loadsaveplugin.h"
45 virtual void deleteAboutData(
const AboutData* about)
const;
47 virtual bool fileSupported(QIODevice* file,
const QString & fileName=QString::null)
const;
48 virtual bool loadFile(
const QString & fileName,
const FileFormat & fmt,
int flags,
int index = 0);
49 virtual QImage readThumbnail(
const QString& fileName);
50 virtual bool readColors(
const QString& fileName,
ColorList & colors);
61 virtual bool import(QString fileName = QString::null,
int flags = lfUseCurrentPage|lfInteractive);
64 void registerFormats();
68 extern "C" PLUGIN_API
int importviva_getPluginAPIVersion();
69 extern "C" PLUGIN_API
ScPlugin* importviva_getPlugin();
70 extern "C" PLUGIN_API
void importviva_freePlugin(
ScPlugin* plugin);
Definition: importvivaplugin.h:29
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
Abstract super class for all Scribus plug-ins.
Definition: scplugin.h:90
This Class is the base class for your application. It sets up the main window and providing a menubar...
Definition: scribus.h:123
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
Definition: sccolor.h:155
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition: importvivaplugin.h:51
Definition: scraction.h:33
Superclass for all file import/export/load/save plugins.
Definition: loadsaveplugin.h:33
virtual const AboutData * getAboutData() const =0
Return descriptive information about the plug-in.