package camlpdf

  1. Overview
  2. Docs
Read, write and modify PDF files

Install

Dune Dependency

Authors

Maintainers

Sources

v2.7.zip
md5=c0c54de8b55d52c8dbd1f3bd3a8302a2
sha512=2d971df83157cebcc5575c600bddc300f1adda1864168f9d0f6e64617efe4aed3fdfb8bd983b0ea208ebf718f9739831867bf9201f0eb5d0eed7f812f38d522a

doc/camlpdf/Pdfmarks/index.html

Module Pdfmarks

Bookmarks

type t = {
  1. level : int;
  2. text : string;
  3. target : Pdfdest.t;
  4. isopen : bool;
}

The type of bookmarks.

val string_of_bookmark : t -> string

Debug string from a bookmark.

val read_bookmarks : ?preserve_actions:bool -> Pdf.t -> t list

Read the bookmarks from a document.

val remove_bookmarks : Pdf.t -> Pdf.t

Remove the bookmarks from a document.

val add_bookmarks : t list -> Pdf.t -> Pdf.t

Add bookmarks to a document, replacing any currently there.

val transform_bookmark : Pdftransform.transform_matrix -> t -> t

Transform a bookmark's destination

OCaml

Innovation. Community. Security.