2021-08-10 14:40:37 +02:00
|
|
|
"""Pycpdf: a python interface to cpdf.
|
2021-07-26 20:50:33 +02:00
|
|
|
|
2021-08-10 14:40:37 +02:00
|
|
|
Before using the library, you must load the libpycpdf and libcpdf DLLs. This is
|
|
|
|
achieved with the pycpdf.loadDLL function, given the filename or full path of
|
|
|
|
the libpycpdf DLL. On Windows, you may have to call os.add_dll_directory
|
|
|
|
first. On MacOS, you may need to give the full path, and you may need to
|
|
|
|
install libcpdf.so in a standard location /usr/local/lib/, or use the
|
|
|
|
install_name_tool command to tell libpycpdf.so where to find libcpdf.so.
|
|
|
|
|
|
|
|
A 'range' is a list of integers specifying page numbers.
|
|
|
|
|
|
|
|
Text arguments and results are in UTF8.
|
|
|
|
|
|
|
|
Any function may raise the exception CPDFError, carrying a string describing
|
2021-09-01 19:41:10 +02:00
|
|
|
the error. """
|