Commit 4b908ade7079d9d7632a9ee0de3ce9c09a418fc4
1 parent
adbcfcff
Update header documentation and ChangeLog entry for PCLm
Showing
2 changed files
with
17 additions
and
2 deletions
ChangeLog
| 1 | +2017-08-21 Jay Berkenbilt <ejb@ql.org> | ||
| 2 | + | ||
| 3 | + * Add support for writing PCLm files. Most of the work was done by | ||
| 4 | + Sahil Arora <sahilarora.535@gmail.com> as part of a Google Summer | ||
| 5 | + of Code project in 2017. PCLm support is useful only for clients | ||
| 6 | + that specifically know how to create PCLm files. Support in qpdf | ||
| 7 | + is just for ensuring that objects are written in the correct order | ||
| 8 | + and for including some additional material in the output that is | ||
| 9 | + required by the PCLm standard. | ||
| 10 | + | ||
| 1 | 2017-08-19 Jay Berkenbilt <ejb@ql.org> | 11 | 2017-08-19 Jay Berkenbilt <ejb@ql.org> |
| 2 | 12 | ||
| 3 | * Remove --precheck-streams. This is enabled by default now | 13 | * Remove --precheck-streams. This is enabled by default now |
include/qpdf/QPDFWriter.hh
| @@ -353,8 +353,13 @@ class QPDFWriter | @@ -353,8 +353,13 @@ class QPDFWriter | ||
| 353 | QPDF_DLL | 353 | QPDF_DLL |
| 354 | void setLinearization(bool); | 354 | void setLinearization(bool); |
| 355 | 355 | ||
| 356 | - // Create PCLm output. Enables writing unreferenced objects, | ||
| 357 | - // set PCLm header and writes pages before file catalog and page tree. | 356 | + // Create PCLm output. This is only useful for clients that know |
| 357 | + // how to create PCLm files. If a file is structured exactly as | ||
| 358 | + // PCLm requires, this call will tell QPDFWriter to write the PCLm | ||
| 359 | + // header, create certain unreferenced streams required by the | ||
| 360 | + // standard, and write the objects in the required order. Calling | ||
| 361 | + // this on an ordinary PDF serves no purpose. There is no | ||
| 362 | + // command-line argument that causes this method to be called. | ||
| 358 | QPDF_DLL | 363 | QPDF_DLL |
| 359 | void setPCLm(bool); | 364 | void setPCLm(bool); |
| 360 | 365 |