2022-03-07 18:16:03 +01:00
|
|
|
CHAPTER 15. PDF and JSON
|
|
|
|
|
|
|
|
Cpdf.outputJSON(String, Boolean, Boolean, Boolean, Cpdf.Pdf)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Outputs a PDF in JSON format to the given filename. If parse_content is true,
|
|
|
|
page content is parsed. If no_stream_data is true, all stream data is
|
|
|
|
suppressed entirely.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.outputJSONMemory(Cpdf.Pdf, Boolean, Boolean, Boolean)
|
|
|
|
|
2022-03-09 13:07:27 +01:00
|
|
|
Like outputJSON, but it writes to a byte array in memory.
|
2022-03-07 18:16:03 +01:00
|
|
|
|
|
|
|
Cpdf.fromJSON(String)
|
|
|
|
|
|
|
|
Loads a PDF from a JSON file given its filename.
|
|
|
|
|
|
|
|
Cpdf.fromJSONMemory(Byte[])
|
|
|
|
|
|
|
|
Loads a PDF from a JSON file in memory
|