5
#include <qt4/poppler-qt4.h>
20
%If(POPPLER_V0_16_0 -)
26
DontSaveAndRestore = 0x00000001,
28
typedef QFlags<Poppler::Page::PainterFlag> PainterFlags;
30
QImage renderToImage(double xres=72.0, double yres=72.0, int x=-1, int y=-1, int w=-1, int h=-1, Rotation rotate = Rotate0) const /ReleaseGIL/;
31
%If(POPPLER_V0_16_0 -)
32
bool renderToPainter(QPainter* painter, double xres=72.0, double yres=72.0, int x=-1, int y=-1, int w=-1, int h=-1,
33
Rotation rotate = Rotate0, PainterFlags flags = 0) const /ReleaseGIL/;
35
QImage thumbnail() const;
36
%If(POPPLER_V0_16_0 -)
37
QString text(const QRectF &rect, TextLayout textLayout) const;
39
QString text(const QRectF &rect) const;
40
enum SearchDirection {
49
bool search(const QString &text, QRectF &rect, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const /ReleaseGIL/;
50
%If(POPPLER_V0_14_0 -)
51
bool search(const QString &text, double &rectLeft, double &rectTop, double &rectRight, double &rectBottom, SearchDirection direction, SearchMode caseSensitive, Rotation rotate = Rotate0) const /ReleaseGIL/;
53
QList<Poppler::TextBox*> textList(Rotation rotate = Rotate0) const;
54
QSizeF pageSizeF() const;
55
QSize pageSize() const;
56
Poppler::PageTransition *transition() const;
57
Poppler::Link *action( PageAction act ) const;
64
Orientation orientation() const;
65
void defaultCTM(double *CTM, double dpiX, double dpiY, int rotate, bool upsideDown);
66
QList<Poppler::Link*> links() const;
67
QList<Poppler::Annotation*> annotations() const;
68
QList<Poppler::FormField*> formFields() const;
69
double duration() const;
70
QString label() const;
74
Page( const Poppler::Page & );
78
}; // namespace Poppler