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

#include <poppler-link.h>

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

Public Types

enum  RenditionAction {
  NoRendition , PlayRendition , StopRendition , PauseRendition ,
  ResumeRendition
}
 

Public Member Functions

RenditionAction action () const
 
bool isReferencedAnnotation (const ScreenAnnotation *annotation) const
 
 LinkRendition (const QRectF &linkArea, ::MediaRendition *rendition, int operation, const QString &script, const Ref annotationReference)
 
 LinkRendition (const QRectF &linkArea, std::unique_ptr<::MediaRendition > &&rendition, int operation, const QString &script, const Ref annotationReference)
 
LinkType linkType () const override
 
MediaRendition * rendition () const
 
QString script () const
 
 ~LinkRendition () override
 

Detailed Description

Rendition: Rendition link.

Constructor & Destructor Documentation

◆ LinkRendition() [1/2]

Poppler::LinkRendition::LinkRendition ( const QRectF &  linkArea,
::MediaRendition *  rendition,
int  operation,
const QString &  script,
const Ref  annotationReference 
)

Create a new rendition link.

Parameters
linkAreathe active area of the link
renditionthe media rendition object. Ownership is taken
operationthe numeric operation (action) (
See also
::LinkRendition::RenditionOperation)
Parameters
scriptthe java script code
annotationReferencethe object reference of the screen annotation associated with this rendition action

◆ LinkRendition() [2/2]

Poppler::LinkRendition::LinkRendition ( const QRectF &  linkArea,
std::unique_ptr<::MediaRendition > &&  rendition,
int  operation,
const QString &  script,
const Ref  annotationReference 
)

Create a new rendition link.

Parameters
linkAreathe active area of the link
renditionthe media rendition object.
operationthe numeric operation (action) (
See also
::LinkRendition::RenditionOperation)
Parameters
scriptthe java script code
annotationReferencethe object reference of the screen annotation associated with this rendition action

Member Function Documentation

◆ linkType()

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

The type of this link.

Reimplemented from Poppler::Link.


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