Changeset View
Changeset View
Standalone View
Standalone View
filters/karbon/pdf/Pdf2OdgImport.h
Show All 30 Lines | |||||
31 | class KoShape; | 31 | class KoShape; | ||
32 | 32 | | |||
33 | class Pdf2OdgImport : public KoFilter | 33 | class Pdf2OdgImport : public KoFilter | ||
34 | { | 34 | { | ||
35 | Q_OBJECT | 35 | Q_OBJECT | ||
36 | 36 | | |||
37 | public: | 37 | public: | ||
38 | Pdf2OdgImport(QObject* parent, const QVariantList&); | 38 | Pdf2OdgImport(QObject* parent, const QVariantList&); | ||
39 | virtual ~Pdf2OdgImport(); | 39 | ~Pdf2OdgImport() override; | ||
40 | 40 | | |||
41 | virtual KoFilter::ConversionStatus convert(const QByteArray& from, const QByteArray& to); | 41 | KoFilter::ConversionStatus convert(const QByteArray& from, const QByteArray& to) override; | ||
42 | 42 | | |||
43 | KoFilter::ConversionStatus convert(int pageNumber, QFile &in); | 43 | KoFilter::ConversionStatus convert(int pageNumber, QFile &in); | ||
44 | void convert(const KoXmlElement &rootElement, int pageNumber); | 44 | void convert(const KoXmlElement &rootElement, int pageNumber); | ||
45 | void buildDocument(const QList<KoShape*> &toplevelShapes, const QList<KoShape*> &shapes, int pageNumber); | 45 | void buildDocument(const QList<KoShape*> &toplevelShapes, const QList<KoShape*> &shapes, int pageNumber); | ||
46 | 46 | | |||
47 | private: | 47 | private: | ||
48 | KarbonDocument *m_document; | 48 | KarbonDocument *m_document; | ||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | #endif | 51 | #endif | ||
52 | 52 | |