module Cpdftweak:sig..end
Miscellany
val thinlines : int list -> float -> Pdf.t -> Pdf.tMake all lines in the PDF at least a certain thickness.
val blacktext : Cpdfaddtext.colour -> int list -> Pdf.t -> Pdf.tMake all text on certain pages black.
val blacklines : Cpdfaddtext.colour -> int list -> Pdf.t -> Pdf.tMake all lines on certain pages black.
val blackfills : Cpdfaddtext.colour -> int list -> Pdf.t -> Pdf.tMake all fills on certain pages black.
: int list -> Pdf.t -> Pdf.tChange all text to rendering mode 0 (filled).
val append_page_content : string -> bool -> bool -> int list -> Pdf.t -> Pdf.tAppend page content. The first boolean is true if prepending rather than appending, the second true for fast mode.
val append_page_content_multiple : string list -> bool -> bool -> Pdf.t -> Pdf.tThe same, but a different string is supplied for each page (and so, no range is required.)
val append_page_content_multiple_ops : Pdfops.t list list -> bool -> bool -> Pdf.t -> Pdf.tThe same, but operations are provided instead of strings.
val print_dict_entry : utf8:bool -> Pdf.t -> string -> unitPrint a dictionary entry.
val get_dict_entries : utf8:bool -> Pdf.t -> string -> Pdfio.bytesGet dictionary entries in JSON format
val remove_clipping : Pdf.t -> int list -> Pdf.tRemove clipping.
val find_obj : Pdf.t -> string -> Pdf.pdfobjectFind an object from an objspec. Raises and error if the chain is not found.
val replace_stream : Pdf.t -> string -> string -> unitremove_stream pdf objspec filename replaces the stream at objspec with the contents of filename.
val replace_obj : Pdf.t -> string -> Pdf.pdfobject -> unitreplace_obj pdf objspec obj replace the object at objspec (which must exist) with obj.
val remove_obj : Pdf.t -> string -> unitremove_obj pdf objspec removes the object described by the object specification.