Poppler Qt5 25.12.90
Poppler::LinkGoto Class Reference

#include <poppler-link.h>

Inheritance diagram for Poppler::LinkGoto:
Collaboration diagram for Poppler::LinkGoto:

Public Member Functions

LinkDestination destination () const
QString fileName () const
bool isExternal () const
 LinkGoto (const QRectF &linkArea, 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,
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

References destination(), and Poppler::Link::linkArea().

Referenced by linkType().

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.

References LinkGoto().


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