mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
alter replace_chain API
This commit is contained in:
@ -467,7 +467,7 @@ let language pdf =
|
|||||||
| _ -> None
|
| _ -> None
|
||||||
|
|
||||||
let set_language pdf s =
|
let set_language pdf s =
|
||||||
Pdf.replace_chain pdf ["/Root"; "/Lang"] (Pdf.String s)
|
Pdf.replace_chain pdf ["/Root"] ("/Lang", (Pdf.String s))
|
||||||
|
|
||||||
let output_xmp_info ?(json=ref [("none", `Null)]) encoding pdf =
|
let output_xmp_info ?(json=ref [("none", `Null)]) encoding pdf =
|
||||||
let notjson = !json = [("none", `Null)] in
|
let notjson = !json = [("none", `Null)] in
|
||||||
|
Reference in New Issue
Block a user