Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/generator_pdf.h
Show All 25 Lines | |||||
26 | #include <core/generator.h> | 26 | #include <core/generator.h> | ||
27 | #include <interfaces/configinterface.h> | 27 | #include <interfaces/configinterface.h> | ||
28 | #include <interfaces/printinterface.h> | 28 | #include <interfaces/printinterface.h> | ||
29 | #include <interfaces/saveinterface.h> | 29 | #include <interfaces/saveinterface.h> | ||
30 | 30 | | |||
31 | namespace Okular { | 31 | namespace Okular { | ||
32 | class ObjectRect; | 32 | class ObjectRect; | ||
33 | class SourceReference; | 33 | class SourceReference; | ||
34 | class SignatureInfo; | ||||
34 | } | 35 | } | ||
35 | 36 | | |||
36 | class PDFOptionsPage; | 37 | class PDFOptionsPage; | ||
37 | class PopplerAnnotationProxy; | 38 | class PopplerAnnotationProxy; | ||
38 | 39 | | |||
39 | /** | 40 | /** | ||
40 | * @short A generator that builds contents from a PDF document. | 41 | * @short A generator that builds contents from a PDF document. | ||
41 | * | 42 | * | ||
▲ Show 20 Lines • Show All 58 Lines • ▼ Show 20 Line(s) | 60 | public: | |||
100 | bool supportsOption( SaveOption ) const override; | 101 | bool supportsOption( SaveOption ) const override; | ||
101 | bool save( const QString &fileName, SaveOptions options, QString *errorText ) override; | 102 | bool save( const QString &fileName, SaveOptions options, QString *errorText ) override; | ||
102 | Okular::AnnotationProxy* annotationProxy() const override; | 103 | Okular::AnnotationProxy* annotationProxy() const override; | ||
103 | 104 | | |||
104 | protected: | 105 | protected: | ||
105 | SwapBackingFileResult swapBackingFile( QString const &newFileName, QVector<Okular::Page*> & newPagesVector ) override; | 106 | SwapBackingFileResult swapBackingFile( QString const &newFileName, QVector<Okular::Page*> & newPagesVector ) override; | ||
106 | bool doCloseDocument() override; | 107 | bool doCloseDocument() override; | ||
107 | Okular::TextPage* textPage( Okular::TextRequest *request ) override; | 108 | Okular::TextPage* textPage( Okular::TextRequest *request ) override; | ||
109 | void requestSignedRevisionData( Okular::SignatureInfo *info, QByteArray *buffer ) override; | ||||
108 | 110 | | |||
109 | protected Q_SLOTS: | 111 | protected Q_SLOTS: | ||
110 | void requestFontData(const Okular::FontInfo &font, QByteArray *data); | 112 | void requestFontData(const Okular::FontInfo &font, QByteArray *data); | ||
111 | Okular::Generator::PrintError printError() const; | 113 | Okular::Generator::PrintError printError() const; | ||
112 | 114 | | |||
113 | private: | 115 | private: | ||
114 | Okular::Document::OpenResult init(QVector<Okular::Page*> & pagesVector, const QString &password); | 116 | Okular::Document::OpenResult init(QVector<Okular::Page*> & pagesVector, const QString &password); | ||
115 | 117 | | |||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |