v2.7 pysplits tranche 1

This commit is contained in:
John Whitington
2024-04-17 07:59:48 +08:00
parent 11228cb61f
commit 94258b5014
8 changed files with 108 additions and 65 deletions

View File

@@ -12,9 +12,9 @@ def getBookmarksJSON(pdf):
"""Get the bookmarks in JSON format."""
def setBookmarksJSON(pdf, data):
"""setBookmarksJSON(pdf, data) sets the bookmarks from JSON bookmark data."""
"""Sets the bookmarks from JSON bookmark data."""
def tableOfContents(pdf, font, fontsize, title, bookmark):
"""tableOfContents(pdf, font, fontsize, title, bookmark) typesets a table
of contents from existing bookmarks and prepends it to the document. If
bookmark is set, the table of contents gets its own bookmark."""
"""Typesets a table of contents from existing bookmarks and prepends it to
the document. If bookmark is set, the table of contents gets its own
bookmark."""