Scribus
Open source desktop publishing at your fingertips
scimgdataloader_ora.h
1 /*
2 For general Scribus (>=1.3.2) copyright and licensing information please refer
3 to the COPYING file provided with the program. Following this notice may exist
4 a copyright and/or license notice that predates the release of Scribus 1.3.2
5 for which a new license (GPL+exception) is in place.
6 */
7 #ifndef SCIMGDATALOADER_ORA_H
8 #define SCIMGDATALOADER_ORA_H
9 
10 #include "scimgdataloader.h"
11 #include "scpainter.h"
12 #include "third_party/zip/scribus_zip.h"
13 #include <QDomDocument>
14 #include <QDomElement>
15 
17 {
18 public:
19  ScImgDataLoader_ORA(void);
20 
21  virtual bool preloadAlphaChannel(const QString& fn, int page, int res, bool& hasAlpha);
22  virtual void loadEmbeddedProfile(const QString& fn, int page = 0);
23  virtual bool loadPicture(const QString& fn, int page, int res, bool thumbnail);
24 protected:
25  void initSupportedFormatList();
26  void parseStackXML(QDomElement &elem, ScPainter *painter, ScZipHandler *uz);
27  int blendModeToInt(QString compositeOp);
28  QString blendModeToString(QString compositeOp);
29  int inSubLayer;
30  int layerCount;
31 };
32 
33 #endif
Definition: scimgdataloader.h:19
Definition: scpainter.h:33
Definition: scimgdataloader_ora.h:16
Definition: scribus_zip.h:28