This version of the module is deprecated: Use moonbitlang/pdflite instead
bobzhang/pdflite/ocg does not have a README file
type PdfBytes = Bytespub(all) struct PdfOcgConfig {
name : Bytes?
creator : Bytes?
base_state : PdfOcgState
on : Array[Int]
off : Array[Int]
intent : Array[PdfName]
usage_applications : Array[PdfOcgAppDict]
order : Array[(Bytes?, Array[Int])]?
list_mode : PdfOcgListMode
radio_button_groups : Array[Array[Int]]?
locked : Array[Int]
} derive(Eq, ToJson, Debug)pub(all) struct PdfOcgUsage {
creator_info : (Bytes, PdfName)?
language : (Bytes, PdfName?)?
export_state : PdfName?
zoom_min : Double?
zoom_max : Double?
print_subtype : PdfName?
print_state : PdfName?
view_state : PdfName?
user : (PdfName, Array[Bytes])?
page_element_subtype : PdfName?
} derive(Eq, ToJson, Debug)pub(all) struct PdfOptionalContent {
ocgs : Array[(Int, PdfOcg)]
default_config : PdfOcgConfig
configs : Array[PdfOcgConfig]
} derive(Eq, ToJson, Debug)Install
Download zipByte-oriented PDF reading, writing, and manipulation toolkit for MoonBit.