mupdf-qt
0.1
Qt5 interface of the popular PDF library MuPDF
|
Goto a position in another file. More...
#include <mupdf-link.h>
Public Member Functions | |
LinkType | linkType () const |
int | page () const |
Page number(start from 0). More... | |
QString | destination () const |
The target destination name to be resolved in the file(). More... | |
QString | file () const |
A pointer to a remote file specification (UTF-8). If set, this destination should cause a new file to be opened. More... | |
bool | newWindow () const |
If true, the destination should open in a new window. More... | |
Public Member Functions inherited from MuPDF::LinkGoto | |
int | page () const |
Page number(start from 0). More... | |
bool | fitHorizontally () const |
Fit horizontally. More... | |
bool | fitVertically () const |
Fit vertically. More... | |
float | zoom () const |
Zoom ratio. More... | |
Public Member Functions inherited from MuPDF::Link | |
virtual | ~Link () |
virtual QRectF | linkArea () const |
Rect area of the link. More... | |
Friends | |
class | OutlineItemPrivate |
Additional Inherited Members | |
Public Types inherited from MuPDF::Link | |
enum | LinkType { None = 0, Goto, URI, Launch, Named, GotoR } |
Protected Member Functions inherited from MuPDF::LinkGoto | |
LinkGoto (LinkPrivate *linkp) | |
Protected Attributes inherited from MuPDF::Link | |
LinkPrivate * | d |
Goto a position in another file.
Definition at line 107 of file mupdf-link.h.
QString MuPDF::LinkGotoR::destination | ( | ) | const |
The target destination name to be resolved in the file().
Definition at line 128 of file mupdf-link.cpp.
QString MuPDF::LinkGotoR::file | ( | ) | const |
A pointer to a remote file specification (UTF-8). If set, this destination should cause a new file to be opened.
Definition at line 137 of file mupdf-link.cpp.
|
inlinevirtual |
Reimplemented from MuPDF::LinkGoto.
Definition at line 110 of file mupdf-link.h.
bool MuPDF::LinkGotoR::newWindow | ( | ) | const |
If true, the destination should open in a new window.
Definition at line 145 of file mupdf-link.cpp.
int MuPDF::LinkGotoR::page | ( | ) | const |
Page number(start from 0).
Definition at line 118 of file mupdf-link.cpp.
|
friend |
Definition at line 119 of file mupdf-link.h.