poppler 2.0.2-x86-mingw32 → 2.0.3-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (173) hide show
  1. checksums.yaml +7 -0
  2. data/README +1 -1
  3. data/Rakefile +69 -9
  4. data/ext/poppler/extconf.rb +5 -2
  5. data/ext/poppler/rbpoppler-action.c +242 -86
  6. data/ext/poppler/{rbpoppler-annotationcalloutline.c → rbpoppler-annotation-callout-line.c} +2 -3
  7. data/ext/poppler/{rbpoppler-annotationfreetext.c → rbpoppler-annotation-free-text.c} +2 -3
  8. data/ext/poppler/{rbpoppler-annotationmapping.c → rbpoppler-annotation-mapping.c} +2 -3
  9. data/ext/poppler/{rbpoppler-annotationmarkup.c → rbpoppler-annotation-markup.c} +5 -4
  10. data/ext/poppler/{rbpoppler-annotationtext.c → rbpoppler-annotation-text.c} +2 -7
  11. data/ext/poppler/{rbpoppler-buttonfield.c → rbpoppler-button-field.c} +0 -0
  12. data/ext/poppler/{rbpoppler-choicefield.c → rbpoppler-choice-field.c} +0 -0
  13. data/ext/poppler/{rbpoppler-fontinfo.c → rbpoppler-font-info.c} +2 -8
  14. data/ext/poppler/{rbpoppler-fontsiter.c → rbpoppler-fonts-iter.c} +5 -6
  15. data/ext/poppler/{rbpoppler-formfieldmapping.c → rbpoppler-form-field-mapping.c} +2 -3
  16. data/ext/poppler/{rbpoppler-imagemapping.c → rbpoppler-image-mapping.c} +2 -7
  17. data/ext/poppler/{rbpoppler-indexiter.c → rbpoppler-index-iter.c} +2 -3
  18. data/ext/poppler/{rbpoppler-linkmapping.c → rbpoppler-link-mapping.c} +2 -3
  19. data/ext/poppler/{rbpoppler-pagetransition.c → rbpoppler-page-transition.c} +2 -3
  20. data/ext/poppler/rbpoppler-page.c +0 -29
  21. data/ext/poppler/rbpoppler-private.h +13 -13
  22. data/ext/poppler/{rbpoppler-psfile.c → rbpoppler-ps-file.c} +2 -3
  23. data/ext/poppler/{rbpoppler-textfield.c → rbpoppler-text-field.c} +0 -0
  24. data/ext/poppler/rbpoppler.c +14 -22
  25. data/ext/poppler/rbpoppler.h +3 -6
  26. data/ext/poppler/rbpopplerconversions.h +1 -1
  27. data/lib/1.9/poppler.so +0 -0
  28. data/lib/2.0/poppler.so +0 -0
  29. data/sample/pdf2.rb +46 -10
  30. data/test/fixtures/image.png +0 -0
  31. data/test/run-test.rb +7 -4
  32. data/test/test_page.rb +1 -0
  33. data/vendor/local/bin/cjpeg.exe +0 -0
  34. data/vendor/local/bin/djpeg.exe +0 -0
  35. data/vendor/local/bin/jpegtran.exe +0 -0
  36. data/vendor/local/bin/libjpeg-9.dll +0 -0
  37. data/vendor/local/bin/libpoppler-44.dll +0 -0
  38. data/vendor/local/bin/libpoppler-glib-8.dll +0 -0
  39. data/vendor/local/bin/libsqlite3-0.dll +0 -0
  40. data/vendor/local/bin/pdfdetach.exe +0 -0
  41. data/vendor/local/bin/pdffonts.exe +0 -0
  42. data/vendor/local/bin/pdfimages.exe +0 -0
  43. data/vendor/local/bin/pdfinfo.exe +0 -0
  44. data/vendor/local/bin/pdfseparate.exe +0 -0
  45. data/vendor/local/bin/pdftocairo.exe +0 -0
  46. data/vendor/local/bin/pdftohtml.exe +0 -0
  47. data/vendor/local/bin/pdftoppm.exe +0 -0
  48. data/vendor/local/bin/pdftops.exe +0 -0
  49. data/vendor/local/bin/pdftotext.exe +0 -0
  50. data/vendor/local/bin/pdfunite.exe +0 -0
  51. data/vendor/local/bin/rdjpgcom.exe +0 -0
  52. data/vendor/local/bin/sqlite3.exe +0 -0
  53. data/vendor/local/bin/wrjpgcom.exe +0 -0
  54. data/vendor/local/include/jconfig.h +8 -0
  55. data/vendor/local/include/jerror.h +2 -2
  56. data/vendor/local/include/jmorecfg.h +28 -7
  57. data/vendor/local/include/jpeglib.h +46 -8
  58. data/vendor/local/include/poppler/glib/poppler-action.h +156 -2
  59. data/vendor/local/include/poppler/glib/poppler-annot.h +57 -1
  60. data/vendor/local/include/poppler/glib/poppler-attachment.h +17 -0
  61. data/vendor/local/include/poppler/glib/poppler-document.h +133 -26
  62. data/vendor/local/include/poppler/glib/poppler-enums.h +8 -0
  63. data/vendor/local/include/poppler/glib/poppler-features.h +58 -4
  64. data/vendor/local/include/poppler/glib/poppler-form-field.h +4 -0
  65. data/vendor/local/include/poppler/glib/poppler-media.h +73 -0
  66. data/vendor/local/include/poppler/glib/poppler-movie.h +42 -0
  67. data/vendor/local/include/poppler/glib/poppler-page.h +133 -44
  68. data/vendor/local/include/poppler/glib/poppler.h +125 -24
  69. data/vendor/local/include/sqlite3.h +7338 -0
  70. data/vendor/local/include/sqlite3ext.h +487 -0
  71. data/vendor/local/lib/girepository-1.0/Poppler-0.18.typelib +0 -0
  72. data/vendor/local/lib/libjpeg.a +0 -0
  73. data/vendor/local/lib/libjpeg.dll.a +0 -0
  74. data/vendor/local/lib/libjpeg.la +41 -0
  75. data/vendor/local/lib/libpoppler-glib.a +0 -0
  76. data/vendor/local/lib/libpoppler-glib.dll.a +0 -0
  77. data/vendor/local/lib/libpoppler-glib.la +41 -0
  78. data/vendor/local/lib/libpoppler.a +0 -0
  79. data/vendor/local/lib/libpoppler.dll.a +0 -0
  80. data/vendor/local/lib/libpoppler.la +41 -0
  81. data/vendor/local/lib/libsqlite3.a +0 -0
  82. data/vendor/local/lib/libsqlite3.dll.a +0 -0
  83. data/vendor/local/lib/libsqlite3.la +41 -0
  84. data/vendor/local/lib/pkgconfig/poppler-cairo.pc +9 -0
  85. data/vendor/local/lib/pkgconfig/poppler-glib.pc +3 -3
  86. data/vendor/local/lib/pkgconfig/poppler-splash.pc +2 -2
  87. data/vendor/local/lib/pkgconfig/poppler.pc +1 -1
  88. data/vendor/local/lib/pkgconfig/sqlite3.pc +13 -0
  89. data/vendor/local/share/gir-1.0/Poppler-0.18.gir +5452 -0
  90. data/vendor/local/share/gtk-doc/html/poppler/PopplerAnnot.html +1671 -0
  91. data/vendor/local/share/gtk-doc/html/poppler/PopplerAttachment.html +214 -0
  92. data/vendor/local/share/gtk-doc/html/poppler/PopplerDocument.html +2587 -0
  93. data/vendor/local/share/gtk-doc/html/poppler/PopplerFormField.html +1070 -0
  94. data/vendor/local/share/gtk-doc/html/poppler/PopplerLayer.html +228 -0
  95. data/vendor/local/share/gtk-doc/html/poppler/PopplerMedia.html +306 -0
  96. data/vendor/local/share/gtk-doc/html/poppler/PopplerMovie.html +156 -0
  97. data/vendor/local/share/gtk-doc/html/poppler/PopplerPage.html +2132 -0
  98. data/vendor/local/share/gtk-doc/html/poppler/annotation-glossary.html +71 -0
  99. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-12.html +128 -0
  100. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-14.html +107 -0
  101. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-16.html +185 -0
  102. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-18.html +77 -0
  103. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-20.html +42 -0
  104. data/vendor/local/share/gtk-doc/html/poppler/api-index-0-22.html +62 -0
  105. data/vendor/local/share/gtk-doc/html/poppler/api-index-deprecated.html +42 -0
  106. data/vendor/local/share/gtk-doc/html/poppler/api-index-full.html +1352 -0
  107. data/vendor/local/share/gtk-doc/html/poppler/ch01.html +21 -19
  108. data/vendor/local/share/gtk-doc/html/poppler/home.png +0 -0
  109. data/vendor/local/share/gtk-doc/html/poppler/index.html +35 -18
  110. data/vendor/local/share/gtk-doc/html/poppler/index.sgml +548 -300
  111. data/vendor/local/share/gtk-doc/html/poppler/left.png +0 -0
  112. data/vendor/local/share/gtk-doc/html/poppler/poppler-PopplerAction.html +662 -0
  113. data/vendor/local/share/gtk-doc/html/poppler/poppler-Version-and-Features-Information.html +145 -0
  114. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler.html +319 -364
  115. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp2 +506 -265
  116. data/vendor/local/share/gtk-doc/html/poppler/right.png +0 -0
  117. data/vendor/local/share/gtk-doc/html/poppler/style.css +153 -54
  118. data/vendor/local/share/gtk-doc/html/poppler/up.png +0 -0
  119. data/vendor/local/share/license/poppler/AUTHORS +5 -0
  120. data/vendor/local/share/license/poppler/COPYING +339 -0
  121. data/vendor/local/share/man/man1/cjpeg.1 +51 -10
  122. data/vendor/local/share/man/man1/djpeg.1 +5 -4
  123. data/vendor/local/share/man/man1/jpegtran.1 +15 -2
  124. data/vendor/local/share/man/man1/pdfdetach.1 +86 -0
  125. data/vendor/local/share/man/man1/pdffonts.1 +16 -7
  126. data/vendor/local/share/man/man1/pdfimages.1 +114 -7
  127. data/vendor/local/share/man/man1/pdfinfo.1 +16 -7
  128. data/vendor/local/share/man/man1/pdfseparate.1 +49 -0
  129. data/vendor/local/share/man/man1/pdftocairo.1 +266 -0
  130. data/vendor/local/share/man/man1/pdftohtml.1 +30 -8
  131. data/vendor/local/share/man/man1/pdftoppm.1 +42 -12
  132. data/vendor/local/share/man/man1/pdftops.1 +26 -10
  133. data/vendor/local/share/man/man1/pdftotext.1 +18 -7
  134. data/vendor/local/share/man/man1/pdfunite.1 +33 -0
  135. data/vendor/local/share/man/man1/sqlite3.1 +229 -0
  136. metadata +107 -64
  137. data/vendor/local/bin/libgcc_s_dw2-1.dll +0 -0
  138. data/vendor/local/bin/libjpeg-7.dll +0 -0
  139. data/vendor/local/bin/libpng12-0.dll +0 -0
  140. data/vendor/local/bin/libpoppler-5.dll +0 -0
  141. data/vendor/local/bin/libpoppler-glib-4.dll +0 -0
  142. data/vendor/local/include/libpng12/png.h +0 -3726
  143. data/vendor/local/include/libpng12/pngconf.h +0 -1508
  144. data/vendor/local/include/png.h +0 -3726
  145. data/vendor/local/include/pngconf.h +0 -1508
  146. data/vendor/local/lib/libpng.def +0 -366
  147. data/vendor/local/lib/libpng.lib +0 -0
  148. data/vendor/local/lib/libpng12.dll.a +0 -0
  149. data/vendor/local/lib/pkgconfig/libpng.pc +0 -11
  150. data/vendor/local/lib/pkgconfig/libpng12.pc +0 -11
  151. data/vendor/local/manifest/jpeg-dev_7-1_win32.mft +0 -18
  152. data/vendor/local/manifest/jpeg_7-1_win32.mft +0 -2
  153. data/vendor/local/manifest/libpng-dev_1.2.40-1_win32.mft +0 -15
  154. data/vendor/local/manifest/libpng_1.2.40-1_win32.mft +0 -2
  155. data/vendor/local/manifest/poppler-dev_0.12.0-1_win32.mft +0 -49
  156. data/vendor/local/manifest/poppler_0.12.0-1_win32.mft +0 -4
  157. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-action.html +0 -386
  158. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-annot.html +0 -854
  159. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-attachment.html +0 -205
  160. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-document.html +0 -1122
  161. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-enums.html +0 -412
  162. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-features.html +0 -143
  163. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-form-field.html +0 -871
  164. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-layer.html +0 -214
  165. data/vendor/local/share/gtk-doc/html/poppler/poppler-poppler-page.html +0 -1258
  166. data/vendor/local/share/gtk-doc/html/poppler/poppler.devhelp +0 -281
  167. data/vendor/local/share/man/man3/libpng.3 +0 -4349
  168. data/vendor/local/share/man/man3/libpngpf.3 +0 -790
  169. data/vendor/local/share/man/man5/png.5 +0 -74
  170. data/vendor/local/src/tml/packaging/jpeg_7-1_win32.log +0 -249
  171. data/vendor/local/src/tml/packaging/jpeg_7-1_win32.sh +0 -44
  172. data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.log +0 -269
  173. data/vendor/local/src/tml/packaging/libpng_1.2.40-1_win32.sh +0 -63
@@ -0,0 +1,49 @@
1
+ .\" Copyright 2011 The Poppler Developers - http://poppler.freedesktop.org
2
+ .TH pdfseparate 1 "15 September 2011"
3
+ .SH NAME
4
+ pdfseparate \- Portable Document Format (PDF) page extractor
5
+ .SH SYNOPSIS
6
+ .B pdfseparate
7
+ [options]
8
+ .I PDF-file PDF-page-pattern
9
+ .SH DESCRIPTION
10
+ .B pdfseparate
11
+ extract single pages from a Portable Document Format (PDF).
12
+ .PP
13
+ pdfseparate reads the PDF file
14
+ .IR PDF-file ,
15
+ extracts one or more pages, and writes one PDF file for each page to
16
+ .IR PDF-page-pattern ,
17
+ PDF-page-pattern should contain
18
+ .BR %d .
19
+ %d is replaced by the page number.
20
+ .TP
21
+ The PDF-file should not be encrypted.
22
+ .SH OPTIONS
23
+ .TP
24
+ .BI \-f " number"
25
+ Specifies the first page to extract. If \-f is omitted, extraction starts with page 1.
26
+ .TP
27
+ .BI \-l " number"
28
+ Specifies the last page to extract. If \-l is omitted, extraction ends with the last page.
29
+ .TP
30
+ .B \-v
31
+ Print copyright and version information.
32
+ .TP
33
+ .B \-h
34
+ Print usage information.
35
+ .RB ( \-help
36
+ and
37
+ .B \-\-help
38
+ are equivalent.)
39
+ .SH EXAMPLE
40
+ pdfseparate sample.pdf sample-%d.pdf
41
+ .TP
42
+ extracts all pages from sample.pdf, if i.e. sample.pdf has 3 pages, it produces
43
+ .TP
44
+ sample-1.pdf, sample-2.pdf, sample-3.pdf
45
+ .SH AUTHOR
46
+ The pdfseparate software and documentation are copyright 1996-2004 Glyph
47
+ & Cog, LLC and copyright 2005-2011 The Poppler Developers - http://poppler.freedesktop.org
48
+ .SH "SEE ALSO"
49
+ .BR pdfunite (1),
@@ -0,0 +1,266 @@
1
+ .TH pdftoppm 1
2
+ .SH NAME
3
+ pdftocairo \- Portable Document Format (PDF) to PNG/JPEG/TIFF/PDF/PS/EPS/SVG using cairo
4
+ .SH SYNOPSIS
5
+ .B pdftocairo
6
+ [options]
7
+ .IR PDF-file
8
+ .RI [ output-file ]
9
+ .SH DESCRIPTION
10
+ .B pdftocairo
11
+ converts Portable Document Format (PDF) files, using the cairo output device of the poppler PDF library, to any of the following output formats:
12
+ .IP \(bu
13
+ Portable Network Graphics (PNG)
14
+ .IP \(bu
15
+ JPEG Interchange Format (JPEG)
16
+ .IP \(bu
17
+ Tagged Image File Format (TIFF)
18
+ .IP \(bu
19
+ Portable Document Format (PDF)
20
+ .IP \(bu
21
+ PostScript (PS)
22
+ .IP \(bu
23
+ Encapsulated PostScript (EPS)
24
+ .IP \(bu
25
+ Scalable Vector Graphics (SVG)
26
+ .PP
27
+ .B pdftocairo
28
+ reads the PDF file,
29
+ .IR PDF-file ,
30
+ and writes to
31
+ .IR output-file .
32
+ The image formats (PNG, JPEG, and TIFF) generate one file per page with the page number and file type appended to
33
+ .IR output-file
34
+ (except when \-singlefile is used).
35
+ When the output format is a vector format (PDF, PS, EPS, and SVG) or when \-singlefile is used,
36
+ .IR output-file
37
+ is the full filename.
38
+
39
+ If the
40
+ .IR PDF-file
41
+ is \*(lq\-\*(rq , the PDF is read from stdin.
42
+ If the
43
+ .IR output-file
44
+ is \*(lq\-\*(rq , the output file will be written to stdout. Using stdout is not valid with image formats unless \-singlefile is used.
45
+ If
46
+ .IR output-file
47
+ is not used, the output filename will be derived from the
48
+ .IR PDF-file
49
+ filename.
50
+ .PP
51
+ Not all options are valid with all output formats. One (and only one) of the output format options (\-png, \-jpeg, \-tiff, \-pdf, \-ps, \-eps, or \-svg) must be used.
52
+ .PP
53
+ The resolution options (\-r, \-rx, \-ry) set the resolution of the
54
+ image output formats. The image dimensions will depend on the PDF page
55
+ size and the resolution. For the vector outputs, regions of the page
56
+ that can not be represented natively in the output format (eg
57
+ translucency in PS) will be rasterized at the resolution specified by
58
+ the resolution options.
59
+ .PP
60
+ The \-scale-to options may be used to set a fixed image size. The
61
+ image resolution will vary with the page size.
62
+ .PP
63
+ The cropping options (\-x, \-y, \-W, and \-H) use units of pixels with
64
+ the image formats and PostScript points (1/72 inch) with the vector
65
+ formats. When cropping is used with vector output the cropped region is
66
+ centered unless \-nocenter is used in which case the cropped region is
67
+ at the top left (SVG) or bottom left (PDF, PS, EPS).
68
+ .PP
69
+ .SH OPTIONS
70
+ .TP
71
+ .BI \-png
72
+ Generates a PNG file(s)
73
+ .TP
74
+ .BI \-jpeg
75
+ Generates a JPEG file(s)
76
+ .TP
77
+ .BI \-tiff
78
+ Generates a TIFF file(s)
79
+ .TP
80
+ .BI \-pdf
81
+ Generates a PDF file
82
+ .TP
83
+ .BI \-ps
84
+ Generate a PS file
85
+ .TP
86
+ .BI \-eps
87
+ Generate an EPS file. An EPS file contains a single image, so if you
88
+ use this option with a multi-page PDF file, you must use \-f and \-l
89
+ to specify a single page. The page size options (\-origpagesizes,
90
+ \-paper, \-paperw, \-paperh) can not be used with this option.
91
+ .TP
92
+ .BI \-svg
93
+ Generate a SVG (Scalable Vector Graphics) file
94
+ .TP
95
+ .BI \-f " number"
96
+ Specifies the first page to convert.
97
+ .TP
98
+ .BI \-l " number"
99
+ Specifies the last page to convert.
100
+ .TP
101
+ .B \-o
102
+ Generates only the odd numbered pages.
103
+ .TP
104
+ .B \-e
105
+ Generates only the even numbered pages.
106
+ .TP
107
+ .BI \-singlefile
108
+ Writes only the first page and does not add digits.
109
+ .TP
110
+ .BI \-r " number"
111
+ Specifies the X and Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
112
+ .TP
113
+ .BI \-rx " number"
114
+ Specifies the X resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
115
+ .TP
116
+ .BI \-ry " number"
117
+ Specifies the Y resolution, in pixels per inch of image files (or rasterized regions in vector output). The default is 150 PPI.
118
+ .TP
119
+ .BI \-scale-to " number"
120
+ Scales the long side of each page (width for landscape pages, height
121
+ for portrait pages) to fit in scale-to pixels. The size of the short
122
+ side will be determined by the aspect ratio of the page (PNG/JPEG/TIFF only).
123
+ .TP
124
+ .BI \-scale-to-x " number"
125
+ Scales each page horizontally to fit in scale-to-x pixels. If
126
+ scale-to-y is set to -1, the vertical size will determined by the
127
+ aspect ratio of the page (PNG/JPEG/TIFF only).
128
+ .TP
129
+ .BI \-scale-to-y " number"
130
+ Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
131
+ is set to -1, the horizontal size will determined by the aspect ratio
132
+ of the page (PNG/JPEG/TIFF only).
133
+ .TP
134
+ .BI \-x " number"
135
+ Specifies the x-coordinate of the crop area top left corner in pixels (image output) or points (vector output)
136
+ .TP
137
+ .BI \-y " number"
138
+ Specifies the y-coordinate of the crop area top left corner in pixels (image output) or points (vector output)
139
+ .TP
140
+ .BI \-W " number"
141
+ Specifies the width of crop area in pixels (image output) or points (vector output) (default is 0)
142
+ .TP
143
+ .BI \-H " number"
144
+ Specifies the height of crop area in pixels (image output) or points (vector output) (default is 0)
145
+ .TP
146
+ .BI \-sz " number"
147
+ Specifies the size of crop square in pixels (image output) or points (vector output) (sets \-W and \-H)
148
+ .TP
149
+ .B \-cropbox
150
+ Uses the crop box rather than media box when generating the files
151
+ .TP
152
+ .B \-mono
153
+ Generate a monochrome file (PNG and TIFF only).
154
+ .TP
155
+ .B \-gray
156
+ Generate a grayscale file (PNG, JPEG, and TIFF only).
157
+ .TP
158
+ .B \-transp
159
+ Use a transparent page color instead of white (PNG and TIFF only).
160
+ .TP
161
+ .BI \-icc " icc-file"
162
+ Use the specified ICC file as the output profile (PNG only). The profile will be embedded in the PNG file.
163
+ .TP
164
+ .B \-level2
165
+ Generate Level 2 PostScript (PS only).
166
+ .TP
167
+ .B \-level3
168
+ Generate Level 3 PostScript (PS only). This enables all Level 2 features plus
169
+ shading patterns and masked images. This is the default setting.
170
+ .TP
171
+ .B \-origpagesizes
172
+ Generate a file with variable page sizes and orientations (PS and PDF
173
+ only). The size of each page will be the original page in the PDF
174
+ file. If the output is PS the file will contain %%DocumentMedia and
175
+ %%PageMedia DSC comments specifying the size of each page. Any
176
+ specification of the page size via \-paper, \-paperw, or \-paperh will
177
+ get overridden as long as each page of the PDF file has a defined
178
+ paper size.
179
+ .TP
180
+ .BI \-paper " size"
181
+ Set the paper size to one of "letter", "legal", "A4", or "A3"
182
+ (PS,PDF,SVG only). This can also be set to "match", which will set
183
+ the paper size to match the size specified in the PDF
184
+ file. \-origpagesizes overrides this setting if the PDF file has
185
+ defined page sizes.
186
+ .TP
187
+ .BI \-paperw " size"
188
+ Set the paper width, in points (PS,PDF,SVG only). \-origpagesizes overrides this setting
189
+ if the PDF file has defined page sizes.
190
+ .TP
191
+ .BI \-paperh " size"
192
+ Set the paper height, in points (PS,PDF,SVG only). \-origpagesizes overrides this setting
193
+ if the PDF file has defined page sizes.
194
+ .TP
195
+ .B \-nocrop
196
+ By default, output is cropped to the CropBox specified in the PDF
197
+ file. This option disables cropping.
198
+ .TP
199
+ .B \-expand
200
+ Expand PDF pages smaller than the paper to fill the paper (PS,PDF,SVG only). By
201
+ default, these pages are not scaled.
202
+ .TP
203
+ .B \-noshrink
204
+ Don't scale PDF pages which are larger than the paper (PS,PDF,SVG only). By default,
205
+ pages larger than the paper are shrunk to fit.
206
+ .TP
207
+ .B \-nocenter
208
+ By default, PDF pages smaller than the paper (after any scaling) are
209
+ centered on the paper. This option causes them to be aligned to the
210
+ lower-left corner of the paper instead (PS,PDF,SVG only).
211
+ .TP
212
+ .B \-duplex
213
+ Adds the %%IncludeFeature: *Duplex DuplexNoTumble DSC comment to the
214
+ PostScript file (PS only). This tells the print manager to enable duplexing.
215
+ .TP
216
+ .BI \-opw " password"
217
+ Specify the owner password for the PDF file. Providing this will
218
+ bypass all security restrictions.
219
+ .TP
220
+ .BI \-upw " password"
221
+ Specify the user password for the PDF file.
222
+ .TP
223
+ .B \-q
224
+ Don't print any messages or errors.
225
+ .TP
226
+ .B \-v
227
+ Print copyright and version information.
228
+ .TP
229
+ .B \-h
230
+ Print usage information.
231
+ .RB ( \-help
232
+ and
233
+ .B \-\-help
234
+ are equivalent.)
235
+ .SH EXIT CODES
236
+ The poppler tools use the following exit codes:
237
+ .TP
238
+ 0
239
+ No error.
240
+ .TP
241
+ 1
242
+ Error opening a PDF file.
243
+ .TP
244
+ 2
245
+ Error opening an output file.
246
+ .TP
247
+ 3
248
+ Error related to PDF permissions.
249
+ .TP
250
+ 4
251
+ Error related to ICC profile.
252
+ .TP
253
+ 99
254
+ Other error.
255
+ .SH AUTHOR
256
+ The pdftocairo software and documentation are copyright 1996-2004 Glyph
257
+ & Cog, LLC and copyright 2005-2011 The Poppler Developers.
258
+ .SH "SEE ALSO"
259
+ .BR pdfdetach (1),
260
+ .BR pdffonts (1),
261
+ .BR pdfimages (1),
262
+ .BR pdfinfo (1),
263
+ .BR pdftohtml (1),
264
+ .BR pdftoppm (1),
265
+ .BR pdftops (1),
266
+ .BR pdftotext (1)
@@ -2,10 +2,10 @@
2
2
  .\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
3
3
  .\" other parms are allowed: see man(7), man(1)
4
4
  .SH NAME
5
- pdftohtml \- program to convert pdf files into html, xml and png images
5
+ pdftohtml \- program to convert PDF files into HTML, XML and PNG images
6
6
  .SH SYNOPSIS
7
7
  .B pdftohtml
8
- .I "[options] <PDF-file> [<html-file> <xml-file>]"
8
+ .I "[options] <PDF-file> [<HTML-file> <XML-file>]"
9
9
  .SH "DESCRIPTION"
10
10
  This manual page documents briefly the
11
11
  .BR pdftohtml
@@ -14,7 +14,7 @@ This manual page was written for the Debian GNU/Linux distribution
14
14
  because the original program does not have a manual page.
15
15
  .PP
16
16
  .B pdftohtml
17
- is a program that converts pdf documents into html. It generates its output in
17
+ is a program that converts PDF documents into HTML. It generates its output in
18
18
  the current working directory.
19
19
  .SH OPTIONS
20
20
  A summary of options are included below.
@@ -29,7 +29,7 @@ first page to print
29
29
  last page to print
30
30
  .TP
31
31
  .B \-q
32
- dont print any messages or errors
32
+ do not print any messages or errors
33
33
  .TP
34
34
  .B \-v
35
35
  print copyright and version info
@@ -40,6 +40,9 @@ exchange .pdf links with .html
40
40
  .B \-c
41
41
  generate complex output
42
42
  .TP
43
+ .B \-s
44
+ generate single HTML that includes all pages
45
+ .TP
43
46
  .B \-i
44
47
  ignore images
45
48
  .TP
@@ -50,7 +53,7 @@ generate no frames. Not supported in complex output mode.
50
53
  use standard output
51
54
  .TP
52
55
  .B \-zoom <fp>
53
- zoom the pdf document (default 1.5)
56
+ zoom the PDF document (default 1.5)
54
57
  .TP
55
58
  .B \-xml
56
59
  output for XML post-processing
@@ -67,19 +70,38 @@ user password (for encrypted files)
67
70
  .B \-hidden
68
71
  force hidden text extraction
69
72
  .TP
70
- .B \-dev
71
- output device name for Ghostscript (png16m, jpeg etc)
73
+ 3.B \-fmt
74
+ image file format for Splash output (png or jpg).
75
+ If complex is selected, but \-fmt is not specified,
76
+ \-fmt png will be assumed
72
77
  .TP
73
78
  .B \-nomerge
74
79
  do not merge paragraphs
75
80
  .TP
76
81
  .B \-nodrm
77
82
  override document DRM settings
83
+ .TP
84
+ .B \-wbt <fp>
85
+ adjust the word break threshold percent. Default is 10.
86
+ Word break occurs when distance between two adjacent characters is
87
+ greater than this percent of character height.
88
+ .TP
89
+ .B \-fontfullname
90
+ outputs the font name without any substitutions.
78
91
 
79
92
  .SH AUTHOR
80
93
 
81
94
  Pdftohtml was developed by Gueorgui Ovtcharov and Rainer Dorsch. It is
82
95
  based and benefits a lot from Derek Noonburg's xpdf package.
83
96
 
84
- This manual page was written by S�ren Boll Overgaard <boll@debian.org>,
97
+ This manual page was written by Søren Boll Overgaard <boll@debian.org>,
85
98
  for the Debian GNU/Linux system (but may be used by others).
99
+ .SH "SEE ALSO"
100
+ .BR pdfdetach (1),
101
+ .BR pdffonts (1),
102
+ .BR pdfimages (1),
103
+ .BR pdfinfo (1),
104
+ .BR pdftocairo (1),
105
+ .BR pdftoppm (1),
106
+ .BR pdftops (1),
107
+ .BR pdftotext (1)
@@ -1,8 +1,8 @@
1
- .\" Copyright 2004 Glyph & Cog, LLC
2
- .TH pdftoppm 1 "22 January 2004"
1
+ .\" Copyright 2005-2011 Glyph & Cog, LLC
2
+ .TH pdftoppm 1 "15 August 2011"
3
3
  .SH NAME
4
4
  pdftoppm \- Portable Document Format (PDF) to Portable Pixmap (PPM)
5
- converter (version 3.00)
5
+ converter (version 3.03)
6
6
  .SH SYNOPSIS
7
7
  .B pdftoppm
8
8
  [options]
@@ -17,9 +17,9 @@ Graymap (PGM) format, or monochrome image files in Portable Bitmap
17
17
  Pdftoppm reads the PDF file,
18
18
  .IR PDF-file ,
19
19
  and writes one PPM file for each page,
20
- .IR PPM-root - nnnnnn .ppm,
20
+ .IR PPM-root - number .ppm,
21
21
  where
22
- .I nnnnnn
22
+ .I number
23
23
  is the page number.
24
24
  .SH OPTIONS
25
25
  .TP
@@ -29,6 +29,15 @@ Specifies the first page to convert.
29
29
  .BI \-l " number"
30
30
  Specifies the last page to convert.
31
31
  .TP
32
+ .B \-o
33
+ Generates only the odd numbered pages.
34
+ .TP
35
+ .B \-e
36
+ Generates only the even numbered pages.
37
+ .TP
38
+ .BI \-singlefile
39
+ Writes only the first page and does not add digits.
40
+ .TP
32
41
  .BI \-r " number"
33
42
  Specifies the X and Y resolution, in DPI. The default is 150 DPI.
34
43
  .TP
@@ -39,13 +48,19 @@ Specifies the X resolution, in DPI. The default is 150 DPI.
39
48
  Specifies the Y resolution, in DPI. The default is 150 DPI.
40
49
  .TP
41
50
  .BI \-scale-to " number"
42
- Scales each page to fit in scale-to*scale-to pixel box.
51
+ Scales the long side of each page (width for landscape pages, height
52
+ for portrait pages) to fit in scale-to pixels. The size of the short
53
+ side will be determined by the aspect ratio of the page.
43
54
  .TP
44
55
  .BI \-scale-to-x " number"
45
- Scales each page horizontally to fit in scale-to-x pixels.
56
+ Scales each page horizontally to fit in scale-to-x pixels. If
57
+ scale-to-y is set to -1, the vertical size will determined by the
58
+ aspect ratio of the page.
46
59
  .TP
47
60
  .BI \-scale-to-y " number"
48
- Scales each page vertically to fit in scale-to-y pixels.
61
+ Scales each page vertically to fit in scale-to-y pixels. If scale-to-x
62
+ is set to -1, the horizontal size will determined by the aspect ratio
63
+ of the page.
49
64
  .TP
50
65
  .BI \-x " number"
51
66
  Specifies the x-coordinate of the crop area top left corner
@@ -62,6 +77,9 @@ Specifies the height of crop area in pixels (default is 0)
62
77
  .BI \-sz " number"
63
78
  Specifies the size of crop square in pixels (sets W and H)
64
79
  .TP
80
+ .B \-cropbox
81
+ Uses the crop box rather than media box when generating the files
82
+ .TP
65
83
  .B \-mono
66
84
  Generate a monochrome PBM file (instead of a color PPM file).
67
85
  .TP
@@ -71,6 +89,15 @@ Generate a grayscale PGM file (instead of a color PPM file).
71
89
  .B \-png
72
90
  Generates a PNG file instead a PPM file.
73
91
  .TP
92
+ .B \-jpeg
93
+ Generates a JPEG file instead a PPM file.
94
+ .TP
95
+ .B \-tiff
96
+ Generates a TIFF file instead a PPM file.
97
+ .TP
98
+ .BI \-tiffcompression " none | packbits | jpeg | lzw | deflate"
99
+ Specifies the TIFF compression type. This defaults to "none".
100
+ .TP
74
101
  .BI \-freetype " yes | no"
75
102
  Enable or disable FreeType (a TrueType / Type 1 font rasterizer).
76
103
  This defaults to "yes".
@@ -118,11 +145,14 @@ Error related to PDF permissions.
118
145
  99
119
146
  Other error.
120
147
  .SH AUTHOR
121
- The pdftoppm software and documentation are copyright 1996-2004 Glyph
148
+ The pdftoppm software and documentation are copyright 1996-2011 Glyph
122
149
  & Cog, LLC.
123
150
  .SH "SEE ALSO"
124
- .BR pdftops (1),
125
- .BR pdftotext (1),
126
- .BR pdfinfo (1),
151
+ .BR pdfdetach (1),
127
152
  .BR pdffonts (1),
128
153
  .BR pdfimages (1),
154
+ .BR pdfinfo (1),
155
+ .BR pdftocairo (1),
156
+ .BR pdftohtml (1),
157
+ .BR pdftops (1),
158
+ .BR pdftotext (1)