poppler 2.2.0-x86-mingw32 → 2.2.1-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -5
  3. data/ext/poppler/extconf.rb +1 -1
  4. data/lib/2.0/poppler.so +0 -0
  5. data/test/test_annotation.rb +3 -1
  6. data/test/test_page.rb +0 -18
  7. data/vendor/local/bin/cjpeg.exe +0 -0
  8. data/vendor/local/bin/djpeg.exe +0 -0
  9. data/vendor/local/bin/jpegtran.exe +0 -0
  10. data/vendor/local/bin/libjpeg-9.dll +0 -0
  11. data/vendor/local/bin/{libpoppler-44.dll → libpoppler-46.dll} +0 -0
  12. data/vendor/local/bin/libpoppler-cpp-0.dll +0 -0
  13. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  14. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  15. data/vendor/local/bin/pdfdetach.exe +0 -0
  16. data/vendor/local/bin/pdffonts.exe +0 -0
  17. data/vendor/local/bin/pdfimages.exe +0 -0
  18. data/vendor/local/bin/pdfinfo.exe +0 -0
  19. data/vendor/local/bin/pdfseparate.exe +0 -0
  20. data/vendor/local/bin/pdftocairo.exe +0 -0
  21. data/vendor/local/bin/pdftohtml.exe +0 -0
  22. data/vendor/local/bin/pdftoppm.exe +0 -0
  23. data/vendor/local/bin/pdftops.exe +0 -0
  24. data/vendor/local/bin/pdftotext.exe +0 -0
  25. data/vendor/local/bin/pdfunite.exe +0 -0
  26. data/vendor/local/bin/rdjpgcom.exe +0 -0
  27. data/vendor/local/bin/sqlite3.exe +0 -0
  28. data/vendor/local/bin/wrjpgcom.exe +0 -0
  29. data/vendor/local/include/jconfig.h +7 -1
  30. data/vendor/local/include/jmorecfg.h +68 -12
  31. data/vendor/local/include/jpeglib.h +19 -12
  32. data/vendor/local/include/poppler/cpp/poppler-document.h +104 -0
  33. data/vendor/local/include/poppler/cpp/poppler-embedded-file.h +55 -0
  34. data/vendor/local/include/poppler/cpp/poppler-font.h +91 -0
  35. data/vendor/local/include/poppler/cpp/poppler-global.h +111 -0
  36. data/vendor/local/include/poppler/cpp/poppler-image.h +71 -0
  37. data/vendor/local/include/poppler/cpp/poppler-page-renderer.h +66 -0
  38. data/vendor/local/include/poppler/cpp/poppler-page-transition.h +82 -0
  39. data/vendor/local/include/poppler/cpp/poppler-page.h +76 -0
  40. data/vendor/local/include/poppler/cpp/poppler-rectangle.h +84 -0
  41. data/vendor/local/include/poppler/cpp/poppler-toc.h +74 -0
  42. data/vendor/local/include/poppler/cpp/poppler-version.h +39 -0
  43. data/vendor/local/include/poppler/glib/poppler-annot.h +64 -0
  44. data/vendor/local/include/poppler/glib/poppler-enums.h +34 -0
  45. data/vendor/local/include/poppler/glib/poppler-features.h +1 -1
  46. data/vendor/local/include/poppler/glib/poppler-media.h +1 -1
  47. data/vendor/local/include/poppler/glib/poppler-page.h +61 -0
  48. data/vendor/local/include/poppler/glib/poppler-structure-element.h +357 -0
  49. data/vendor/local/include/poppler/glib/poppler.h +11 -1
  50. data/vendor/local/include/sqlite3.h +245 -89
  51. data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
  52. data/vendor/local/lib/libjpeg.a +0 -0
  53. data/vendor/local/lib/libjpeg.dll.a +0 -0
  54. data/vendor/local/lib/libjpeg.la +2 -2
  55. data/vendor/local/lib/libpoppler-cpp.a +0 -0
  56. data/vendor/local/lib/libpoppler-cpp.dll.a +0 -0
  57. data/vendor/local/lib/libpoppler-cpp.la +41 -0
  58. data/vendor/local/lib/libpoppler-glib.a +0 -0
  59. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  60. data/vendor/local/lib/libpoppler-glib.la +2 -2
  61. data/vendor/local/lib/libpoppler.a +0 -0
  62. data/vendor/local/lib/libpoppler.dll.a +0 -0
  63. data/vendor/local/lib/libpoppler.la +4 -4
  64. data/vendor/local/lib/libsqlite3.a +0 -0
  65. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  66. data/vendor/local/lib/libsqlite3.la +1 -1
  67. data/vendor/local/lib/pkgconfig/poppler-cairo.pc +2 -2
  68. data/vendor/local/lib/pkgconfig/poppler-cpp.pc +13 -0
  69. data/vendor/local/lib/pkgconfig/poppler-glib.pc +2 -2
  70. data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
  71. data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
  72. data/vendor/local/lib/pkgconfig/sqlite3.pc +2 -2
  73. data/vendor/local/share/gir-1.0/Poppler-0.18.gir +2993 -169
  74. data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +2674 -1137
  75. data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +186 -133
  76. data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2523 -1782
  77. data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1071 -738
  78. data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +225 -146
  79. data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +276 -201
  80. data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +142 -101
  81. data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2191 -1421
  82. data/vendor/local/share/gtk-doc/html/poppler/PopplerStructureElement.html +3781 -0
  83. data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +30 -44
  84. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +34 -39
  85. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +27 -32
  86. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +50 -55
  87. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +23 -28
  88. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +12 -15
  89. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +18 -23
  90. data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +12 -15
  91. data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +762 -280
  92. data/vendor/local/share/gtk-doc/html/poppler/ch01.html +12 -9
  93. data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
  94. data/vendor/local/share/gtk-doc/html/poppler/index.html +7 -4
  95. data/vendor/local/share/gtk-doc/html/poppler/index.sgml +258 -269
  96. data/vendor/local/share/gtk-doc/html/poppler/left-insensitive.png +0 -0
  97. data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
  98. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +454 -320
  99. data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +102 -76
  100. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +367 -278
  101. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +356 -409
  102. data/vendor/local/share/gtk-doc/html/poppler/right-insensitive.png +0 -0
  103. data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
  104. data/vendor/local/share/gtk-doc/html/poppler/style.css +314 -104
  105. data/vendor/local/share/gtk-doc/html/poppler/up-insensitive.png +0 -0
  106. data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
  107. data/vendor/local/share/man/man1/cjpeg.1 +23 -2
  108. data/vendor/local/share/man/man1/djpeg.1 +2 -2
  109. data/vendor/local/share/man/man1/jpegtran.1 +12 -4
  110. data/vendor/local/share/man/man1/pdfimages.1 +78 -7
  111. data/vendor/local/share/man/man1/pdfinfo.1 +6 -0
  112. data/vendor/local/share/man/man1/pdftocairo.1 +9 -17
  113. data/vendor/local/share/man/man1/pdftohtml.1 +1 -1
  114. data/vendor/local/share/man/man1/pdftoppm.1 +12 -0
  115. data/vendor/local/share/man/man1/pdftops.1 +10 -20
  116. data/vendor/local/share/man/man1/rdjpgcom.1 +1 -1
  117. data/vendor/local/share/man/man1/sqlite3.1 +72 -22
  118. metadata +34 -15
  119. data/lib/1.9/poppler.so +0 -0
  120. data/lib/2.1/poppler.so +0 -0
@@ -0,0 +1,55 @@
1
+ /*
2
+ * Copyright (C) 2009-2010, Pino Toscano <pino@kde.org>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2, or (at your option)
7
+ * any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
+ */
18
+
19
+ #ifndef POPPLER_EMBEDDED_FILE_H
20
+ #define POPPLER_EMBEDDED_FILE_H
21
+
22
+ #include "poppler-global.h"
23
+
24
+ #include <vector>
25
+
26
+ namespace poppler
27
+ {
28
+
29
+ class embedded_file_private;
30
+
31
+ class POPPLER_CPP_EXPORT embedded_file : public poppler::noncopyable
32
+ {
33
+ public:
34
+ ~embedded_file();
35
+
36
+ bool is_valid() const;
37
+ std::string name() const;
38
+ ustring description() const;
39
+ int size() const;
40
+ time_type modification_date() const;
41
+ time_type creation_date() const;
42
+ byte_array checksum() const;
43
+ std::string mime_type() const;
44
+ byte_array data() const;
45
+
46
+ private:
47
+ embedded_file(embedded_file_private &dd);
48
+
49
+ embedded_file_private *d;
50
+ friend class embedded_file_private;
51
+ };
52
+
53
+ }
54
+
55
+ #endif
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Copyright (C) 2009, Pino Toscano <pino@kde.org>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2, or (at your option)
7
+ * any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
+ */
18
+
19
+ #ifndef POPPLER_FONT_H
20
+ #define POPPLER_FONT_H
21
+
22
+ #include "poppler-global.h"
23
+
24
+ #include <vector>
25
+
26
+ namespace poppler
27
+ {
28
+
29
+ class document;
30
+ class document_private;
31
+ class font_info_private;
32
+ class font_iterator;
33
+ class font_iterator_private;
34
+
35
+ class POPPLER_CPP_EXPORT font_info
36
+ {
37
+ public:
38
+ enum type_enum {
39
+ unknown,
40
+ type1,
41
+ type1c,
42
+ type1c_ot,
43
+ type3,
44
+ truetype,
45
+ truetype_ot,
46
+ cid_type0,
47
+ cid_type0c,
48
+ cid_type0c_ot,
49
+ cid_truetype,
50
+ cid_truetype_ot
51
+ };
52
+
53
+ font_info();
54
+ font_info(const font_info &fi);
55
+ ~font_info();
56
+
57
+ std::string name() const;
58
+ std::string file() const;
59
+ bool is_embedded() const;
60
+ bool is_subset() const;
61
+ type_enum type() const;
62
+
63
+ font_info& operator=(const font_info &fi);
64
+
65
+ private:
66
+ font_info(font_info_private &dd);
67
+
68
+ font_info_private *d;
69
+ friend class font_iterator;
70
+ };
71
+
72
+
73
+ class POPPLER_CPP_EXPORT font_iterator : public poppler::noncopyable
74
+ {
75
+ public:
76
+ ~font_iterator();
77
+
78
+ std::vector<font_info> next();
79
+ bool has_next() const;
80
+ int current_page() const;
81
+
82
+ private:
83
+ font_iterator(int, document_private *dd);
84
+
85
+ font_iterator_private *d;
86
+ friend class document;
87
+ };
88
+
89
+ }
90
+
91
+ #endif
@@ -0,0 +1,111 @@
1
+ /*
2
+ * Copyright (C) 2009-2010, Pino Toscano <pino@kde.org>
3
+ * Copyright (C) 2010, Patrick Spendrin <ps_ml@gmx.de>
4
+ *
5
+ * This program is free software; you can redistribute it and/or modify
6
+ * it under the terms of the GNU General Public License as published by
7
+ * the Free Software Foundation; either version 2, or (at your option)
8
+ * any later version.
9
+ *
10
+ * This program is distributed in the hope that it will be useful,
11
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
+ * GNU General Public License for more details.
14
+ *
15
+ * You should have received a copy of the GNU General Public License
16
+ * along with this program; if not, write to the Free Software
17
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
18
+ */
19
+
20
+ #ifndef POPPLER_GLOBAL_H
21
+ #define POPPLER_GLOBAL_H
22
+
23
+ #if defined(_WIN32)
24
+ # define LIB_EXPORT __declspec(dllexport)
25
+ # define LIB_IMPORT __declspec(dllimport)
26
+ #else
27
+ # define LIB_EXPORT
28
+ # define LIB_IMPORT
29
+ #endif
30
+
31
+ #if defined(poppler_cpp_EXPORTS)
32
+ # define POPPLER_CPP_EXPORT LIB_EXPORT
33
+ #else
34
+ # define POPPLER_CPP_EXPORT LIB_IMPORT
35
+ #endif
36
+
37
+ #include <iosfwd>
38
+ #include <string>
39
+ #include <vector>
40
+
41
+ namespace poppler
42
+ {
43
+
44
+ /// \cond DOXYGEN_SKIP_THIS
45
+ namespace detail
46
+ {
47
+
48
+ class POPPLER_CPP_EXPORT noncopyable
49
+ {
50
+ protected:
51
+ noncopyable();
52
+ ~noncopyable();
53
+ private:
54
+ noncopyable(const noncopyable &);
55
+ const noncopyable& operator=(const noncopyable &);
56
+ };
57
+
58
+ }
59
+
60
+ typedef detail::noncopyable noncopyable;
61
+ /// \endcond
62
+
63
+ enum rotation_enum { rotate_0, rotate_90, rotate_180, rotate_270 };
64
+
65
+ enum page_box_enum { media_box, crop_box, bleed_box, trim_box, art_box };
66
+
67
+ enum permission_enum { perm_print, perm_change, perm_copy, perm_add_notes,
68
+ perm_fill_forms, perm_accessibility, perm_assemble,
69
+ perm_print_high_resolution };
70
+
71
+ enum case_sensitivity_enum { case_sensitive, case_insensitive };
72
+
73
+ typedef std::vector<char> byte_array;
74
+
75
+ typedef unsigned int /* time_t */ time_type;
76
+
77
+ // to disable warning only for this occurrence
78
+ #ifdef _MSC_VER
79
+ #pragma warning(push)
80
+ #pragma warning(disable: 4251) /* class 'A' needs to have dll interface for to be used by clients of class 'B'. */
81
+ #endif
82
+ class POPPLER_CPP_EXPORT ustring : public std::basic_string<unsigned short>
83
+ {
84
+ public:
85
+ ustring();
86
+ ustring(size_type len, value_type ch);
87
+ ~ustring();
88
+
89
+ byte_array to_utf8() const;
90
+ std::string to_latin1() const;
91
+
92
+ static ustring from_utf8(const char *str, int len = -1);
93
+ static ustring from_latin1(const std::string &str);
94
+
95
+ private:
96
+ // forbid implicit std::string conversions
97
+ ustring(const std::string &);
98
+ operator std::string() const;
99
+ ustring& operator=(const std::string &);
100
+ };
101
+ #ifdef _MSC_VER
102
+ #pragma warning(pop)
103
+ #endif
104
+
105
+ POPPLER_CPP_EXPORT time_type convert_date(const std::string &date);
106
+
107
+ POPPLER_CPP_EXPORT std::ostream& operator<<(std::ostream& stream, const byte_array &array);
108
+
109
+ }
110
+
111
+ #endif
@@ -0,0 +1,71 @@
1
+ /*
2
+ * Copyright (C) 2010, Pino Toscano <pino@kde.org>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2, or (at your option)
7
+ * any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
+ */
18
+
19
+ #ifndef POPPLER_IMAGE_H
20
+ #define POPPLER_IMAGE_H
21
+
22
+ #include "poppler-global.h"
23
+ #include "poppler-rectangle.h"
24
+
25
+ namespace poppler
26
+ {
27
+
28
+ class image_private;
29
+
30
+ class POPPLER_CPP_EXPORT image
31
+ {
32
+ public:
33
+ enum format_enum {
34
+ format_invalid,
35
+ format_mono,
36
+ format_rgb24,
37
+ format_argb32
38
+ };
39
+
40
+ image();
41
+ image(int iwidth, int iheight, format_enum iformat);
42
+ image(char *idata, int iwidth, int iheight, format_enum iformat);
43
+ image(const image &img);
44
+ ~image();
45
+
46
+ bool is_valid() const;
47
+ format_enum format() const;
48
+ int width() const;
49
+ int height() const;
50
+ char *data();
51
+ const char *const_data() const;
52
+ int bytes_per_row() const;
53
+
54
+ image copy(const rect &r = rect()) const;
55
+
56
+ bool save(const std::string &file_name, const std::string &out_format, int dpi = -1) const;
57
+
58
+ static std::vector<std::string> supported_image_formats();
59
+
60
+ image& operator=(const image &img);
61
+
62
+ private:
63
+ void detach();
64
+
65
+ image_private *d;
66
+ friend class image_private;
67
+ };
68
+
69
+ }
70
+
71
+ #endif
@@ -0,0 +1,66 @@
1
+ /*
2
+ * Copyright (C) 2010, Pino Toscano <pino@kde.org>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2, or (at your option)
7
+ * any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
+ */
18
+
19
+ #ifndef POPPLER_PAGE_RENDERER_H
20
+ #define POPPLER_PAGE_RENDERER_H
21
+
22
+ #include "poppler-global.h"
23
+ #include "poppler-image.h"
24
+
25
+ namespace poppler
26
+ {
27
+
28
+ typedef unsigned int argb;
29
+
30
+ class page;
31
+ class page_renderer_private;
32
+
33
+ class POPPLER_CPP_EXPORT page_renderer : public poppler::noncopyable
34
+ {
35
+ public:
36
+ enum render_hint {
37
+ antialiasing = 0x00000001,
38
+ text_antialiasing = 0x00000002,
39
+ text_hinting = 0x00000004
40
+ };
41
+
42
+ page_renderer();
43
+ ~page_renderer();
44
+
45
+ argb paper_color() const;
46
+ void set_paper_color(argb c);
47
+
48
+ unsigned int render_hints() const;
49
+ void set_render_hint(render_hint hint, bool on = true);
50
+ void set_render_hints(unsigned int hints);
51
+
52
+ image render_page(const page *p,
53
+ double xres = 72.0, double yres = 72.0,
54
+ int x = -1, int y = -1, int w = -1, int h = -1,
55
+ rotation_enum rotate = rotate_0) const;
56
+
57
+ static bool can_render();
58
+
59
+ private:
60
+ page_renderer_private *d;
61
+ friend class page_renderer_private;
62
+ };
63
+
64
+ }
65
+
66
+ #endif
@@ -0,0 +1,82 @@
1
+ /*
2
+ * Copyright (C) 2009, Pino Toscano <pino@kde.org>
3
+ *
4
+ * This program is free software; you can redistribute it and/or modify
5
+ * it under the terms of the GNU General Public License as published by
6
+ * the Free Software Foundation; either version 2, or (at your option)
7
+ * any later version.
8
+ *
9
+ * This program is distributed in the hope that it will be useful,
10
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
+ * GNU General Public License for more details.
13
+ *
14
+ * You should have received a copy of the GNU General Public License
15
+ * along with this program; if not, write to the Free Software
16
+ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
17
+ */
18
+
19
+ #ifndef POPPLER_PAGE_TRANSITION_H
20
+ #define POPPLER_PAGE_TRANSITION_H
21
+
22
+ #include "poppler-global.h"
23
+
24
+ class Object;
25
+
26
+ namespace poppler
27
+ {
28
+
29
+ class page;
30
+ class page_transition_private;
31
+
32
+ class POPPLER_CPP_EXPORT page_transition
33
+ {
34
+ public:
35
+ enum type_enum {
36
+ replace = 0,
37
+ split,
38
+ blinds,
39
+ box,
40
+ wipe,
41
+ dissolve,
42
+ glitter,
43
+ fly,
44
+ push,
45
+ cover,
46
+ uncover,
47
+ fade
48
+ };
49
+
50
+ enum alignment_enum {
51
+ horizontal = 0,
52
+ vertical
53
+ };
54
+
55
+ enum direction_enum {
56
+ inward = 0,
57
+ outward
58
+ };
59
+
60
+ page_transition(const page_transition &pt);
61
+ ~page_transition();
62
+
63
+ type_enum type() const;
64
+ int duration() const;
65
+ alignment_enum alignment() const;
66
+ direction_enum direction() const;
67
+ int angle() const;
68
+ double scale() const;
69
+ bool is_rectangular() const;
70
+
71
+ page_transition& operator=(const page_transition &pt);
72
+
73
+ private:
74
+ page_transition(Object *params);
75
+
76
+ page_transition_private *d;
77
+ friend class page;
78
+ };
79
+
80
+ }
81
+
82
+ #endif