-rw-r--r-- | noncore/unsupported/qpdf/QOutputDev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/unsupported/qpdf/QOutputDev.h b/noncore/unsupported/qpdf/QOutputDev.h index f3c5a01..874fd06 100644 --- a/noncore/unsupported/qpdf/QOutputDev.h +++ b/noncore/unsupported/qpdf/QOutputDev.h | |||
@@ -41,48 +41,50 @@ class CharCodeToUnicode; | |||
41 | 41 | ||
42 | 42 | ||
43 | class QPainter; | 43 | class QPainter; |
44 | class QPixmap; | 44 | class QPixmap; |
45 | class QPointArray; | 45 | class QPointArray; |
46 | 46 | ||
47 | 47 | ||
48 | typedef fouble fp_t; | 48 | typedef fouble fp_t; |
49 | 49 | ||
50 | //------------------------------------------------------------------------ | 50 | //------------------------------------------------------------------------ |
51 | // Constants | 51 | // Constants |
52 | //------------------------------------------------------------------------ | 52 | //------------------------------------------------------------------------ |
53 | 53 | ||
54 | 54 | ||
55 | //------------------------------------------------------------------------ | 55 | //------------------------------------------------------------------------ |
56 | // Misc types | 56 | // Misc types |
57 | //------------------------------------------------------------------------ | 57 | //------------------------------------------------------------------------ |
58 | 58 | ||
59 | 59 | ||
60 | //------------------------------------------------------------------------ | 60 | //------------------------------------------------------------------------ |
61 | // XOutputDev | 61 | // XOutputDev |
62 | //------------------------------------------------------------------------ | 62 | //------------------------------------------------------------------------ |
63 | 63 | ||
64 | class QOutputDev : public QScrollView, public OutputDev { | 64 | class QOutputDev : public QScrollView, public OutputDev { |
65 | Q_OBJECT | ||
66 | |||
65 | public: | 67 | public: |
66 | 68 | ||
67 | // Constructor. | 69 | // Constructor. |
68 | QOutputDev( QWidget *parent = 0, const char *name = 0, int flags = 0 ); | 70 | QOutputDev( QWidget *parent = 0, const char *name = 0, int flags = 0 ); |
69 | 71 | ||
70 | // Destructor. | 72 | // Destructor. |
71 | virtual ~QOutputDev(); | 73 | virtual ~QOutputDev(); |
72 | 74 | ||
73 | //---- get info about output device | 75 | //---- get info about output device |
74 | 76 | ||
75 | // Does this device use upside-down coordinates? | 77 | // Does this device use upside-down coordinates? |
76 | // (Upside-down means (0,0) is the top left corner of the page.) | 78 | // (Upside-down means (0,0) is the top left corner of the page.) |
77 | virtual GBool upsideDown() { return gTrue; } | 79 | virtual GBool upsideDown() { return gTrue; } |
78 | 80 | ||
79 | // Does this device use drawChar() or drawString()? | 81 | // Does this device use drawChar() or drawString()? |
80 | virtual GBool useDrawChar() { return gTrue; } | 82 | virtual GBool useDrawChar() { return gTrue; } |
81 | 83 | ||
82 | // Does this device use beginType3Char/endType3Char? Otherwise, | 84 | // Does this device use beginType3Char/endType3Char? Otherwise, |
83 | // text in Type 3 fonts will be drawn with drawChar/drawString. | 85 | // text in Type 3 fonts will be drawn with drawChar/drawString. |
84 | virtual GBool interpretType3Chars() { return gFalse; } | 86 | virtual GBool interpretType3Chars() { return gFalse; } |
85 | 87 | ||
86 | // Does this device need non-text content? | 88 | // Does this device need non-text content? |
87 | virtual GBool needNonText() { return gFalse; } | 89 | virtual GBool needNonText() { return gFalse; } |
88 | 90 | ||