Poppler Qt5 24.11.0
Public Types | Public Member Functions | List of all members
Poppler::LinkAction Class Reference

#include <poppler-link.h>

Inheritance diagram for Poppler::LinkAction:
Inheritance graph
[legend]
Collaboration diagram for Poppler::LinkAction:
Collaboration graph
[legend]

Public Types

enum  ActionType {
  PageFirst = 1 , PagePrev = 2 , PageNext = 3 , PageLast = 4 ,
  HistoryBack = 5 , HistoryForward = 6 , Quit = 7 , Presentation = 8 ,
  EndPresentation = 9 , Find = 10 , GoToPage = 11 , Close = 12 ,
  Print = 13 , SaveAs = 14
}
 

Public Member Functions

ActionType actionType () const
 
 LinkAction (const QRectF &linkArea, ActionType actionType)
 
LinkType linkType () const override
 
 ~LinkAction () override
 

Detailed Description

"Standard" action request.

The LinkAction class represents a link that request a "standard" action to be performed by the viewer on the displayed document.

Member Enumeration Documentation

◆ ActionType

The possible types of actions.

Enumerator
Print 
Since
0.16
SaveAs 
Since
22.04

Constructor & Destructor Documentation

◆ LinkAction()

Poppler::LinkAction::LinkAction ( const QRectF &  linkArea,
ActionType  actionType 
)

Create a new Action link, that executes a specified action on the document.

Parameters
linkAreathe active area of the link
actionTypewhich action should be executed

Member Function Documentation

◆ linkType()

LinkType Poppler::LinkAction::linkType ( ) const
overridevirtual

The type of this link.

Reimplemented from Poppler::Link.


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