Fixes per testing
This commit is contained in:
parent
6d00654ca8
commit
86737ef316
|
@ -3606,7 +3606,7 @@ let go () =
|
||||||
let fixid s = implode (rev (tl (rev (tl (explode s))))) in
|
let fixid s = implode (rev (tl (rev (tl (explode s))))) in
|
||||||
if args.format_json
|
if args.format_json
|
||||||
then json =| ("ID", if ida ^ idb = "" then `Null else `List [`String (fixid ida); `String (fixid idb)])
|
then json =| ("ID", if ida ^ idb = "" then `Null else `List [`String (fixid ida); `String (fixid idb)])
|
||||||
else (if ida ^ idb = "" then Printf.printf "ID: None" else Printf.printf "ID: %s %s\n" ida idb);
|
else (if ida ^ idb = "" then Printf.printf "ID: None\n" else Printf.printf "ID: %s %s\n" ida idb);
|
||||||
let pdf = decrypt_if_necessary input (Some Info) pdf in
|
let pdf = decrypt_if_necessary input (Some Info) pdf in
|
||||||
if args.format_json then
|
if args.format_json then
|
||||||
begin
|
begin
|
||||||
|
|
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
|
@ -2983,7 +2983,7 @@ annotations on the selected pages to standard output. Each annotation is precede
|
||||||
]
|
]
|
||||||
\end{verbatim}}
|
\end{verbatim}}
|
||||||
|
|
||||||
\noindent Extra objects required for annotations, but which are not annotations themselves are also extracted. They omit the page number, being just a pair of the object number and object. The CPDFJSON format is described on page \pageref{cpdfjson}.
|
\noindent Extra objects required for annotations, but which are not annotations themselves are also extracted. They omit the page number, being just a pair of the object number and object. The CPDFJSON format is described on page \pageref{cpdfjson}. There is an additional object, -1, which gives the CPDF annotation format version, currently 1.
|
||||||
|
|
||||||
\section{Setting annotations}
|
\section{Setting annotations}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue