7 #ifndef WMFIMPORTPLUGIN_H
8 #define WMFIMPORTPLUGIN_H
10 #include "pluginapi.h"
11 #include "loadsaveplugin.h"
12 #include "../../formatidlist.h"
30 virtual void deleteAboutData(
const AboutData* about)
const;
32 virtual bool fileSupported(QIODevice* file,
const QString & fileName=QString::null)
const;
33 virtual bool loadFile(
const QString & fileName,
const FileFormat & fmt,
int flags,
int index = 0);
34 virtual QImage readThumbnail(
const QString& fileName);
44 virtual bool import(QString filename = QString::null,
int flags = lfUseCurrentPage|lfInteractive);
47 void registerFormats();
52 extern "C" PLUGIN_API
int wmfimplugin_getPluginAPIVersion();
53 extern "C" PLUGIN_API
ScPlugin* wmfimplugin_getPlugin();
54 extern "C" PLUGIN_API
void wmfimplugin_freePlugin(
ScPlugin* plugin);
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
A class providing the plugin interface implementation for this plugin.
Definition: wmfimportplugin.h:20
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: wmfimportplugin.h:35