Poppler Qt5
0.74.0
|
#include <poppler-link.h>
Public Member Functions | |
LinkDestination | destination () const |
QString | fileName () const |
bool | isExternal () const |
LinkGoto (const QRectF &linkArea, QString extFileName, const LinkDestination &destination) | |
LinkType | linkType () const override |
~LinkGoto () | |
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 } |
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, |
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)