Changeset View
Changeset View
Standalone View
Standalone View
core/generator.h
Show First 20 Lines • Show All 199 Lines • ▼ Show 20 Line(s) | 193 | { | |||
---|---|---|---|---|---|
200 | 200 | | |||
201 | public: | 201 | public: | ||
202 | /** | 202 | /** | ||
203 | * Describe the possible optional features that a Generator can | 203 | * Describe the possible optional features that a Generator can | ||
204 | * provide. | 204 | * provide. | ||
205 | */ | 205 | */ | ||
206 | enum GeneratorFeature | 206 | enum GeneratorFeature | ||
207 | { | 207 | { | ||
208 | Threaded, | 208 | Threaded, ///< Whether the Generator supports asynchronous generation of pictures or text pages | ||
209 | TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's | 209 | TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's | ||
210 | ReadRawData, ///< Whether the Generator can read a document directly from its raw data. | 210 | ReadRawData, ///< Whether the Generator can read a document directly from its raw data. | ||
211 | FontInfo, ///< Whether the Generator can provide information about the fonts used in the document | 211 | FontInfo, ///< Whether the Generator can provide information about the fonts used in the document | ||
212 | PageSizes, ///< Whether the Generator can change the size of the document pages. | 212 | PageSizes, ///< Whether the Generator can change the size of the document pages. | ||
213 | PrintNative, ///< Whether the Generator supports native cross-platform printing (QPainter-based). | 213 | PrintNative, ///< Whether the Generator supports native cross-platform printing (QPainter-based). | ||
214 | PrintPostscript, ///< Whether the Generator supports postscript-based file printing. | 214 | PrintPostscript, ///< Whether the Generator supports postscript-based file printing. | ||
215 | PrintToFile, ///< Whether the Generator supports export to PDF & PS through the Print Dialog | 215 | PrintToFile, ///< Whether the Generator supports export to PDF & PS through the Print Dialog | ||
216 | TiledRendering, ///< Whether the Generator can render tiles @since 0.16 (KDE 4.10) | 216 | TiledRendering, ///< Whether the Generator can render tiles @since 0.16 (KDE 4.10) | ||
▲ Show 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | |||||
374 | 374 | | |||
375 | /** | 375 | /** | ||
376 | * This method returns the metric of the page size. Default is @ref None. | 376 | * This method returns the metric of the page size. Default is @ref None. | ||
377 | */ | 377 | */ | ||
378 | virtual PageSizeMetric pagesSizeMetric() const; | 378 | virtual PageSizeMetric pagesSizeMetric() const; | ||
379 | 379 | | |||
380 | /** | 380 | /** | ||
381 | * Returns whether the given @p action is allowed in the document. | 381 | * Returns whether the given @p action is allowed in the document. | ||
382 | * @see @ref Permission | 382 | * @see @ref Okular::Permission | ||
383 | */ | 383 | */ | ||
384 | virtual bool isAllowed( Permission action ) const; | 384 | virtual bool isAllowed( Permission action ) const; | ||
385 | 385 | | |||
386 | /** | 386 | /** | ||
387 | * This method is called when the orientation has been changed by the user. | 387 | * This method is called when the orientation has been changed by the user. | ||
388 | */ | 388 | */ | ||
389 | virtual void rotationChanged( Rotation orientation, Rotation oldOrientation ); | 389 | virtual void rotationChanged( Rotation orientation, Rotation oldOrientation ); | ||
390 | 390 | | |||
▲ Show 20 Lines • Show All 434 Lines • Show Last 20 Lines |