26 #ifndef _POPPLER_LINK_H_ 27 #define _POPPLER_LINK_H_ 29 #include <QtCore/QString> 30 #include <QtCore/QRectF> 31 #include <QtCore/QSharedDataPointer> 32 #include <QtCore/QVector> 33 #include "poppler-export.h" 37 class MovieAnnotation;
38 class ScreenAnnotation;
43 class LinkGotoPrivate;
44 class LinkExecutePrivate;
45 class LinkBrowsePrivate;
46 class LinkActionPrivate;
47 class LinkSoundPrivate;
48 class LinkJavaScriptPrivate;
49 class LinkMoviePrivate;
50 class LinkDestinationData;
51 class LinkDestinationPrivate;
52 class LinkRenditionPrivate;
53 class LinkOCGStatePrivate;
54 class LinkHidePrivate;
115 int pageNumber()
const;
121 double bottom()
const;
122 double right()
const;
135 bool isChangeLeft()
const;
142 bool isChangeTop()
const;
148 bool isChangeZoom()
const;
153 QString toString()
const;
160 QString destinationName()
const;
168 QSharedDataPointer< LinkDestinationPrivate > d;
184 Link(
const QRectF &linkArea );
210 virtual LinkType linkType()
const;
223 QRectF linkArea()
const;
230 QVector<Link *> nextLinks()
const;
234 Link( LinkPrivate &dd );
235 Q_DECLARE_PRIVATE(
Link )
240 Q_DISABLE_COPY(
Link )
273 bool isExternal()
const;
279 QString fileName()
const;
305 QString fileName()
const;
309 QString parameters()
const;
318 LinkExecute(
const QRectF &linkArea,
const QString & file,
const QString & params );
352 LinkBrowse(
const QRectF &linkArea,
const QString &url );
394 ActionType actionType()
const;
403 LinkAction(
const QRectF &linkArea, ActionType actionType );
408 LinkType linkType()
const override;
424 LinkSound(
const QRectF &linkArea,
double volume,
bool sync,
bool repeat,
bool mix,
SoundObject *sound );
439 double volume()
const;
444 bool synchronous()
const;
500 LinkRendition(
const QRectF &linkArea, ::MediaRendition *rendition,
int operation,
const QString &script,
const Ref &annotationReference );
507 LinkType linkType()
const override;
512 MediaRendition *rendition()
const;
519 RenditionAction action()
const;
526 QString script()
const;
565 QString script()
const;
600 LinkMovie(
const QRectF &linkArea, Operation operation,
const QString &annotationTitle,
const Ref &annotationReference );
605 LinkType linkType()
const override;
609 Operation operation()
const;
613 bool isReferencedAnnotation(
const MovieAnnotation *annotation )
const;
655 LinkHide( LinkHidePrivate *lhidep );
666 QVector< QString > targets()
const;
671 bool isShowAction()
const;
An action to be executed on a movie.
Definition: poppler-link.h:200
Rendition: Rendition link.
Definition: poppler-link.h:473
Encapsulates data that describes a link.
Definition: poppler-link.h:178
Movie: a movie to be played.
Definition: poppler-link.h:577
A destination.
Definition: poppler-link.h:67
Movie annotation.
Definition: poppler-annotation.h:911
RenditionAction
Describes the possible rendition actions.
Definition: poppler-link.h:481
Sound: a sound to be played.
Definition: poppler-link.h:420
An action to hide a field.
Definition: poppler-link.h:204
ActionType
The possible types of actions.
Definition: poppler-link.h:376
Viewport reaching request.
Definition: poppler-link.h:252
Container class for a sound file in a PDF document.
Definition: poppler-qt5.h:2101
An URL to browse.
Definition: poppler-link.h:338
Kind
The possible kind of "viewport destination".
Definition: poppler-link.h:73
A JavaScript code to be interpreted.
Definition: poppler-link.h:202
An URL to be browsed (eg "http://poppler.freedesktop.org")
Definition: poppler-link.h:197
Unknown link.
Definition: poppler-link.h:194
Model for optional content.
Definition: poppler-optcontent.h:49
LinkType
The possible kinds of link.
Definition: poppler-link.h:192
An Optional Content Group state change.
Definition: poppler-link.h:203
Screen annotation.
Definition: poppler-annotation.h:955
A rendition link.
Definition: poppler-link.h:201
OCGState: an optional content group state change.
Definition: poppler-link.h:625
Generic execution request.
Definition: poppler-link.h:299
A command to be executed.
Definition: poppler-link.h:196
Hide: an action to show / hide a field.
Definition: poppler-link.h:649
The Poppler Qt5 binding.
Definition: poppler-annotation.h:45
A "Go To" link.
Definition: poppler-link.h:195
JavaScript: a JavaScript code to be interpreted.
Definition: poppler-link.h:545
Operation
Describes the operation to be performed on the movie.
Definition: poppler-link.h:583
A link representing a sound to be played.
Definition: poppler-link.h:199
"Standard" action request.
Definition: poppler-link.h:370
A "standard" action to be executed in the viewer.
Definition: poppler-link.h:198