mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
@ -120,6 +120,7 @@ let list_annotations_json range pdf =
|
||||
`List [`Int ~-n; Cpdfjson.json_of_object ~clean_strings:true pdf (fun _ -> ()) false false (Pdf.lookup_obj pdf n)])
|
||||
(setify (flatten (map (Pdf.objects_referenced [] [] pdf) !extra)))
|
||||
in
|
||||
Printf.printf "EXTRA: %i objects\n" (length extra);
|
||||
let json = `List (json @ extra) in
|
||||
J.pretty_to_channel stdout json
|
||||
|
||||
|
Reference in New Issue
Block a user