10 #include "pluginapi.h"
13 #include "fpointarray.h"
20 #include <QDomElement>
22 class MultiProgressDialog;
55 bool import(QString fn,
const TransactionSettings& trSettings,
int flags,
bool showProgress =
true);
56 QImage readThumbnail(QString fn);
59 void parseHeader(QString fName,
double &b,
double &h);
60 bool convert(QString fn);
61 void finishItem(QDomElement &e,
PageItem* ite);
62 void processShapeNode(QDomElement &elem);
63 QString processColor(QDomElement &elem);
64 void processStrokeNode(QDomElement &elem);
65 void processFillNode(QDomElement &elem);
66 void processLineNode(QDomElement &elem);
67 void processPointNode(QDomElement &elem);
69 QList<PageItem*> Elements;
71 QStack<QList<PageItem*> > groupStack;
77 QString CurrColorFill;
78 QString CurrColorStroke;
79 double CurrStrokeShade;
82 Qt::PenCapStyle LineEnd;
83 Qt::PenJoinStyle LineJoin;
85 QStringList importedColors;
86 double currx, curry, startx, starty;
92 MultiProgressDialog * progressDialog;
101 void cancelRequested() { cancel =
true; }
SmlPlug(ScribusDoc *doc, int flags)
Create the Sml importer window.
Definition: importsml.cpp:54
Sml importer plugin.
Definition: importsml.h:28
the Document Class
Definition: scribusdoc.h:90
Definition: undomanager.h:52
Definition: pageitem.h:92
Definition: fpointarray.h:42
Definition: selection.h:34