# CHAPTER 6. Bookmarks def getBookmarks(pdf): """Get the bookmarks for a PDF as a list of tuples. (level : int, page : int, text : string, openstatus : bool)""" def setBookmarks(pdf, marks): """Set the bookmarks for a PDF as a list of tuples. (level : int, page : int, text : string, openstatus : bool)"""