Poppler Qt6 24.12.0
|
#include <poppler-link.h>
Public Member Functions | |
LinkSound (const QRectF &linkArea, double volume, bool sync, bool repeat, bool mix, SoundObject *sound) | |
LinkType | linkType () const override |
bool | mix () const |
bool | repeat () const |
SoundObject * | sound () const |
bool | synchronous () const |
double | volume () const |
~LinkSound () override | |
Public Member Functions inherited from Poppler::Link | |
QRectF | linkArea () const |
QVector< Link * > | nextLinks () const |
virtual | ~Link () |
Additional Inherited Members | |
Public Types inherited from Poppler::Link | |
enum | LinkType { None , Goto , Execute , Browse , Action , Sound , Movie , Rendition , JavaScript , OCGState , Hide , ResetForm , SubmitForm } |
Sound: a sound to be played.
|
overridevirtual |
The type of this link.
Reimplemented from Poppler::Link.
bool Poppler::LinkSound::mix | ( | ) | const |
Whether the playback of this sound can be mixed with playbacks with other sounds of the same document.
double Poppler::LinkSound::volume | ( | ) | const |
The volume to be used when playing the sound.
The volume is in the range [ -1, 1 ], where: