package camlpdf

  1. Overview
  2. Docs
val write_debug : bool Pervasives.ref
type encryption_method =
  1. | PDF40bit
  2. | PDF128bit
  3. | AES128bit of bool
  4. | AES256bit of bool
  5. | AES256bitISO of bool
  6. | AlreadyEncrypted
type encryption = {
  1. encryption_method : encryption_method;
  2. owner_password : string;
  3. user_password : string;
  4. permissions : Pdfcrypt.permission list;
}
val pdf_to_output : ?preserve_objstm:bool -> ?generate_objstm:bool -> ?compress_objstm:bool -> ?recrypt:string option -> bool -> encryption option -> Pdf.t -> Pdfio.output -> unit
val pdf_to_channel : ?preserve_objstm:bool -> ?generate_objstm:bool -> ?compress_objstm:bool -> ?recrypt:string option -> bool -> encryption option -> bool -> Pdf.t -> Pervasives.out_channel -> unit
val pdf_to_file_options : ?preserve_objstm:bool -> ?generate_objstm:bool -> ?compress_objstm:bool -> ?recrypt:string option -> bool -> encryption option -> bool -> Pdf.t -> string -> unit
val pdf_to_file : Pdf.t -> string -> unit
val string_of_pdf : Pdf.pdfobject -> string
val debug_whole_pdf : Pdf.t -> unit
OCaml

Innovation. Community. Security.