Changeset View
Changeset View
Standalone View
Standalone View
generators/poppler/formfields.h
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 80 | { | |||
---|---|---|---|---|---|
106 | 106 | | |||
107 | private: | 107 | private: | ||
108 | Poppler::FormFieldChoice * m_field; | 108 | Poppler::FormFieldChoice * m_field; | ||
109 | Okular::NormalizedRect m_rect; | 109 | Okular::NormalizedRect m_rect; | ||
110 | int m_id; | 110 | int m_id; | ||
111 | 111 | | |||
112 | }; | 112 | }; | ||
113 | 113 | | |||
114 | class PopplerSignatureInfo; | ||||
115 | class PopplerFormFieldSignature : public Okular::FormFieldSignature | ||||
116 | { | ||||
117 | public: | ||||
118 | PopplerFormFieldSignature( Poppler::FormFieldSignature * field ); | ||||
119 | virtual ~PopplerFormFieldSignature(); | ||||
120 | | ||||
121 | // inherited from Okular::FormField | ||||
122 | Okular::NormalizedRect rect() const override; | ||||
123 | int id() const override; | ||||
124 | QString name() const override; | ||||
125 | QString uiName() const override; | ||||
126 | bool isReadOnly() const override; | ||||
127 | bool isVisible() const override; | ||||
128 | | ||||
129 | // inherited from Okular::FormFieldSignature | ||||
130 | SignatureType signatureType() const override; | ||||
131 | Okular::SignatureInfo *validate() const override; | ||||
132 | | ||||
133 | private: | ||||
134 | Poppler::FormFieldSignature * m_field; | ||||
volkov: It's available since poppler 0.51, so this change broke build with older versions. | |||||
135 | mutable PopplerSignatureInfo *m_info; | ||||
136 | Okular::NormalizedRect m_rect; | ||||
137 | int m_id; | ||||
138 | }; | ||||
139 | | ||||
114 | #endif | 140 | #endif |
It's available since poppler 0.51, so this change broke build with older versions.