7#include <QtPdf/qtpdfglobal.h>
8#include <QtCore/qlist.h>
9#include <QtCore/qobject.h>
10#include <QtCore/qpoint.h>
11#include <QtCore/qrect.h>
12#include <QtCore/qshareddata.h>
13#include <QtGui/qclipboard.h>
39 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP(
QPdfLink)
43 Q_PDF_EXPORT
bool isValid()
const;
44 Q_PDF_EXPORT
int page()
const;
65 QExplicitlySharedDataPointer<QPdfLinkPrivate>
d;
70#ifndef QT_NO_DEBUG_STREAM
Mode
\keyword clipboard mode
void swap(QExplicitlySharedDataPointer &other) noexcept
Swap this instance's explicitly shared data pointer with the explicitly shared data pointer in other.
The QPdfDocument class loads a PDF document and renders pages from it.
The QPdfLink class defines a link between a region on a page (such as a hyperlink or a search result)...
Q_PDF_EXPORT QPdfLink()
Constructs an invalid Destination.
QUrl url
This property holds the destination URL if the link is an external hyperlink; otherwise,...
Q_PDF_EXPORT Q_INVOKABLE void copyToClipboard(QClipboard::Mode mode=QClipboard::Clipboard) const
Copies the toString() representation of the link to the \l {QGuiApplication::clipboard()}{system clip...
QString contextAfter
This property holds adjacent text found on the page after the search string.
qreal zoom
This property holds the suggested magnification level, where 1.0 means default scale (1 pixel = 1 poi...
void swap(QPdfLink &other) noexcept
QPointF location
This property holds the location on the \l page, in units of points.
Q_PDF_EXPORT Q_INVOKABLE QString toString() const
Returns a translated representation for display.
int page
This property holds the page number.
QString contextBefore
This property holds adjacent text found on the page before the search string.
QList< QRectF > rectangles
This property holds the region (set of rectangles) occupied by the link or search result on the page ...
bool valid
This property holds whether the link is valid.
Q_PDF_EXPORT bool isValid() const
Navigation history within a PDF document.
\inmodule QtCore\reentrant
\inmodule QtCore\reentrant
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.
Q_PDF_EXPORT QDebug operator<<(QDebug, const QPdfLink &)