Poppler Qt6 24.12.0
Public Member Functions | List of all members
Poppler::LinkGoto Class Reference

#include <poppler-link.h>

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

Public Member Functions

LinkDestination destination () const
 
QString fileName () const
 
bool isExternal () const
 
 LinkGoto (const QRectF &linkArea, const QString &extFileName, const LinkDestination &destination)
 
LinkType linkType () const override
 
 ~LinkGoto () override
 

Additional Inherited Members

Detailed Description

Viewport reaching request.

With a LinkGoto link, the document requests the specified viewport to be reached (aka, displayed in a viewer). Furthermore, if a file name is specified, then the destination refers to that document (and not to the document the current LinkGoto belongs to).

Constructor & Destructor Documentation

◆ LinkGoto()

Poppler::LinkGoto::LinkGoto ( const QRectF &  linkArea,
const QString &  extFileName,
const LinkDestination destination 
)

Create a new Goto link.

Parameters
linkAreathe active area of the link
extFileNameif not empty, the file name to be open
destinationthe destination to be reached

Member Function Documentation

◆ isExternal()

bool Poppler::LinkGoto::isExternal ( ) const

Whether the destination is in an external document (i.e.

not the current document)

◆ linkType()

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

The type of this link.

Reimplemented from Poppler::Link.


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