Poppler Qt6 24.11.0
|
#include <poppler-link.h>
Public Types | |
enum | LinkType { None , Goto , Execute , Browse , Action , Sound , Movie , Rendition , JavaScript , OCGState , Hide , ResetForm , SubmitForm } |
Public Member Functions | |
QRectF | linkArea () const |
virtual LinkType | linkType () const |
QVector< Link * > | nextLinks () const |
virtual | ~Link () |
Encapsulates data that describes a link.
This is the base class for links. It makes mandatory for inherited kind of links to reimplement the linkType() method and return the type of the link described by the reimplemented class.
The possible kinds of link.
Inherited classes must return an unique identifier
QRectF Poppler::Link::linkArea | ( | ) | const |
The area of a Page where the link should be active.
|
virtual |
The type of this link.
Reimplemented in Poppler::LinkGoto, Poppler::LinkExecute, Poppler::LinkBrowse, Poppler::LinkAction, Poppler::LinkSound, Poppler::LinkRendition, Poppler::LinkJavaScript, Poppler::LinkMovie, Poppler::LinkOCGState, Poppler::LinkHide, Poppler::LinkResetForm, and Poppler::LinkSubmitForm.
QVector< Link * > Poppler::Link::nextLinks | ( | ) | const |
Get the next links to be activated / executed after this link.