Better CountPages
This commit is contained in:
parent
b224500cfc
commit
af902e9f44
|
@ -3203,9 +3203,9 @@ let go () =
|
||||||
| (AlreadyInMemory pdf, _, _, _, _, _) as input::_ -> pdf, "", input
|
| (AlreadyInMemory pdf, _, _, _, _, _) as input::_ -> pdf, "", input
|
||||||
| _ -> raise (Arg.Bad "cpdf: No input specified.\n")
|
| _ -> raise (Arg.Bad "cpdf: No input specified.\n")
|
||||||
in
|
in
|
||||||
(* FIXME FIXME. Why do we need this decryption? Endpage_io claims not to...
|
(*let pdf = decrypt_if_necessary input (Some CountPages) pdf in*)
|
||||||
REMOVE. Seems to work. *)
|
(* 3/11/2016. We removed decryption here, because it doesn't seem necessary. Put
|
||||||
let pdf = decrypt_if_necessary input (Some CountPages) pdf in
|
* back in on counterexample *)
|
||||||
output_page_count pdf
|
output_page_count pdf
|
||||||
| Some Revisions ->
|
| Some Revisions ->
|
||||||
let input =
|
let input =
|
||||||
|
|
Loading…
Reference in New Issue