module Pdfocg:sig
..end
Optional Content Groups.
type
ocgusage
type
ocg = {
|
ocg_name : |
|
ocg_intent : |
|
ocg_usage : |
}
type
ocgstate =
| |
OCG_ON |
| |
OCG_OFF |
| |
OCG_Unchanged |
type
ocglistmode =
| |
OCG_AllPages |
| |
OCG_VisiblePages |
type
ocgappdict
type
ocgconfig = {
|
ocgconfig_name : |
|
ocgconfig_creator : |
|
ocgconfig_basestate : |
|
ocgconfig_on : |
|
ocgconfig_off : |
|
ocgconfig_intent : |
|
ocgconfig_usage_application_dictionaries : |
|
ocgconfig_order : |
|
ocgconfig_listmode : |
|
ocgconfig_rbgroups : |
|
ocgconfig_locked : |
}
type
ocgproperties = {
|
ocgs : |
|
ocg_default_config : |
|
ocg_configs : |
}
val read_ocg : Pdf.t -> ocgproperties option
Read optional content data.
val write_ocg : Pdf.t -> ocgproperties -> unit
Write optional content data.
val print_document_ocg : Pdf.t -> unit
Print information about the document's Optional Content Groups to Standard Output. For debug only.