|
Poppler Qt5
0.74.0
|
#include <poppler-page-transition.h>
Public Types | |
| enum | Alignment { Horizontal = 0, Vertical } |
| enum | Direction { Inward = 0, Outward } |
| enum | Type { Replace = 0, Split, Blinds, Box, Wipe, Dissolve, Glitter, Fly, Push, Cover, Uncover, Fade } |
Public Member Functions | |
| Alignment | alignment () const |
| int | angle () const |
| Direction | direction () const |
| int | duration () const |
| double | durationReal () const |
| bool | isRectangular () const |
| PageTransition & | operator= (const PageTransition &other) |
| PageTransition (const PageTransitionParams ¶ms) | |
| PageTransition (const PageTransition &pt) | |
| double | scale () const |
| Type | type () const |
| ~PageTransition () | |
Describes how a PDF file viewer shall perform the transition from one page to another.
In PDF files there is a way to specify if the viewer shall use certain effects to perform the transition from one page to another. This feature can be used, e.g., in a PDF-based beamer presentation.
This utility class represents the transition effect, and can be used to extract the information from a PDF object.
| Poppler::PageTransition::PageTransition | ( | const PageTransitionParams & | params | ) |
Construct a new PageTransition object from a page dictionary.
Users of the library will rarely need to construct a PageTransition object themselves. Instead, the method Poppler::Page::transition() can be used to find out if a certain transition effect is specified.
| params | an object whose dictionary will be read and parsed. This must be a valid object, whose dictionaries are accessed by the constructor. The object is only accessed by this constructor, and may be deleted after the constructor returns. |
| int Poppler::PageTransition::duration | ( | ) | const |
Get duration of the transition in seconds as integer.
| PageTransition& Poppler::PageTransition::operator= | ( | const PageTransition & | other | ) |
assignment operator
1.8.15