Functions
Setup & configuration
xpdfSpliceInit
: Initialize the library.
Opening & closing input PDF files
xpdfSpliceOpenInput
: Open an input PDF file.xpdfSpliceOpenInputW
: Open an input PDF file with a Unicode file name.xpdfSpliceOpenInputWithPassword
: Open an input PDF file, with a password.xpdfSpliceOpenInputWithPasswordW
: Open an input PDF file with a Unicode file name, with a password.xpdfSpliceOpenInputMem
: Open an input PDF file from a memory buffer.xpdfSpliceOpenInputMemWithPassword
: Open an input PDF file from a memory buffer, with a password.xpdfSpliceCloseInput
: Close an input PDF file.
Opening & closing output PDF files
xpdfSpliceOpenOutput
: Open an output PDF file.xpdfSpliceOpenOutputW
: Open an output PDF file with a Unicode file name.xpdfSpliceOpenOutputMem
: Open an output PDF file, in memory.xpdfSpliceCloseOutput
: Close an output PDF file.xpdfSpliceCloseOutputMem
: Close an output PDF file.
Retrieving information about input documents
xpdfSpliceGetNumPages
: Get the number of pages in an input PDF file.xpdfSpliceGetPageWidth
: Get the width of an input page.xpdfSpliceGetPageHeight
: Get the height of an input page.xpdfSpliceGetPageRotation
: Get the default rotation for an input page.xpdfSpliceGetPageUserUnit
: Get the UserUnit scaling factor for an input page.xpdfSpliceGetInfo
: Get a document information dictionary entry from an input PDF file.xpdfSpliceGetPDFVersion
: Get the PDF version number of an input PDF file.xpdfSpliceUsesJavaScript
: Returns non-zero if the PDF document uses JavaScript.
Adding content to output documents
xpdfSpliceAddPage
: Add a page from an input PDF file to an output PDF file.xpdfSpliceAddPageRotated
: Add a page from an input PDF file to an output PDF file, with a rotation.xpdfSpliceAddPageRotatedCropped
: Add a page from an input PDF file to an output PDF file, with a rotation and a CropBox.xpdfSpliceAddPages
: Add multiple pages from an input PDF file to an output PDF file.xpdfSpliceSetInfo
: Set a document information dictionary entry in an output PDF file.xpdfSpliceSetViewerPreferenceName
: Set a ViewerPreferences dictionary entry in an output PDF file.xpdfSpliceCopyOptionalContentSetup
: Copy the optional content (layers) setup info from an input PDF file to an output PDF file.
Watermarks
xpdfSpliceSetWatermark
: Set a watermark.
Security / encryption
xpdfSpliceIsEncrypted
: Check whether an input PDF file is encrypted.xpdfSpliceGetPermissions
: Get the permission word from an input PDF file.xpdfSpliceSetEncryption
: Enable encryption on an output PDF file.
Embedded files
xpdfSpliceGetNumEmbeddedFiles
: Get the number of embedded files.xpdfSpliceGetEmbeddedFileName
: Get the name of an embedded file.xpdfSpliceSaveEmbeddedFile
: Save an embedded file.xpdfSpliceSaveEmbeddedFileW
: Save an embedded file with a Unicode file name.xpdfSpliceGetEmbeddedFileMem
: Get an embedded file in a memory buffer.
Miscellaneous
xpdfSpliceFreeMemory
: Free memory allocated by the library.