7 #ifndef SCRIBUS134FORMAT_H
8 #define SCRIBUS134FORMAT_H
10 #include "pluginapi.h"
11 #include "loadsaveplugin.h"
13 #include "scribusstructs.h"
14 #include "styles/styleset.h"
19 #include <QProgressBar>
43 virtual void deleteAboutData(
const AboutData* about)
const;
46 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 bool saveFile(
const QString & fileName,
const FileFormat & fmt) {
return false; };
53 virtual bool loadPage(
const QString & fileName,
int pageNumber,
bool Mpage, QString renamedPageName=QString::null);
56 virtual bool readLineStyles(
const QString& fileName, QHash<QString, multiLine> *Sty);
57 virtual bool readColors(
const QString& fileName,
ColorList & colors);
58 virtual bool readPageCount(
const QString& fileName,
int *num1,
int *num2, QStringList & masterPageNames);
59 virtual void getReplacedFontData(
bool & getNewReplacement, QMap<QString,QString> &getReplacedFonts, QList<ScFace> &getDummyScFaces);
64 ItemSelectionMaster = 0,
65 ItemSelectionPage = 1,
66 ItemSelectionFrame = 2,
67 ItemSelectionPattern= 3,
73 ItemInfo(
void) { groupLastItem = nextItem = ownLink = ownNr = 0; item = NULL; isGroupFlag =
false; };
82 void registerFormats();
84 QIODevice* slaReader(
const QString & fileName);
120 QMap<QString, QString> parStyleMap;
121 QMap<uint, QString> legacyStyleMap;
122 uint legacyStyleCount;
124 QMap<int, int> groupRemap;
125 QMap<int, int> itemRemap;
126 QMap<int, int> itemNext;
127 QMap<int, int> itemRemapM;
128 QMap<int, int> itemNextM;
129 QList<PageItem*> FrameItems;
130 QList<PDFPresentationData> EffVal;
137 extern "C" PLUGIN_API
int scribus134format_getPluginAPIVersion();
138 extern "C" PLUGIN_API
ScPlugin* scribus134format_getPlugin();
139 extern "C" PLUGIN_API
void scribus134format_freePlugin(
ScPlugin* plugin);
Definition: charstyle.h:78
virtual const QString fullTrName() const =0
Plug-in's human-readable, translated name.
Displays all kinds of content generated by external programs. Named LatexFrame because it initally on...
Definition: pageitem_latexframe.h:43
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: paragraphstyle.h:27
Definition: sccolor.h:155
Definition: scxmlstreamreader.h:36
the Document Class
Definition: scribusdoc.h:90
Definition: scxmlstreamreader.h:15
ScPlugin provides an interface to ask plugins for information about themselves.
Definition: scplugin.h:103
Definition: scxmlstreamwriter.h:15
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.
Definition: pageitem.h:92
Definition: scribusdoc.h:1322
Definition: scribusstructs.h:250
Definition: scribusstructs.h:338