Qt PDF C++ Classes

Renders pages from PDF documents. More...

This module was introduced in Qt 5.14.

Classes

QPdfBookmarkModel

Holds a tree of of links (anchors) within a PDF document, such as the table of contents

QPdfDocument

Loads a PDF document and renders pages from it

QPdfDocumentRenderOptions

Holds the options to render a page from a PDF document

QPdfLink

Defines a link between a region on a page (such as a hyperlink or a search result) and a destination (page, location on the page, and zoom level at which to view it)

QPdfLinkModel

Holds the geometry and the destination for each link that the specified page contains

QPdfPageNavigator

Navigation history within a PDF document

QPdfPageRenderer

Encapsulates the rendering of pages of a PDF document

QPdfSearchModel

Searches for a string in a PDF document and holds the results

QPdfSelection

Defines a range of text that has been selected on one page in a PDF document, and its geometric boundaries

QPdfView

A PDF viewer widget

Detailed Description

The Qt PDF module contains classes and functions for rendering PDF documents.

To include the definitions of the module's classes, use the following directive:

#include <QtPdf>

To link against the module, add this line to your qmake project file:

QT += pdf

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.