mirror of
https://github.com/johnwhitington/cpdf-source.git
synced 2025-06-05 22:09:39 +02:00
more
This commit is contained in:
16
html_manual/pysplits/c17.tex
Normal file
16
html_manual/pysplits/c17.tex
Normal file
@@ -0,0 +1,16 @@
|
||||
# CHAPTER 16. Optional Content Groups
|
||||
|
||||
def getOCGList(pdf):
|
||||
"""Return a list of Optional Content Groups in the given pdf as strings."""
|
||||
|
||||
def OCGRename(pdf, n_from, n_to):
|
||||
"""Rename an optional content group."""
|
||||
|
||||
def OCGOrderAll(pdf):
|
||||
"""Ensure that every optional content group appears in the OCG order list."""
|
||||
|
||||
def OCGCoalesce(pdf):
|
||||
"""Coalesce optional content groups. For example, if we merge or stamp two
|
||||
files both with an OCG called "Layer 1", we will have two different
|
||||
optional content groups. This function will merge the two into a single
|
||||
optional content group."""
|
Reference in New Issue
Block a user