2021-06-18 15:19:43 +02:00
|
|
|
/* CHAPTER 10. Annotations */
|
|
|
|
|
2022-01-19 18:09:46 +01:00
|
|
|
/* Return the annotations from a PDF in JSON format, returning also its length.
|
|
|
|
*/
|
|
|
|
void *cpdf_annotationsJSON(int, int *);
|
2021-06-18 15:19:43 +02:00
|
|
|
|
2024-03-22 19:56:54 +01:00
|
|
|
/* cpdf_removeAnnotations(pdf, range) removes all annotations from pages in the
|
|
|
|
* given range. */
|
|
|
|
void cpdf_removeAnnotations(int, int);
|
|
|
|
|
|
|
|
/* cpdf_setAnnotationsJSON(pdf, data, length) adds the annotations given in
|
2024-04-16 03:44:25 +02:00
|
|
|
* JSON format to the PDF, on top of any existing annotations. */
|
2024-03-22 19:56:54 +01:00
|
|
|
void cpdf_setAnnotationsJSON(int, void *, int);
|
|
|
|
|