2022-01-13 17:35:03 +01:00
|
|
|
(** Miscellany *)
|
2021-12-22 10:31:39 +01:00
|
|
|
|
|
|
|
(** Make all lines in the PDF at least a certain thickness. *)
|
|
|
|
val thinlines : int list -> float -> Pdf.t -> Pdf.t
|
|
|
|
|
|
|
|
(** Make all text on certain pages black. *)
|
|
|
|
val blacktext : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t
|
|
|
|
|
|
|
|
(** Make all lines on certain pages black. *)
|
|
|
|
val blacklines : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t
|
|
|
|
|
|
|
|
(** Make all fills on certain pages black. *)
|
|
|
|
val blackfills : Cpdfaddtext.color -> int list -> Pdf.t -> Pdf.t
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Append page content. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val append_page_content : string -> bool -> bool -> int list -> Pdf.t -> Pdf.t
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Remove a dictionary entry. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val remove_dict_entry : Pdf.t -> string -> Pdf.pdfobject option -> unit
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Replace a dictionary entry. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val replace_dict_entry : Pdf.t -> string -> Pdf.pdfobject -> Pdf.pdfobject option -> unit
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Print a dictionary entry. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val print_dict_entry : Pdf.t -> string -> unit
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Remove clipping. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val remove_clipping : Pdf.t -> int list -> Pdf.t
|
|
|
|
|
2022-01-13 17:35:03 +01:00
|
|
|
(** Remove unused resources. *)
|
2021-12-22 10:31:39 +01:00
|
|
|
val remove_unused_resources : Pdf.t -> Pdf.t
|