mupdf-qt
0.1
Qt5 interface of the popular PDF library MuPDF
|
Goto a position in current file. More...
#include <mupdf-link.h>
Public Member Functions | |
LinkType | linkType () const |
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... | |
Protected Member Functions | |
LinkGoto (LinkPrivate *linkp) | |
Protected Member Functions inherited from MuPDF::Link | |
Link (LinkPrivate *linkp) | |
Friends | |
class | OutlineItemPrivate |
Additional Inherited Members | |
Public Types inherited from MuPDF::Link | |
enum | LinkType { None = 0, Goto, URI, Launch, Named, GotoR } |
Protected Attributes inherited from MuPDF::Link | |
LinkPrivate * | d |
Goto a position in current file.
Definition at line 41 of file mupdf-link.h.
|
inlineprotected |
Definition at line 51 of file mupdf-link.h.
bool MuPDF::LinkGoto::fitHorizontally | ( | ) | const |
Fit horizontally.
Definition at line 37 of file mupdf-link.cpp.
bool MuPDF::LinkGoto::fitVertically | ( | ) | const |
Fit vertically.
Definition at line 45 of file mupdf-link.cpp.
|
inlinevirtual |
Reimplemented from MuPDF::Link.
Reimplemented in MuPDF::LinkGotoR.
Definition at line 44 of file mupdf-link.h.
int MuPDF::LinkGoto::page | ( | ) | const |
Page number(start from 0).
Definition at line 29 of file mupdf-link.cpp.
float MuPDF::LinkGoto::zoom | ( | ) | const |
Zoom ratio.
Definition at line 55 of file mupdf-link.cpp.
|
friend |
Definition at line 53 of file mupdf-link.h.