7 #ifndef IMPORTSHAPEPLUGIN_H
8 #define IMPORTSHAPEPLUGIN_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);
47 virtual bool import(QString fileName = QString::null,
int flags = lfUseCurrentPage|lfInteractive);
50 void registerFormats();
54 extern "C" PLUGIN_API
int importshape_getPluginAPIVersion();
55 extern "C" PLUGIN_API
ScPlugin* importshape_getPlugin();
56 extern "C" PLUGIN_API
void importshape_freePlugin(
ScPlugin* plugin);
Definition: importshapeplugin.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.
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
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.
virtual void addToMainWindowMenu(ScribusMainWindow *)
Allow plugins to add to a main menu.
Definition: importshapeplugin.h:37