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

#include <mupdf-link.h>

Inheritance diagram for MuPDF::Link:
MuPDF::LinkGoto MuPDF::LinkLaunch MuPDF::LinkNamed MuPDF::LinkURI MuPDF::LinkGotoR

Public Types

enum  LinkType {
  None = 0, Goto, URI, Launch,
  Named, GotoR
}
 

Public Member Functions

virtual ~Link ()
 
virtual LinkType linkType () const
 
virtual QRectF linkArea () const
 Rect area of the link. More...
 

Protected Member Functions

 Link (LinkPrivate *linkp)
 

Protected Attributes

LinkPrivate * d
 

Friends

class OutlineItemPrivate
 

Detailed Description

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

Member Enumeration Documentation

Enumerator
None 
Goto 

Goto a position in current file.

URI 

A URI link.

Launch 

Launch a file (a document or a executable)

Named 

Named action to perform.

GotoR 

Goto a position in another file.

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

Constructor & Destructor Documentation

MuPDF::Link::~Link ( )
virtual

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

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

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

Member Function Documentation

QRectF MuPDF::Link::linkArea ( ) const
virtual

Rect area of the link.

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

virtual LinkType MuPDF::Link::linkType ( ) const
inlinevirtual

Reimplemented in MuPDF::LinkGotoR, MuPDF::LinkNamed, MuPDF::LinkLaunch, MuPDF::LinkURI, and MuPDF::LinkGoto.

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

Friends And Related Function Documentation

friend class OutlineItemPrivate
friend

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

Member Data Documentation

LinkPrivate* MuPDF::Link::d
protected

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


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