10 #include "pluginapi.h"
23 virtual bool run(
ScribusDoc* doc, QString target = QString::null);
26 virtual void deleteAboutData(
const AboutData* about)
const;
33 extern "C" PLUGIN_API
int saveastemplateplugin_getPluginAPIVersion();
34 extern "C" PLUGIN_API
ScPlugin* saveastemplateplugin_getPlugin();
35 extern "C" PLUGIN_API
void saveastemplateplugin_freePlugin(
ScPlugin* plugin);
65 QString getTemplateTag();
66 QString findTemplateXml(QString dir);
67 void replaceIllegalChars(QString& s);
A plug-in that performs a single action.
Definition: scplugin.h:248
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 bool run(ScribusDoc *doc, QString target=QString::null)=0
Run the plug-in's main action.
virtual void languageChange()=0
Update all user-visible text to reflect current UI language.
the Document Class
Definition: scribusdoc.h:90
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
Definition: satdialog.h:17
Definition: satemplate.h:55
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: satemplate.h:28
Definition: satemplate.h:15