Okular
generator.h
154 };
204 TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's
206 FontInfo, ///< Whether the Generator can provide information about the fonts used in the document
208 PrintNative, ///< Whether the Generator supports native cross-platform printing (QPainter-based).
214 };
252 * @note Do not implement this if your format doesn't support passwords, it'll cleanly call loadDocument()
258 virtual Document::OpenResult loadDocumentWithPassword(const QString &fileName, QVector<Page *> &pagesVector, const QString &password);
264 * @note Do not implement this if your format doesn't support passwords, it'll cleanly call loadDocumentFromData()
272 virtual Document::OpenResult loadDocumentFromDataWithPassword(const QByteArray &fileData, QVector<Page *> &pagesVector, const QString &password);
293 virtual SwapBackingFileResult swapBackingFile(const QString &newFileName, QVector<Okular::Page *> &newPagesVector);
375 };
398 };
453 virtual void walletDataForFile(const QString &fileName, QString *walletName, QString *walletFolder, QString *walletKey) const;
477 * Calls the backend to execute a BackendOpaqueAction @p action and returns BackendOpaqueAction result
479 virtual BackendOpaqueAction::OpaqueActionResult opaqueAction(const BackendOpaqueAction *action);
577 PaperColorMetaData, ///< Returns (QColor) the paper color if set in Settings or the default color (white) if option is true (otherwise returns a non initialized QColor)
579 GraphicsAntialiasMetaData, ///< Returns (bool)graphic antialias from Settings (option is not used)
581 };
664 PixmapRequest(DocumentObserver *observer, int pageNumber, int width, int height, qreal dpr, int priority, PixmapRequestFeatures features);
A helper class to store information about x509 certificate.
Definition signatureutils.h:517
The DocumentInfo structure can be filled in by generators to display metadata about the currently ope...
Definition document.h:76
Base class for objects being notified when something changes.
Definition observer.h:29
DocumentAdditionalActionType
Describes the additional actions available in the Document.
Definition document.h:775
void error(const QString &message, int duration)
This signal should be emitted whenever an error occurred in the generator.
@ GraphicsAntialiasMetaData
Returns (bool)graphic antialias from Settings (option is not used)
Definition generator.h:579
@ TextAntialiasMetaData
Returns (bool) text antialias from Settings (option is not used)
Definition generator.h:578
@ PaperColorMetaData
Returns (QColor) the paper color if set in Settings or the default color (white) if option is true (o...
Definition generator.h:577
void notice(const QString &message, int duration)
This signal should be emitted whenever the user should be noticed.
GeneratorFeature
Describe the possible optional features that a Generator can provide.
Definition generator.h:202
@ Threaded
Whether the Generator supports asynchronous generation of pictures or text pages.
Definition generator.h:203
@ PrintToFile
Whether the Generator supports export to PDF & PS through the Print Dialog.
Definition generator.h:210
@ ReadRawData
Whether the Generator can read a document directly from its raw data.
Definition generator.h:205
@ TextExtraction
Whether the Generator can extract text from the document in the form of TextPage's.
Definition generator.h:204
@ SwapBackingFile
Whether the Generator can hot-swap the file it's reading from.
Definition generator.h:212
@ PrintNative
Whether the Generator supports native cross-platform printing (QPainter-based).
Definition generator.h:208
@ FontInfo
Whether the Generator can provide information about the fonts used in the document.
Definition generator.h:206
@ PageSizes
Whether the Generator can change the size of the document pages.
Definition generator.h:207
@ PrintPostscript
Whether the Generator supports postscript-based file printing.
Definition generator.h:209
@ TwoPageLeft
Display the pages in two columns, with odd-numbered pages on the left.
Definition generator.h:373
virtual bool doCloseDocument()=0
This method is called when the document is closed and not used any longer.
void warning(const QString &message, int duration)
This signal should be emitted whenever the user should be warned.
A NormalizedRect is a rectangle which can be defined by two NormalizedPoints.
Definition area.h:189
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:49:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.