Okular
generator.h
7 SPDX-FileCopyrightText: 2017 Klarälvdalens Datakonsult AB a KDAB Group company <[email protected]>
203 TextExtraction, ///< Whether the Generator can extract text from the document in the form of TextPage's
205 FontInfo, ///< Whether the Generator can provide information about the fonts used in the document
207 PrintNative, ///< Whether the Generator supports native cross-platform printing (QPainter-based).
251 * @note Do not implement this if your format doesn't support passwords, it'll cleanly call loadDocument()
257 virtual Document::OpenResult loadDocumentWithPassword(const QString &fileName, QVector<Page *> &pagesVector, const QString &password);
263 * @note Do not implement this if your format doesn't support passwords, it'll cleanly call loadDocumentFromData()
271 virtual Document::OpenResult loadDocumentFromDataWithPassword(const QByteArray &fileData, QVector<Page *> &pagesVector, const QString &password);
281 SwapBackingFileReloadInternalData //< The document was swapped and internal data (forms, annotations, etc) needs to be reloaded
292 virtual SwapBackingFileResult swapBackingFile(const QString &newFileName, QVector<Okular::Page *> &newPagesVector);
426 virtual void walletDataForFile(const QString &fileName, QString *walletName, QString *walletFolder, QString *walletKey) const;
543 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)
545 GraphicsAntialiasMetaData, ///< Returns (bool)graphic antialias from Settings (option is not used)
555 QVariant documentMetaData(const DocumentMetaDataKey key, const QVariant &option = QVariant()) const;
629 [[deprecated("This PixmapRequest constructor is deprecated, use the one including the device pixel ratio")]] PixmapRequest(DocumentObserver *observer, int pageNumber, int width, int height, int priority, PixmapRequestFeatures features);
642 PixmapRequest(DocumentObserver *observer, int pageNumber, int width, int height, qreal dpr, int priority, PixmapRequestFeatures features);
@ GraphicsAntialiasMetaData
Returns (bool)graphic antialias from Settings (option is not used)
Definition: generator.h:545
@ Threaded
Whether the Generator supports asynchronous generation of pictures or text pages.
Definition: generator.h:202
KCALENDARCORE_EXPORT QDataStream & operator<<(QDataStream &out, const KCalendarCore::Alarm::Ptr &)
A helper class to store information about x509 certificate.
Definition: signatureutils.h:485
Base class for objects being notified when something changes.
Definition: observer.h:28
@ PrintToFile
Whether the Generator supports export to PDF & PS through the Print Dialog.
Definition: generator.h:209
@ ReadRawData
Whether the Generator can read a document directly from its raw data.
Definition: generator.h:204
@ TextExtraction
Whether the Generator can extract text from the document in the form of TextPage's.
Definition: generator.h:203
@ TextAntialiasMetaData
Returns (bool) text antialias from Settings (option is not used)
Definition: generator.h:544
A NormalizedRect is a rectangle which can be defined by two NormalizedPoints.
Definition: area.h:188
@ PrintPostscript
Whether the Generator supports postscript-based file printing.
Definition: generator.h:208
GeneratorFeature
Describe the possible optional features that a Generator can provide.
Definition: generator.h:201
@ SwapBackingFile
Whether the Generator can hot-swap the file it's reading from.
Definition: generator.h:211
@ PageSizes
Whether the Generator can change the size of the document pages.
Definition: generator.h:206
@ FontInfo
Whether the Generator can provide information about the fonts used in the document.
Definition: generator.h:205
@ PaperColorMetaData
Returns (QColor) the paper color if set in Settings or the default color (white) if option is true (o...
Definition: generator.h:543
QString message
The DocumentInfo structure can be filled in by generators to display metadata about the currently ope...
Definition: document.h:75
@ PrintNative
Whether the Generator supports native cross-platform printing (QPainter-based).
Definition: generator.h:207
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:57:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Dec 3 2023 03:57:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.