Scribus
Open source desktop publishing at your fingertips
OODPlug Class Reference
Inheritance diagram for OODPlug:
Collaboration diagram for OODPlug:

Public Member Functions

 OODPlug (ScribusDoc *doc)
 
bool import (QString fName, const TransactionSettings &trSettings, int flags)
 
QImage readThumbnail (QString fileName)
 

Static Public Member Functions

static double parseUnit (const QString &unit)
 

Public Attributes

bool unsupported
 Indicator if there is any unsupported feature in imported svg.
 
bool importFailed
 
bool importCanceled
 

Protected Member Functions

bool convert (const TransactionSettings &trSettings, int flags)
 
QList< PageItem * > parseGroup (const QDomElement &e)
 
QList< PageItem * > parseElement (const QDomElement &e)
 
QList< PageItem * > parseRect (const QDomElement &e)
 
QList< PageItem * > parseEllipse (const QDomElement &e)
 
QList< PageItem * > parseLine (const QDomElement &e)
 
QList< PageItem * > parsePolygon (const QDomElement &e)
 
QList< PageItem * > parsePolyline (const QDomElement &e)
 
QList< PageItem * > parsePath (const QDomElement &e)
 
QList< PageItem * > parseTextBox (const QDomElement &e)
 
QList< PageItem * > parseFrame (const QDomElement &e)
 
QList< PageItem * > parseConnector (const QDomElement &e)
 
void parseStyle (OODrawStyle &style, const QDomElement &e)
 
void parseCharStyle (CharStyle &style, const QDomElement &e)
 
void parseParagraphStyle (ParagraphStyle &style, const QDomElement &e)
 
PageItemparseTextP (const QDomElement &e, PageItem *item)
 
PageItemparseTextSpans (const QDomElement &elm, PageItem *item)
 
PageItemfinishNodeParsing (const QDomElement &elm, PageItem *item, OODrawStyle &oostyle)
 
void createStyleMap (QDomDocument &docstyles)
 
void insertDraws (const QDomElement &styles)
 
void insertStyles (const QDomElement &styles)
 
void fillStyleStack (const QDomElement &object)
 
void addStyles (const QDomElement *style)
 
void storeObjectStyles (const QDomElement &object)
 
QColor parseColorN (const QString &rgbColor)
 
QString parseColor (const QString &s)
 
void parseTransform (FPointArray *composite, const QString &transform)
 
void parseViewBox (const QDomElement &object, double *x, double *y, double *w, double *h)
 
void appendPoints (FPointArray *composite, const QDomElement &object, bool closePath)
 
const char * getCoord (const char *ptr, double &number)
 
bool parseSVG (const QString &s, FPointArray *ite)
 
void calculateArc (FPointArray *ite, bool relative, double &curx, double &cury, double angle, double x, double y, double r1, double r2, bool largeArcFlag, bool sweepFlag)
 
void svgClosePath (FPointArray *i)
 
void svgMoveTo (double x1, double y1)
 
void svgLineTo (FPointArray *i, double x1, double y1)
 
void svgCurveToCubic (FPointArray *i, double x1, double y1, double x2, double y2, double x3, double y3)
 

Protected Attributes

QDomDocument inpContents
 
QDomDocument inpStyles
 
QDomDocument inpMeta
 
QHash< QString, QDomElement * > m_styles
 
QHash< QString, QDomElement * > m_draws
 
StyleStack m_styleStack
 
double CurrX
 
double CurrY
 
double StartX
 
double StartY
 
int PathLen
 
bool FirstM
 
bool WasM
 
bool PathClosed
 
bool HaveMeta
 
bool interactive
 
ScribusDocm_Doc
 
SelectiontmpSel
 
QStringList importedColors
 

The documentation for this class was generated from the following files: