summaryrefslogtreecommitdiffstats
path: root/src/webengine/doc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2019-06-04 15:05:17 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2019-06-04 15:05:17 +0200
commit83a9fa820ed2a8898fa2e815c3933f7507f37c69 (patch)
tree60ec2159645f7de548259385ef9e392dcb63eb09 /src/webengine/doc
parent8e8cd9ea03dbdfab4d1707ca751b72dd6ac3c178 (diff)
parent5d4bac57a0191287a2fc345f6b398fb1f5d08517 (diff)
Merge remote-tracking branch 'origin/5.13.0' into 5.13
Diffstat (limited to 'src/webengine/doc')
-rw-r--r--src/webengine/doc/src/qtwebengine-features.qdoc16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/webengine/doc/src/qtwebengine-features.qdoc b/src/webengine/doc/src/qtwebengine-features.qdoc
index 5c6bdda5d..08c189740 100644
--- a/src/webengine/doc/src/qtwebengine-features.qdoc
+++ b/src/webengine/doc/src/qtwebengine-features.qdoc
@@ -44,6 +44,7 @@
\li \l{HTTP/2 Protocol}
\li \l{Native Dialogs}
\li \l{Pepper Plugin API}
+ \li \l{PDF File Viewing}
\li \l{Print to PDF}
\li \l{Process Models}
\li \l{Spellchecker}
@@ -319,6 +320,21 @@
feature, the \c https://helpx.adobe.com/flash-player.html page can be opened
in the browser.
+ \section1 PDF File Viewing
+
+ \QWE supports viewing PDF documents by navigating to them. This feature uses the Chromium
+ extensions API and PDF viewer plugin to display the PDF documents.
+ It can be tested in \l{WebEngine Widgets Simple Browser Example}{Simple Browser} or
+ \l{WebEngine Quick Nano Browser}{Nano Browser}.
+
+ Loading plugins needs to be enabled using QWebEngineSettings::PluginsEnabled or
+ WebEngineSettings::pluginsEnabled in order to use this feature.
+
+ This feature can be turned on (default) or off via the QWebEngineSettings::PdfViewerEnabled or
+ WebEngineSettings::pdfViewerEnabled setting.
+
+ Support for this feature was added in Qt 5.13.0.
+
\section1 Print to PDF
\QWE supports printing a web page to a PDF file. For more