package camlpdf

  1. Overview
  2. Docs
val debug : bool Pervasives.ref
type t =
  1. | Op_w of float
  2. | Op_J of int
  3. | Op_j of int
  4. | Op_M of float
  5. | Op_d of float list * float
  6. | Op_ri of string
  7. | Op_i of int
  8. | Op_gs of string
  9. | Op_q
  10. | Op_Q
  11. | Op_cm of Pdftransform.transform_matrix
  12. | Op_m of float * float
  13. | Op_l of float * float
  14. | Op_c of float * float * float * float * float * float
  15. | Op_v of float * float * float * float
  16. | Op_y of float * float * float * float
  17. | Op_h
  18. | Op_re of float * float * float * float
  19. | Op_S
  20. | Op_s
  21. | Op_f
  22. | Op_F
  23. | Op_f'
  24. | Op_B
  25. | Op_B'
  26. | Op_b
  27. | Op_b'
  28. | Op_n
  29. | Op_W
  30. | Op_W'
  31. | Op_BT
  32. | Op_ET
  33. | Op_Tc of float
  34. | Op_Tw of float
  35. | Op_Tz of float
  36. | Op_TL of float
  37. | Op_Tf of string * float
  38. | Op_Tr of int
  39. | Op_Ts of float
  40. | Op_Td of float * float
  41. | Op_TD of float * float
  42. | Op_Tm of Pdftransform.transform_matrix
  43. | Op_T'
  44. | Op_Tj of string
  45. | Op_TJ of Pdf.pdfobject
  46. | Op_' of string
  47. | Op_'' of float * float * string
  48. | Op_d0 of float * float
  49. | Op_d1 of float * float * float * float * float * float
  50. | Op_CS of string
  51. | Op_cs of string
  52. | Op_SC of float list
  53. | Op_sc of float list
  54. | Op_SCN of float list
  55. | Op_scn of float list
  56. | Op_SCNName of string * float list
  57. | Op_scnName of string * float list
  58. | Op_G of float
  59. | Op_g of float
  60. | Op_RG of float * float * float
  61. | Op_rg of float * float * float
  62. | Op_K of float * float * float * float
  63. | Op_k of float * float * float * float
  64. | Op_sh of string
  65. | InlineImage of Pdf.pdfobject * Pdfio.bytes
  66. | Op_Do of string
  67. | Op_MP of string
  68. | Op_DP of string * Pdf.pdfobject
  69. | Op_BMC of string
  70. | Op_BDC of string * Pdf.pdfobject
  71. | Op_EMC
  72. | Op_BX
  73. | Op_EX
  74. | Op_Unknown of string
type lexeme =
  1. | Op of string
  2. | Obj of Pdfgenlex.t
  3. | PdfObj of Pdf.pdfobject
  4. | LexInlineImage of Pdf.pdfobject * Pdfio.bytes
  5. | LexComment
val lexemes_of_op : (lexeme -> unit) -> t -> unit
val lexemes_of_ops : t list -> lexeme list
val lexemelists_of_ops : t list -> lexeme list list
val filterspecial : Pdf.pdfobject list -> bool
val string_of_lexeme : lexeme -> string
val b : Buffer.t
val string_of_lexemes : lexeme list -> string
val string_of_ops : t list -> string
val string_of_op : t -> string
exception LexingEnd
val lex_name : Pdfio.input -> lexeme
exception Couldn'tHandleContent
val nocontent : Pdfio.input -> 'a
val lex_number : Pdfio.input -> lexeme
val get_dictionary : Pdfio.input -> lexeme
val components : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject -> int
val lex_inline_image : Pdf.t -> Pdf.pdfobject -> Pdfio.input -> Pdf.pdfobject * Pdfio.bytes
val lex_keyword : Pdf.t -> Pdf.pdfobject -> Pdfio.input -> lexeme
val lex_string : Pdfio.input -> lexeme
val lex_hexstring : Pdfio.input -> lexeme
val lex_next : Pdf.t -> Pdf.pdfobject -> Pdfio.input -> lexeme
val print_lexeme : lexeme -> unit
val lex_stream : Pdf.t -> Pdf.pdfobject -> Pdfio.input -> lexeme list
val split : lexeme list -> lexeme list * lexeme list
val parse_operator : int Pervasives.ref -> lexeme list -> t * lexeme list
val parse_lexemes : int Pervasives.ref -> lexeme list -> t list -> t list
val concat_bytess : Pdfio.bytes list -> Pdfio.bytes
val parse_stream : Pdf.t -> Pdf.pdfobject -> Pdfio.bytes list -> t list
val parse_operators : Pdf.t -> Pdf.pdfobject -> Pdf.pdfobject list -> t list
val stream_of_lexemes : lexeme list list -> Pdfio.bytes
val print_stream : Pdfio.bytes -> unit
val stream_of_ops : t list -> Pdf.pdfobject
OCaml

Innovation. Community. Security.