10 #include "pluginapi.h"
12 #include "fpointarray.h"
55 bool import(QString fn,
const TransactionSettings& trSettings,
int flags,
bool showProgress =
true);
56 QImage readThumbnail(QString fn);
71 bool parseHeader(QString fName,
double &x,
double &y,
double &b,
double &h);
72 void parseColor(QString data);
73 void useColor(
int colorNum,
int area_fill,
bool forFill);
74 QVector<double> getDashValues(
double linewidth,
int code);
75 void processArrows(
int forward_arrow, QString fArrowData,
int backward_arrow, QString bArrowData,
int depth,
PageItem *ite);
76 void processPolyline(QDataStream &ts, QString data);
77 void processSpline(QDataStream &ts, QString data);
78 void processArc(QDataStream &ts, QString data);
79 void processEllipse(QString data);
80 QString cleanText(QString text);
81 void processText(QString data);
82 void processData(QDataStream &ts, QString data);
83 double fig2Pts(
double in);
85 bool convert(QString fn);
87 QList<PageItem*> Elements;
88 QList<PageItem*> PatternElements;
89 QMultiMap<int, int> depthMap;
91 QStack<QList<PageItem*> > groupStack;
100 QString CurrColorFill;
101 QString CurrColorStroke;
102 double CurrStrokeShade;
103 double CurrFillShade;
112 QMap<int, QString> importedColors;
115 QString currentPatternDefName;
116 QString currentPatternName;
121 double currentPatternX;
122 double currentPatternY;
123 double currentPatternXScale;
124 double currentPatternYScale;
125 double currentPatternRotation;
129 QString docOrganisation;
135 void cancelRequested() { cancel =
true; }
Definition: sccolor.h:155
the Document Class
Definition: scribusdoc.h:90
Xfig importer plugin.
Definition: importxfig.h:28
Definition: undomanager.h:52
Definition: multiprogressdialog.h:44
Definition: pageitem.h:92
Definition: fpointarray.h:42
XfigPlug(ScribusDoc *doc, int flags)
Create the AI importer window.
Definition: importxfig.cpp:55
Definition: selection.h:34