mupdf-qt  0.1
Qt5 interface of the popular PDF library MuPDF
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Pages
Public Member Functions | Protected Member Functions | Friends | List of all members
MuPDF::LinkGoto Class Reference

Goto a position in current file. More...

#include <mupdf-link.h>

Inheritance diagram for MuPDF::LinkGoto:
MuPDF::Link MuPDF::LinkGotoR

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...
 

Protected Member Functions

 LinkGoto (LinkPrivate *linkp)
 

Friends

class OutlineItemPrivate
 

Additional Inherited Members

Detailed Description

Goto a position in current file.

Definition at line 41 of file mupdf-link.h.

Constructor & Destructor Documentation

MuPDF::LinkGoto::LinkGoto ( LinkPrivate *  linkp)
inlineprotected

Definition at line 51 of file mupdf-link.h.

Member Function Documentation

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.

LinkType MuPDF::LinkGoto::linkType ( ) const
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.

Returns
Do not change zoom ratio when 0.0f is returned.

Definition at line 55 of file mupdf-link.cpp.

Friends And Related Function Documentation

friend class OutlineItemPrivate
friend

Definition at line 53 of file mupdf-link.h.


The documentation for this class was generated from the following files: