Beginning documentation of new features for 1.8

This commit is contained in:
John Whitington 2014-10-08 12:51:17 +01:00
parent 1b0fefc00f
commit 1b9ca3c254
3 changed files with 3 additions and 5 deletions

View File

@ -449,8 +449,8 @@ let banned banlist = function
| _ -> mem Pdfcrypt.NoEdit banlist | _ -> mem Pdfcrypt.NoEdit banlist
let operation_allowed banlist = function let operation_allowed banlist = function
| None -> flprint "no-op, allow\n"; true (* Merge *) (* changed to allow it *) | None -> true (* Merge *) (* changed to allow it *)
| Some op -> flprint "checking...\n"; not (banned banlist op) | Some op -> not (banned banlist op)
let rec decrypt_if_necessary (a, b, c, user_pw, owner_pw) op pdf = let rec decrypt_if_necessary (a, b, c, user_pw, owner_pw) op pdf =
if not (Pdfcrypt.is_encrypted pdf) then pdf else if not (Pdfcrypt.is_encrypted pdf) then pdf else

Binary file not shown.

View File

@ -1500,9 +1500,7 @@ instance, to add a clean page between chapters of a document.)
\section{List Annotations} \section{List Annotations}
\index{annotations!listing} \index{annotations!listing}
The \texttt{-list-annotations} operation prints the textual content of any The \texttt{-list-annotations} operation prints the textual content of any
annotations on the selected pages to standard output. Each annotation is annotations on the selected pages to standard output. Each annotation is preceded by the page number and followed by a newline.
preceded by a separation marker consisting of a carriage return, a line of 80
dashes, and another carriage return.
\begin{framed} \begin{framed}
\small\verb!cpdf -list-annotations in.pdf > annots.txt! \small\verb!cpdf -list-annotations in.pdf > annots.txt!