7 #ifndef IMPORTXARPLUGIN_H
8 #define IMPORTXARPLUGIN_H
10 #include "pluginapi.h"
11 #include "loadsaveplugin.h"
12 #include "../../formatidlist.h"
32 virtual void deleteAboutData(
const AboutData* about)
const;
34 virtual bool fileSupported(QIODevice* file,
const QString & fileName=QString::null)
const;
35 virtual bool loadFile(
const QString & fileName,
const FileFormat & fmt,
int flags,
int index = 0);
36 virtual QImage readThumbnail(
const QString& fileName);
37 virtual bool readColors(
const QString& fileName,
ColorList & colors);
48 virtual bool import(QString fileName = QString::null,
int flags = lfUseCurrentPage|lfInteractive);
51 void registerFormats();
55 extern "C" PLUGIN_API
int importxar_getPluginAPIVersion();
56 extern "C" PLUGIN_API
ScPlugin* importxar_getPlugin();
57 extern "C" PLUGIN_API
void importxar_freePlugin(
ScPlugin* plugin);
Definition: importxarplugin.h:16
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
Definition: scraction.h:33
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition: importxarplugin.h:38
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.