Poppler Qt5
0.74.0
|
#include <poppler-link.h>
Public Types | |
enum | Kind { destXYZ = 1, destFit = 2, destFitH = 3, destFitV = 4, destFitR = 5, destFitB = 6, destFitBH = 7, destFitBV = 8 } |
Public Member Functions | |
double | bottom () const |
QString | destinationName () const |
bool | isChangeLeft () const |
bool | isChangeTop () const |
bool | isChangeZoom () const |
Kind | kind () const |
double | left () const |
LinkDestination (const LinkDestination &other) | |
LinkDestination & | operator= (const LinkDestination &other) |
int | pageNumber () const |
double | right () const |
double | top () const |
QString | toString () const |
double | zoom () const |
~LinkDestination () | |
A destination.
The LinkDestination class represent a "destination" (in terms of visual viewport to be displayed) for GoTo links, and items in the table of contents (TOC) of a document.
Coordinates are in 0..1 range
The possible kind of "viewport destination".
Enumerator | |
---|---|
destXYZ | The new viewport is specified in terms of:
|
QString Poppler::LinkDestination::destinationName | ( | ) | const |
Return the name of this destination.
bool Poppler::LinkDestination::isChangeLeft | ( | ) | const |
Whether the left of the viewport on the target page should be changed.
bool Poppler::LinkDestination::isChangeTop | ( | ) | const |
Whether the top of the viewport on the target page should be changed.
bool Poppler::LinkDestination::isChangeZoom | ( | ) | const |
Whether the zoom level should be changed.
int Poppler::LinkDestination::pageNumber | ( | ) | const |
Which page is the target of this destination.