1namespace Poppler { 2 3class LinkDestination 4{ 5%Docstring 6A destination. 7 8The LinkDestination class represent a "destination" (in terms of visual 9viewport to be displayed) for ``Poppler.LinkGoto`` links, 10and items in the table of contents (TOC) of a document. 11 12Coordinates are in 0..1 range. 13%End 14%TypeHeaderCode 15#include <qt5/poppler-qt5.h> 16#include <qt5/poppler-link.h> 17%End 18 19public: 20 enum Kind { 21 destXYZ = 1, 22 destFit = 2, 23 destFitH = 3, 24 destFitV = 4, 25 destFitR = 5, 26 destFitB = 6, 27 destFitBH = 7, 28 destFitBV = 8, 29 }; 30 LinkDestination(const QString &description); 31 LinkDestination(const Poppler::LinkDestination &other); 32 ~LinkDestination(); 33 Kind kind() const; 34 int pageNumber() const; 35 double left() const; 36 double bottom() const; 37 double right() const; 38 double top() const; 39 double zoom() const; 40 bool isChangeLeft() const; 41 bool isChangeTop() const; 42 bool isChangeZoom() const; 43 QString toString() const; 44 QString destinationName() const; 45}; // class LinkDestination 46 47}; // namespace Poppler 48