mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
Adds, documents -remove-obj
This commit is contained in:
@@ -313,7 +313,8 @@ let replace_obj pdf objspec obj =
|
||||
try Pdf.replace_chain pdf (split_chain objspec) obj with
|
||||
_ -> raise (Pdf.PDFError "Chain not found")
|
||||
|
||||
let remove_obj pdf objspec = ()
|
||||
let remove_obj pdf objspec =
|
||||
Pdf.removeobj pdf (int_of_string objspec)
|
||||
|
||||
(* Replace a stream from a file e.g 4=data.dat replaces contents of object 4.
|
||||
The stream dictionary is altered only to correct the length. *)
|
||||
|
Reference in New Issue
Block a user