Poppler Qt6 24.12.0
|
#include <poppler-link.h>
Public Member Functions | |
LinkDestination | destination () const |
QString | fileName () const |
bool | isExternal () const |
LinkGoto (const QRectF &linkArea, const QString &extFileName, const LinkDestination &destination) | |
LinkType | linkType () const override |
~LinkGoto () override | |
Public Member Functions inherited from Poppler::Link | |
QRectF | linkArea () const |
QVector< Link * > | nextLinks () const |
virtual | ~Link () |
Additional Inherited Members | |
Public Types inherited from Poppler::Link | |
enum | LinkType { None , Goto , Execute , Browse , Action , Sound , Movie , Rendition , JavaScript , OCGState , Hide , ResetForm , SubmitForm } |
Viewport reaching request.
With a LinkGoto link, the document requests the specified viewport to be reached (aka, displayed in a viewer). Furthermore, if a file name is specified, then the destination refers to that document (and not to the document the current LinkGoto belongs to).
Poppler::LinkGoto::LinkGoto | ( | const QRectF & | linkArea, |
const QString & | extFileName, | ||
const LinkDestination & | destination | ||
) |
Create a new Goto link.
linkArea | the active area of the link |
extFileName | if not empty, the file name to be open |
destination | the destination to be reached |
bool Poppler::LinkGoto::isExternal | ( | ) | const |
Whether the destination is in an external document (i.e.
not the current document)
|
overridevirtual |
The type of this link.
Reimplemented from Poppler::Link.