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
Binary file
@@ -23,8 +23,8 @@ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libjpeg.
26
- current=9
27
- age=0
26
+ current=10
27
+ age=1
28
28
  revision=0
29
29
 
30
30
  # Is this an already installed library?
@@ -0,0 +1,41 @@
1
+ # libpoppler-cpp.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname='../bin/libpoppler-cpp-0.dll'
9
+
10
+ # Names of this library.
11
+ library_names='libpoppler-cpp.dll.a'
12
+
13
+ # The name of the static archive.
14
+ old_library='libpoppler-cpp.a'
15
+
16
+ # Linker flags that can not go in dependency_libs.
17
+ inherited_linker_flags=''
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libpoppler.la /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libjpeg.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz -lpthread -lgdi32 /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la'
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libpoppler-cpp.
26
+ current=2
27
+ age=2
28
+ revision=0
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib'
@@ -1,5 +1,5 @@
1
1
  # libpoppler-glib.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
@@ -17,7 +17,7 @@ old_library='libpoppler-glib.a'
17
17
  inherited_linker_flags=' -pthread'
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libpoppler.la /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libjpeg.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la -lffi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi -lintl /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lws2_32 -lgdi32 -lmsimg32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz'
20
+ dependency_libs=' -R/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libpoppler.la /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libjpeg.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgio-2.0.la -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/../lib /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgmodule-2.0.la -ldnsapi -liphlpapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libgobject-2.0.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/../lib/libffi.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libglib-2.0.la -lole32 -lwinmm -lshlwapi /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libintl.la /home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib/libiconv.la -lpthread /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libcairo.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpixman-1.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfontconfig.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libxml2.la -lws2_32 -lgdi32 -lmsimg32 /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -1,11 +1,11 @@
1
1
  # libpoppler.la - a libtool library file
2
- # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.3ubuntu1
2
+ # Generated by libtool (GNU libtool) 2.4.2 Debian-2.4.2-1.7ubuntu1
3
3
  #
4
4
  # Please DO NOT delete this file!
5
5
  # It is necessary for linking the library.
6
6
 
7
7
  # The name that we can dlopen(3).
8
- dlname='../bin/libpoppler-44.dll'
8
+ dlname='../bin/libpoppler-46.dll'
9
9
 
10
10
  # Names of this library.
11
11
  library_names='libpoppler.dll.a'
@@ -17,13 +17,13 @@ old_library='libpoppler.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libjpeg.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz -lgdi32'
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib /home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib/libjpeg.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libfreetype.la /home/kou/work/ruby/rcairo.win32/vendor/local/lib/libpng16.la -lz -lpthread -lgdi32'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libpoppler.
26
- current=44
26
+ current=46
27
27
  age=0
28
28
  revision=0
29
29
 
@@ -17,7 +17,7 @@ old_library='libsqlite3.a'
17
17
  inherited_linker_flags=''
18
18
 
19
19
  # Libraries that this one depends upon.
20
- dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib'
20
+ dependency_libs=' -L/home/kou/work/ruby/ruby-gnome2.win32/glib2/vendor/local/lib -L/home/kou/work/ruby/rcairo.win32/vendor/local/lib -L/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local/lib -lpthread'
21
21
 
22
22
  # Names of additional weak libraries provided by this library
23
23
  weak_library_names=''
@@ -5,5 +5,5 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: poppler-cairo
7
7
  Description: Cairo backend for Poppler PDF rendering library
8
- Version: 0.24.5
9
- Requires: poppler = 0.24.5 cairo >= 1.10.0
8
+ Version: 0.26.5
9
+ Requires: poppler = 0.26.5 cairo >= 1.10.0
@@ -0,0 +1,13 @@
1
+ prefix=/home/kou/work/ruby/ruby-gnome2.win32/poppler/vendor/local
2
+ exec_prefix=${prefix}
3
+ libdir=${exec_prefix}/lib
4
+ includedir=${prefix}/include
5
+
6
+ Name: poppler-cpp
7
+ Description: cpp backend for Poppler PDF rendering library
8
+ Version: 0.26.5
9
+ Requires:
10
+ Requires.private: poppler = 0.26.5
11
+
12
+ Libs: -L${libdir} -lpoppler-cpp
13
+ Cflags: -I${includedir}/poppler/cpp
@@ -5,9 +5,9 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: poppler-glib
7
7
  Description: GLib wrapper for poppler
8
- Version: 0.24.5
8
+ Version: 0.26.5
9
9
  Requires: glib-2.0 >= 2.18 gobject-2.0 >= 2.18 gio-2.0 >= 2.18 cairo >= 1.10.0
10
- Requires.private: poppler = 0.24.5
10
+ Requires.private: poppler = 0.26.5
11
11
 
12
12
  Libs: -L${libdir} -lpoppler-glib
13
13
  Cflags: -I${includedir}/poppler/glib
@@ -5,5 +5,5 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: poppler-splash
7
7
  Description: Splash backend for Poppler PDF rendering library
8
- Version: 0.24.5
9
- Requires: poppler = 0.24.5
8
+ Version: 0.26.5
9
+ Requires: poppler = 0.26.5
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: poppler
7
7
  Description: PDF rendering library
8
- Version: 0.24.5
8
+ Version: 0.26.5
9
9
 
10
10
  Libs: -L${libdir} -lpoppler
11
11
  Cflags: -I${includedir}/poppler
@@ -7,7 +7,7 @@ includedir=${prefix}/include
7
7
 
8
8
  Name: SQLite
9
9
  Description: SQL database engine
10
- Version: 3.8.2
10
+ Version: 3.8.6
11
11
  Libs: -L${libdir} -lsqlite3
12
- Libs.private:
12
+ Libs.private: -lpthread
13
13
  Cflags: -I${includedir}
@@ -187,9 +187,11 @@ and/or use gtk-doc annotations. -->
187
187
  <record name="ActionLayer" c:type="PopplerActionLayer">
188
188
  <doc xml:space="preserve">Action to perform over a list of layers</doc>
189
189
  <field name="action" writable="1">
190
+ <doc xml:space="preserve">a #PopplerActionLayerAction</doc>
190
191
  <type name="ActionLayerAction" c:type="PopplerActionLayerAction"/>
191
192
  </field>
192
193
  <field name="layers" writable="1">
194
+ <doc xml:space="preserve">list of #PopplerLayer&lt;!-- --&gt;s</doc>
193
195
  <type name="GLib.List" c:type="GList*">
194
196
  <type name="gpointer" c:type="gpointer"/>
195
197
  </type>
@@ -410,7 +412,8 @@ and/or use gtk-doc annotations. -->
410
412
  <method name="get_color" c:identifier="poppler_annot_get_color">
411
413
  <doc xml:space="preserve">Retrieves the color of @poppler_annot.</doc>
412
414
  <return-value transfer-ownership="full">
413
- <doc xml:space="preserve">a new allocated #PopplerColor with the color values of @poppler_annot, or %NULL. It must be freed with g_free() when done.</doc>
415
+ <doc xml:space="preserve">a new allocated #PopplerColor with the color values of
416
+ @poppler_annot, or %NULL. It must be freed with g_free() when done.</doc>
414
417
  <type name="Color" c:type="PopplerColor*"/>
415
418
  </return-value>
416
419
  <parameters>
@@ -423,7 +426,8 @@ and/or use gtk-doc annotations. -->
423
426
  <method name="get_contents" c:identifier="poppler_annot_get_contents">
424
427
  <doc xml:space="preserve">Retrieves the contents of @poppler_annot.</doc>
425
428
  <return-value transfer-ownership="full">
426
- <doc xml:space="preserve">a new allocated string with the contents of @poppler_annot. It must be freed with g_free() when done.</doc>
429
+ <doc xml:space="preserve">a new allocated string with the contents of @poppler_annot. It
430
+ must be freed with g_free() when done.</doc>
427
431
  <type name="utf8" c:type="gchar*"/>
428
432
  </return-value>
429
433
  <parameters>
@@ -452,7 +456,8 @@ and/or use gtk-doc annotations. -->
452
456
  string will be either a PDF format date or a text string.
453
457
  See also #poppler_date_parse()</doc>
454
458
  <return-value transfer-ownership="full">
455
- <doc xml:space="preserve">a new allocated string with the last modification data of @poppler_annot. It must be freed with g_free() when done.</doc>
459
+ <doc xml:space="preserve">a new allocated string with the last modification data of
460
+ @poppler_annot. It must be freed with g_free() when done.</doc>
456
461
  <type name="utf8" c:type="gchar*"/>
457
462
  </return-value>
458
463
  <parameters>
@@ -465,7 +470,8 @@ See also #poppler_date_parse()</doc>
465
470
  <method name="get_name" c:identifier="poppler_annot_get_name">
466
471
  <doc xml:space="preserve">Retrieves the name of @poppler_annot.</doc>
467
472
  <return-value transfer-ownership="full">
468
- <doc xml:space="preserve">a new allocated string with the name of @poppler_annot. It must be freed with g_free() when done.</doc>
473
+ <doc xml:space="preserve">a new allocated string with the name of @poppler_annot. It must
474
+ be freed with g_free() when done.</doc>
469
475
  <type name="utf8" c:type="gchar*"/>
470
476
  </return-value>
471
477
  <parameters>
@@ -490,6 +496,28 @@ See also #poppler_date_parse()</doc>
490
496
  </instance-parameter>
491
497
  </parameters>
492
498
  </method>
499
+ <method name="get_rectangle"
500
+ c:identifier="poppler_annot_get_rectangle"
501
+ version="0.26">
502
+ <doc xml:space="preserve">Retrieves the rectangle representing the page coordinates where the
503
+ annotation @poppler_annot is placed.</doc>
504
+ <return-value transfer-ownership="none">
505
+ <type name="none" c:type="void"/>
506
+ </return-value>
507
+ <parameters>
508
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
509
+ <doc xml:space="preserve">a #PopplerAnnot</doc>
510
+ <type name="Annot" c:type="PopplerAnnot*"/>
511
+ </instance-parameter>
512
+ <parameter name="poppler_rect"
513
+ direction="out"
514
+ caller-allocates="1"
515
+ transfer-ownership="none">
516
+ <doc xml:space="preserve">a #PopplerRectangle to store the annotation's coordinates</doc>
517
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
518
+ </parameter>
519
+ </parameters>
520
+ </method>
493
521
  <method name="set_color"
494
522
  c:identifier="poppler_annot_set_color"
495
523
  version="0.16">
@@ -504,6 +532,7 @@ See also #poppler_date_parse()</doc>
504
532
  </instance-parameter>
505
533
  <parameter name="poppler_color"
506
534
  transfer-ownership="none"
535
+ nullable="1"
507
536
  allow-none="1">
508
537
  <doc xml:space="preserve">a #PopplerColor, or %NULL</doc>
509
538
  <type name="Color" c:type="PopplerColor*"/>
@@ -548,6 +577,25 @@ replacing the current contents.</doc>
548
577
  </parameter>
549
578
  </parameters>
550
579
  </method>
580
+ <method name="set_rectangle"
581
+ c:identifier="poppler_annot_set_rectangle"
582
+ version="0.26">
583
+ <doc xml:space="preserve">Move the annotation to the rectangle representing the page coordinates
584
+ where the annotation @poppler_annot should be placed.</doc>
585
+ <return-value transfer-ownership="none">
586
+ <type name="none" c:type="void"/>
587
+ </return-value>
588
+ <parameters>
589
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
590
+ <doc xml:space="preserve">a #PopplerAnnot</doc>
591
+ <type name="Annot" c:type="PopplerAnnot*"/>
592
+ </instance-parameter>
593
+ <parameter name="poppler_rect" transfer-ownership="none">
594
+ <doc xml:space="preserve">a #PopplerRectangle with the new annotation's coordinates</doc>
595
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
596
+ </parameter>
597
+ </parameters>
598
+ </method>
551
599
  </class>
552
600
  <record name="AnnotCalloutLine"
553
601
  c:type="PopplerAnnotCalloutLine"
@@ -578,14 +626,16 @@ replacing the current contents.</doc>
578
626
  <constructor name="new" c:identifier="poppler_annot_callout_line_new">
579
627
  <doc xml:space="preserve">Creates a new empty #PopplerAnnotCalloutLine.</doc>
580
628
  <return-value transfer-ownership="full">
581
- <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine, %NULL in other case. It must be freed when done.</doc>
629
+ <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine, %NULL in other case.
630
+ It must be freed when done.</doc>
582
631
  <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/>
583
632
  </return-value>
584
633
  </constructor>
585
634
  <method name="copy" c:identifier="poppler_annot_callout_line_copy">
586
635
  <doc xml:space="preserve">It does copy @callout to a new #PopplerAnnotCalloutLine.</doc>
587
636
  <return-value transfer-ownership="full">
588
- <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine as exact copy of @callout, %NULL in other case. It must be freed when done.</doc>
637
+ <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine as exact copy of
638
+ @callout, %NULL in other case. It must be freed when done.</doc>
589
639
  <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/>
590
640
  </return-value>
591
641
  <parameters>
@@ -608,6 +658,71 @@ replacing the current contents.</doc>
608
658
  </parameters>
609
659
  </method>
610
660
  </record>
661
+ <class name="AnnotCircle"
662
+ c:symbol-prefix="annot_circle"
663
+ c:type="PopplerAnnotCircle"
664
+ parent="AnnotMarkup"
665
+ glib:type-name="PopplerAnnotCircle"
666
+ glib:get-type="poppler_annot_circle_get_type">
667
+ <constructor name="new"
668
+ c:identifier="poppler_annot_circle_new"
669
+ version="0.26">
670
+ <doc xml:space="preserve">Creates a new Circle annotation that will be
671
+ located on @rect when added to a page. See
672
+ poppler_page_add_annot()</doc>
673
+ <return-value transfer-ownership="full">
674
+ <doc xml:space="preserve">a newly created #PopplerAnnotCircle annotation</doc>
675
+ <type name="Annot" c:type="PopplerAnnot*"/>
676
+ </return-value>
677
+ <parameters>
678
+ <parameter name="doc" transfer-ownership="none">
679
+ <doc xml:space="preserve">a #PopplerDocument</doc>
680
+ <type name="Document" c:type="PopplerDocument*"/>
681
+ </parameter>
682
+ <parameter name="rect" transfer-ownership="none">
683
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
684
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
685
+ </parameter>
686
+ </parameters>
687
+ </constructor>
688
+ <method name="get_interior_color"
689
+ c:identifier="poppler_annot_circle_get_interior_color"
690
+ version="0.26">
691
+ <doc xml:space="preserve">Retrieves the interior color of @poppler_annot.</doc>
692
+ <return-value transfer-ownership="full">
693
+ <doc xml:space="preserve">a new allocated #PopplerColor with the color values of
694
+ @poppler_annot, or %NULL. It must be freed with g_free() when done.</doc>
695
+ <type name="Color" c:type="PopplerColor*"/>
696
+ </return-value>
697
+ <parameters>
698
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
699
+ <doc xml:space="preserve">a #PopplerAnnotCircle</doc>
700
+ <type name="AnnotCircle" c:type="PopplerAnnotCircle*"/>
701
+ </instance-parameter>
702
+ </parameters>
703
+ </method>
704
+ <method name="set_interior_color"
705
+ c:identifier="poppler_annot_circle_set_interior_color"
706
+ version="0.26">
707
+ <doc xml:space="preserve">Sets the interior color of @poppler_annot.</doc>
708
+ <return-value transfer-ownership="none">
709
+ <type name="none" c:type="void"/>
710
+ </return-value>
711
+ <parameters>
712
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
713
+ <doc xml:space="preserve">a #PopplerAnnotCircle</doc>
714
+ <type name="AnnotCircle" c:type="PopplerAnnotCircle*"/>
715
+ </instance-parameter>
716
+ <parameter name="poppler_color"
717
+ transfer-ownership="none"
718
+ nullable="1"
719
+ allow-none="1">
720
+ <doc xml:space="preserve">a #PopplerColor, or %NULL</doc>
721
+ <type name="Color" c:type="PopplerColor*"/>
722
+ </parameter>
723
+ </parameters>
724
+ </method>
725
+ </class>
611
726
  <enumeration name="AnnotExternalDataType"
612
727
  glib:type-name="PopplerAnnotExternalDataType"
613
728
  glib:get-type="poppler_annot_external_data_type_get_type"
@@ -651,7 +766,8 @@ The #PopplerAttachment must be unrefed with g_object_unref by the caller.</doc>
651
766
  version="0.14">
652
767
  <doc xml:space="preserve">Retrieves the name of @poppler_annot.</doc>
653
768
  <return-value transfer-ownership="full">
654
- <doc xml:space="preserve">a new allocated string with the name of @poppler_annot. It must be freed with g_free() when done.</doc>
769
+ <doc xml:space="preserve">a new allocated string with the name of @poppler_annot. It must
770
+ be freed with g_free() when done.</doc>
655
771
  <type name="utf8" c:type="gchar*"/>
656
772
  </return-value>
657
773
  <parameters>
@@ -734,7 +850,9 @@ The #PopplerAttachment must be unrefed with g_object_unref by the caller.</doc>
734
850
  <doc xml:space="preserve">Retrieves a #PopplerAnnotCalloutLine of four or six numbers specifying a callout
735
851
  line attached to the @poppler_annot.</doc>
736
852
  <return-value transfer-ownership="full">
737
- <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine if the annot has a callout line, %NULL in other case. It must be freed with g_free() when done.</doc>
853
+ <doc xml:space="preserve">a new allocated #PopplerAnnotCalloutLine if the annot has a callout
854
+ line, %NULL in other case. It must be freed with g_free() when
855
+ done.</doc>
738
856
  <type name="AnnotCalloutLine" c:type="PopplerAnnotCalloutLine*"/>
739
857
  </return-value>
740
858
  <parameters>
@@ -780,6 +898,64 @@ line attached to the @poppler_annot.</doc>
780
898
  glib:nick="right-justified">
781
899
  </member>
782
900
  </enumeration>
901
+ <class name="AnnotLine"
902
+ c:symbol-prefix="annot_line"
903
+ c:type="PopplerAnnotLine"
904
+ parent="AnnotMarkup"
905
+ glib:type-name="PopplerAnnotLine"
906
+ glib:get-type="poppler_annot_line_get_type">
907
+ <constructor name="new"
908
+ c:identifier="poppler_annot_line_new"
909
+ version="0.26">
910
+ <doc xml:space="preserve">Creates a new Line annotation that will be
911
+ located on @rect when added to a page. See
912
+ poppler_page_add_annot()</doc>
913
+ <return-value transfer-ownership="full">
914
+ <doc xml:space="preserve">A newly created #PopplerAnnotLine annotation</doc>
915
+ <type name="Annot" c:type="PopplerAnnot*"/>
916
+ </return-value>
917
+ <parameters>
918
+ <parameter name="doc" transfer-ownership="none">
919
+ <doc xml:space="preserve">a #PopplerDocument</doc>
920
+ <type name="Document" c:type="PopplerDocument*"/>
921
+ </parameter>
922
+ <parameter name="rect" transfer-ownership="none">
923
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
924
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
925
+ </parameter>
926
+ <parameter name="start" transfer-ownership="none">
927
+ <doc xml:space="preserve">a #PopplerPoint of the starting vertice</doc>
928
+ <type name="Point" c:type="PopplerPoint*"/>
929
+ </parameter>
930
+ <parameter name="end" transfer-ownership="none">
931
+ <doc xml:space="preserve">a #PopplerPoint of the ending vertice</doc>
932
+ <type name="Point" c:type="PopplerPoint*"/>
933
+ </parameter>
934
+ </parameters>
935
+ </constructor>
936
+ <method name="set_vertices"
937
+ c:identifier="poppler_annot_line_set_vertices"
938
+ version="0.26">
939
+ <doc xml:space="preserve">Set the coordinate points where the @poppler_annot starts and ends.</doc>
940
+ <return-value transfer-ownership="none">
941
+ <type name="none" c:type="void"/>
942
+ </return-value>
943
+ <parameters>
944
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
945
+ <doc xml:space="preserve">a #PopplerAnnotLine</doc>
946
+ <type name="AnnotLine" c:type="PopplerAnnotLine*"/>
947
+ </instance-parameter>
948
+ <parameter name="start" transfer-ownership="none">
949
+ <doc xml:space="preserve">a #PopplerPoint of the starting vertice</doc>
950
+ <type name="Point" c:type="PopplerPoint*"/>
951
+ </parameter>
952
+ <parameter name="end" transfer-ownership="none">
953
+ <doc xml:space="preserve">a #PopplerPoint of the ending vertice</doc>
954
+ <type name="Point" c:type="PopplerPoint*"/>
955
+ </parameter>
956
+ </parameters>
957
+ </method>
958
+ </class>
783
959
  <record name="AnnotMapping"
784
960
  c:type="PopplerAnnotMapping"
785
961
  glib:type-name="PopplerAnnotMapping"
@@ -788,9 +964,11 @@ line attached to the @poppler_annot.</doc>
788
964
  <doc xml:space="preserve">A #PopplerAnnotMapping structure represents the location
789
965
  of @annot on the page</doc>
790
966
  <field name="area" writable="1">
967
+ <doc xml:space="preserve">a #PopplerRectangle representing an area of the page</doc>
791
968
  <type name="Rectangle" c:type="PopplerRectangle"/>
792
969
  </field>
793
970
  <field name="annot" writable="1">
971
+ <doc xml:space="preserve">a #PopplerAnnot</doc>
794
972
  <type name="Annot" c:type="PopplerAnnot*"/>
795
973
  </field>
796
974
  <constructor name="new" c:identifier="poppler_annot_mapping_new">
@@ -835,7 +1013,8 @@ of @annot on the page</doc>
835
1013
  <method name="get_date" c:identifier="poppler_annot_markup_get_date">
836
1014
  <doc xml:space="preserve">Returns the date and time when the annotation was created</doc>
837
1015
  <return-value transfer-ownership="full">
838
- <doc xml:space="preserve">a #GDate representing the date and time when the annotation was created, or %NULL</doc>
1016
+ <doc xml:space="preserve">a #GDate representing the date and time
1017
+ when the annotation was created, or %NULL</doc>
839
1018
  <type name="GLib.Date" c:type="GDate*"/>
840
1019
  </return-value>
841
1020
  <parameters>
@@ -877,7 +1056,8 @@ of @annot on the page</doc>
877
1056
  c:identifier="poppler_annot_markup_get_opacity">
878
1057
  <doc xml:space="preserve">Retrieves the opacity value of @poppler_annot.</doc>
879
1058
  <return-value transfer-ownership="none">
880
- <doc xml:space="preserve">the opacity value of @poppler_annot, between 0 (transparent) and 1 (opaque)</doc>
1059
+ <doc xml:space="preserve">the opacity value of @poppler_annot,
1060
+ between 0 (transparent) and 1 (opaque)</doc>
881
1061
  <type name="gdouble" c:type="gdouble"/>
882
1062
  </return-value>
883
1063
  <parameters>
@@ -891,7 +1071,8 @@ of @annot on the page</doc>
891
1071
  c:identifier="poppler_annot_markup_get_popup_is_open">
892
1072
  <doc xml:space="preserve">Retrieves the state of the popup window related to @poppler_annot.</doc>
893
1073
  <return-value transfer-ownership="none">
894
- <doc xml:space="preserve">the state of @poppler_annot. %TRUE if it's open, %FALSE in other case.</doc>
1074
+ <doc xml:space="preserve">the state of @poppler_annot. %TRUE if it's open, %FALSE in
1075
+ other case.</doc>
895
1076
  <type name="gboolean" c:type="gboolean"/>
896
1077
  </return-value>
897
1078
  <parameters>
@@ -979,7 +1160,10 @@ of @annot on the page</doc>
979
1160
  <doc xml:space="preserve">a #PopplerAnnotMarkup</doc>
980
1161
  <type name="AnnotMarkup" c:type="PopplerAnnotMarkup*"/>
981
1162
  </instance-parameter>
982
- <parameter name="label" transfer-ownership="none" allow-none="1">
1163
+ <parameter name="label"
1164
+ transfer-ownership="none"
1165
+ nullable="1"
1166
+ allow-none="1">
983
1167
  <doc xml:space="preserve">a text string containing the new label, or %NULL</doc>
984
1168
  <type name="utf8" c:type="const gchar*"/>
985
1169
  </parameter>
@@ -1069,7 +1253,8 @@ Popup window shall be displayed by viewers at @popup_rect on the page.</doc>
1069
1253
  version="0.14">
1070
1254
  <doc xml:space="preserve">Retrieves the movie object (PopplerMovie) stored in the @poppler_annot.</doc>
1071
1255
  <return-value transfer-ownership="none">
1072
- <doc xml:space="preserve">the movie object stored in the @poppler_annot. The returned object is owned by #PopplerAnnotMovie and should not be freed</doc>
1256
+ <doc xml:space="preserve">the movie object stored in the @poppler_annot. The returned
1257
+ object is owned by #PopplerAnnotMovie and should not be freed</doc>
1073
1258
  <type name="Movie" c:type="PopplerMovie*"/>
1074
1259
  </return-value>
1075
1260
  <parameters>
@@ -1106,7 +1291,8 @@ Popup window shall be displayed by viewers at @popup_rect on the page.</doc>
1106
1291
  version="0.14">
1107
1292
  <doc xml:space="preserve">Retrieves the action (#PopplerAction) that shall be performed when @poppler_annot is activated</doc>
1108
1293
  <return-value transfer-ownership="none">
1109
- <doc xml:space="preserve">the action to perform. The returned object is owned by @poppler_annot and should not be freed</doc>
1294
+ <doc xml:space="preserve">the action to perform. The returned
1295
+ object is owned by @poppler_annot and should not be freed</doc>
1110
1296
  <type name="Action" c:type="PopplerAction*"/>
1111
1297
  </return-value>
1112
1298
  <parameters>
@@ -1117,6 +1303,71 @@ Popup window shall be displayed by viewers at @popup_rect on the page.</doc>
1117
1303
  </parameters>
1118
1304
  </method>
1119
1305
  </class>
1306
+ <class name="AnnotSquare"
1307
+ c:symbol-prefix="annot_square"
1308
+ c:type="PopplerAnnotSquare"
1309
+ parent="AnnotMarkup"
1310
+ glib:type-name="PopplerAnnotSquare"
1311
+ glib:get-type="poppler_annot_square_get_type">
1312
+ <constructor name="new"
1313
+ c:identifier="poppler_annot_square_new"
1314
+ version="0.26">
1315
+ <doc xml:space="preserve">Creates a new Square annotation that will be
1316
+ located on @rect when added to a page. See
1317
+ poppler_page_add_annot()</doc>
1318
+ <return-value transfer-ownership="full">
1319
+ <doc xml:space="preserve">a newly created #PopplerAnnotSquare annotation</doc>
1320
+ <type name="Annot" c:type="PopplerAnnot*"/>
1321
+ </return-value>
1322
+ <parameters>
1323
+ <parameter name="doc" transfer-ownership="none">
1324
+ <doc xml:space="preserve">a #PopplerDocument</doc>
1325
+ <type name="Document" c:type="PopplerDocument*"/>
1326
+ </parameter>
1327
+ <parameter name="rect" transfer-ownership="none">
1328
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
1329
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
1330
+ </parameter>
1331
+ </parameters>
1332
+ </constructor>
1333
+ <method name="get_interior_color"
1334
+ c:identifier="poppler_annot_square_get_interior_color"
1335
+ version="0.26">
1336
+ <doc xml:space="preserve">Retrieves the interior color of @poppler_annot.</doc>
1337
+ <return-value transfer-ownership="full">
1338
+ <doc xml:space="preserve">a new allocated #PopplerColor with the color values of
1339
+ @poppler_annot, or %NULL. It must be freed with g_free() when done.</doc>
1340
+ <type name="Color" c:type="PopplerColor*"/>
1341
+ </return-value>
1342
+ <parameters>
1343
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
1344
+ <doc xml:space="preserve">a #PopplerAnnotSquare</doc>
1345
+ <type name="AnnotSquare" c:type="PopplerAnnotSquare*"/>
1346
+ </instance-parameter>
1347
+ </parameters>
1348
+ </method>
1349
+ <method name="set_interior_color"
1350
+ c:identifier="poppler_annot_square_set_interior_color"
1351
+ version="0.26">
1352
+ <doc xml:space="preserve">Sets the interior color of @poppler_annot.</doc>
1353
+ <return-value transfer-ownership="none">
1354
+ <type name="none" c:type="void"/>
1355
+ </return-value>
1356
+ <parameters>
1357
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
1358
+ <doc xml:space="preserve">a #PopplerAnnotSquare</doc>
1359
+ <type name="AnnotSquare" c:type="PopplerAnnotSquare*"/>
1360
+ </instance-parameter>
1361
+ <parameter name="poppler_color"
1362
+ transfer-ownership="none"
1363
+ nullable="1"
1364
+ allow-none="1">
1365
+ <doc xml:space="preserve">a #PopplerColor, or %NULL</doc>
1366
+ <type name="Color" c:type="PopplerColor*"/>
1367
+ </parameter>
1368
+ </parameters>
1369
+ </method>
1370
+ </class>
1120
1371
  <class name="AnnotText"
1121
1372
  c:symbol-prefix="annot_text"
1122
1373
  c:type="PopplerAnnotText"
@@ -1160,7 +1411,8 @@ poppler_page_add_annot()</doc>
1160
1411
  <method name="get_is_open" c:identifier="poppler_annot_text_get_is_open">
1161
1412
  <doc xml:space="preserve">Retrieves the state of @poppler_annot.</doc>
1162
1413
  <return-value transfer-ownership="none">
1163
- <doc xml:space="preserve">the state of @poppler_annot. %TRUE if it's open, %FALSE in other case.</doc>
1414
+ <doc xml:space="preserve">the state of @poppler_annot. %TRUE if it's open, %FALSE in
1415
+ other case.</doc>
1164
1416
  <type name="gboolean" c:type="gboolean"/>
1165
1417
  </return-value>
1166
1418
  <parameters>
@@ -1250,6 +1502,161 @@ icons are currently supported:
1250
1502
  </parameters>
1251
1503
  </method>
1252
1504
  </class>
1505
+ <class name="AnnotTextMarkup"
1506
+ c:symbol-prefix="annot_text_markup"
1507
+ c:type="PopplerAnnotTextMarkup"
1508
+ parent="AnnotMarkup"
1509
+ glib:type-name="PopplerAnnotTextMarkup"
1510
+ glib:get-type="poppler_annot_text_markup_get_type">
1511
+ <constructor name="new_highlight"
1512
+ c:identifier="poppler_annot_text_markup_new_highlight"
1513
+ version="0.26">
1514
+ <doc xml:space="preserve">Creates a new Highlight Text annotation that will be
1515
+ located on @rect when added to a page. See poppler_page_add_annot()</doc>
1516
+ <return-value transfer-ownership="full">
1517
+ <doc xml:space="preserve">A newly created #PopplerAnnotTextMarkup annotation</doc>
1518
+ <type name="Annot" c:type="PopplerAnnot*"/>
1519
+ </return-value>
1520
+ <parameters>
1521
+ <parameter name="doc" transfer-ownership="none">
1522
+ <doc xml:space="preserve">a #PopplerDocument</doc>
1523
+ <type name="Document" c:type="PopplerDocument*"/>
1524
+ </parameter>
1525
+ <parameter name="rect" transfer-ownership="none">
1526
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
1527
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
1528
+ </parameter>
1529
+ <parameter name="quadrilaterals" transfer-ownership="none">
1530
+ <doc xml:space="preserve">A #GArray of
1531
+ #PopplerQuadrilateral&lt;!-- --&gt;s</doc>
1532
+ <array name="GLib.Array" c:type="GArray*">
1533
+ <type name="Quadrilateral"/>
1534
+ </array>
1535
+ </parameter>
1536
+ </parameters>
1537
+ </constructor>
1538
+ <constructor name="new_squiggly"
1539
+ c:identifier="poppler_annot_text_markup_new_squiggly"
1540
+ version="0.26">
1541
+ <doc xml:space="preserve">Creates a new Squiggly Text annotation that will be
1542
+ located on @rect when added to a page. See poppler_page_add_annot()</doc>
1543
+ <return-value transfer-ownership="full">
1544
+ <doc xml:space="preserve">A newly created #PopplerAnnotTextMarkup annotation</doc>
1545
+ <type name="Annot" c:type="PopplerAnnot*"/>
1546
+ </return-value>
1547
+ <parameters>
1548
+ <parameter name="doc" transfer-ownership="none">
1549
+ <doc xml:space="preserve">a #PopplerDocument</doc>
1550
+ <type name="Document" c:type="PopplerDocument*"/>
1551
+ </parameter>
1552
+ <parameter name="rect" transfer-ownership="none">
1553
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
1554
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
1555
+ </parameter>
1556
+ <parameter name="quadrilaterals" transfer-ownership="none">
1557
+ <doc xml:space="preserve">A #GArray of
1558
+ #PopplerQuadrilateral&lt;!-- --&gt;s</doc>
1559
+ <array name="GLib.Array" c:type="GArray*">
1560
+ <type name="Quadrilateral"/>
1561
+ </array>
1562
+ </parameter>
1563
+ </parameters>
1564
+ </constructor>
1565
+ <constructor name="new_strikeout"
1566
+ c:identifier="poppler_annot_text_markup_new_strikeout"
1567
+ version="0.26">
1568
+ <doc xml:space="preserve">Creates a new Strike Out Text annotation that will be
1569
+ located on @rect when added to a page. See poppler_page_add_annot()</doc>
1570
+ <return-value transfer-ownership="full">
1571
+ <doc xml:space="preserve">A newly created #PopplerAnnotTextMarkup annotation</doc>
1572
+ <type name="Annot" c:type="PopplerAnnot*"/>
1573
+ </return-value>
1574
+ <parameters>
1575
+ <parameter name="doc" transfer-ownership="none">
1576
+ <doc xml:space="preserve">a #PopplerDocument</doc>
1577
+ <type name="Document" c:type="PopplerDocument*"/>
1578
+ </parameter>
1579
+ <parameter name="rect" transfer-ownership="none">
1580
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
1581
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
1582
+ </parameter>
1583
+ <parameter name="quadrilaterals" transfer-ownership="none">
1584
+ <doc xml:space="preserve">A #GArray of
1585
+ #PopplerQuadrilateral&lt;!-- --&gt;s</doc>
1586
+ <array name="GLib.Array" c:type="GArray*">
1587
+ <type name="Quadrilateral"/>
1588
+ </array>
1589
+ </parameter>
1590
+ </parameters>
1591
+ </constructor>
1592
+ <constructor name="new_underline"
1593
+ c:identifier="poppler_annot_text_markup_new_underline"
1594
+ version="0.26">
1595
+ <doc xml:space="preserve">Creates a new Underline Text annotation that will be
1596
+ located on @rect when added to a page. See poppler_page_add_annot()</doc>
1597
+ <return-value transfer-ownership="full">
1598
+ <doc xml:space="preserve">A newly created #PopplerAnnotTextMarkup annotation</doc>
1599
+ <type name="Annot" c:type="PopplerAnnot*"/>
1600
+ </return-value>
1601
+ <parameters>
1602
+ <parameter name="doc" transfer-ownership="none">
1603
+ <doc xml:space="preserve">a #PopplerDocument</doc>
1604
+ <type name="Document" c:type="PopplerDocument*"/>
1605
+ </parameter>
1606
+ <parameter name="rect" transfer-ownership="none">
1607
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
1608
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
1609
+ </parameter>
1610
+ <parameter name="quadrilaterals" transfer-ownership="none">
1611
+ <doc xml:space="preserve">A #GArray of
1612
+ #PopplerQuadrilateral&lt;!-- --&gt;s</doc>
1613
+ <array name="GLib.Array" c:type="GArray*">
1614
+ <type name="Quadrilateral"/>
1615
+ </array>
1616
+ </parameter>
1617
+ </parameters>
1618
+ </constructor>
1619
+ <method name="get_quadrilaterals"
1620
+ c:identifier="poppler_annot_text_markup_get_quadrilaterals"
1621
+ version="0.26">
1622
+ <doc xml:space="preserve">Returns a #GArray of #PopplerQuadrilateral items that map from a
1623
+ location on @page to a #PopplerAnnotTextMarkup. This array must be freed
1624
+ when done.</doc>
1625
+ <return-value transfer-ownership="full">
1626
+ <doc xml:space="preserve">A #GArray of #PopplerQuadrilateral</doc>
1627
+ <array name="GLib.Array" c:type="GArray*">
1628
+ <type name="Quadrilateral"/>
1629
+ </array>
1630
+ </return-value>
1631
+ <parameters>
1632
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
1633
+ <doc xml:space="preserve">A #PopplerAnnotTextMarkup</doc>
1634
+ <type name="AnnotTextMarkup" c:type="PopplerAnnotTextMarkup*"/>
1635
+ </instance-parameter>
1636
+ </parameters>
1637
+ </method>
1638
+ <method name="set_quadrilaterals"
1639
+ c:identifier="poppler_annot_text_markup_set_quadrilaterals"
1640
+ version="0.26">
1641
+ <doc xml:space="preserve">Set the regions (Quadrilaterals) to apply the text markup in @poppler_annot.</doc>
1642
+ <return-value transfer-ownership="none">
1643
+ <type name="none" c:type="void"/>
1644
+ </return-value>
1645
+ <parameters>
1646
+ <instance-parameter name="poppler_annot" transfer-ownership="none">
1647
+ <doc xml:space="preserve">A #PopplerAnnotTextMarkup</doc>
1648
+ <type name="AnnotTextMarkup" c:type="PopplerAnnotTextMarkup*"/>
1649
+ </instance-parameter>
1650
+ <parameter name="quadrilaterals" transfer-ownership="none">
1651
+ <doc xml:space="preserve">A #GArray of
1652
+ #PopplerQuadrilateral&lt;!-- --&gt;s</doc>
1653
+ <array name="GLib.Array" c:type="GArray*">
1654
+ <type name="Quadrilateral"/>
1655
+ </array>
1656
+ </parameter>
1657
+ </parameters>
1658
+ </method>
1659
+ </class>
1253
1660
  <enumeration name="AnnotTextState"
1254
1661
  glib:type-name="PopplerAnnotTextState"
1255
1662
  glib:get-type="poppler_annot_text_state_get_type"
@@ -1435,7 +1842,8 @@ icons are currently supported:
1435
1842
  c:type="PopplerAttachment"
1436
1843
  parent="GObject.Object"
1437
1844
  glib:type-name="PopplerAttachment"
1438
- glib:get-type="poppler_attachment_get_type">
1845
+ glib:get-type="poppler_attachment_get_type"
1846
+ glib:type-struct="AttachmentClass">
1439
1847
  <method name="save" c:identifier="poppler_attachment_save" throws="1">
1440
1848
  <doc xml:space="preserve">Saves @attachment to a file indicated by @filename. If @error is set, %FALSE
1441
1849
  will be returned. Possible errors include those in the #G_FILE_ERROR domain
@@ -1508,6 +1916,13 @@ whatever the save function generates.</doc>
1508
1916
  <type name="GLib.String" c:type="GString*"/>
1509
1917
  </field>
1510
1918
  </class>
1919
+ <record name="AttachmentClass"
1920
+ c:type="PopplerAttachmentClass"
1921
+ glib:is-gtype-struct-for="Attachment">
1922
+ <field name="parent_class">
1923
+ <type name="GObject.ObjectClass" c:type="GObjectClass"/>
1924
+ </field>
1925
+ </record>
1511
1926
  <callback name="AttachmentSaveFunc"
1512
1927
  c:type="PopplerAttachmentSaveFunc"
1513
1928
  throws="1">
@@ -1523,7 +1938,8 @@ will fail with the same error.</doc>
1523
1938
  </return-value>
1524
1939
  <parameters>
1525
1940
  <parameter name="buf" transfer-ownership="none">
1526
- <doc xml:space="preserve">buffer containing bytes to be written.</doc>
1941
+ <doc xml:space="preserve">buffer containing
1942
+ bytes to be written.</doc>
1527
1943
  <array length="1" zero-terminated="0" c:type="gchar*">
1528
1944
  <type name="guint8"/>
1529
1945
  </array>
@@ -1566,12 +1982,15 @@ will fail with the same error.</doc>
1566
1982
  <doc xml:space="preserve">A #PopplerColor describes a RGB color. Color components
1567
1983
  are values between 0 and 65535</doc>
1568
1984
  <field name="red" writable="1">
1985
+ <doc xml:space="preserve">the red componment of color</doc>
1569
1986
  <type name="guint16" c:type="guint16"/>
1570
1987
  </field>
1571
1988
  <field name="green" writable="1">
1989
+ <doc xml:space="preserve">the green component of color</doc>
1572
1990
  <type name="guint16" c:type="guint16"/>
1573
1991
  </field>
1574
1992
  <field name="blue" writable="1">
1993
+ <doc xml:space="preserve">the blue component of color</doc>
1575
1994
  <type name="guint16" c:type="guint16"/>
1576
1995
  </field>
1577
1996
  <constructor name="new" c:identifier="poppler_color_new">
@@ -1614,36 +2033,47 @@ are values between 0 and 65535</doc>
1614
2033
  c:symbol-prefix="dest">
1615
2034
  <doc xml:space="preserve">Data structure for holding a destination</doc>
1616
2035
  <field name="type" writable="1">
2036
+ <doc xml:space="preserve">type of destination</doc>
1617
2037
  <type name="DestType" c:type="PopplerDestType"/>
1618
2038
  </field>
1619
2039
  <field name="page_num" writable="1">
2040
+ <doc xml:space="preserve">page number</doc>
1620
2041
  <type name="gint" c:type="int"/>
1621
2042
  </field>
1622
2043
  <field name="left" writable="1">
2044
+ <doc xml:space="preserve">left coordinate</doc>
1623
2045
  <type name="gdouble" c:type="double"/>
1624
2046
  </field>
1625
2047
  <field name="bottom" writable="1">
2048
+ <doc xml:space="preserve">bottom coordinate</doc>
1626
2049
  <type name="gdouble" c:type="double"/>
1627
2050
  </field>
1628
2051
  <field name="right" writable="1">
2052
+ <doc xml:space="preserve">right coordinate</doc>
1629
2053
  <type name="gdouble" c:type="double"/>
1630
2054
  </field>
1631
2055
  <field name="top" writable="1">
2056
+ <doc xml:space="preserve">top coordinate</doc>
1632
2057
  <type name="gdouble" c:type="double"/>
1633
2058
  </field>
1634
2059
  <field name="zoom" writable="1">
2060
+ <doc xml:space="preserve">scale factor</doc>
1635
2061
  <type name="gdouble" c:type="double"/>
1636
2062
  </field>
1637
2063
  <field name="named_dest" writable="1">
2064
+ <doc xml:space="preserve">name of the destination (#POPPLER_DEST_NAMED only)</doc>
1638
2065
  <type name="utf8" c:type="gchar*"/>
1639
2066
  </field>
1640
2067
  <field name="change_left" writable="1" bits="1">
2068
+ <doc xml:space="preserve">whether left coordinate should be changed</doc>
1641
2069
  <type name="guint" c:type="guint"/>
1642
2070
  </field>
1643
2071
  <field name="change_top" writable="1" bits="1">
2072
+ <doc xml:space="preserve">whether top coordinate should be changed</doc>
1644
2073
  <type name="guint" c:type="guint"/>
1645
2074
  </field>
1646
2075
  <field name="change_zoom" writable="1" bits="1">
2076
+ <doc xml:space="preserve">whether scale factor should be changed</doc>
1647
2077
  <type name="guint" c:type="guint"/>
1648
2078
  </field>
1649
2079
  <method name="copy" c:identifier="poppler_dest_copy">
@@ -1687,49 +2117,66 @@ are values between 0 and 65535</doc>
1687
2117
  value="1"
1688
2118
  c:identifier="POPPLER_DEST_XYZ"
1689
2119
  glib:nick="xyz">
1690
- <doc xml:space="preserve">go to page with coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom</doc>
2120
+ <doc xml:space="preserve">go to page with coordinates (left, top)
2121
+ positioned at the upper-left corner of the window and the contents of
2122
+ the page magnified by the factor zoom</doc>
1691
2123
  </member>
1692
2124
  <member name="fit"
1693
2125
  value="2"
1694
2126
  c:identifier="POPPLER_DEST_FIT"
1695
2127
  glib:nick="fit">
1696
- <doc xml:space="preserve">go to page with its contents magnified just enough to fit the entire page within the window both horizontally and vertically</doc>
2128
+ <doc xml:space="preserve">go to page with its contents magnified just
2129
+ enough to fit the entire page within the window both horizontally and
2130
+ vertically</doc>
1697
2131
  </member>
1698
2132
  <member name="fith"
1699
2133
  value="3"
1700
2134
  c:identifier="POPPLER_DEST_FITH"
1701
2135
  glib:nick="fith">
1702
- <doc xml:space="preserve">go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of the page within the window</doc>
2136
+ <doc xml:space="preserve">go to page with the vertical coordinate top
2137
+ positioned at the top edge of the window and the contents of the page
2138
+ magnified just enough to fit the entire width of the page within the window</doc>
1703
2139
  </member>
1704
2140
  <member name="fitv"
1705
2141
  value="4"
1706
2142
  c:identifier="POPPLER_DEST_FITV"
1707
2143
  glib:nick="fitv">
1708
- <doc xml:space="preserve">go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of the page within the window</doc>
2144
+ <doc xml:space="preserve">go to page with the horizontal coordinate
2145
+ left positioned at the left edge of the window and the contents of the
2146
+ page magnified just enough to fit the entire height of the page within the window</doc>
1709
2147
  </member>
1710
2148
  <member name="fitr"
1711
2149
  value="5"
1712
2150
  c:identifier="POPPLER_DEST_FITR"
1713
2151
  glib:nick="fitr">
1714
- <doc xml:space="preserve">go to page with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely within the window both horizontally and vertically</doc>
2152
+ <doc xml:space="preserve">go to page with its contents magnified just
2153
+ enough to fit the rectangle specified by the coordinates left, bottom,
2154
+ right, and top entirely within the window both horizontally and vertically</doc>
1715
2155
  </member>
1716
2156
  <member name="fitb"
1717
2157
  value="6"
1718
2158
  c:identifier="POPPLER_DEST_FITB"
1719
2159
  glib:nick="fitb">
1720
- <doc xml:space="preserve">go to page with its contents magnified just enough to fit its bounding box entirely within the window both horizontally and vertically</doc>
2160
+ <doc xml:space="preserve">go to page with its contents magnified just enough to fit
2161
+ its bounding box entirely within the window both horizontally and vertically</doc>
1721
2162
  </member>
1722
2163
  <member name="fitbh"
1723
2164
  value="7"
1724
2165
  c:identifier="POPPLER_DEST_FITBH"
1725
2166
  glib:nick="fitbh">
1726
- <doc xml:space="preserve">go to page with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window</doc>
2167
+ <doc xml:space="preserve">go to page with the vertical
2168
+ coordinate top positioned at the top edge of the window and the
2169
+ contents of the page magnified just enough to fit the entire width of its
2170
+ bounding box within the window</doc>
1727
2171
  </member>
1728
2172
  <member name="fitbv"
1729
2173
  value="8"
1730
2174
  c:identifier="POPPLER_DEST_FITBV"
1731
2175
  glib:nick="fitbv">
1732
- <doc xml:space="preserve">go to page with the horizontal coordinate left positioned at the left edge of the window and the contents of the page magnified just enough to fit the entire height of its bounding box within the window</doc>
2176
+ <doc xml:space="preserve">go to page with the horizontal
2177
+ coordinate left positioned at the left edge of the window and the
2178
+ contents of the page magnified just enough to fit the entire height of its
2179
+ bounding box within the window</doc>
1733
2180
  </member>
1734
2181
  <member name="named"
1735
2182
  value="9"
@@ -1763,7 +2210,10 @@ domains.</doc>
1763
2210
  <doc xml:space="preserve">the length of #data</doc>
1764
2211
  <type name="gint" c:type="int"/>
1765
2212
  </parameter>
1766
- <parameter name="password" transfer-ownership="none" allow-none="1">
2213
+ <parameter name="password"
2214
+ transfer-ownership="none"
2215
+ nullable="1"
2216
+ allow-none="1">
1767
2217
  <doc xml:space="preserve">password to unlock the file with, or %NULL</doc>
1768
2218
  <type name="utf8" c:type="const char*"/>
1769
2219
  </parameter>
@@ -1784,7 +2234,10 @@ domains.</doc>
1784
2234
  <doc xml:space="preserve">uri of the file to load</doc>
1785
2235
  <type name="utf8" c:type="const char*"/>
1786
2236
  </parameter>
1787
- <parameter name="password" transfer-ownership="none" allow-none="1">
2237
+ <parameter name="password"
2238
+ transfer-ownership="none"
2239
+ nullable="1"
2240
+ allow-none="1">
1788
2241
  <doc xml:space="preserve">password to unlock the file with, or %NULL</doc>
1789
2242
  <type name="utf8" c:type="const char*"/>
1790
2243
  </parameter>
@@ -1806,12 +2259,16 @@ domains.</doc>
1806
2259
  <doc xml:space="preserve">a #GFile to load</doc>
1807
2260
  <type name="Gio.File" c:type="GFile*"/>
1808
2261
  </parameter>
1809
- <parameter name="password" transfer-ownership="none" allow-none="1">
2262
+ <parameter name="password"
2263
+ transfer-ownership="none"
2264
+ nullable="1"
2265
+ allow-none="1">
1810
2266
  <doc xml:space="preserve">password to unlock the file with, or %NULL</doc>
1811
2267
  <type name="utf8" c:type="const char*"/>
1812
2268
  </parameter>
1813
2269
  <parameter name="cancellable"
1814
2270
  transfer-ownership="none"
2271
+ nullable="1"
1815
2272
  allow-none="1">
1816
2273
  <doc xml:space="preserve">a #GCancellable, or %NULL</doc>
1817
2274
  <type name="Gio.Cancellable" c:type="GCancellable*"/>
@@ -1840,12 +2297,16 @@ domains.</doc>
1840
2297
  <doc xml:space="preserve">the stream length, or -1 if not known</doc>
1841
2298
  <type name="gint64" c:type="goffset"/>
1842
2299
  </parameter>
1843
- <parameter name="password" transfer-ownership="none" allow-none="1">
2300
+ <parameter name="password"
2301
+ transfer-ownership="none"
2302
+ nullable="1"
2303
+ allow-none="1">
1844
2304
  <doc xml:space="preserve">password to unlock the file with, or %NULL</doc>
1845
2305
  <type name="utf8" c:type="const char*"/>
1846
2306
  </parameter>
1847
2307
  <parameter name="cancellable"
1848
2308
  transfer-ownership="none"
2309
+ nullable="1"
1849
2310
  allow-none="1">
1850
2311
  <doc xml:space="preserve">a #GCancellable, or %NULL</doc>
1851
2312
  <type name="Gio.Cancellable" c:type="GCancellable*"/>
@@ -1855,7 +2316,9 @@ domains.</doc>
1855
2316
  <method name="find_dest" c:identifier="poppler_document_find_dest">
1856
2317
  <doc xml:space="preserve">Finds named destination @link_name in @document</doc>
1857
2318
  <return-value transfer-ownership="full">
1858
- <doc xml:space="preserve">The #PopplerDest destination or %NULL if @link_name is not a destination. Returned value must be freed with #poppler_dest_free</doc>
2319
+ <doc xml:space="preserve">The #PopplerDest destination or %NULL if
2320
+ @link_name is not a destination. Returned value must
2321
+ be freed with #poppler_dest_free</doc>
1859
2322
  <type name="Dest" c:type="PopplerDest*"/>
1860
2323
  </return-value>
1861
2324
  <parameters>
@@ -1892,7 +2355,8 @@ g_list_free().</doc>
1892
2355
  version="0.16">
1893
2356
  <doc xml:space="preserve">Returns the author of the document</doc>
1894
2357
  <return-value transfer-ownership="full">
1895
- <doc xml:space="preserve">a new allocated string containing the author of @document, or %NULL</doc>
2358
+ <doc xml:space="preserve">a new allocated string containing the author
2359
+ of @document, or %NULL</doc>
1896
2360
  <type name="utf8" c:type="gchar*"/>
1897
2361
  </return-value>
1898
2362
  <parameters>
@@ -1924,7 +2388,8 @@ g_list_free().</doc>
1924
2388
  from another format, the creator is the name of the product
1925
2389
  that created the original document from which it was converted.</doc>
1926
2390
  <return-value transfer-ownership="full">
1927
- <doc xml:space="preserve">a new allocated string containing the creator of @document, or %NULL</doc>
2391
+ <doc xml:space="preserve">a new allocated string containing the creator
2392
+ of @document, or %NULL</doc>
1928
2393
  <type name="utf8" c:type="gchar*"/>
1929
2394
  </return-value>
1930
2395
  <parameters>
@@ -1939,7 +2404,8 @@ that created the original document from which it was converted.</doc>
1939
2404
  <doc xml:space="preserve">Returns the #PopplerFormField for the given @id. It must be freed with
1940
2405
  g_object_unref()</doc>
1941
2406
  <return-value transfer-ownership="full">
1942
- <doc xml:space="preserve">a new #PopplerFormField or %NULL if not found</doc>
2407
+ <doc xml:space="preserve">a new #PopplerFormField or %NULL if
2408
+ not found</doc>
1943
2409
  <type name="FormField" c:type="PopplerFormField*"/>
1944
2410
  </return-value>
1945
2411
  <parameters>
@@ -1977,6 +2443,7 @@ size of 32 bytes.</doc>
1977
2443
  direction="out"
1978
2444
  caller-allocates="0"
1979
2445
  transfer-ownership="full"
2446
+ optional="1"
1980
2447
  allow-none="1">
1981
2448
  <doc xml:space="preserve">location to store an allocated string, use g_free() to free the returned string</doc>
1982
2449
  <type name="utf8" c:type="gchar**"/>
@@ -1985,6 +2452,7 @@ size of 32 bytes.</doc>
1985
2452
  direction="out"
1986
2453
  caller-allocates="0"
1987
2454
  transfer-ownership="full"
2455
+ optional="1"
1988
2456
  allow-none="1">
1989
2457
  <doc xml:space="preserve">location to store an allocated string, use g_free() to free the returned string</doc>
1990
2458
  <type name="utf8" c:type="gchar**"/>
@@ -1996,7 +2464,8 @@ size of 32 bytes.</doc>
1996
2464
  version="0.16">
1997
2465
  <doc xml:space="preserve">Returns the keywords associated to the document</doc>
1998
2466
  <return-value transfer-ownership="full">
1999
- <doc xml:space="preserve">a new allocated string containing keywords associated to @document, or %NULL</doc>
2467
+ <doc xml:space="preserve">a new allocated string containing keywords associated
2468
+ to @document, or %NULL</doc>
2000
2469
  <type name="utf8" c:type="gchar*"/>
2001
2470
  </return-value>
2002
2471
  <parameters>
@@ -2011,7 +2480,8 @@ size of 32 bytes.</doc>
2011
2480
  version="0.16">
2012
2481
  <doc xml:space="preserve">Returns the XML metadata string of the document</doc>
2013
2482
  <return-value transfer-ownership="full">
2014
- <doc xml:space="preserve">a new allocated string containing the XML metadata, or %NULL</doc>
2483
+ <doc xml:space="preserve">a new allocated string containing the XML
2484
+ metadata, or %NULL</doc>
2015
2485
  <type name="utf8" c:type="gchar*"/>
2016
2486
  </return-value>
2017
2487
  <parameters>
@@ -2152,6 +2622,7 @@ be initially displayed when opened.</doc>
2152
2622
  direction="out"
2153
2623
  caller-allocates="0"
2154
2624
  transfer-ownership="full"
2625
+ optional="1"
2155
2626
  allow-none="1">
2156
2627
  <doc xml:space="preserve">return location for the PDF major version number</doc>
2157
2628
  <type name="guint" c:type="guint*"/>
@@ -2160,6 +2631,7 @@ be initially displayed when opened.</doc>
2160
2631
  direction="out"
2161
2632
  caller-allocates="0"
2162
2633
  transfer-ownership="full"
2634
+ optional="1"
2163
2635
  allow-none="1">
2164
2636
  <doc xml:space="preserve">return location for the PDF minor version number</doc>
2165
2637
  <type name="guint" c:type="guint*"/>
@@ -2171,7 +2643,8 @@ be initially displayed when opened.</doc>
2171
2643
  version="0.16">
2172
2644
  <doc xml:space="preserve">Returns the PDF version of @document as a string (e.g. PDF-1.6)</doc>
2173
2645
  <return-value transfer-ownership="full">
2174
- <doc xml:space="preserve">a new allocated string containing the PDF version of @document, or %NULL</doc>
2646
+ <doc xml:space="preserve">a new allocated string containing the PDF version
2647
+ of @document, or %NULL</doc>
2175
2648
  <type name="utf8" c:type="gchar*"/>
2176
2649
  </return-value>
2177
2650
  <parameters>
@@ -2203,7 +2676,8 @@ be initially displayed when opened.</doc>
2203
2676
  from another format, the producer is the name of the product
2204
2677
  that converted it to PDF</doc>
2205
2678
  <return-value transfer-ownership="full">
2206
- <doc xml:space="preserve">a new allocated string containing the producer of @document, or %NULL</doc>
2679
+ <doc xml:space="preserve">a new allocated string containing the producer
2680
+ of @document, or %NULL</doc>
2207
2681
  <type name="utf8" c:type="gchar*"/>
2208
2682
  </return-value>
2209
2683
  <parameters>
@@ -2218,7 +2692,8 @@ that converted it to PDF</doc>
2218
2692
  version="0.16">
2219
2693
  <doc xml:space="preserve">Returns the subject of the document</doc>
2220
2694
  <return-value transfer-ownership="full">
2221
- <doc xml:space="preserve">a new allocated string containing the subject of @document, or %NULL</doc>
2695
+ <doc xml:space="preserve">a new allocated string containing the subject
2696
+ of @document, or %NULL</doc>
2222
2697
  <type name="utf8" c:type="gchar*"/>
2223
2698
  </return-value>
2224
2699
  <parameters>
@@ -2233,7 +2708,8 @@ that converted it to PDF</doc>
2233
2708
  version="0.16">
2234
2709
  <doc xml:space="preserve">Returns the document's title</doc>
2235
2710
  <return-value transfer-ownership="full">
2236
- <doc xml:space="preserve">a new allocated string containing the title of @document, or %NULL</doc>
2711
+ <doc xml:space="preserve">a new allocated string containing the title
2712
+ of @document, or %NULL</doc>
2237
2713
  <type name="utf8" c:type="gchar*"/>
2238
2714
  </return-value>
2239
2715
  <parameters>
@@ -2298,8 +2774,8 @@ include those in the #G_FILE_ERROR domain.</doc>
2298
2774
  c:identifier="poppler_document_save_a_copy"
2299
2775
  throws="1">
2300
2776
  <doc xml:space="preserve">Saves a copy of the original @document.
2301
- Any change made in the document such as
2302
- form fields filled by the user will not be saved.
2777
+ Any change made in the document such as
2778
+ form fields filled by the user will not be saved.
2303
2779
  If @error is set, %FALSE will be returned. Possible errors
2304
2780
  include those in the #G_FILE_ERROR domain.</doc>
2305
2781
  <return-value transfer-ownership="none">
@@ -2395,7 +2871,7 @@ include those in the #G_FILE_ERROR domain.</doc>
2395
2871
  value="0"
2396
2872
  c:identifier="POPPLER_ERROR_INVALID"
2397
2873
  glib:nick="invalid">
2398
- <doc xml:space="preserve">Generic error when a document opration fails</doc>
2874
+ <doc xml:space="preserve">Generic error when a document operation fails</doc>
2399
2875
  </member>
2400
2876
  <member name="encrypted"
2401
2877
  value="1"
@@ -3052,7 +3528,8 @@ to be 'pressed in', and %FALSE to raise it.</doc>
3052
3528
  <doc xml:space="preserve">Retrieves the action (#PopplerAction) that shall be
3053
3529
  performed when @field is activated, or %NULL</doc>
3054
3530
  <return-value transfer-ownership="none">
3055
- <doc xml:space="preserve">the action to perform. The returned object is owned by @field and should not be freed</doc>
3531
+ <doc xml:space="preserve">the action to perform. The returned
3532
+ object is owned by @field and should not be freed</doc>
3056
3533
  <type name="Action" c:type="PopplerAction*"/>
3057
3534
  </return-value>
3058
3535
  <parameters>
@@ -3285,9 +3762,11 @@ the partial field names of the field and all of its ancestors.</doc>
3285
3762
  <doc xml:space="preserve">A #PopplerFormFieldMapping structure represents the location
3286
3763
  of @field on the page</doc>
3287
3764
  <field name="area" writable="1">
3765
+ <doc xml:space="preserve">a #PopplerRectangle representing an area of the page</doc>
3288
3766
  <type name="Rectangle" c:type="PopplerRectangle"/>
3289
3767
  </field>
3290
3768
  <field name="field" writable="1">
3769
+ <doc xml:space="preserve">a #PopplerFormField</doc>
3291
3770
  <type name="FormField" c:type="PopplerFormField*"/>
3292
3771
  </field>
3293
3772
  <constructor name="new" c:identifier="poppler_form_field_mapping_new">
@@ -3385,9 +3864,11 @@ of @field on the page</doc>
3385
3864
  <doc xml:space="preserve">A #PopplerImageMapping structure represents the location
3386
3865
  of an image on the page</doc>
3387
3866
  <field name="area" writable="1">
3867
+ <doc xml:space="preserve">a #PopplerRectangle representing an area of the page</doc>
3388
3868
  <type name="Rectangle" c:type="PopplerRectangle"/>
3389
3869
  </field>
3390
3870
  <field name="image_id" writable="1">
3871
+ <doc xml:space="preserve">an image identifier</doc>
3391
3872
  <type name="gint" c:type="gint"/>
3392
3873
  </field>
3393
3874
  <constructor name="new" c:identifier="poppler_image_mapping_new">
@@ -3567,7 +4048,8 @@ poppler_index_iter_new() for more information.</doc>
3567
4048
  version="0.12">
3568
4049
  <doc xml:space="preserve">Returns the numeric ID the radio button group associated with @layer.</doc>
3569
4050
  <return-value transfer-ownership="none">
3570
- <doc xml:space="preserve">the ID of the radio button group associated with @layer, or 0 if the layer is not associated to any radio button group</doc>
4051
+ <doc xml:space="preserve">the ID of the radio button group associated with @layer,
4052
+ or 0 if the layer is not associated to any radio button group</doc>
3571
4053
  <type name="gint" c:type="gint"/>
3572
4054
  </return-value>
3573
4055
  <parameters>
@@ -3672,7 +4154,9 @@ is shown again</doc>
3672
4154
  <doc xml:space="preserve">Creates a new #PopplerLayersIter as a copy of @iter. This must be freed with
3673
4155
  poppler_layers_iter_free().</doc>
3674
4156
  <return-value transfer-ownership="full">
3675
- <doc xml:space="preserve">a new #PopplerLayersIter Since 0.12</doc>
4157
+ <doc xml:space="preserve">a new #PopplerLayersIter
4158
+
4159
+ Since 0.12</doc>
3676
4160
  <type name="LayersIter" c:type="PopplerLayersIter*"/>
3677
4161
  </return-value>
3678
4162
  <parameters>
@@ -3717,7 +4201,8 @@ See poppler_layers_iter_new() for more information on this function.</doc>
3717
4201
  version="0.12">
3718
4202
  <doc xml:space="preserve">Returns the #PopplerLayer associated with @iter.</doc>
3719
4203
  <return-value transfer-ownership="full">
3720
- <doc xml:space="preserve">a new #PopplerLayer, or %NULL if there isn't any layer associated with @iter</doc>
4204
+ <doc xml:space="preserve">a new #PopplerLayer, or %NULL if
4205
+ there isn't any layer associated with @iter</doc>
3721
4206
  <type name="Layer" c:type="PopplerLayer*"/>
3722
4207
  </return-value>
3723
4208
  <parameters>
@@ -3733,7 +4218,8 @@ See poppler_layers_iter_new() for more information on this function.</doc>
3733
4218
  <doc xml:space="preserve">Returns the title associated with @iter. It must be freed with
3734
4219
  g_free().</doc>
3735
4220
  <return-value transfer-ownership="full">
3736
- <doc xml:space="preserve">a new string containing the @iter's title or %NULL if @iter doesn't have a title. The returned string should be freed with g_free() when no longer needed.</doc>
4221
+ <doc xml:space="preserve">a new string containing the @iter's title or %NULL if @iter doesn't have a title.
4222
+ The returned string should be freed with g_free() when no longer needed.</doc>
3737
4223
  <type name="utf8" c:type="gchar*"/>
3738
4224
  </return-value>
3739
4225
  <parameters>
@@ -3768,9 +4254,11 @@ poppler_layers_iter_new() for more information.</doc>
3768
4254
  <doc xml:space="preserve">A #PopplerLinkMapping structure represents the location
3769
4255
  of @action on the page</doc>
3770
4256
  <field name="area" writable="1">
4257
+ <doc xml:space="preserve">a #PopplerRectangle representing an area of the page</doc>
3771
4258
  <type name="Rectangle" c:type="PopplerRectangle"/>
3772
4259
  </field>
3773
4260
  <field name="action" writable="1">
4261
+ <doc xml:space="preserve">a #PopplerAction</doc>
3774
4262
  <type name="Action" c:type="PopplerAction*"/>
3775
4263
  </field>
3776
4264
  <constructor name="new" c:identifier="poppler_link_mapping_new">
@@ -3823,7 +4311,7 @@ of @action on the page</doc>
3823
4311
  <type name="gint" c:type="gint"/>
3824
4312
  </constant>
3825
4313
  <constant name="MINOR_VERSION"
3826
- value="24"
4314
+ value="26"
3827
4315
  c:type="POPPLER_MINOR_VERSION"
3828
4316
  version="0.12">
3829
4317
  <doc xml:space="preserve">The major version number of the poppler header files (e.g. in poppler version
@@ -3956,7 +4444,8 @@ will fail with the same error.</doc>
3956
4444
  </return-value>
3957
4445
  <parameters>
3958
4446
  <parameter name="buf" transfer-ownership="none">
3959
- <doc xml:space="preserve">buffer containing bytes to be written.</doc>
4447
+ <doc xml:space="preserve">buffer containing
4448
+ bytes to be written.</doc>
3960
4449
  <array length="1" zero-terminated="0" c:type="gchar*">
3961
4450
  <type name="guint8"/>
3962
4451
  </array>
@@ -3982,7 +4471,8 @@ will fail with the same error.</doc>
3982
4471
  version="0.14">
3983
4472
  <doc xml:space="preserve">Returns the local filename identifying a self-describing movie file</doc>
3984
4473
  <return-value transfer-ownership="none">
3985
- <doc xml:space="preserve">a local filename, return value is owned by #PopplerMovie and should not be freed</doc>
4474
+ <doc xml:space="preserve">a local filename, return value is owned by #PopplerMovie and
4475
+ should not be freed</doc>
3986
4476
  <type name="utf8" c:type="const gchar*"/>
3987
4477
  </return-value>
3988
4478
  <parameters>
@@ -4150,7 +4640,8 @@ reference them with g_object_ref().</doc>
4150
4640
  </return-value>
4151
4641
  <parameters>
4152
4642
  <parameter name="list" transfer-ownership="none">
4153
- <doc xml:space="preserve">A list of #PopplerAnnotMapping&lt;!-- --&gt;s</doc>
4643
+ <doc xml:space="preserve">A list of
4644
+ #PopplerAnnotMapping&lt;!-- --&gt;s</doc>
4154
4645
  <type name="GLib.List" c:type="GList*">
4155
4646
  <type name="AnnotMapping"/>
4156
4647
  </type>
@@ -4166,7 +4657,8 @@ poppler_page_get_form_field_mapping().</doc>
4166
4657
  </return-value>
4167
4658
  <parameters>
4168
4659
  <parameter name="list" transfer-ownership="none">
4169
- <doc xml:space="preserve">A list of #PopplerFormFieldMapping&lt;!-- --&gt;s</doc>
4660
+ <doc xml:space="preserve">A list of
4661
+ #PopplerFormFieldMapping&lt;!-- --&gt;s</doc>
4170
4662
  <type name="GLib.List" c:type="GList*">
4171
4663
  <type name="FormFieldMapping"/>
4172
4664
  </type>
@@ -4182,7 +4674,8 @@ poppler_page_get_image_mapping().</doc>
4182
4674
  </return-value>
4183
4675
  <parameters>
4184
4676
  <parameter name="list" transfer-ownership="none">
4185
- <doc xml:space="preserve">A list of #PopplerImageMapping&lt;!-- --&gt;s</doc>
4677
+ <doc xml:space="preserve">A list of
4678
+ #PopplerImageMapping&lt;!-- --&gt;s</doc>
4186
4679
  <type name="GLib.List" c:type="GList*">
4187
4680
  <type name="ImageMapping"/>
4188
4681
  </type>
@@ -4200,7 +4693,8 @@ copy them with poppler_action_copy().</doc>
4200
4693
  </return-value>
4201
4694
  <parameters>
4202
4695
  <parameter name="list" transfer-ownership="none">
4203
- <doc xml:space="preserve">A list of #PopplerLinkMapping&lt;!-- --&gt;s</doc>
4696
+ <doc xml:space="preserve">A list of
4697
+ #PopplerLinkMapping&lt;!-- --&gt;s</doc>
4204
4698
  <type name="GLib.List" c:type="GList*">
4205
4699
  <type name="LinkMapping"/>
4206
4700
  </type>
@@ -4217,7 +4711,8 @@ poppler_page_get_text_attributes().</doc>
4217
4711
  </return-value>
4218
4712
  <parameters>
4219
4713
  <parameter name="list" transfer-ownership="none">
4220
- <doc xml:space="preserve">A list of #PopplerTextAttributes&lt;!-- --&gt;s</doc>
4714
+ <doc xml:space="preserve">A list of
4715
+ #PopplerTextAttributes&lt;!-- --&gt;s</doc>
4221
4716
  <type name="GLib.List" c:type="GList*">
4222
4717
  <type name="TextAttributes"/>
4223
4718
  </type>
@@ -4226,14 +4721,16 @@ poppler_page_get_text_attributes().</doc>
4226
4721
  </function>
4227
4722
  <function name="selection_region_free"
4228
4723
  c:identifier="poppler_page_selection_region_free"
4229
- deprecated="0.16">
4724
+ deprecated="1"
4725
+ deprecated-version="0.16">
4230
4726
  <doc xml:space="preserve">Frees @region</doc>
4231
4727
  <return-value transfer-ownership="none">
4232
4728
  <type name="none" c:type="void"/>
4233
4729
  </return-value>
4234
4730
  <parameters>
4235
4731
  <parameter name="region" transfer-ownership="none">
4236
- <doc xml:space="preserve">a #GList of #PopplerRectangle</doc>
4732
+ <doc xml:space="preserve">a #GList of
4733
+ #PopplerRectangle</doc>
4237
4734
  <type name="GLib.List" c:type="GList*">
4238
4735
  <type name="Rectangle"/>
4239
4736
  </type>
@@ -4428,7 +4925,8 @@ with poppler_page_free_image_mapping() when done.</doc>
4428
4925
  <doc xml:space="preserve">Returns the label of @page. Note that page labels
4429
4926
  and page indices might not coincide.</doc>
4430
4927
  <return-value transfer-ownership="full">
4431
- <doc xml:space="preserve">a new allocated string containing the label of @page, or %NULL if @page doesn't have a label</doc>
4928
+ <doc xml:space="preserve">a new allocated string containing the label of @page,
4929
+ or %NULL if @page doesn't have a label</doc>
4432
4930
  <type name="utf8" c:type="gchar*"/>
4433
4931
  </return-value>
4434
4932
  <parameters>
@@ -4490,7 +4988,8 @@ The returned region must be freed with cairo_region_destroy()</doc>
4490
4988
  version="0.16">
4491
4989
  <doc xml:space="preserve">Retrieves the contents of the specified @selection as text.</doc>
4492
4990
  <return-value transfer-ownership="full">
4493
- <doc xml:space="preserve">a pointer to the contents of the @selection as a string</doc>
4991
+ <doc xml:space="preserve">a pointer to the contents of the @selection
4992
+ as a string</doc>
4494
4993
  <type name="utf8" c:type="char*"/>
4495
4994
  </return-value>
4496
4995
  <parameters>
@@ -4510,12 +5009,13 @@ The returned region must be freed with cairo_region_destroy()</doc>
4510
5009
  </method>
4511
5010
  <method name="get_selection_region"
4512
5011
  c:identifier="poppler_page_get_selection_region"
4513
- deprecated="Use poppler_page_get_selected_region() instead."
5012
+ deprecated="1"
4514
5013
  deprecated-version="0.16">
4515
5014
  <doc xml:space="preserve">Returns a region containing the area that would be rendered by
4516
5015
  poppler_page_render_selection() as a #GList of
4517
5016
  #PopplerRectangle. The returned list must be freed with
4518
5017
  poppler_page_selection_region_free().</doc>
5018
+ <doc-deprecated xml:space="preserve">Use poppler_page_get_selected_region() instead.</doc-deprecated>
4519
5019
  <return-value transfer-ownership="full">
4520
5020
  <doc xml:space="preserve">a #GList of #PopplerRectangle</doc>
4521
5021
  <type name="GLib.List" c:type="GList*">
@@ -4555,6 +5055,7 @@ poppler_page_selection_region_free().</doc>
4555
5055
  direction="out"
4556
5056
  caller-allocates="0"
4557
5057
  transfer-ownership="full"
5058
+ optional="1"
4558
5059
  allow-none="1">
4559
5060
  <doc xml:space="preserve">return location for the width of @page</doc>
4560
5061
  <type name="gdouble" c:type="double*"/>
@@ -4563,6 +5064,7 @@ poppler_page_selection_region_free().</doc>
4563
5064
  direction="out"
4564
5065
  caller-allocates="0"
4565
5066
  transfer-ownership="full"
5067
+ optional="1"
4566
5068
  allow-none="1">
4567
5069
  <doc xml:space="preserve">return location for the height of @page</doc>
4568
5070
  <type name="gdouble" c:type="double*"/>
@@ -4574,7 +5076,8 @@ poppler_page_selection_region_free().</doc>
4574
5076
  version="0.16">
4575
5077
  <doc xml:space="preserve">Retrieves the text of @page.</doc>
4576
5078
  <return-value transfer-ownership="full">
4577
- <doc xml:space="preserve">a pointer to the text of the @page as a string</doc>
5079
+ <doc xml:space="preserve">a pointer to the text of the @page
5080
+ as a string</doc>
4578
5081
  <type name="utf8" c:type="char*"/>
4579
5082
  </return-value>
4580
5083
  <parameters>
@@ -4587,12 +5090,14 @@ poppler_page_selection_region_free().</doc>
4587
5090
  <method name="get_text_attributes"
4588
5091
  c:identifier="poppler_page_get_text_attributes"
4589
5092
  version="0.18">
4590
- <doc xml:space="preserve">Obtains the attributes of the text as a GList of #PopplerTextAttributes.
5093
+ <doc xml:space="preserve">Obtains the attributes of the text as a #GList of #PopplerTextAttributes.
4591
5094
  This list must be freed with poppler_page_free_text_attributes() when done.
4592
5095
 
4593
5096
  Each list element is a #PopplerTextAttributes struct where start_index and
4594
5097
  end_index indicates the range of text (as returned by poppler_page_get_text())
4595
- to which text attributes apply.</doc>
5098
+ to which text attributes apply.
5099
+
5100
+ See also poppler_page_get_text_attributes_for_area()</doc>
4596
5101
  <return-value transfer-ownership="full">
4597
5102
  <doc xml:space="preserve">A #GList of #PopplerTextAttributes</doc>
4598
5103
  <type name="GLib.List" c:type="GList*">
@@ -4606,23 +5111,70 @@ to which text attributes apply.</doc>
4606
5111
  </instance-parameter>
4607
5112
  </parameters>
4608
5113
  </method>
4609
- <method name="get_text_layout"
4610
- c:identifier="poppler_page_get_text_layout"
4611
- version="0.16">
4612
- <doc xml:space="preserve">Obtains the layout of the text as a list of #PopplerRectangle
4613
- This array must be freed with g_free () when done.
5114
+ <method name="get_text_attributes_for_area"
5115
+ c:identifier="poppler_page_get_text_attributes_for_area"
5116
+ version="0.26">
5117
+ <doc xml:space="preserve">Obtains the attributes of the text in @area as a #GList of #PopplerTextAttributes.
5118
+ This list must be freed with poppler_page_free_text_attributes() when done.
4614
5119
 
4615
- The position in the array represents an offset in the text returned by
4616
- poppler_page_get_text()</doc>
4617
- <return-value transfer-ownership="none">
4618
- <doc xml:space="preserve">%TRUE if the page contains text, %FALSE otherwise</doc>
4619
- <type name="gboolean" c:type="gboolean"/>
4620
- </return-value>
4621
- <parameters>
4622
- <instance-parameter name="page" transfer-ownership="none">
4623
- <doc xml:space="preserve">A #PopplerPage</doc>
4624
- <type name="Page" c:type="PopplerPage*"/>
4625
- </instance-parameter>
5120
+ Each list element is a #PopplerTextAttributes struct where start_index and
5121
+ end_index indicates the range of text (as returned by poppler_page_get_text_for_area())
5122
+ to which text attributes apply.</doc>
5123
+ <return-value transfer-ownership="full">
5124
+ <doc xml:space="preserve">A #GList of #PopplerTextAttributes</doc>
5125
+ <type name="GLib.List" c:type="GList*">
5126
+ <type name="TextAttributes"/>
5127
+ </type>
5128
+ </return-value>
5129
+ <parameters>
5130
+ <instance-parameter name="page" transfer-ownership="none">
5131
+ <doc xml:space="preserve">A #PopplerPage</doc>
5132
+ <type name="Page" c:type="PopplerPage*"/>
5133
+ </instance-parameter>
5134
+ <parameter name="area" transfer-ownership="none">
5135
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
5136
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
5137
+ </parameter>
5138
+ </parameters>
5139
+ </method>
5140
+ <method name="get_text_for_area"
5141
+ c:identifier="poppler_page_get_text_for_area"
5142
+ version="0.26">
5143
+ <doc xml:space="preserve">Retrieves the text of @page contained in @area.</doc>
5144
+ <return-value transfer-ownership="full">
5145
+ <doc xml:space="preserve">a pointer to the text as a string</doc>
5146
+ <type name="utf8" c:type="char*"/>
5147
+ </return-value>
5148
+ <parameters>
5149
+ <instance-parameter name="page" transfer-ownership="none">
5150
+ <doc xml:space="preserve">a #PopplerPage</doc>
5151
+ <type name="Page" c:type="PopplerPage*"/>
5152
+ </instance-parameter>
5153
+ <parameter name="area" transfer-ownership="none">
5154
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
5155
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
5156
+ </parameter>
5157
+ </parameters>
5158
+ </method>
5159
+ <method name="get_text_layout"
5160
+ c:identifier="poppler_page_get_text_layout"
5161
+ version="0.16">
5162
+ <doc xml:space="preserve">Obtains the layout of the text as a list of #PopplerRectangle
5163
+ This array must be freed with g_free() when done.
5164
+
5165
+ The position in the array represents an offset in the text returned by
5166
+ poppler_page_get_text()
5167
+
5168
+ See also poppler_page_get_text_layout_for_area().</doc>
5169
+ <return-value transfer-ownership="none">
5170
+ <doc xml:space="preserve">%TRUE if the page contains text, %FALSE otherwise</doc>
5171
+ <type name="gboolean" c:type="gboolean"/>
5172
+ </return-value>
5173
+ <parameters>
5174
+ <instance-parameter name="page" transfer-ownership="none">
5175
+ <doc xml:space="preserve">A #PopplerPage</doc>
5176
+ <type name="Page" c:type="PopplerPage*"/>
5177
+ </instance-parameter>
4626
5178
  <parameter name="rectangles"
4627
5179
  direction="out"
4628
5180
  caller-allocates="0"
@@ -4641,12 +5193,52 @@ poppler_page_get_text()</doc>
4641
5193
  </parameter>
4642
5194
  </parameters>
4643
5195
  </method>
5196
+ <method name="get_text_layout_for_area"
5197
+ c:identifier="poppler_page_get_text_layout_for_area"
5198
+ version="0.26">
5199
+ <doc xml:space="preserve">Obtains the layout of the text contained in @area as a list of #PopplerRectangle
5200
+ This array must be freed with g_free() when done.
5201
+
5202
+ The position in the array represents an offset in the text returned by
5203
+ poppler_page_get_text_for_area()</doc>
5204
+ <return-value transfer-ownership="none">
5205
+ <doc xml:space="preserve">%TRUE if the page contains text, %FALSE otherwise</doc>
5206
+ <type name="gboolean" c:type="gboolean"/>
5207
+ </return-value>
5208
+ <parameters>
5209
+ <instance-parameter name="page" transfer-ownership="none">
5210
+ <doc xml:space="preserve">A #PopplerPage</doc>
5211
+ <type name="Page" c:type="PopplerPage*"/>
5212
+ </instance-parameter>
5213
+ <parameter name="area" transfer-ownership="none">
5214
+ <doc xml:space="preserve">a #PopplerRectangle</doc>
5215
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
5216
+ </parameter>
5217
+ <parameter name="rectangles"
5218
+ direction="out"
5219
+ caller-allocates="0"
5220
+ transfer-ownership="container">
5221
+ <doc xml:space="preserve">return location for an array of #PopplerRectangle</doc>
5222
+ <array length="2" zero-terminated="0" c:type="PopplerRectangle**">
5223
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
5224
+ </array>
5225
+ </parameter>
5226
+ <parameter name="n_rectangles"
5227
+ direction="out"
5228
+ caller-allocates="0"
5229
+ transfer-ownership="full">
5230
+ <doc xml:space="preserve">length of returned array</doc>
5231
+ <type name="guint" c:type="guint*"/>
5232
+ </parameter>
5233
+ </parameters>
5234
+ </method>
4644
5235
  <method name="get_thumbnail" c:identifier="poppler_page_get_thumbnail">
4645
5236
  <doc xml:space="preserve">Get the embedded thumbnail for the specified page. If the document
4646
5237
  doesn't have an embedded thumbnail for the page, this function
4647
5238
  returns %NULL.</doc>
4648
5239
  <return-value transfer-ownership="full">
4649
- <doc xml:space="preserve">the tumbnail as a cairo_surface_t or %NULL if the document doesn't have a thumbnail for this page.</doc>
5240
+ <doc xml:space="preserve">the tumbnail as a cairo_surface_t or %NULL if the document
5241
+ doesn't have a thumbnail for this page.</doc>
4650
5242
  <type name="cairo.Surface" c:type="cairo_surface_t*"/>
4651
5243
  </return-value>
4652
5244
  <parameters>
@@ -4946,26 +5538,42 @@ only render the changed part of the selection.</doc>
4946
5538
  <doc xml:space="preserve">A #PopplerPageTransition structures describes a visual transition
4947
5539
  to use when moving between pages during a presentation</doc>
4948
5540
  <field name="type" writable="1">
5541
+ <doc xml:space="preserve">the type of transtition</doc>
4949
5542
  <type name="PageTransitionType" c:type="PopplerPageTransitionType"/>
4950
5543
  </field>
4951
5544
  <field name="alignment" writable="1">
5545
+ <doc xml:space="preserve">the dimension in which the transition effect shall occur.
5546
+ Only for #POPPLER_PAGE_TRANSITION_SPLIT and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
4952
5547
  <type name="PageTransitionAlignment"
4953
5548
  c:type="PopplerPageTransitionAlignment"/>
4954
5549
  </field>
4955
5550
  <field name="direction" writable="1">
5551
+ <doc xml:space="preserve">the direccion of motion for the transition effect.
5552
+ Only for #POPPLER_PAGE_TRANSITION_SPLIT, #POPPLER_PAGE_TRANSITION_BOX and #POPPLER_PAGE_TRANSITION_FLY
5553
+ transition types</doc>
4956
5554
  <type name="PageTransitionDirection"
4957
5555
  c:type="PopplerPageTransitionDirection"/>
4958
5556
  </field>
4959
5557
  <field name="duration" writable="1">
5558
+ <doc xml:space="preserve">the duration of the transition effect</doc>
4960
5559
  <type name="gint" c:type="gint"/>
4961
5560
  </field>
4962
5561
  <field name="angle" writable="1">
5562
+ <doc xml:space="preserve">the direction in which the specified transition effect shall moves,
5563
+ expressed in degrees counterclockwise starting from a left-to-right direction.
5564
+ Only for #POPPLER_PAGE_TRANSITION_WIPE, #POPPLER_PAGE_TRANSITION_GLITTER, #POPPLER_PAGE_TRANSITION_FLY,
5565
+ #POPPLER_PAGE_TRANSITION_COVER, #POPPLER_PAGE_TRANSITION_UNCOVER and #POPPLER_PAGE_TRANSITION_PUSH
5566
+ transition types</doc>
4963
5567
  <type name="gint" c:type="gint"/>
4964
5568
  </field>
4965
5569
  <field name="scale" writable="1">
5570
+ <doc xml:space="preserve">the starting or ending scale at which the changes shall be drawn.
5571
+ Only for #POPPLER_PAGE_TRANSITION_FLY transition type</doc>
4966
5572
  <type name="gdouble" c:type="gdouble"/>
4967
5573
  </field>
4968
5574
  <field name="rectangular" writable="1">
5575
+ <doc xml:space="preserve">whether the area that will be flown is rectangular and opaque.
5576
+ Only for #POPPLER_PAGE_TRANSITION_FLY transition type</doc>
4969
5577
  <type name="gboolean" c:type="gboolean"/>
4970
5578
  </field>
4971
5579
  <constructor name="new" c:identifier="poppler_page_transition_new">
@@ -5060,19 +5668,22 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5060
5668
  value="2"
5061
5669
  c:identifier="POPPLER_PAGE_TRANSITION_BLINDS"
5062
5670
  glib:nick="blinds">
5063
- <doc xml:space="preserve">multiple lines, evenly spaced across the screen, synchronously sweep in the same direction to reveal the new page</doc>
5671
+ <doc xml:space="preserve">multiple lines, evenly spaced across the screen, synchronously
5672
+ sweep in the same direction to reveal the new page</doc>
5064
5673
  </member>
5065
5674
  <member name="box"
5066
5675
  value="3"
5067
5676
  c:identifier="POPPLER_PAGE_TRANSITION_BOX"
5068
5677
  glib:nick="box">
5069
- <doc xml:space="preserve">a rectangular box sweeps inward from the edges of the page or outward from the center revealing the new page</doc>
5678
+ <doc xml:space="preserve">a rectangular box sweeps inward from the edges of the page or
5679
+ outward from the center revealing the new page</doc>
5070
5680
  </member>
5071
5681
  <member name="wipe"
5072
5682
  value="4"
5073
5683
  c:identifier="POPPLER_PAGE_TRANSITION_WIPE"
5074
5684
  glib:nick="wipe">
5075
- <doc xml:space="preserve">a single line sweeps across the screen from one edge to the other revealing the new page</doc>
5685
+ <doc xml:space="preserve">a single line sweeps across the screen from one edge to the other
5686
+ revealing the new page</doc>
5076
5687
  </member>
5077
5688
  <member name="dissolve"
5078
5689
  value="5"
@@ -5084,7 +5695,8 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5084
5695
  value="6"
5085
5696
  c:identifier="POPPLER_PAGE_TRANSITION_GLITTER"
5086
5697
  glib:nick="glitter">
5087
- <doc xml:space="preserve">similar to #POPPLER_PAGE_TRANSITION_DISSOLVE, except that the effect sweeps across the page in a wide band moving from one side of the screen to the other</doc>
5698
+ <doc xml:space="preserve">similar to #POPPLER_PAGE_TRANSITION_DISSOLVE, except that the effect
5699
+ sweeps across the page in a wide band moving from one side of the screen to the other</doc>
5088
5700
  </member>
5089
5701
  <member name="fly"
5090
5702
  value="7"
@@ -5156,13 +5768,15 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5156
5768
  value="32"
5157
5769
  c:identifier="POPPLER_PERMISSIONS_OK_TO_EXTRACT_CONTENTS"
5158
5770
  glib:nick="ok-to-extract-contents">
5159
- <doc xml:space="preserve">extract text and graphics (in support of accessibility to users with disabilities or for other purposes). Since 0.18</doc>
5771
+ <doc xml:space="preserve">extract text and graphics
5772
+ (in support of accessibility to users with disabilities or for other purposes). Since 0.18</doc>
5160
5773
  </member>
5161
5774
  <member name="ok_to_assemble"
5162
5775
  value="64"
5163
5776
  c:identifier="POPPLER_PERMISSIONS_OK_TO_ASSEMBLE"
5164
5777
  glib:nick="ok-to-assemble">
5165
- <doc xml:space="preserve">assemble the document (insert, rotate, or delete pages and create bookmarks or thumbnail images). Since 0.18</doc>
5778
+ <doc xml:space="preserve">assemble the document (insert, rotate, or delete pages and create
5779
+ bookmarks or thumbnail images). Since 0.18</doc>
5166
5780
  </member>
5167
5781
  <member name="ok_to_print_high_resolution"
5168
5782
  value="128"
@@ -5177,6 +5791,54 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5177
5791
  <doc xml:space="preserve">document permits all operations</doc>
5178
5792
  </member>
5179
5793
  </bitfield>
5794
+ <record name="Point"
5795
+ c:type="PopplerPoint"
5796
+ glib:type-name="PopplerPoint"
5797
+ glib:get-type="poppler_point_get_type"
5798
+ c:symbol-prefix="point">
5799
+ <doc xml:space="preserve">A #PopplerPoint is used to describe a location point on a page</doc>
5800
+ <field name="x" writable="1">
5801
+ <doc xml:space="preserve">x coordinate</doc>
5802
+ <type name="gdouble" c:type="gdouble"/>
5803
+ </field>
5804
+ <field name="y" writable="1">
5805
+ <doc xml:space="preserve">y coordinate</doc>
5806
+ <type name="gdouble" c:type="gdouble"/>
5807
+ </field>
5808
+ <constructor name="new" c:identifier="poppler_point_new" version="0.26">
5809
+ <doc xml:space="preserve">Creates a new #PopplerPoint. It must be freed with poppler_point_free() after use.</doc>
5810
+ <return-value transfer-ownership="full">
5811
+ <doc xml:space="preserve">a new #PopplerPoint</doc>
5812
+ <type name="Point" c:type="PopplerPoint*"/>
5813
+ </return-value>
5814
+ </constructor>
5815
+ <method name="copy" c:identifier="poppler_point_copy" version="0.26">
5816
+ <doc xml:space="preserve">Creates a copy of @point. The copy must be freed with poppler_point_free()
5817
+ after use.</doc>
5818
+ <return-value transfer-ownership="full">
5819
+ <doc xml:space="preserve">a new allocated copy of @point</doc>
5820
+ <type name="Point" c:type="PopplerPoint*"/>
5821
+ </return-value>
5822
+ <parameters>
5823
+ <instance-parameter name="point" transfer-ownership="none">
5824
+ <doc xml:space="preserve">a #PopplerPoint to copy</doc>
5825
+ <type name="Point" c:type="PopplerPoint*"/>
5826
+ </instance-parameter>
5827
+ </parameters>
5828
+ </method>
5829
+ <method name="free" c:identifier="poppler_point_free" version="0.26">
5830
+ <doc xml:space="preserve">Frees the memory used by @point</doc>
5831
+ <return-value transfer-ownership="none">
5832
+ <type name="none" c:type="void"/>
5833
+ </return-value>
5834
+ <parameters>
5835
+ <instance-parameter name="point" transfer-ownership="none">
5836
+ <doc xml:space="preserve">a #PopplerPoint</doc>
5837
+ <type name="Point" c:type="PopplerPoint*"/>
5838
+ </instance-parameter>
5839
+ </parameters>
5840
+ </method>
5841
+ </record>
5180
5842
  <bitfield name="PrintFlags"
5181
5843
  version="0.16"
5182
5844
  glib:type-name="PopplerPrintFlags"
@@ -5208,6 +5870,70 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5208
5870
  <doc xml:space="preserve">print main document contents and all markup annotations</doc>
5209
5871
  </member>
5210
5872
  </bitfield>
5873
+ <record name="Quadrilateral"
5874
+ c:type="PopplerQuadrilateral"
5875
+ glib:type-name="PopplerQuadrilateral"
5876
+ glib:get-type="poppler_quadrilateral_get_type"
5877
+ c:symbol-prefix="quadrilateral">
5878
+ <doc xml:space="preserve">A #PopplerQuadrilateral is used to describe rectangle-like polygon
5879
+ with arbitrary inclination on a page.
5880
+
5881
+ Since: 0.26</doc>
5882
+ <field name="p1" writable="1">
5883
+ <doc xml:space="preserve">a #PopplerPoint with the first vertex coordinates</doc>
5884
+ <type name="Point" c:type="PopplerPoint"/>
5885
+ </field>
5886
+ <field name="p2" writable="1">
5887
+ <doc xml:space="preserve">a #PopplerPoint with the second vertex coordinates</doc>
5888
+ <type name="Point" c:type="PopplerPoint"/>
5889
+ </field>
5890
+ <field name="p3" writable="1">
5891
+ <doc xml:space="preserve">a #PopplerPoint with the third vertex coordinates</doc>
5892
+ <type name="Point" c:type="PopplerPoint"/>
5893
+ </field>
5894
+ <field name="p4" writable="1">
5895
+ <doc xml:space="preserve">a #PopplerPoint with the fourth vertex coordinates</doc>
5896
+ <type name="Point" c:type="PopplerPoint"/>
5897
+ </field>
5898
+ <constructor name="new"
5899
+ c:identifier="poppler_quadrilateral_new"
5900
+ version="0.26">
5901
+ <doc xml:space="preserve">Creates a new #PopplerQuadrilateral. It must be freed with poppler_quadrilateral_free() after use.</doc>
5902
+ <return-value transfer-ownership="full">
5903
+ <doc xml:space="preserve">a new #PopplerQuadrilateral.</doc>
5904
+ <type name="Quadrilateral" c:type="PopplerQuadrilateral*"/>
5905
+ </return-value>
5906
+ </constructor>
5907
+ <method name="copy"
5908
+ c:identifier="poppler_quadrilateral_copy"
5909
+ version="0.26">
5910
+ <doc xml:space="preserve">Creates a copy of @quad. The copy must be freed with poppler_quadrilateral_free() after use.</doc>
5911
+ <return-value transfer-ownership="full">
5912
+ <doc xml:space="preserve">a new allocated copy of @quad</doc>
5913
+ <type name="Quadrilateral" c:type="PopplerQuadrilateral*"/>
5914
+ </return-value>
5915
+ <parameters>
5916
+ <instance-parameter name="quad" transfer-ownership="none">
5917
+ <doc xml:space="preserve">a #PopplerQuadrilateral to copy</doc>
5918
+ <type name="Quadrilateral" c:type="PopplerQuadrilateral*"/>
5919
+ </instance-parameter>
5920
+ </parameters>
5921
+ </method>
5922
+ <method name="free"
5923
+ c:identifier="poppler_quadrilateral_free"
5924
+ version="0.26">
5925
+ <doc xml:space="preserve">Frees the memory used by @quad</doc>
5926
+ <return-value transfer-ownership="none">
5927
+ <type name="none" c:type="void"/>
5928
+ </return-value>
5929
+ <parameters>
5930
+ <instance-parameter name="quad" transfer-ownership="none">
5931
+ <doc xml:space="preserve">a #PopplerQuadrilateral</doc>
5932
+ <type name="Quadrilateral" c:type="PopplerQuadrilateral*"/>
5933
+ </instance-parameter>
5934
+ </parameters>
5935
+ </method>
5936
+ </record>
5211
5937
  <record name="Rectangle"
5212
5938
  c:type="PopplerRectangle"
5213
5939
  glib:type-name="PopplerRectangle"
@@ -5216,15 +5942,19 @@ and #POPPLER_PAGE_TRANSITION_BLINDS transition types</doc>
5216
5942
  <doc xml:space="preserve">A #PopplerRectangle is used to describe
5217
5943
  locations on a page and bounding boxes</doc>
5218
5944
  <field name="x1" writable="1">
5945
+ <doc xml:space="preserve">x coordinate of lower left corner</doc>
5219
5946
  <type name="gdouble" c:type="gdouble"/>
5220
5947
  </field>
5221
5948
  <field name="y1" writable="1">
5949
+ <doc xml:space="preserve">y coordinate of lower left corner</doc>
5222
5950
  <type name="gdouble" c:type="gdouble"/>
5223
5951
  </field>
5224
5952
  <field name="x2" writable="1">
5953
+ <doc xml:space="preserve">x coordinate of upper right corner</doc>
5225
5954
  <type name="gdouble" c:type="gdouble"/>
5226
5955
  </field>
5227
5956
  <field name="y2" writable="1">
5957
+ <doc xml:space="preserve">y coordinate of upper right corner</doc>
5228
5958
  <type name="gdouble" c:type="gdouble"/>
5229
5959
  </field>
5230
5960
  <constructor name="new" c:identifier="poppler_rectangle_new">
@@ -5284,98 +6014,2197 @@ locations on a page and bounding boxes</doc>
5284
6014
  <doc xml:space="preserve">line is the minimum unit for selection</doc>
5285
6015
  </member>
5286
6016
  </enumeration>
5287
- <record name="TextAttributes"
5288
- c:type="PopplerTextAttributes"
5289
- version="0.18"
5290
- glib:type-name="PopplerTextAttributes"
5291
- glib:get-type="poppler_text_attributes_get_type"
5292
- c:symbol-prefix="text_attributes">
5293
- <doc xml:space="preserve">A #PopplerTextAttributes is used to describe text attributes of a range of text</doc>
5294
- <field name="font_name" writable="1">
5295
- <type name="utf8" c:type="gchar*"/>
5296
- </field>
5297
- <field name="font_size" writable="1">
5298
- <type name="gdouble" c:type="gdouble"/>
5299
- </field>
5300
- <field name="is_underlined" writable="1">
5301
- <type name="gboolean" c:type="gboolean"/>
5302
- </field>
5303
- <field name="color" writable="1">
5304
- <type name="Color" c:type="PopplerColor"/>
5305
- </field>
5306
- <field name="start_index" writable="1">
5307
- <type name="gint" c:type="gint"/>
5308
- </field>
5309
- <field name="end_index" writable="1">
5310
- <type name="gint" c:type="gint"/>
5311
- </field>
5312
- <constructor name="new"
5313
- c:identifier="poppler_text_attributes_new"
5314
- version="0.18">
5315
- <doc xml:space="preserve">Creates a new #PopplerTextAttributes</doc>
6017
+ <enumeration name="StructureBlockAlign"
6018
+ glib:type-name="PopplerStructureBlockAlign"
6019
+ glib:get-type="poppler_structure_block_align_get_type"
6020
+ c:type="PopplerStructureBlockAlign">
6021
+ <member name="before"
6022
+ value="0"
6023
+ c:identifier="POPPLER_STRUCTURE_BLOCK_ALIGN_BEFORE"
6024
+ glib:nick="before">
6025
+ </member>
6026
+ <member name="middle"
6027
+ value="1"
6028
+ c:identifier="POPPLER_STRUCTURE_BLOCK_ALIGN_MIDDLE"
6029
+ glib:nick="middle">
6030
+ </member>
6031
+ <member name="after"
6032
+ value="2"
6033
+ c:identifier="POPPLER_STRUCTURE_BLOCK_ALIGN_AFTER"
6034
+ glib:nick="after">
6035
+ </member>
6036
+ <member name="justify"
6037
+ value="3"
6038
+ c:identifier="POPPLER_STRUCTURE_BLOCK_ALIGN_JUSTIFY"
6039
+ glib:nick="justify">
6040
+ </member>
6041
+ </enumeration>
6042
+ <enumeration name="StructureBorderStyle"
6043
+ glib:type-name="PopplerStructureBorderStyle"
6044
+ glib:get-type="poppler_structure_border_style_get_type"
6045
+ c:type="PopplerStructureBorderStyle">
6046
+ <member name="none"
6047
+ value="0"
6048
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_NONE"
6049
+ glib:nick="none">
6050
+ </member>
6051
+ <member name="hidden"
6052
+ value="1"
6053
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_HIDDEN"
6054
+ glib:nick="hidden">
6055
+ </member>
6056
+ <member name="dotted"
6057
+ value="2"
6058
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_DOTTED"
6059
+ glib:nick="dotted">
6060
+ </member>
6061
+ <member name="dashed"
6062
+ value="3"
6063
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_DASHED"
6064
+ glib:nick="dashed">
6065
+ </member>
6066
+ <member name="solid"
6067
+ value="4"
6068
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_SOLID"
6069
+ glib:nick="solid">
6070
+ </member>
6071
+ <member name="double"
6072
+ value="5"
6073
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_DOUBLE"
6074
+ glib:nick="double">
6075
+ </member>
6076
+ <member name="groove"
6077
+ value="6"
6078
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_GROOVE"
6079
+ glib:nick="groove">
6080
+ </member>
6081
+ <member name="inset"
6082
+ value="7"
6083
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_INSET"
6084
+ glib:nick="inset">
6085
+ </member>
6086
+ <member name="outset"
6087
+ value="8"
6088
+ c:identifier="POPPLER_STRUCTURE_BORDER_STYLE_OUTSET"
6089
+ glib:nick="outset">
6090
+ </member>
6091
+ </enumeration>
6092
+ <class name="StructureElement"
6093
+ c:symbol-prefix="structure_element"
6094
+ c:type="PopplerStructureElement"
6095
+ parent="GObject.Object"
6096
+ glib:type-name="PopplerStructureElement"
6097
+ glib:get-type="poppler_structure_element_get_type">
6098
+ <method name="get_abbreviation"
6099
+ c:identifier="poppler_structure_element_get_abbreviation">
5316
6100
  <return-value transfer-ownership="full">
5317
- <doc xml:space="preserve">a new #PopplerTextAttributes, use poppler_text_attributes_free() to free it</doc>
5318
- <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
6101
+ <type name="utf8" c:type="gchar*"/>
5319
6102
  </return-value>
5320
- </constructor>
5321
- <method name="copy"
5322
- c:identifier="poppler_text_attributes_copy"
5323
- version="0.18">
5324
- <doc xml:space="preserve">Creates a copy of @text_attrs</doc>
6103
+ <parameters>
6104
+ <instance-parameter name="poppler_structure_element"
6105
+ transfer-ownership="none">
6106
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6107
+ </instance-parameter>
6108
+ </parameters>
6109
+ </method>
6110
+ <method name="get_actual_text"
6111
+ c:identifier="poppler_structure_element_get_actual_text"
6112
+ version="0.26">
6113
+ <doc xml:space="preserve">Obtains the actual text enclosed by the element (and its child elements).
6114
+ The actual text is mostly used for non-text elements like images and
6115
+ figures which &lt;em&gt;do&lt;/em&gt; have the graphical appearance of text, like
6116
+ a logo. For those the actual text is the equivalent text to those
6117
+ graphical elements which look like text when rendered.
6118
+
6119
+ Note that for elements containing proper text, the function
6120
+ poppler_structure_element_get_text() must be used instead.</doc>
5325
6121
  <return-value transfer-ownership="full">
5326
- <doc xml:space="preserve">a new allocated copy of @text_attrs</doc>
5327
- <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
6122
+ <doc xml:space="preserve">The actual text for the element, or %NULL
6123
+ if not defined.</doc>
6124
+ <type name="utf8" c:type="gchar*"/>
5328
6125
  </return-value>
5329
6126
  <parameters>
5330
- <instance-parameter name="text_attrs" transfer-ownership="none">
5331
- <doc xml:space="preserve">a #PopplerTextAttributes to copy</doc>
5332
- <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
6127
+ <instance-parameter name="poppler_structure_element"
6128
+ transfer-ownership="none">
6129
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6130
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
5333
6131
  </instance-parameter>
5334
6132
  </parameters>
5335
6133
  </method>
5336
- <method name="free"
5337
- c:identifier="poppler_text_attributes_free"
5338
- version="0.18">
5339
- <doc xml:space="preserve">Frees the given #PopplerTextAttributes</doc>
6134
+ <method name="get_alt_text"
6135
+ c:identifier="poppler_structure_element_get_alt_text"
6136
+ version="0.26">
6137
+ <doc xml:space="preserve">Obtains the “alternate” text representation of the element (and its child
6138
+ elements). This is mostly used for non-text elements like images and
6139
+ figures, to specify a textual description of the element.
6140
+
6141
+ Note that for elements containing proper text, the function
6142
+ poppler_structure_element_get_text() must be used instead.</doc>
6143
+ <return-value transfer-ownership="full">
6144
+ <doc xml:space="preserve">The alternate text representation for the
6145
+ element, or %NULL if not defined.</doc>
6146
+ <type name="utf8" c:type="gchar*"/>
6147
+ </return-value>
6148
+ <parameters>
6149
+ <instance-parameter name="poppler_structure_element"
6150
+ transfer-ownership="none">
6151
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6152
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6153
+ </instance-parameter>
6154
+ </parameters>
6155
+ </method>
6156
+ <method name="get_background_color"
6157
+ c:identifier="poppler_structure_element_get_background_color"
6158
+ version="0.26">
6159
+ <doc xml:space="preserve">Obtains the background color of the element. If this attribute is
6160
+ not specified, the element shall be treated as if it were transparent.</doc>
5340
6161
  <return-value transfer-ownership="none">
5341
- <type name="none" c:type="void"/>
6162
+ <doc xml:space="preserve">%TRUE if a color is defined for the element,
6163
+ %FALSE otherwise.</doc>
6164
+ <type name="gboolean" c:type="gboolean"/>
5342
6165
  </return-value>
5343
6166
  <parameters>
5344
- <instance-parameter name="text_attrs" transfer-ownership="none">
5345
- <doc xml:space="preserve">a #PopplerTextAttributes</doc>
5346
- <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
6167
+ <instance-parameter name="poppler_structure_element"
6168
+ transfer-ownership="none">
6169
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6170
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
5347
6171
  </instance-parameter>
6172
+ <parameter name="color"
6173
+ direction="out"
6174
+ caller-allocates="1"
6175
+ transfer-ownership="none">
6176
+ <doc xml:space="preserve">A #PopplerColor.</doc>
6177
+ <type name="Color" c:type="PopplerColor*"/>
6178
+ </parameter>
5348
6179
  </parameters>
5349
6180
  </method>
5350
- </record>
5351
- <bitfield name="ViewerPreferences"
5352
- glib:type-name="PopplerViewerPreferences"
5353
- glib:get-type="poppler_viewer_preferences_get_type"
5354
- c:type="PopplerViewerPreferences">
5355
- <doc xml:space="preserve">Viewer preferences</doc>
5356
- <member name="unset"
5357
- value="0"
5358
- c:identifier="POPPLER_VIEWER_PREFERENCES_UNSET"
5359
- glib:nick="unset">
5360
- <doc xml:space="preserve">no preferences set</doc>
5361
- </member>
5362
- <member name="hide_toolbar"
5363
- value="1"
5364
- c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR"
5365
- glib:nick="hide-toolbar">
5366
- <doc xml:space="preserve">hider toolbars when document is active</doc>
5367
- </member>
5368
- <member name="hide_menubar"
5369
- value="2"
5370
- c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR"
5371
- glib:nick="hide-menubar">
5372
- <doc xml:space="preserve">hide menu bar when document is active</doc>
5373
- </member>
5374
- <member name="hide_windowui"
5375
- value="4"
5376
- c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI"
5377
- glib:nick="hide-windowui">
5378
- <doc xml:space="preserve">hide UI elements in document's window</doc>
6181
+ <method name="get_baseline_shift"
6182
+ c:identifier="poppler_structure_element_get_baseline_shift"
6183
+ version="0.26">
6184
+ <doc xml:space="preserve">Obtains how much the text contained in the inline-level structure element should be shifted,
6185
+ measuring from the baseline of the glyphs.</doc>
6186
+ <return-value transfer-ownership="none">
6187
+ <doc xml:space="preserve">A numeric value.</doc>
6188
+ <type name="gdouble" c:type="gdouble"/>
6189
+ </return-value>
6190
+ <parameters>
6191
+ <instance-parameter name="poppler_structure_element"
6192
+ transfer-ownership="none">
6193
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6194
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6195
+ </instance-parameter>
6196
+ </parameters>
6197
+ </method>
6198
+ <method name="get_block_align"
6199
+ c:identifier="poppler_structure_element_get_block_align"
6200
+ version="0.26">
6201
+ <doc xml:space="preserve">Obtains the block-alignment mode of the block-level structure element.</doc>
6202
+ <return-value transfer-ownership="none">
6203
+ <doc xml:space="preserve">A #PopplerStructureBlockAlign value.</doc>
6204
+ <type name="StructureBlockAlign"
6205
+ c:type="PopplerStructureBlockAlign"/>
6206
+ </return-value>
6207
+ <parameters>
6208
+ <instance-parameter name="poppler_structure_element"
6209
+ transfer-ownership="none">
6210
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6211
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6212
+ </instance-parameter>
6213
+ </parameters>
6214
+ </method>
6215
+ <method name="get_border_color"
6216
+ c:identifier="poppler_structure_element_get_border_color"
6217
+ version="0.26">
6218
+ <doc xml:space="preserve">Obtains the color of border around the element. The result values
6219
+ are in before-after-start-end ordering (for the typical Western
6220
+ left-to-right writing, that is top-bottom-left-right).
6221
+ If this attribute is not specified, the border color for this element shall
6222
+ be the current text fill color in effect at the start of its associated
6223
+ content.</doc>
6224
+ <return-value transfer-ownership="none">
6225
+ <doc xml:space="preserve">%TRUE if a color is defined for the element,
6226
+ %FALSE otherwise.</doc>
6227
+ <type name="gboolean" c:type="gboolean"/>
6228
+ </return-value>
6229
+ <parameters>
6230
+ <instance-parameter name="poppler_structure_element"
6231
+ transfer-ownership="none">
6232
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6233
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6234
+ </instance-parameter>
6235
+ <parameter name="colors"
6236
+ direction="out"
6237
+ caller-allocates="1"
6238
+ transfer-ownership="none">
6239
+ <doc xml:space="preserve">An array
6240
+ of four #PopplerColor.</doc>
6241
+ <array zero-terminated="0" c:type="PopplerColor*" fixed-size="4">
6242
+ <type name="Color"/>
6243
+ </array>
6244
+ </parameter>
6245
+ </parameters>
6246
+ </method>
6247
+ <method name="get_border_style"
6248
+ c:identifier="poppler_structure_element_get_border_style"
6249
+ version="0.26">
6250
+ <doc xml:space="preserve">Obtains the border style of a structure element. The result values
6251
+ are in before-after-start-end ordering. For example, using Western
6252
+ left-to-right writing, that is top-bottom-left-right.</doc>
6253
+ <return-value transfer-ownership="none">
6254
+ <type name="none" c:type="void"/>
6255
+ </return-value>
6256
+ <parameters>
6257
+ <instance-parameter name="poppler_structure_element"
6258
+ transfer-ownership="none">
6259
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6260
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6261
+ </instance-parameter>
6262
+ <parameter name="border_styles"
6263
+ direction="out"
6264
+ caller-allocates="0"
6265
+ transfer-ownership="full">
6266
+ <doc xml:space="preserve">
6267
+ An array of four #PopplerStructureBorderStyle elements.</doc>
6268
+ <array zero-terminated="0"
6269
+ c:type="PopplerStructureBorderStyle*"
6270
+ fixed-size="4">
6271
+ <type name="StructureBorderStyle"/>
6272
+ </array>
6273
+ </parameter>
6274
+ </parameters>
6275
+ </method>
6276
+ <method name="get_border_thickness"
6277
+ c:identifier="poppler_structure_element_get_border_thickness"
6278
+ version="0.26">
6279
+ <doc xml:space="preserve">Obtains the thickness of the border of an element. The result values
6280
+ are in before-after-start-end ordering (for the typical Western
6281
+ left-to-right writing, that is top-bottom-left-right).
6282
+ A value of 0 indicates that the border shall not be drawn.</doc>
6283
+ <return-value transfer-ownership="none">
6284
+ <doc xml:space="preserve">%TRUE if the border thickness attribute is defined for
6285
+ the element, %FALSE otherwise.</doc>
6286
+ <type name="gboolean" c:type="gboolean"/>
6287
+ </return-value>
6288
+ <parameters>
6289
+ <instance-parameter name="poppler_structure_element"
6290
+ transfer-ownership="none">
6291
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6292
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6293
+ </instance-parameter>
6294
+ <parameter name="border_thicknesses"
6295
+ direction="out"
6296
+ caller-allocates="0"
6297
+ transfer-ownership="full">
6298
+ <doc xml:space="preserve">
6299
+ Array with the four values of border thicknesses.</doc>
6300
+ <array zero-terminated="0" c:type="gdouble*" fixed-size="4">
6301
+ <type name="gdouble"/>
6302
+ </array>
6303
+ </parameter>
6304
+ </parameters>
6305
+ </method>
6306
+ <method name="get_bounding_box"
6307
+ c:identifier="poppler_structure_element_get_bounding_box"
6308
+ version="0.26">
6309
+ <doc xml:space="preserve">Obtains the size of the bounding box of a block-level structure element.</doc>
6310
+ <return-value transfer-ownership="none">
6311
+ <doc xml:space="preserve">%TRUE if a bounding box is defined for the element,
6312
+ %FALSE otherwise.</doc>
6313
+ <type name="gboolean" c:type="gboolean"/>
6314
+ </return-value>
6315
+ <parameters>
6316
+ <instance-parameter name="poppler_structure_element"
6317
+ transfer-ownership="none">
6318
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6319
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6320
+ </instance-parameter>
6321
+ <parameter name="bounding_box"
6322
+ direction="out"
6323
+ caller-allocates="1"
6324
+ transfer-ownership="none">
6325
+ <doc xml:space="preserve">A #PopplerRectangle.</doc>
6326
+ <type name="Rectangle" c:type="PopplerRectangle*"/>
6327
+ </parameter>
6328
+ </parameters>
6329
+ </method>
6330
+ <method name="get_color"
6331
+ c:identifier="poppler_structure_element_get_color"
6332
+ version="0.26">
6333
+ <doc xml:space="preserve">Obtains the color of the content contained in the element.
6334
+ If this attribute is not specified, the color for this element shall
6335
+ be the current text fill color in effect at the start of its associated content.</doc>
6336
+ <return-value transfer-ownership="none">
6337
+ <doc xml:space="preserve">%TRUE if a color is defined for the element,
6338
+ %FALSE otherwise.</doc>
6339
+ <type name="gboolean" c:type="gboolean"/>
6340
+ </return-value>
6341
+ <parameters>
6342
+ <instance-parameter name="poppler_structure_element"
6343
+ transfer-ownership="none">
6344
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6345
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6346
+ </instance-parameter>
6347
+ <parameter name="color"
6348
+ direction="out"
6349
+ caller-allocates="1"
6350
+ transfer-ownership="none">
6351
+ <doc xml:space="preserve">A #PopplerColor.</doc>
6352
+ <type name="Color" c:type="PopplerColor*"/>
6353
+ </parameter>
6354
+ </parameters>
6355
+ </method>
6356
+ <method name="get_column_count"
6357
+ c:identifier="poppler_structure_element_get_column_count"
6358
+ version="0.26">
6359
+ <doc xml:space="preserve">Obtains the number of columns used to lay out the content contained
6360
+ in the grouping element.</doc>
6361
+ <return-value transfer-ownership="none">
6362
+ <doc xml:space="preserve">Number of columns.</doc>
6363
+ <type name="guint" c:type="guint"/>
6364
+ </return-value>
6365
+ <parameters>
6366
+ <instance-parameter name="poppler_structure_element"
6367
+ transfer-ownership="none">
6368
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6369
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6370
+ </instance-parameter>
6371
+ </parameters>
6372
+ </method>
6373
+ <method name="get_column_gaps"
6374
+ c:identifier="poppler_structure_element_get_column_gaps"
6375
+ version="0.26">
6376
+ <doc xml:space="preserve">Obtains the size of the gaps in between adjacent columns. Returns an
6377
+ array of elements: the first one is the size of the gap in between
6378
+ columns 1 and 2, second is the size between columns 2 and 3, and so on.
6379
+
6380
+ For elements which use a single column, %NULL is returned and %n_values
6381
+ is set to zero.
6382
+
6383
+ If the attribute is undefined, %NULL is returned and %n_values is set
6384
+ to a non-zero value.
6385
+
6386
+ The array with the results is allocated by the function. When it is
6387
+ not needed anymore, be sure to call g_free() on it.</doc>
6388
+ <return-value transfer-ownership="full">
6389
+ <doc xml:space="preserve">
6390
+ Array containing the values for the column gaps, or %NULL if the
6391
+ array is empty or the attribute is not defined.</doc>
6392
+ <array length="0" zero-terminated="0" c:type="gdouble*">
6393
+ <type name="gdouble"/>
6394
+ </array>
6395
+ </return-value>
6396
+ <parameters>
6397
+ <instance-parameter name="poppler_structure_element"
6398
+ transfer-ownership="none">
6399
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6400
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6401
+ </instance-parameter>
6402
+ <parameter name="n_values"
6403
+ direction="out"
6404
+ caller-allocates="0"
6405
+ transfer-ownership="full">
6406
+ <doc xml:space="preserve">Size of the returned array.</doc>
6407
+ <type name="guint" c:type="guint*"/>
6408
+ </parameter>
6409
+ </parameters>
6410
+ </method>
6411
+ <method name="get_column_widths"
6412
+ c:identifier="poppler_structure_element_get_column_widths"
6413
+ version="0.26">
6414
+ <doc xml:space="preserve">Obtains an array with the widths of the columns.
6415
+
6416
+ The array with the results is allocated by the function. When it is
6417
+ not needed anymore, be sure to call g_free() on it.</doc>
6418
+ <return-value transfer-ownership="full">
6419
+ <doc xml:space="preserve">
6420
+ Array containing widths of the columns, or %NULL if the attribute
6421
+ is not defined.</doc>
6422
+ <array length="0" zero-terminated="0" c:type="gdouble*">
6423
+ <type name="gdouble"/>
6424
+ </array>
6425
+ </return-value>
6426
+ <parameters>
6427
+ <instance-parameter name="poppler_structure_element"
6428
+ transfer-ownership="none">
6429
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6430
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6431
+ </instance-parameter>
6432
+ <parameter name="n_values"
6433
+ direction="out"
6434
+ caller-allocates="0"
6435
+ transfer-ownership="full">
6436
+ <doc xml:space="preserve">Size of the returned array.</doc>
6437
+ <type name="guint" c:type="guint*"/>
6438
+ </parameter>
6439
+ </parameters>
6440
+ </method>
6441
+ <method name="get_end_indent"
6442
+ c:identifier="poppler_structure_element_get_end_indent"
6443
+ version="0.26">
6444
+ <doc xml:space="preserve">Obtains the amount of indentation at the end of the block-level structure element.</doc>
6445
+ <return-value transfer-ownership="none">
6446
+ <doc xml:space="preserve">A numeric value.</doc>
6447
+ <type name="gdouble" c:type="gdouble"/>
6448
+ </return-value>
6449
+ <parameters>
6450
+ <instance-parameter name="poppler_structure_element"
6451
+ transfer-ownership="none">
6452
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6453
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6454
+ </instance-parameter>
6455
+ </parameters>
6456
+ </method>
6457
+ <method name="get_form_description"
6458
+ c:identifier="poppler_structure_element_get_form_description"
6459
+ version="0.26">
6460
+ <doc xml:space="preserve">Obtains the textual description of the form element. Note that the
6461
+ description is for informative purposes, and it is not intended
6462
+ to be rendered. For example, assistive technologies may use the
6463
+ description field to provide an alternate way of presenting an
6464
+ element to the user.
6465
+
6466
+ The returned string is allocated by the function. When it is
6467
+ not needed anymore, be sure to call g_free() on it.</doc>
6468
+ <return-value transfer-ownership="full">
6469
+ <doc xml:space="preserve">A string, or %NULL if the attribute
6470
+ is not defined.</doc>
6471
+ <type name="utf8" c:type="gchar*"/>
6472
+ </return-value>
6473
+ <parameters>
6474
+ <instance-parameter name="poppler_structure_element"
6475
+ transfer-ownership="none">
6476
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6477
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6478
+ </instance-parameter>
6479
+ </parameters>
6480
+ </method>
6481
+ <method name="get_form_role"
6482
+ c:identifier="poppler_structure_element_get_form_role"
6483
+ version="0.26">
6484
+ <doc xml:space="preserve">Obtains the role of a form structure element that is part of a form, or is
6485
+ a form field. This hints how the control for the element is intended
6486
+ to be rendered.</doc>
6487
+ <return-value transfer-ownership="none">
6488
+ <doc xml:space="preserve">A #PopplerStructureFormRole value.</doc>
6489
+ <type name="StructureFormRole" c:type="PopplerStructureFormRole"/>
6490
+ </return-value>
6491
+ <parameters>
6492
+ <instance-parameter name="poppler_structure_element"
6493
+ transfer-ownership="none">
6494
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6495
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6496
+ </instance-parameter>
6497
+ </parameters>
6498
+ </method>
6499
+ <method name="get_form_state"
6500
+ c:identifier="poppler_structure_element_get_form_state"
6501
+ version="0.26">
6502
+ <doc xml:space="preserve">For a structure element that is a form field, obtains in which state
6503
+ the associated control is expected to be rendered.</doc>
6504
+ <return-value transfer-ownership="none">
6505
+ <doc xml:space="preserve">A #PopplerStructureFormState value.</doc>
6506
+ <type name="StructureFormState" c:type="PopplerStructureFormState"/>
6507
+ </return-value>
6508
+ <parameters>
6509
+ <instance-parameter name="poppler_structure_element"
6510
+ transfer-ownership="none">
6511
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6512
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6513
+ </instance-parameter>
6514
+ </parameters>
6515
+ </method>
6516
+ <method name="get_glyph_orientation"
6517
+ c:identifier="poppler_structure_element_get_glyph_orientation"
6518
+ version="0.26">
6519
+ <doc xml:space="preserve">Obtains the glyph orientation for the text contained in a
6520
+ inline-level structure element.</doc>
6521
+ <return-value transfer-ownership="none">
6522
+ <doc xml:space="preserve">A #PopplerStructureGlyphOrientation value.</doc>
6523
+ <type name="StructureGlyphOrientation"
6524
+ c:type="PopplerStructureGlyphOrientation"/>
6525
+ </return-value>
6526
+ <parameters>
6527
+ <instance-parameter name="poppler_structure_element"
6528
+ transfer-ownership="none">
6529
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6530
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6531
+ </instance-parameter>
6532
+ </parameters>
6533
+ </method>
6534
+ <method name="get_height"
6535
+ c:identifier="poppler_structure_element_get_height"
6536
+ version="0.26">
6537
+ <doc xml:space="preserve">Obtains the height of the block-level structure element. Note that for elements which do
6538
+ not specify a height, it has to be calculated, and in this case -1 is returned.</doc>
6539
+ <return-value transfer-ownership="none">
6540
+ <doc xml:space="preserve">A positive value if a width is defined, or -1
6541
+ if the height is to be calculated automatically.</doc>
6542
+ <type name="gdouble" c:type="gdouble"/>
6543
+ </return-value>
6544
+ <parameters>
6545
+ <instance-parameter name="poppler_structure_element"
6546
+ transfer-ownership="none">
6547
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6548
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6549
+ </instance-parameter>
6550
+ </parameters>
6551
+ </method>
6552
+ <method name="get_id"
6553
+ c:identifier="poppler_structure_element_get_id"
6554
+ version="0.26">
6555
+ <doc xml:space="preserve">Obtains the identifier of an element.</doc>
6556
+ <return-value transfer-ownership="full">
6557
+ <doc xml:space="preserve">The identifier of the element (if
6558
+ defined), or %NULL.</doc>
6559
+ <type name="utf8" c:type="gchar*"/>
6560
+ </return-value>
6561
+ <parameters>
6562
+ <instance-parameter name="poppler_structure_element"
6563
+ transfer-ownership="none">
6564
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6565
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6566
+ </instance-parameter>
6567
+ </parameters>
6568
+ </method>
6569
+ <method name="get_inline_align"
6570
+ c:identifier="poppler_structure_element_get_inline_align"
6571
+ version="0.26">
6572
+ <doc xml:space="preserve">Obtains the inline-alignment mode of the block-level structure element.</doc>
6573
+ <return-value transfer-ownership="none">
6574
+ <doc xml:space="preserve">A #PopplerStructureInlineAlign value.</doc>
6575
+ <type name="StructureInlineAlign"
6576
+ c:type="PopplerStructureInlineAlign"/>
6577
+ </return-value>
6578
+ <parameters>
6579
+ <instance-parameter name="poppler_structure_element"
6580
+ transfer-ownership="none">
6581
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6582
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6583
+ </instance-parameter>
6584
+ </parameters>
6585
+ </method>
6586
+ <method name="get_kind"
6587
+ c:identifier="poppler_structure_element_get_kind"
6588
+ version="0.26">
6589
+ <return-value transfer-ownership="none">
6590
+ <doc xml:space="preserve">A #PopplerStructureElementKind value.</doc>
6591
+ <type name="StructureElementKind"
6592
+ c:type="PopplerStructureElementKind"/>
6593
+ </return-value>
6594
+ <parameters>
6595
+ <instance-parameter name="poppler_structure_element"
6596
+ transfer-ownership="none">
6597
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6598
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6599
+ </instance-parameter>
6600
+ </parameters>
6601
+ </method>
6602
+ <method name="get_language"
6603
+ c:identifier="poppler_structure_element_get_language"
6604
+ version="0.26">
6605
+ <doc xml:space="preserve">Obtains the language and country code for the content in an element,
6606
+ in two-letter ISO format, e.g. &lt;code&gt;en_ES&lt;/code&gt;, or %NULL if not
6607
+ defined.</doc>
6608
+ <return-value transfer-ownership="full">
6609
+ <doc xml:space="preserve">language and country code, or %NULL.</doc>
6610
+ <type name="utf8" c:type="gchar*"/>
6611
+ </return-value>
6612
+ <parameters>
6613
+ <instance-parameter name="poppler_structure_element"
6614
+ transfer-ownership="none">
6615
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6616
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6617
+ </instance-parameter>
6618
+ </parameters>
6619
+ </method>
6620
+ <method name="get_line_height"
6621
+ c:identifier="poppler_structure_element_get_line_height"
6622
+ version="0.26">
6623
+ <doc xml:space="preserve">Obtains the line height for the text contained in the inline-level structure element.
6624
+ Note that for elements which do not specify a line height, it has to be calculated,
6625
+ and in this case -1 is returned.</doc>
6626
+ <return-value transfer-ownership="none">
6627
+ <doc xml:space="preserve">A positive value if a line height is defined, or -1
6628
+ if the height is to be calculated automatically.</doc>
6629
+ <type name="gdouble" c:type="gdouble"/>
6630
+ </return-value>
6631
+ <parameters>
6632
+ <instance-parameter name="poppler_structure_element"
6633
+ transfer-ownership="none">
6634
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6635
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6636
+ </instance-parameter>
6637
+ </parameters>
6638
+ </method>
6639
+ <method name="get_list_numbering"
6640
+ c:identifier="poppler_structure_element_get_list_numbering"
6641
+ version="0.26">
6642
+ <doc xml:space="preserve">Obtains the list numbering style for list items.</doc>
6643
+ <return-value transfer-ownership="none">
6644
+ <doc xml:space="preserve">A #PopplerStructureListNumbering value.</doc>
6645
+ <type name="StructureListNumbering"
6646
+ c:type="PopplerStructureListNumbering"/>
6647
+ </return-value>
6648
+ <parameters>
6649
+ <instance-parameter name="poppler_structure_element"
6650
+ transfer-ownership="none">
6651
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6652
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6653
+ </instance-parameter>
6654
+ </parameters>
6655
+ </method>
6656
+ <method name="get_padding"
6657
+ c:identifier="poppler_structure_element_get_padding"
6658
+ version="0.26">
6659
+ <doc xml:space="preserve">Obtains the padding of an element (space around it). The result
6660
+ values are in before-after-start-end ordering. For example using
6661
+ Western left-to-right writing, that is top-bottom-left-right.</doc>
6662
+ <return-value transfer-ownership="none">
6663
+ <type name="none" c:type="void"/>
6664
+ </return-value>
6665
+ <parameters>
6666
+ <instance-parameter name="poppler_structure_element"
6667
+ transfer-ownership="none">
6668
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6669
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6670
+ </instance-parameter>
6671
+ <parameter name="paddings"
6672
+ direction="out"
6673
+ caller-allocates="0"
6674
+ transfer-ownership="full">
6675
+ <doc xml:space="preserve">
6676
+ Padding for the four sides of the element.</doc>
6677
+ <array zero-terminated="0" c:type="gdouble*" fixed-size="4">
6678
+ <type name="gdouble"/>
6679
+ </array>
6680
+ </parameter>
6681
+ </parameters>
6682
+ </method>
6683
+ <method name="get_page"
6684
+ c:identifier="poppler_structure_element_get_page"
6685
+ version="0.26">
6686
+ <doc xml:space="preserve">Obtains the page number in which the element is contained.</doc>
6687
+ <return-value transfer-ownership="none">
6688
+ <doc xml:space="preserve">Number of the page that contains the element, of
6689
+ &lt;code&gt;-1&lt;/code&gt; if not defined.</doc>
6690
+ <type name="gint" c:type="gint"/>
6691
+ </return-value>
6692
+ <parameters>
6693
+ <instance-parameter name="poppler_structure_element"
6694
+ transfer-ownership="none">
6695
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6696
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6697
+ </instance-parameter>
6698
+ </parameters>
6699
+ </method>
6700
+ <method name="get_placement"
6701
+ c:identifier="poppler_structure_element_get_placement"
6702
+ version="0.26">
6703
+ <doc xml:space="preserve">Obtains the placement type of the structure element.</doc>
6704
+ <return-value transfer-ownership="none">
6705
+ <doc xml:space="preserve">A #PopplerStructurePlacement value.</doc>
6706
+ <type name="StructurePlacement" c:type="PopplerStructurePlacement"/>
6707
+ </return-value>
6708
+ <parameters>
6709
+ <instance-parameter name="poppler_structure_element"
6710
+ transfer-ownership="none">
6711
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6712
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6713
+ </instance-parameter>
6714
+ </parameters>
6715
+ </method>
6716
+ <method name="get_ruby_align"
6717
+ c:identifier="poppler_structure_element_get_ruby_align"
6718
+ version="0.26">
6719
+ <doc xml:space="preserve">Obtains the alignment for the ruby text contained in a
6720
+ inline-level structure element.</doc>
6721
+ <return-value transfer-ownership="none">
6722
+ <doc xml:space="preserve">A #PopplerStructureRubyAlign value.</doc>
6723
+ <type name="StructureRubyAlign" c:type="PopplerStructureRubyAlign"/>
6724
+ </return-value>
6725
+ <parameters>
6726
+ <instance-parameter name="poppler_structure_element"
6727
+ transfer-ownership="none">
6728
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6729
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6730
+ </instance-parameter>
6731
+ </parameters>
6732
+ </method>
6733
+ <method name="get_ruby_position"
6734
+ c:identifier="poppler_structure_element_get_ruby_position"
6735
+ version="0.26">
6736
+ <doc xml:space="preserve">Obtains the position for the ruby text contained in a
6737
+ inline-level structure element.</doc>
6738
+ <return-value transfer-ownership="none">
6739
+ <doc xml:space="preserve">A #PopplerStructureRubyPosition value.</doc>
6740
+ <type name="StructureRubyPosition"
6741
+ c:type="PopplerStructureRubyPosition"/>
6742
+ </return-value>
6743
+ <parameters>
6744
+ <instance-parameter name="poppler_structure_element"
6745
+ transfer-ownership="none">
6746
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6747
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6748
+ </instance-parameter>
6749
+ </parameters>
6750
+ </method>
6751
+ <method name="get_space_after"
6752
+ c:identifier="poppler_structure_element_get_space_after"
6753
+ version="0.26">
6754
+ <doc xml:space="preserve">Obtains the amount of empty space after the block-level structure element.</doc>
6755
+ <return-value transfer-ownership="none">
6756
+ <doc xml:space="preserve">A positive value.</doc>
6757
+ <type name="gdouble" c:type="gdouble"/>
6758
+ </return-value>
6759
+ <parameters>
6760
+ <instance-parameter name="poppler_structure_element"
6761
+ transfer-ownership="none">
6762
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6763
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6764
+ </instance-parameter>
6765
+ </parameters>
6766
+ </method>
6767
+ <method name="get_space_before"
6768
+ c:identifier="poppler_structure_element_get_space_before"
6769
+ version="0.26">
6770
+ <doc xml:space="preserve">Obtains the amount of empty space before the block-level structure element.</doc>
6771
+ <return-value transfer-ownership="none">
6772
+ <doc xml:space="preserve">A positive value.</doc>
6773
+ <type name="gdouble" c:type="gdouble"/>
6774
+ </return-value>
6775
+ <parameters>
6776
+ <instance-parameter name="poppler_structure_element"
6777
+ transfer-ownership="none">
6778
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6779
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6780
+ </instance-parameter>
6781
+ </parameters>
6782
+ </method>
6783
+ <method name="get_start_indent"
6784
+ c:identifier="poppler_structure_element_get_start_indent"
6785
+ version="0.26">
6786
+ <doc xml:space="preserve">Obtains the amount of indentation at the beginning of the block-level structure element.</doc>
6787
+ <return-value transfer-ownership="none">
6788
+ <doc xml:space="preserve">A numeric value.</doc>
6789
+ <type name="gdouble" c:type="gdouble"/>
6790
+ </return-value>
6791
+ <parameters>
6792
+ <instance-parameter name="poppler_structure_element"
6793
+ transfer-ownership="none">
6794
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6795
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6796
+ </instance-parameter>
6797
+ </parameters>
6798
+ </method>
6799
+ <method name="get_table_border_style"
6800
+ c:identifier="poppler_structure_element_get_table_border_style"
6801
+ version="0.26">
6802
+ <doc xml:space="preserve">Obtains the table cell border style of a block-level structure element. The result values
6803
+ are in before-after-start-end ordering. For example, using Western
6804
+ left-to-right writing, that is top-bottom-left-right.</doc>
6805
+ <return-value transfer-ownership="none">
6806
+ <type name="none" c:type="void"/>
6807
+ </return-value>
6808
+ <parameters>
6809
+ <instance-parameter name="poppler_structure_element"
6810
+ transfer-ownership="none">
6811
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6812
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6813
+ </instance-parameter>
6814
+ <parameter name="border_styles"
6815
+ direction="out"
6816
+ caller-allocates="0"
6817
+ transfer-ownership="full">
6818
+ <doc xml:space="preserve">
6819
+ An array of four #PopplerStructureBorderStyle elements.</doc>
6820
+ <array zero-terminated="0"
6821
+ c:type="PopplerStructureBorderStyle*"
6822
+ fixed-size="4">
6823
+ <type name="StructureBorderStyle"/>
6824
+ </array>
6825
+ </parameter>
6826
+ </parameters>
6827
+ </method>
6828
+ <method name="get_table_column_span"
6829
+ c:identifier="poppler_structure_element_get_table_column_span"
6830
+ version="0.26">
6831
+ <doc xml:space="preserve">Obtains the number of columns the table element spans to.</doc>
6832
+ <return-value transfer-ownership="none">
6833
+ <doc xml:space="preserve">A positive, non-zero value.</doc>
6834
+ <type name="guint" c:type="guint"/>
6835
+ </return-value>
6836
+ <parameters>
6837
+ <instance-parameter name="poppler_structure_element"
6838
+ transfer-ownership="none">
6839
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6840
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6841
+ </instance-parameter>
6842
+ </parameters>
6843
+ </method>
6844
+ <method name="get_table_headers"
6845
+ c:identifier="poppler_structure_element_get_table_headers"
6846
+ version="0.26">
6847
+ <doc xml:space="preserve">Obtains an array with the names of the table column headers. This is only
6848
+ useful for table header row elements.
6849
+
6850
+ The array with the results is allocated by the function. The number
6851
+ of items in the returned array can be obtained with g_strv_length().
6852
+ The returned value must be freed using g_strfreev().</doc>
6853
+ <return-value transfer-ownership="full">
6854
+ <doc xml:space="preserve">
6855
+ Zero-terminated array of strings with the table header names,
6856
+ or %NULL if the attribute is not defined.</doc>
6857
+ <array c:type="gchar**">
6858
+ <type name="utf8"/>
6859
+ </array>
6860
+ </return-value>
6861
+ <parameters>
6862
+ <instance-parameter name="poppler_structure_element"
6863
+ transfer-ownership="none">
6864
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6865
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6866
+ </instance-parameter>
6867
+ </parameters>
6868
+ </method>
6869
+ <method name="get_table_padding"
6870
+ c:identifier="poppler_structure_element_get_table_padding"
6871
+ version="0.26">
6872
+ <doc xml:space="preserve">Obtains the padding between the table cell’s content rectangle and the
6873
+ surrounding border of a block-level structure element. The result
6874
+ values are in before-after-start-end ordering (for the typical
6875
+ Western left-to-right writing, that is top-bottom-left-right).</doc>
6876
+ <return-value transfer-ownership="none">
6877
+ <type name="none" c:type="void"/>
6878
+ </return-value>
6879
+ <parameters>
6880
+ <instance-parameter name="poppler_structure_element"
6881
+ transfer-ownership="none">
6882
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6883
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6884
+ </instance-parameter>
6885
+ <parameter name="paddings"
6886
+ direction="out"
6887
+ caller-allocates="0"
6888
+ transfer-ownership="full">
6889
+ <doc xml:space="preserve">
6890
+ Padding for the four sides of the element.</doc>
6891
+ <array zero-terminated="0" c:type="gdouble*" fixed-size="4">
6892
+ <type name="gdouble"/>
6893
+ </array>
6894
+ </parameter>
6895
+ </parameters>
6896
+ </method>
6897
+ <method name="get_table_row_span"
6898
+ c:identifier="poppler_structure_element_get_table_row_span"
6899
+ version="0.26">
6900
+ <doc xml:space="preserve">Obtains the number of rows the table element spans to.</doc>
6901
+ <return-value transfer-ownership="none">
6902
+ <doc xml:space="preserve">A positive, non-zero value.</doc>
6903
+ <type name="guint" c:type="guint"/>
6904
+ </return-value>
6905
+ <parameters>
6906
+ <instance-parameter name="poppler_structure_element"
6907
+ transfer-ownership="none">
6908
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6909
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6910
+ </instance-parameter>
6911
+ </parameters>
6912
+ </method>
6913
+ <method name="get_table_scope"
6914
+ c:identifier="poppler_structure_element_get_table_scope"
6915
+ version="0.26">
6916
+ <doc xml:space="preserve">Obtains the scope of a table structure element.</doc>
6917
+ <return-value transfer-ownership="none">
6918
+ <doc xml:space="preserve">A #PopplerStructureScope value.</doc>
6919
+ <type name="StructureTableScope"
6920
+ c:type="PopplerStructureTableScope"/>
6921
+ </return-value>
6922
+ <parameters>
6923
+ <instance-parameter name="poppler_structure_element"
6924
+ transfer-ownership="none">
6925
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6926
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6927
+ </instance-parameter>
6928
+ </parameters>
6929
+ </method>
6930
+ <method name="get_table_summary"
6931
+ c:identifier="poppler_structure_element_get_table_summary"
6932
+ version="0.26">
6933
+ <doc xml:space="preserve">Obtains the textual summary of the contents of the table element. Note that
6934
+ the summary is meant for informative purposes, and it is not intended
6935
+ to be rendered. For example, assistive technologies may use the
6936
+ description field to provide an alternate way of presenting an element
6937
+ to the user, or a document indexer may want to scan it for additional
6938
+ keywords.
6939
+
6940
+ The returned string is allocated by the function. When it is
6941
+ not needed anymore, be sure to call g_free() on it.</doc>
6942
+ <return-value transfer-ownership="full">
6943
+ <doc xml:space="preserve">A string, or %NULL if the attribute
6944
+ is not defined.</doc>
6945
+ <type name="utf8" c:type="gchar*"/>
6946
+ </return-value>
6947
+ <parameters>
6948
+ <instance-parameter name="poppler_structure_element"
6949
+ transfer-ownership="none">
6950
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6951
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6952
+ </instance-parameter>
6953
+ </parameters>
6954
+ </method>
6955
+ <method name="get_text"
6956
+ c:identifier="poppler_structure_element_get_text"
6957
+ version="0.26">
6958
+ <doc xml:space="preserve">Obtains the text enclosed by an element, or the text enclosed by the
6959
+ elements in the subtree (including the element itself).</doc>
6960
+ <return-value transfer-ownership="full">
6961
+ <doc xml:space="preserve">A string.</doc>
6962
+ <type name="utf8" c:type="gchar*"/>
6963
+ </return-value>
6964
+ <parameters>
6965
+ <instance-parameter name="poppler_structure_element"
6966
+ transfer-ownership="none">
6967
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6968
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6969
+ </instance-parameter>
6970
+ <parameter name="flags" transfer-ownership="none">
6971
+ <doc xml:space="preserve">A #PopplerStructureGetTextFlags value, or
6972
+ %POPPLER_STRUCTURE_GET_TEXT_NONE to disable all the flags.</doc>
6973
+ <type name="StructureGetTextFlags"
6974
+ c:type="PopplerStructureGetTextFlags"/>
6975
+ </parameter>
6976
+ </parameters>
6977
+ </method>
6978
+ <method name="get_text_align"
6979
+ c:identifier="poppler_structure_element_get_text_align"
6980
+ version="0.26">
6981
+ <doc xml:space="preserve">Obtains the text alignment mode of the text contained into a
6982
+ block-level structure element.</doc>
6983
+ <return-value transfer-ownership="none">
6984
+ <doc xml:space="preserve">A #PopplerStructureTextAlign value.</doc>
6985
+ <type name="StructureTextAlign" c:type="PopplerStructureTextAlign"/>
6986
+ </return-value>
6987
+ <parameters>
6988
+ <instance-parameter name="poppler_structure_element"
6989
+ transfer-ownership="none">
6990
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
6991
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
6992
+ </instance-parameter>
6993
+ </parameters>
6994
+ </method>
6995
+ <method name="get_text_decoration_color"
6996
+ c:identifier="poppler_structure_element_get_text_decoration_color"
6997
+ version="0.26">
6998
+ <doc xml:space="preserve">Obtains the color of the text decoration for the text contained
6999
+ in the inline-level structure element.
7000
+ If this attribute is not specified, the color for this element shall be the current fill
7001
+ color in effect at the start of its associated content.</doc>
7002
+ <return-value transfer-ownership="none">
7003
+ <doc xml:space="preserve">%TRUE if a color is defined for the element,
7004
+ %FALSE otherwise.</doc>
7005
+ <type name="gboolean" c:type="gboolean"/>
7006
+ </return-value>
7007
+ <parameters>
7008
+ <instance-parameter name="poppler_structure_element"
7009
+ transfer-ownership="none">
7010
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7011
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7012
+ </instance-parameter>
7013
+ <parameter name="color"
7014
+ direction="out"
7015
+ caller-allocates="1"
7016
+ transfer-ownership="none">
7017
+ <doc xml:space="preserve">A #PopplerColor.</doc>
7018
+ <type name="Color" c:type="PopplerColor*"/>
7019
+ </parameter>
7020
+ </parameters>
7021
+ </method>
7022
+ <method name="get_text_decoration_thickness"
7023
+ c:identifier="poppler_structure_element_get_text_decoration_thickness"
7024
+ version="0.26">
7025
+ <doc xml:space="preserve">Obtains the thickness of the text decoration for the text contained
7026
+ in the inline-level structure element.
7027
+ If this attribute is not specified, it shall be derived from the current
7028
+ stroke thickness in effect at the start of the element’s associated content.</doc>
7029
+ <return-value transfer-ownership="none">
7030
+ <doc xml:space="preserve">Thickness of the text decoration, or %NaN if not defined.</doc>
7031
+ <type name="gdouble" c:type="gdouble"/>
7032
+ </return-value>
7033
+ <parameters>
7034
+ <instance-parameter name="poppler_structure_element"
7035
+ transfer-ownership="none">
7036
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7037
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7038
+ </instance-parameter>
7039
+ </parameters>
7040
+ </method>
7041
+ <method name="get_text_decoration_type"
7042
+ c:identifier="poppler_structure_element_get_text_decoration_type"
7043
+ version="0.26">
7044
+ <doc xml:space="preserve">Obtains the text decoration type of the text contained in the
7045
+ inline-level structure element.</doc>
7046
+ <return-value transfer-ownership="none">
7047
+ <doc xml:space="preserve">A #PopplerStructureTextDecoration value.</doc>
7048
+ <type name="StructureTextDecoration"
7049
+ c:type="PopplerStructureTextDecoration"/>
7050
+ </return-value>
7051
+ <parameters>
7052
+ <instance-parameter name="poppler_structure_element"
7053
+ transfer-ownership="none">
7054
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7055
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7056
+ </instance-parameter>
7057
+ </parameters>
7058
+ </method>
7059
+ <method name="get_text_indent"
7060
+ c:identifier="poppler_structure_element_get_text_indent"
7061
+ version="0.26">
7062
+ <doc xml:space="preserve">Obtains the amount of indentation of the text contained in the block-level structure element.</doc>
7063
+ <return-value transfer-ownership="none">
7064
+ <doc xml:space="preserve">A numeric value.</doc>
7065
+ <type name="gdouble" c:type="gdouble"/>
7066
+ </return-value>
7067
+ <parameters>
7068
+ <instance-parameter name="poppler_structure_element"
7069
+ transfer-ownership="none">
7070
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7071
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7072
+ </instance-parameter>
7073
+ </parameters>
7074
+ </method>
7075
+ <method name="get_text_spans"
7076
+ c:identifier="poppler_structure_element_get_text_spans"
7077
+ version="0.26">
7078
+ <doc xml:space="preserve">Obtains the text enclosed by an element, as an array of #PopplerTextSpan
7079
+ structures. Each item in the list is a piece of text which share the same
7080
+ attributes, plus its attributes. The following example shows how to
7081
+ obtain and free the text spans of an element:
7082
+
7083
+ &lt;informalexample&gt;&lt;programlisting&gt;
7084
+ guint i, n_spans;
7085
+ PopplerTextSpan **text_spans =
7086
+ poppler_structure_element_get_text_spans (element, &amp;n_spans);
7087
+ /&lt;!-- --&gt;* Use the text spans *&lt;!-- --&gt;/
7088
+ for (i = 0; i &lt; n_spans; i++)
7089
+ poppler_text_span_free (text_spans[i]);
7090
+ g_free (text_spans);
7091
+ &lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
7092
+ <return-value transfer-ownership="full">
7093
+ <doc xml:space="preserve">
7094
+ An array of #PopplerTextSpan elments.</doc>
7095
+ <array length="0" zero-terminated="0" c:type="PopplerTextSpan**">
7096
+ <type name="TextSpan"/>
7097
+ </array>
7098
+ </return-value>
7099
+ <parameters>
7100
+ <instance-parameter name="poppler_structure_element"
7101
+ transfer-ownership="none">
7102
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7103
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7104
+ </instance-parameter>
7105
+ <parameter name="n_text_spans"
7106
+ direction="out"
7107
+ caller-allocates="0"
7108
+ transfer-ownership="full">
7109
+ <doc xml:space="preserve">A pointer to the location where the number of elements in
7110
+ the returned array will be stored.</doc>
7111
+ <type name="guint" c:type="guint*"/>
7112
+ </parameter>
7113
+ </parameters>
7114
+ </method>
7115
+ <method name="get_title"
7116
+ c:identifier="poppler_structure_element_get_title"
7117
+ version="0.26">
7118
+ <doc xml:space="preserve">Obtains the title of an element.</doc>
7119
+ <return-value transfer-ownership="full">
7120
+ <doc xml:space="preserve">The title of the element, or %NULL.</doc>
7121
+ <type name="utf8" c:type="gchar*"/>
7122
+ </return-value>
7123
+ <parameters>
7124
+ <instance-parameter name="poppler_structure_element"
7125
+ transfer-ownership="none">
7126
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7127
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7128
+ </instance-parameter>
7129
+ </parameters>
7130
+ </method>
7131
+ <method name="get_width"
7132
+ c:identifier="poppler_structure_element_get_width"
7133
+ version="0.26">
7134
+ <doc xml:space="preserve">Obtains the width of the block-level structure element. Note that for elements which do
7135
+ not specify a width, it has to be calculated, and in this case -1 is returned.</doc>
7136
+ <return-value transfer-ownership="none">
7137
+ <doc xml:space="preserve">A positive value if a width is defined, or -1
7138
+ if the width is to be calculated automatically.</doc>
7139
+ <type name="gdouble" c:type="gdouble"/>
7140
+ </return-value>
7141
+ <parameters>
7142
+ <instance-parameter name="poppler_structure_element"
7143
+ transfer-ownership="none">
7144
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7145
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7146
+ </instance-parameter>
7147
+ </parameters>
7148
+ </method>
7149
+ <method name="get_writing_mode"
7150
+ c:identifier="poppler_structure_element_get_writing_mode"
7151
+ version="0.26">
7152
+ <doc xml:space="preserve">Obtains the writing mode (writing direction) of the content associated
7153
+ with a structure element.</doc>
7154
+ <return-value transfer-ownership="none">
7155
+ <doc xml:space="preserve">A #PopplerStructureWritingMode value.</doc>
7156
+ <type name="StructureWritingMode"
7157
+ c:type="PopplerStructureWritingMode"/>
7158
+ </return-value>
7159
+ <parameters>
7160
+ <instance-parameter name="poppler_structure_element"
7161
+ transfer-ownership="none">
7162
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7163
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7164
+ </instance-parameter>
7165
+ </parameters>
7166
+ </method>
7167
+ <method name="is_block"
7168
+ c:identifier="poppler_structure_element_is_block"
7169
+ version="0.26">
7170
+ <doc xml:space="preserve">Checks whether an element is a block element.</doc>
7171
+ <return-value transfer-ownership="none">
7172
+ <doc xml:space="preserve">%TRUE if the element is a block element, or %FALSE otherwise.</doc>
7173
+ <type name="gboolean" c:type="gboolean"/>
7174
+ </return-value>
7175
+ <parameters>
7176
+ <instance-parameter name="poppler_structure_element"
7177
+ transfer-ownership="none">
7178
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7179
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7180
+ </instance-parameter>
7181
+ </parameters>
7182
+ </method>
7183
+ <method name="is_content"
7184
+ c:identifier="poppler_structure_element_is_content"
7185
+ version="0.26">
7186
+ <doc xml:space="preserve">Checks whether an element is actual document content.</doc>
7187
+ <return-value transfer-ownership="none">
7188
+ <doc xml:space="preserve">%TRUE if the element is content, or %FALSE otherwise.</doc>
7189
+ <type name="gboolean" c:type="gboolean"/>
7190
+ </return-value>
7191
+ <parameters>
7192
+ <instance-parameter name="poppler_structure_element"
7193
+ transfer-ownership="none">
7194
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7195
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7196
+ </instance-parameter>
7197
+ </parameters>
7198
+ </method>
7199
+ <method name="is_grouping"
7200
+ c:identifier="poppler_structure_element_is_grouping"
7201
+ version="0.26">
7202
+ <doc xml:space="preserve">Checks whether an element is a grouping element.</doc>
7203
+ <return-value transfer-ownership="none">
7204
+ <doc xml:space="preserve">%TRUE if the element is a grouping element, %FALSE
7205
+ otherwise.</doc>
7206
+ <type name="gboolean" c:type="gboolean"/>
7207
+ </return-value>
7208
+ <parameters>
7209
+ <instance-parameter name="poppler_structure_element"
7210
+ transfer-ownership="none">
7211
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7212
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7213
+ </instance-parameter>
7214
+ </parameters>
7215
+ </method>
7216
+ <method name="is_inline"
7217
+ c:identifier="poppler_structure_element_is_inline"
7218
+ version="0.26">
7219
+ <doc xml:space="preserve">Checks whether an element is an inline element.</doc>
7220
+ <return-value transfer-ownership="none">
7221
+ <doc xml:space="preserve">%TRUE if the element is an inline element, or %FALSE otherwise.</doc>
7222
+ <type name="gboolean" c:type="gboolean"/>
7223
+ </return-value>
7224
+ <parameters>
7225
+ <instance-parameter name="poppler_structure_element"
7226
+ transfer-ownership="none">
7227
+ <doc xml:space="preserve">A #PopplerStructureElement</doc>
7228
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7229
+ </instance-parameter>
7230
+ </parameters>
7231
+ </method>
7232
+ </class>
7233
+ <record name="StructureElementIter"
7234
+ c:type="PopplerStructureElementIter"
7235
+ glib:type-name="PopplerStructureElementIter"
7236
+ glib:get-type="poppler_structure_element_iter_get_type"
7237
+ c:symbol-prefix="structure_element_iter">
7238
+ <constructor name="new"
7239
+ c:identifier="poppler_structure_element_iter_new"
7240
+ version="0.26">
7241
+ <doc xml:space="preserve">Returns the root #PopplerStructureElementIter for @document, or %NULL. The
7242
+ returned value must be freed with poppler_structure_element_iter_free().
7243
+
7244
+ Documents may have an associated structure tree &amp;mdashmostly, Tagged-PDF
7245
+ compliant documents&amp;mdash; which can be used to obtain information about
7246
+ the document structure and its contents. Each node in the tree contains
7247
+ a #PopplerStructureElement.
7248
+
7249
+ Here is a simple example that walks the whole tree:
7250
+
7251
+ &lt;informalexample&gt;&lt;programlisting&gt;
7252
+ static void
7253
+ walk_structure (PopplerStructureElementIter *iter)
7254
+ {
7255
+ do {
7256
+ /&lt;!-- --&gt;* Get the element and do something with it *&lt;!-- --&gt;/
7257
+ PopplerStructureElementIter *child = poppler_structure_element_iter_get_child (iter);
7258
+ if (child)
7259
+ walk_structure (child);
7260
+ poppler_structure_element_iter_free (child);
7261
+ } while (poppler_structure_element_iter_next (iter));
7262
+ }
7263
+ ...
7264
+ {
7265
+ iter = poppler_structure_element_iter_new (document);
7266
+ walk_structure (iter);
7267
+ poppler_structure_element_iter_free (iter);
7268
+ }
7269
+ &lt;/programlisting&gt;&lt;/informalexample&gt;</doc>
7270
+ <return-value transfer-ownership="full">
7271
+ <doc xml:space="preserve">a new #PopplerStructureElementIter, or %NULL if document
7272
+ doesn't have structure tree.</doc>
7273
+ <type name="StructureElementIter"
7274
+ c:type="PopplerStructureElementIter*"/>
7275
+ </return-value>
7276
+ <parameters>
7277
+ <parameter name="poppler_document" transfer-ownership="none">
7278
+ <doc xml:space="preserve">a #PopplerDocument.</doc>
7279
+ <type name="Document" c:type="PopplerDocument*"/>
7280
+ </parameter>
7281
+ </parameters>
7282
+ </constructor>
7283
+ <method name="copy"
7284
+ c:identifier="poppler_structure_element_iter_copy"
7285
+ version="0.26">
7286
+ <doc xml:space="preserve">Creates a new #PopplerStructureElementIter as a copy of @iter. The
7287
+ returned value must be freed with poppler_structure_element_iter_free().</doc>
7288
+ <return-value transfer-ownership="full">
7289
+ <doc xml:space="preserve">a new #PopplerStructureElementIter</doc>
7290
+ <type name="StructureElementIter"
7291
+ c:type="PopplerStructureElementIter*"/>
7292
+ </return-value>
7293
+ <parameters>
7294
+ <instance-parameter name="iter" transfer-ownership="none">
7295
+ <doc xml:space="preserve">a #PopplerStructureElementIter</doc>
7296
+ <type name="StructureElementIter"
7297
+ c:type="PopplerStructureElementIter*"/>
7298
+ </instance-parameter>
7299
+ </parameters>
7300
+ </method>
7301
+ <method name="free"
7302
+ c:identifier="poppler_structure_element_iter_free"
7303
+ version="0.26">
7304
+ <doc xml:space="preserve">Frees @iter.</doc>
7305
+ <return-value transfer-ownership="none">
7306
+ <type name="none" c:type="void"/>
7307
+ </return-value>
7308
+ <parameters>
7309
+ <instance-parameter name="iter" transfer-ownership="none">
7310
+ <doc xml:space="preserve">a #PopplerStructureElementIter</doc>
7311
+ <type name="StructureElementIter"
7312
+ c:type="PopplerStructureElementIter*"/>
7313
+ </instance-parameter>
7314
+ </parameters>
7315
+ </method>
7316
+ <method name="get_child"
7317
+ c:identifier="poppler_structure_element_iter_get_child"
7318
+ version="0.26">
7319
+ <doc xml:space="preserve">Returns a new iterator to the children elements of the
7320
+ #PopplerStructureElement associated with @iter. The returned value must
7321
+ be freed with poppler_structure_element_iter_free().</doc>
7322
+ <return-value transfer-ownership="full">
7323
+ <doc xml:space="preserve">a new #PopplerStructureElementIter</doc>
7324
+ <type name="StructureElementIter"
7325
+ c:type="PopplerStructureElementIter*"/>
7326
+ </return-value>
7327
+ <parameters>
7328
+ <instance-parameter name="parent" transfer-ownership="none">
7329
+ <doc xml:space="preserve">a #PopplerStructureElementIter</doc>
7330
+ <type name="StructureElementIter"
7331
+ c:type="PopplerStructureElementIter*"/>
7332
+ </instance-parameter>
7333
+ </parameters>
7334
+ </method>
7335
+ <method name="get_element"
7336
+ c:identifier="poppler_structure_element_iter_get_element"
7337
+ version="0.26">
7338
+ <doc xml:space="preserve">Returns the #PopplerStructureElementIter associated with @iter.</doc>
7339
+ <return-value transfer-ownership="full">
7340
+ <doc xml:space="preserve">a new #PopplerStructureElementIter</doc>
7341
+ <type name="StructureElement" c:type="PopplerStructureElement*"/>
7342
+ </return-value>
7343
+ <parameters>
7344
+ <instance-parameter name="iter" transfer-ownership="none">
7345
+ <doc xml:space="preserve">a #PopplerStructureElementIter</doc>
7346
+ <type name="StructureElementIter"
7347
+ c:type="PopplerStructureElementIter*"/>
7348
+ </instance-parameter>
7349
+ </parameters>
7350
+ </method>
7351
+ <method name="next"
7352
+ c:identifier="poppler_structure_element_iter_next"
7353
+ version="0.26">
7354
+ <doc xml:space="preserve">Sets @iter to point to the next structure element at the current level
7355
+ of the tree, if valid. See poppler_structure_element_iter_new() for more
7356
+ information.</doc>
7357
+ <return-value transfer-ownership="none">
7358
+ <doc xml:space="preserve">%TRUE, if @iter was set to the next structure element</doc>
7359
+ <type name="gboolean" c:type="gboolean"/>
7360
+ </return-value>
7361
+ <parameters>
7362
+ <instance-parameter name="iter" transfer-ownership="none">
7363
+ <doc xml:space="preserve">a #PopplerStructureElementIter</doc>
7364
+ <type name="StructureElementIter"
7365
+ c:type="PopplerStructureElementIter*"/>
7366
+ </instance-parameter>
7367
+ </parameters>
7368
+ </method>
7369
+ </record>
7370
+ <enumeration name="StructureElementKind"
7371
+ glib:type-name="PopplerStructureElementKind"
7372
+ glib:get-type="poppler_structure_element_kind_get_type"
7373
+ c:type="PopplerStructureElementKind">
7374
+ <member name="content"
7375
+ value="0"
7376
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_CONTENT"
7377
+ glib:nick="content">
7378
+ </member>
7379
+ <member name="object_reference"
7380
+ value="1"
7381
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_OBJECT_REFERENCE"
7382
+ glib:nick="object-reference">
7383
+ </member>
7384
+ <member name="document"
7385
+ value="2"
7386
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_DOCUMENT"
7387
+ glib:nick="document">
7388
+ </member>
7389
+ <member name="part"
7390
+ value="3"
7391
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_PART"
7392
+ glib:nick="part">
7393
+ </member>
7394
+ <member name="article"
7395
+ value="4"
7396
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_ARTICLE"
7397
+ glib:nick="article">
7398
+ </member>
7399
+ <member name="section"
7400
+ value="5"
7401
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_SECTION"
7402
+ glib:nick="section">
7403
+ </member>
7404
+ <member name="div"
7405
+ value="6"
7406
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_DIV"
7407
+ glib:nick="div">
7408
+ </member>
7409
+ <member name="span"
7410
+ value="7"
7411
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_SPAN"
7412
+ glib:nick="span">
7413
+ </member>
7414
+ <member name="quote"
7415
+ value="8"
7416
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_QUOTE"
7417
+ glib:nick="quote">
7418
+ </member>
7419
+ <member name="note"
7420
+ value="9"
7421
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_NOTE"
7422
+ glib:nick="note">
7423
+ </member>
7424
+ <member name="reference"
7425
+ value="10"
7426
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_REFERENCE"
7427
+ glib:nick="reference">
7428
+ </member>
7429
+ <member name="bibentry"
7430
+ value="11"
7431
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_BIBENTRY"
7432
+ glib:nick="bibentry">
7433
+ </member>
7434
+ <member name="code"
7435
+ value="12"
7436
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_CODE"
7437
+ glib:nick="code">
7438
+ </member>
7439
+ <member name="link"
7440
+ value="13"
7441
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_LINK"
7442
+ glib:nick="link">
7443
+ </member>
7444
+ <member name="annot"
7445
+ value="14"
7446
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_ANNOT"
7447
+ glib:nick="annot">
7448
+ </member>
7449
+ <member name="blockquote"
7450
+ value="15"
7451
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_BLOCKQUOTE"
7452
+ glib:nick="blockquote">
7453
+ </member>
7454
+ <member name="caption"
7455
+ value="16"
7456
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_CAPTION"
7457
+ glib:nick="caption">
7458
+ </member>
7459
+ <member name="nonstruct"
7460
+ value="17"
7461
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_NONSTRUCT"
7462
+ glib:nick="nonstruct">
7463
+ </member>
7464
+ <member name="toc"
7465
+ value="18"
7466
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TOC"
7467
+ glib:nick="toc">
7468
+ </member>
7469
+ <member name="toc_item"
7470
+ value="19"
7471
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TOC_ITEM"
7472
+ glib:nick="toc-item">
7473
+ </member>
7474
+ <member name="index"
7475
+ value="20"
7476
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_INDEX"
7477
+ glib:nick="index">
7478
+ </member>
7479
+ <member name="private"
7480
+ value="21"
7481
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_PRIVATE"
7482
+ glib:nick="private">
7483
+ </member>
7484
+ <member name="paragraph"
7485
+ value="22"
7486
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_PARAGRAPH"
7487
+ glib:nick="paragraph">
7488
+ </member>
7489
+ <member name="heading"
7490
+ value="23"
7491
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING"
7492
+ glib:nick="heading">
7493
+ </member>
7494
+ <member name="heading_1"
7495
+ value="24"
7496
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_1"
7497
+ glib:nick="heading-1">
7498
+ </member>
7499
+ <member name="heading_2"
7500
+ value="25"
7501
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_2"
7502
+ glib:nick="heading-2">
7503
+ </member>
7504
+ <member name="heading_3"
7505
+ value="26"
7506
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_3"
7507
+ glib:nick="heading-3">
7508
+ </member>
7509
+ <member name="heading_4"
7510
+ value="27"
7511
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_4"
7512
+ glib:nick="heading-4">
7513
+ </member>
7514
+ <member name="heading_5"
7515
+ value="28"
7516
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_5"
7517
+ glib:nick="heading-5">
7518
+ </member>
7519
+ <member name="heading_6"
7520
+ value="29"
7521
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_HEADING_6"
7522
+ glib:nick="heading-6">
7523
+ </member>
7524
+ <member name="list"
7525
+ value="30"
7526
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_LIST"
7527
+ glib:nick="list">
7528
+ </member>
7529
+ <member name="list_item"
7530
+ value="31"
7531
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_LIST_ITEM"
7532
+ glib:nick="list-item">
7533
+ </member>
7534
+ <member name="list_label"
7535
+ value="32"
7536
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_LIST_LABEL"
7537
+ glib:nick="list-label">
7538
+ </member>
7539
+ <member name="list_body"
7540
+ value="33"
7541
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_LIST_BODY"
7542
+ glib:nick="list-body">
7543
+ </member>
7544
+ <member name="table"
7545
+ value="34"
7546
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE"
7547
+ glib:nick="table">
7548
+ </member>
7549
+ <member name="table_row"
7550
+ value="35"
7551
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_ROW"
7552
+ glib:nick="table-row">
7553
+ </member>
7554
+ <member name="table_heading"
7555
+ value="36"
7556
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_HEADING"
7557
+ glib:nick="table-heading">
7558
+ </member>
7559
+ <member name="table_data"
7560
+ value="37"
7561
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_DATA"
7562
+ glib:nick="table-data">
7563
+ </member>
7564
+ <member name="table_header"
7565
+ value="38"
7566
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_HEADER"
7567
+ glib:nick="table-header">
7568
+ </member>
7569
+ <member name="table_footer"
7570
+ value="39"
7571
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_FOOTER"
7572
+ glib:nick="table-footer">
7573
+ </member>
7574
+ <member name="table_body"
7575
+ value="40"
7576
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_TABLE_BODY"
7577
+ glib:nick="table-body">
7578
+ </member>
7579
+ <member name="ruby"
7580
+ value="41"
7581
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_RUBY"
7582
+ glib:nick="ruby">
7583
+ </member>
7584
+ <member name="ruby_base_text"
7585
+ value="42"
7586
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_RUBY_BASE_TEXT"
7587
+ glib:nick="ruby-base-text">
7588
+ </member>
7589
+ <member name="ruby_annot_text"
7590
+ value="43"
7591
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_RUBY_ANNOT_TEXT"
7592
+ glib:nick="ruby-annot-text">
7593
+ </member>
7594
+ <member name="ruby_punctuation"
7595
+ value="44"
7596
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_RUBY_PUNCTUATION"
7597
+ glib:nick="ruby-punctuation">
7598
+ </member>
7599
+ <member name="warichu"
7600
+ value="45"
7601
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_WARICHU"
7602
+ glib:nick="warichu">
7603
+ </member>
7604
+ <member name="warichu_text"
7605
+ value="46"
7606
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_WARICHU_TEXT"
7607
+ glib:nick="warichu-text">
7608
+ </member>
7609
+ <member name="warichu_punctuation"
7610
+ value="47"
7611
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_WARICHU_PUNCTUATION"
7612
+ glib:nick="warichu-punctuation">
7613
+ </member>
7614
+ <member name="figure"
7615
+ value="48"
7616
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_FIGURE"
7617
+ glib:nick="figure">
7618
+ </member>
7619
+ <member name="formula"
7620
+ value="49"
7621
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_FORMULA"
7622
+ glib:nick="formula">
7623
+ </member>
7624
+ <member name="form"
7625
+ value="50"
7626
+ c:identifier="POPPLER_STRUCTURE_ELEMENT_FORM"
7627
+ glib:nick="form">
7628
+ </member>
7629
+ </enumeration>
7630
+ <enumeration name="StructureFormRole"
7631
+ glib:type-name="PopplerStructureFormRole"
7632
+ glib:get-type="poppler_structure_form_role_get_type"
7633
+ c:type="PopplerStructureFormRole">
7634
+ <member name="undefined"
7635
+ value="0"
7636
+ c:identifier="POPPLER_STRUCTURE_FORM_ROLE_UNDEFINED"
7637
+ glib:nick="undefined">
7638
+ </member>
7639
+ <member name="radio_button"
7640
+ value="1"
7641
+ c:identifier="POPPLER_STRUCTURE_FORM_ROLE_RADIO_BUTTON"
7642
+ glib:nick="radio-button">
7643
+ </member>
7644
+ <member name="push_button"
7645
+ value="2"
7646
+ c:identifier="POPPLER_STRUCTURE_FORM_ROLE_PUSH_BUTTON"
7647
+ glib:nick="push-button">
7648
+ </member>
7649
+ <member name="text_value"
7650
+ value="3"
7651
+ c:identifier="POPPLER_STRUCTURE_FORM_ROLE_TEXT_VALUE"
7652
+ glib:nick="text-value">
7653
+ </member>
7654
+ <member name="checkbox"
7655
+ value="4"
7656
+ c:identifier="POPPLER_STRUCTURE_FORM_ROLE_CHECKBOX"
7657
+ glib:nick="checkbox">
7658
+ </member>
7659
+ </enumeration>
7660
+ <enumeration name="StructureFormState"
7661
+ glib:type-name="PopplerStructureFormState"
7662
+ glib:get-type="poppler_structure_form_state_get_type"
7663
+ c:type="PopplerStructureFormState">
7664
+ <member name="on"
7665
+ value="0"
7666
+ c:identifier="POPPLER_STRUCTURE_FORM_STATE_ON"
7667
+ glib:nick="on">
7668
+ </member>
7669
+ <member name="off"
7670
+ value="1"
7671
+ c:identifier="POPPLER_STRUCTURE_FORM_STATE_OFF"
7672
+ glib:nick="off">
7673
+ </member>
7674
+ <member name="neutral"
7675
+ value="2"
7676
+ c:identifier="POPPLER_STRUCTURE_FORM_STATE_NEUTRAL"
7677
+ glib:nick="neutral">
7678
+ </member>
7679
+ </enumeration>
7680
+ <bitfield name="StructureGetTextFlags"
7681
+ glib:type-name="PopplerStructureGetTextFlags"
7682
+ glib:get-type="poppler_structure_get_text_flags_get_type"
7683
+ c:type="PopplerStructureGetTextFlags">
7684
+ <member name="none"
7685
+ value="0"
7686
+ c:identifier="POPPLER_STRUCTURE_GET_TEXT_NONE"
7687
+ glib:nick="none">
7688
+ <doc xml:space="preserve">No flags.</doc>
7689
+ </member>
7690
+ <member name="recursive"
7691
+ value="1"
7692
+ c:identifier="POPPLER_STRUCTURE_GET_TEXT_RECURSIVE"
7693
+ glib:nick="recursive">
7694
+ <doc xml:space="preserve">For non-leaf, non-content
7695
+ elements, recursively obtain the text from all the elements
7696
+ enclosed in the subtree.</doc>
7697
+ </member>
7698
+ </bitfield>
7699
+ <enumeration name="StructureGlyphOrientation"
7700
+ glib:type-name="PopplerStructureGlyphOrientation"
7701
+ glib:get-type="poppler_structure_glyph_orientation_get_type"
7702
+ c:type="PopplerStructureGlyphOrientation">
7703
+ <member name="auto"
7704
+ value="0"
7705
+ c:identifier="POPPLER_STRUCTURE_GLYPH_ORIENTATION_AUTO"
7706
+ glib:nick="auto">
7707
+ </member>
7708
+ <member name="0"
7709
+ value="0"
7710
+ c:identifier="POPPLER_STRUCTURE_GLYPH_ORIENTATION_0"
7711
+ glib:nick="0">
7712
+ </member>
7713
+ <member name="90"
7714
+ value="1"
7715
+ c:identifier="POPPLER_STRUCTURE_GLYPH_ORIENTATION_90"
7716
+ glib:nick="90">
7717
+ </member>
7718
+ <member name="180"
7719
+ value="2"
7720
+ c:identifier="POPPLER_STRUCTURE_GLYPH_ORIENTATION_180"
7721
+ glib:nick="180">
7722
+ </member>
7723
+ <member name="270"
7724
+ value="3"
7725
+ c:identifier="POPPLER_STRUCTURE_GLYPH_ORIENTATION_270"
7726
+ glib:nick="270">
7727
+ </member>
7728
+ </enumeration>
7729
+ <enumeration name="StructureInlineAlign"
7730
+ glib:type-name="PopplerStructureInlineAlign"
7731
+ glib:get-type="poppler_structure_inline_align_get_type"
7732
+ c:type="PopplerStructureInlineAlign">
7733
+ <member name="start"
7734
+ value="0"
7735
+ c:identifier="POPPLER_STRUCTURE_INLINE_ALIGN_START"
7736
+ glib:nick="start">
7737
+ </member>
7738
+ <member name="center"
7739
+ value="1"
7740
+ c:identifier="POPPLER_STRUCTURE_INLINE_ALIGN_CENTER"
7741
+ glib:nick="center">
7742
+ </member>
7743
+ <member name="end"
7744
+ value="2"
7745
+ c:identifier="POPPLER_STRUCTURE_INLINE_ALIGN_END"
7746
+ glib:nick="end">
7747
+ </member>
7748
+ </enumeration>
7749
+ <enumeration name="StructureListNumbering"
7750
+ glib:type-name="PopplerStructureListNumbering"
7751
+ glib:get-type="poppler_structure_list_numbering_get_type"
7752
+ c:type="PopplerStructureListNumbering">
7753
+ <member name="none"
7754
+ value="0"
7755
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_NONE"
7756
+ glib:nick="none">
7757
+ </member>
7758
+ <member name="disc"
7759
+ value="1"
7760
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_DISC"
7761
+ glib:nick="disc">
7762
+ </member>
7763
+ <member name="circle"
7764
+ value="2"
7765
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_CIRCLE"
7766
+ glib:nick="circle">
7767
+ </member>
7768
+ <member name="square"
7769
+ value="3"
7770
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_SQUARE"
7771
+ glib:nick="square">
7772
+ </member>
7773
+ <member name="decimal"
7774
+ value="4"
7775
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_DECIMAL"
7776
+ glib:nick="decimal">
7777
+ </member>
7778
+ <member name="upper_roman"
7779
+ value="5"
7780
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_UPPER_ROMAN"
7781
+ glib:nick="upper-roman">
7782
+ </member>
7783
+ <member name="lower_roman"
7784
+ value="6"
7785
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_LOWER_ROMAN"
7786
+ glib:nick="lower-roman">
7787
+ </member>
7788
+ <member name="upper_alpha"
7789
+ value="7"
7790
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_UPPER_ALPHA"
7791
+ glib:nick="upper-alpha">
7792
+ </member>
7793
+ <member name="lower_alpha"
7794
+ value="8"
7795
+ c:identifier="POPPLER_STRUCTURE_LIST_NUMBERING_LOWER_ALPHA"
7796
+ glib:nick="lower-alpha">
7797
+ </member>
7798
+ </enumeration>
7799
+ <enumeration name="StructurePlacement"
7800
+ glib:type-name="PopplerStructurePlacement"
7801
+ glib:get-type="poppler_structure_placement_get_type"
7802
+ c:type="PopplerStructurePlacement">
7803
+ <member name="block"
7804
+ value="0"
7805
+ c:identifier="POPPLER_STRUCTURE_PLACEMENT_BLOCK"
7806
+ glib:nick="block">
7807
+ </member>
7808
+ <member name="inline"
7809
+ value="1"
7810
+ c:identifier="POPPLER_STRUCTURE_PLACEMENT_INLINE"
7811
+ glib:nick="inline">
7812
+ </member>
7813
+ <member name="before"
7814
+ value="2"
7815
+ c:identifier="POPPLER_STRUCTURE_PLACEMENT_BEFORE"
7816
+ glib:nick="before">
7817
+ </member>
7818
+ <member name="start"
7819
+ value="3"
7820
+ c:identifier="POPPLER_STRUCTURE_PLACEMENT_START"
7821
+ glib:nick="start">
7822
+ </member>
7823
+ <member name="end"
7824
+ value="4"
7825
+ c:identifier="POPPLER_STRUCTURE_PLACEMENT_END"
7826
+ glib:nick="end">
7827
+ </member>
7828
+ </enumeration>
7829
+ <enumeration name="StructureRubyAlign"
7830
+ glib:type-name="PopplerStructureRubyAlign"
7831
+ glib:get-type="poppler_structure_ruby_align_get_type"
7832
+ c:type="PopplerStructureRubyAlign">
7833
+ <member name="start"
7834
+ value="0"
7835
+ c:identifier="POPPLER_STRUCTURE_RUBY_ALIGN_START"
7836
+ glib:nick="start">
7837
+ </member>
7838
+ <member name="center"
7839
+ value="1"
7840
+ c:identifier="POPPLER_STRUCTURE_RUBY_ALIGN_CENTER"
7841
+ glib:nick="center">
7842
+ </member>
7843
+ <member name="end"
7844
+ value="2"
7845
+ c:identifier="POPPLER_STRUCTURE_RUBY_ALIGN_END"
7846
+ glib:nick="end">
7847
+ </member>
7848
+ <member name="justify"
7849
+ value="3"
7850
+ c:identifier="POPPLER_STRUCTURE_RUBY_ALIGN_JUSTIFY"
7851
+ glib:nick="justify">
7852
+ </member>
7853
+ <member name="distribute"
7854
+ value="4"
7855
+ c:identifier="POPPLER_STRUCTURE_RUBY_ALIGN_DISTRIBUTE"
7856
+ glib:nick="distribute">
7857
+ </member>
7858
+ </enumeration>
7859
+ <enumeration name="StructureRubyPosition"
7860
+ glib:type-name="PopplerStructureRubyPosition"
7861
+ glib:get-type="poppler_structure_ruby_position_get_type"
7862
+ c:type="PopplerStructureRubyPosition">
7863
+ <member name="before"
7864
+ value="0"
7865
+ c:identifier="POPPLER_STRUCTURE_RUBY_POSITION_BEFORE"
7866
+ glib:nick="before">
7867
+ </member>
7868
+ <member name="after"
7869
+ value="1"
7870
+ c:identifier="POPPLER_STRUCTURE_RUBY_POSITION_AFTER"
7871
+ glib:nick="after">
7872
+ </member>
7873
+ <member name="warichu"
7874
+ value="2"
7875
+ c:identifier="POPPLER_STRUCTURE_RUBY_POSITION_WARICHU"
7876
+ glib:nick="warichu">
7877
+ </member>
7878
+ <member name="inline"
7879
+ value="3"
7880
+ c:identifier="POPPLER_STRUCTURE_RUBY_POSITION_INLINE"
7881
+ glib:nick="inline">
7882
+ </member>
7883
+ </enumeration>
7884
+ <enumeration name="StructureTableScope"
7885
+ glib:type-name="PopplerStructureTableScope"
7886
+ glib:get-type="poppler_structure_table_scope_get_type"
7887
+ c:type="PopplerStructureTableScope">
7888
+ <member name="row"
7889
+ value="0"
7890
+ c:identifier="POPPLER_STRUCTURE_TABLE_SCOPE_ROW"
7891
+ glib:nick="row">
7892
+ </member>
7893
+ <member name="column"
7894
+ value="1"
7895
+ c:identifier="POPPLER_STRUCTURE_TABLE_SCOPE_COLUMN"
7896
+ glib:nick="column">
7897
+ </member>
7898
+ <member name="both"
7899
+ value="2"
7900
+ c:identifier="POPPLER_STRUCTURE_TABLE_SCOPE_BOTH"
7901
+ glib:nick="both">
7902
+ </member>
7903
+ </enumeration>
7904
+ <enumeration name="StructureTextAlign"
7905
+ glib:type-name="PopplerStructureTextAlign"
7906
+ glib:get-type="poppler_structure_text_align_get_type"
7907
+ c:type="PopplerStructureTextAlign">
7908
+ <member name="start"
7909
+ value="0"
7910
+ c:identifier="POPPLER_STRUCTURE_TEXT_ALIGN_START"
7911
+ glib:nick="start">
7912
+ </member>
7913
+ <member name="center"
7914
+ value="1"
7915
+ c:identifier="POPPLER_STRUCTURE_TEXT_ALIGN_CENTER"
7916
+ glib:nick="center">
7917
+ </member>
7918
+ <member name="end"
7919
+ value="2"
7920
+ c:identifier="POPPLER_STRUCTURE_TEXT_ALIGN_END"
7921
+ glib:nick="end">
7922
+ </member>
7923
+ <member name="justify"
7924
+ value="3"
7925
+ c:identifier="POPPLER_STRUCTURE_TEXT_ALIGN_JUSTIFY"
7926
+ glib:nick="justify">
7927
+ </member>
7928
+ </enumeration>
7929
+ <enumeration name="StructureTextDecoration"
7930
+ glib:type-name="PopplerStructureTextDecoration"
7931
+ glib:get-type="poppler_structure_text_decoration_get_type"
7932
+ c:type="PopplerStructureTextDecoration">
7933
+ <member name="none"
7934
+ value="0"
7935
+ c:identifier="POPPLER_STRUCTURE_TEXT_DECORATION_NONE"
7936
+ glib:nick="none">
7937
+ </member>
7938
+ <member name="underline"
7939
+ value="1"
7940
+ c:identifier="POPPLER_STRUCTURE_TEXT_DECORATION_UNDERLINE"
7941
+ glib:nick="underline">
7942
+ </member>
7943
+ <member name="overline"
7944
+ value="2"
7945
+ c:identifier="POPPLER_STRUCTURE_TEXT_DECORATION_OVERLINE"
7946
+ glib:nick="overline">
7947
+ </member>
7948
+ <member name="linethrough"
7949
+ value="3"
7950
+ c:identifier="POPPLER_STRUCTURE_TEXT_DECORATION_LINETHROUGH"
7951
+ glib:nick="linethrough">
7952
+ </member>
7953
+ </enumeration>
7954
+ <enumeration name="StructureWritingMode"
7955
+ glib:type-name="PopplerStructureWritingMode"
7956
+ glib:get-type="poppler_structure_writing_mode_get_type"
7957
+ c:type="PopplerStructureWritingMode">
7958
+ <member name="lr_tb"
7959
+ value="0"
7960
+ c:identifier="POPPLER_STRUCTURE_WRITING_MODE_LR_TB"
7961
+ glib:nick="lr-tb">
7962
+ </member>
7963
+ <member name="rl_tb"
7964
+ value="1"
7965
+ c:identifier="POPPLER_STRUCTURE_WRITING_MODE_RL_TB"
7966
+ glib:nick="rl-tb">
7967
+ </member>
7968
+ <member name="tb_rl"
7969
+ value="2"
7970
+ c:identifier="POPPLER_STRUCTURE_WRITING_MODE_TB_RL"
7971
+ glib:nick="tb-rl">
7972
+ </member>
7973
+ </enumeration>
7974
+ <record name="TextAttributes"
7975
+ c:type="PopplerTextAttributes"
7976
+ version="0.18"
7977
+ glib:type-name="PopplerTextAttributes"
7978
+ glib:get-type="poppler_text_attributes_get_type"
7979
+ c:symbol-prefix="text_attributes">
7980
+ <doc xml:space="preserve">A #PopplerTextAttributes is used to describe text attributes of a range of text</doc>
7981
+ <field name="font_name" writable="1">
7982
+ <doc xml:space="preserve">font name</doc>
7983
+ <type name="utf8" c:type="gchar*"/>
7984
+ </field>
7985
+ <field name="font_size" writable="1">
7986
+ <doc xml:space="preserve">font size</doc>
7987
+ <type name="gdouble" c:type="gdouble"/>
7988
+ </field>
7989
+ <field name="is_underlined" writable="1">
7990
+ <doc xml:space="preserve">if text is underlined</doc>
7991
+ <type name="gboolean" c:type="gboolean"/>
7992
+ </field>
7993
+ <field name="color" writable="1">
7994
+ <doc xml:space="preserve">a #PopplerColor, the foreground color</doc>
7995
+ <type name="Color" c:type="PopplerColor"/>
7996
+ </field>
7997
+ <field name="start_index" writable="1">
7998
+ <doc xml:space="preserve">start position this text attributes apply</doc>
7999
+ <type name="gint" c:type="gint"/>
8000
+ </field>
8001
+ <field name="end_index" writable="1">
8002
+ <doc xml:space="preserve">end position this text text attributes apply</doc>
8003
+ <type name="gint" c:type="gint"/>
8004
+ </field>
8005
+ <constructor name="new"
8006
+ c:identifier="poppler_text_attributes_new"
8007
+ version="0.18">
8008
+ <doc xml:space="preserve">Creates a new #PopplerTextAttributes</doc>
8009
+ <return-value transfer-ownership="full">
8010
+ <doc xml:space="preserve">a new #PopplerTextAttributes, use poppler_text_attributes_free() to free it</doc>
8011
+ <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
8012
+ </return-value>
8013
+ </constructor>
8014
+ <method name="copy"
8015
+ c:identifier="poppler_text_attributes_copy"
8016
+ version="0.18">
8017
+ <doc xml:space="preserve">Creates a copy of @text_attrs</doc>
8018
+ <return-value transfer-ownership="full">
8019
+ <doc xml:space="preserve">a new allocated copy of @text_attrs</doc>
8020
+ <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
8021
+ </return-value>
8022
+ <parameters>
8023
+ <instance-parameter name="text_attrs" transfer-ownership="none">
8024
+ <doc xml:space="preserve">a #PopplerTextAttributes to copy</doc>
8025
+ <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
8026
+ </instance-parameter>
8027
+ </parameters>
8028
+ </method>
8029
+ <method name="free"
8030
+ c:identifier="poppler_text_attributes_free"
8031
+ version="0.18">
8032
+ <doc xml:space="preserve">Frees the given #PopplerTextAttributes</doc>
8033
+ <return-value transfer-ownership="none">
8034
+ <type name="none" c:type="void"/>
8035
+ </return-value>
8036
+ <parameters>
8037
+ <instance-parameter name="text_attrs" transfer-ownership="none">
8038
+ <doc xml:space="preserve">a #PopplerTextAttributes</doc>
8039
+ <type name="TextAttributes" c:type="PopplerTextAttributes*"/>
8040
+ </instance-parameter>
8041
+ </parameters>
8042
+ </method>
8043
+ </record>
8044
+ <record name="TextSpan"
8045
+ c:type="PopplerTextSpan"
8046
+ glib:type-name="PopplerTextSpan"
8047
+ glib:get-type="poppler_text_span_get_type"
8048
+ c:symbol-prefix="text_span">
8049
+ <method name="copy" c:identifier="poppler_text_span_copy" version="0.26">
8050
+ <doc xml:space="preserve">Makes a copy of a text span.</doc>
8051
+ <return-value transfer-ownership="full">
8052
+ <doc xml:space="preserve">A new #PopplerTextSpan</doc>
8053
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8054
+ </return-value>
8055
+ <parameters>
8056
+ <instance-parameter name="poppler_text_span"
8057
+ transfer-ownership="none">
8058
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8059
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8060
+ </instance-parameter>
8061
+ </parameters>
8062
+ </method>
8063
+ <method name="free" c:identifier="poppler_text_span_free" version="0.26">
8064
+ <doc xml:space="preserve">Frees a text span.</doc>
8065
+ <return-value transfer-ownership="none">
8066
+ <type name="none" c:type="void"/>
8067
+ </return-value>
8068
+ <parameters>
8069
+ <instance-parameter name="poppler_text_span"
8070
+ transfer-ownership="none">
8071
+ <doc xml:space="preserve">A #PopplerTextSpan</doc>
8072
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8073
+ </instance-parameter>
8074
+ </parameters>
8075
+ </method>
8076
+ <method name="get_color"
8077
+ c:identifier="poppler_text_span_get_color"
8078
+ version="0.26">
8079
+ <doc xml:space="preserve">Obtains the color in which the text is to be rendered.</doc>
8080
+ <return-value transfer-ownership="none">
8081
+ <type name="none" c:type="void"/>
8082
+ </return-value>
8083
+ <parameters>
8084
+ <instance-parameter name="poppler_text_span"
8085
+ transfer-ownership="none">
8086
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8087
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8088
+ </instance-parameter>
8089
+ <parameter name="color"
8090
+ direction="out"
8091
+ caller-allocates="1"
8092
+ transfer-ownership="none">
8093
+ <doc xml:space="preserve">a return location for a #PopplerColor</doc>
8094
+ <type name="Color" c:type="PopplerColor*"/>
8095
+ </parameter>
8096
+ </parameters>
8097
+ </method>
8098
+ <method name="get_font_name"
8099
+ c:identifier="poppler_text_span_get_font_name"
8100
+ version="0.26">
8101
+ <doc xml:space="preserve">Obtains the name of the font in which the span is to be rendered.</doc>
8102
+ <return-value transfer-ownership="none">
8103
+ <doc xml:space="preserve">A string containing the font name, or
8104
+ %NULL if a font is not defined.</doc>
8105
+ <type name="utf8" c:type="const gchar*"/>
8106
+ </return-value>
8107
+ <parameters>
8108
+ <instance-parameter name="poppler_text_span"
8109
+ transfer-ownership="none">
8110
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8111
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8112
+ </instance-parameter>
8113
+ </parameters>
8114
+ </method>
8115
+ <method name="get_text"
8116
+ c:identifier="poppler_text_span_get_text"
8117
+ version="0.26">
8118
+ <doc xml:space="preserve">Obtains the text contained in the span.</doc>
8119
+ <return-value transfer-ownership="none">
8120
+ <doc xml:space="preserve">A string.</doc>
8121
+ <type name="utf8" c:type="const gchar*"/>
8122
+ </return-value>
8123
+ <parameters>
8124
+ <instance-parameter name="poppler_text_span"
8125
+ transfer-ownership="none">
8126
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8127
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8128
+ </instance-parameter>
8129
+ </parameters>
8130
+ </method>
8131
+ <method name="is_bold_font"
8132
+ c:identifier="poppler_text_span_is_bold_font"
8133
+ version="0.26">
8134
+ <doc xml:space="preserve">Check whether a text span is meant to be rendered using a bold font.</doc>
8135
+ <return-value transfer-ownership="none">
8136
+ <doc xml:space="preserve">Whether the span uses bold font.</doc>
8137
+ <type name="gboolean" c:type="gboolean"/>
8138
+ </return-value>
8139
+ <parameters>
8140
+ <instance-parameter name="poppler_text_span"
8141
+ transfer-ownership="none">
8142
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8143
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8144
+ </instance-parameter>
8145
+ </parameters>
8146
+ </method>
8147
+ <method name="is_fixed_width_font"
8148
+ c:identifier="poppler_text_span_is_fixed_width_font"
8149
+ version="0.26">
8150
+ <doc xml:space="preserve">Check wether a text span is meant to be rendered using a fixed-width font.</doc>
8151
+ <return-value transfer-ownership="none">
8152
+ <doc xml:space="preserve">Whether the span uses a fixed-width font.</doc>
8153
+ <type name="gboolean" c:type="gboolean"/>
8154
+ </return-value>
8155
+ <parameters>
8156
+ <instance-parameter name="poppler_text_span"
8157
+ transfer-ownership="none">
8158
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8159
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8160
+ </instance-parameter>
8161
+ </parameters>
8162
+ </method>
8163
+ <method name="is_serif_font"
8164
+ c:identifier="poppler_text_span_is_serif_font"
8165
+ version="0.26">
8166
+ <doc xml:space="preserve">Check whether a text span is meant to be rendered using a serif font.</doc>
8167
+ <return-value transfer-ownership="none">
8168
+ <doc xml:space="preserve">Whether the span uses a serif font.</doc>
8169
+ <type name="gboolean" c:type="gboolean"/>
8170
+ </return-value>
8171
+ <parameters>
8172
+ <instance-parameter name="poppler_text_span"
8173
+ transfer-ownership="none">
8174
+ <doc xml:space="preserve">a #PopplerTextSpan</doc>
8175
+ <type name="TextSpan" c:type="PopplerTextSpan*"/>
8176
+ </instance-parameter>
8177
+ </parameters>
8178
+ </method>
8179
+ </record>
8180
+ <bitfield name="ViewerPreferences"
8181
+ glib:type-name="PopplerViewerPreferences"
8182
+ glib:get-type="poppler_viewer_preferences_get_type"
8183
+ c:type="PopplerViewerPreferences">
8184
+ <doc xml:space="preserve">Viewer preferences</doc>
8185
+ <member name="unset"
8186
+ value="0"
8187
+ c:identifier="POPPLER_VIEWER_PREFERENCES_UNSET"
8188
+ glib:nick="unset">
8189
+ <doc xml:space="preserve">no preferences set</doc>
8190
+ </member>
8191
+ <member name="hide_toolbar"
8192
+ value="1"
8193
+ c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_TOOLBAR"
8194
+ glib:nick="hide-toolbar">
8195
+ <doc xml:space="preserve">hider toolbars when document is active</doc>
8196
+ </member>
8197
+ <member name="hide_menubar"
8198
+ value="2"
8199
+ c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_MENUBAR"
8200
+ glib:nick="hide-menubar">
8201
+ <doc xml:space="preserve">hide menu bar when document is active</doc>
8202
+ </member>
8203
+ <member name="hide_windowui"
8204
+ value="4"
8205
+ c:identifier="POPPLER_VIEWER_PREFERENCES_HIDE_WINDOWUI"
8206
+ glib:nick="hide-windowui">
8207
+ <doc xml:space="preserve">hide UI elements in document's window</doc>
5379
8208
  </member>
5380
8209
  <member name="fit_window"
5381
8210
  value="8"
@@ -5402,11 +8231,6 @@ locations on a page and bounding boxes</doc>
5402
8231
  <doc xml:space="preserve">the predominant reading order for text is right to left</doc>
5403
8232
  </member>
5404
8233
  </bitfield>
5405
- <record name="_AttachmentClass" c:type="_PopplerAttachmentClass">
5406
- <field name="parent_class" writable="1">
5407
- <type name="GObject.ObjectClass" c:type="GObjectClass"/>
5408
- </field>
5409
- </record>
5410
8234
  <function name="date_parse"
5411
8235
  c:identifier="poppler_date_parse"
5412
8236
  version="0.12">