2022-01-23 14:06:53 +01:00
|
|
|
def annotationsJSON(pdf):
|
2024-04-17 02:14:40 +02:00
|
|
|
"""Gets the annotations in JSON format."""
|
|
|
|
|
|
|
|
def removeAnnotations(pdf, r):
|
|
|
|
"""Removes all annotations from pages in the given range."""
|
|
|
|
|
|
|
|
def setAnnotationsJSON(pdf, data):
|
|
|
|
"""Adds the annotations given in JSON format to the PDF, on top of any
|
|
|
|
existing annotations."""
|