1namespace Poppler {
2
3class PageTransition {
4%TypeHeaderCode
5#include <qt5/poppler-qt5.h>
6#include <qt5/poppler-page-transition.h>
7%End
8
9public:
10
11    enum Type {
12        Replace = 0,
13        Split,
14        Blinds,
15        Box,
16        Wipe,
17        Dissolve,
18        Glitter,
19        Fly,
20        Push,
21        Cover,
22        Uncover,
23        Fade,
24    };
25    enum Alignment {
26        Horizontal = 0,
27        Vertical,
28    };
29
30    enum Direction {
31        Inward = 0,
32        Outward,
33    };
34    //   PageTransition(const PageTransitionParams &params);
35    PageTransition(const Poppler::PageTransition &pt);
36    ~PageTransition();
37    Type type() const;
38    int duration() const;
39    Alignment alignment() const;
40    Direction direction() const;
41    int angle() const;
42    double scale() const;
43    bool isRectangular() const;
44}; // class PageTransition
45
46
47}; // namespace Poppler
48
49/* kate: indent-width 4; space-indent on; hl c++; indent-mode cstyle; */
50