# Packages
No description provided by the author
# Functions
AddAttachments embeds files into a PDF context read from rs and writes the result to w.
AddAttachmentsFile embeds files into a PDF context read from inFile and writes the result to outFile.
AddImageWatermarksFile adds image stamps/watermarks to all selected pages of inFile and writes the result to outFile.
AddKeywords embeds files into a PDF context read from rs and writes the result to w.
AddKeywordsFile embeds files into a PDF context read from inFile and writes the result to outFile.
AddPDFWatermarksFile adds PDF stamps/watermarks to all selected pages of inFile and writes the result to outFile.
AddProperties embeds files into a PDF context read from rs and writes the result to w.
AddPropertiesFile embeds files into a PDF context read from inFile and writes the result to outFile.
AddTextWatermarksFile adds text stamps/watermarks to all selected pages of inFile and writes the result to outFile.
AddWatermarks adds watermarks to all pages selected in rs and writes the result to w.
AddWatermarksFile adds watermarks to all selected pages of inFile and writes the result to outFile.
ChangeOwnerPasswordFile reads inFile, changes the user password and writes the result to outFile.
ChangeUserPasswordFile reads inFile, changes the user password and writes the result to outFile.
Collect creates a custom PDF page sequence for selected pages of rs and writes the result to w.
CollectFile creates a custom PDF page sequence for inFile and writes the result to outFile.
CreatePDFFile creates a PDF file for an xRefTable and writes it to outFile.
DecryptFile decrypts inFile and writes the result to outFile.
EncryptFile encrypts inFile and writes the result to outFile.
ExtractAttachments extracts embedded files from a PDF context read from rs into outDir.
ExtractAttachmentsFile extracts embedded files from a PDF context read from inFile into outDir.
ExtractContent dumps "PDF source" files from rs into outDir for selected pages.
ExtractContentFile dumps "PDF source" files from inFile into outDir for selected pages.
ExtractFonts dumps embedded fontfiles from rs into outDir for selected pages.
ExtractFontsFile dumps embedded fontfiles from inFile into outDir for selected pages.
ExtractImages dumps embedded image resources from rs into outDir for selected pages.
ExtractImagesFile dumps embedded image resources from inFile into outDir for selected pages.
ExtractMetadata dumps all metadata dict entries for rs into outDir.
ExtractMetadataFile dumps all metadata dict entries for inFile into outDir.
ExtractPages generates single page PDF files from rs in outDir for selected pages.
ExtractPagesFile generates single page PDF files from inFile in outDir for selected pages.
GetPermissions returns the permissions for rs.
GetPermissionsFile returns the permissions for inFile.
HasWatermarks checks rs for watermarks.
HasWatermarksFile checks inFile for watermarks.
ImageWatermark returns an image watermark configuration.
ImportImages appends PDF pages containing images to rs and writes the result to w.
ImportImagesFile appends PDF pages containing images to outFile which will be created if necessary.
Info returns information about rs.
InfoFile returns information about inFile.
InsertPages inserts a blank page before or after every page selected of rs and writes the result to w.
InsertPagesFile inserts a blank page before or after every inFile page selected and writes the result to w.
InstallFonts installs true type fonts for embedding.
ListAttachments returns a list of embedded file attachments of rs.
ListAttachmentsFile returns a list of embedded file attachments of inFile.
ListFonts returns a list of supported fonts.
ListKeywords returns the keyword list of rs.
ListKeywordsFile returns the keyword list of inFile.
ListPermissions returns a list of user access permissions.
ListPermissionsFile returns a list of user access permissions for inFile.
ListProperties returns the property list of rs.
ListPropertiesFile returns the property list of inFile.
Merge merges a sequence of PDF streams and writes the result to w.
MergeAppendFile merges a sequence of inFiles and writes the result to outFile.
MergeCreateFile merges a sequence of inFiles and writes the result to outFile.
NUp rearranges PDF pages or images into page grids and writes the result to w.
NUpFile rearranges PDF pages or images into page grids and writes the result to outFile.
Optimize reads a PDF stream from rs and writes the optimized PDF stream to w.
OptimizeContext optimizes a PDF context.
OptimizeFile reads inFile and writes the optimized PDF to outFile.
PageCount returns rs's page count.
PageCountFile returns inFile's page count.
PageDims returns a sorted slice of mediaBox dimensions for rs.
PageDimsFile returns a sorted slice of mediaBox dimensions for inFile.
PagesForPageCollection ensures a set of page numbers for generating a page sequence consisting of any page number in any order any number of times.
PagesForPageSelection ensures a set of page numbers for an ascending page sequence where each page number may appear only once.
ParsePageSelection ensures a correct page selection expression.
PDFWatermark returns a PDF watermark configuration.
ReadContext uses an io.ReadSeeker to build an internal structure holding its cross reference table aka the Context.
ReadContextFile returns inFile's validated context.
RemoveAttachments deletes embedded files from a PDF context read from rs and writes the result to w.
RemoveAttachmentsFile deletes embedded files from a PDF context read from inFile and writes the result to outFile.
RemoveKeywords deletes embedded files from a PDF context read from rs and writes the result to w.
RemoveKeywordsFile deletes embedded files from a PDF context read from inFile and writes the result to outFile.
RemovePages removes selected pages from rs and writes the result to w.
RemovePagesFile removes selected inFile pages and writes the result to outFile..
RemoveProperties deletes embedded files from a PDF context read from rs and writes the result to w.
RemovePropertiesFile deletes embedded files from a PDF context read from inFile and writes the result to outFile.
RemoveWatermarks removes watermarks from all pages selected in rs and writes the result to w.
RemoveWatermarksFile removes watermarks from all selected pages of inFile and writes the result to outFile.
Rotate rotates selected pages of rs clockwise by rotation degrees and writes the result to w.
RotateFile rotates selected pages of inFile clockwise by rotation degrees and writes the result to outFile.
SetPermissions sets user access permissions.
SetPermissionsFile sets inFile's user access permissions.
Split generates a sequence of PDF files in outDir for the PDF stream read from rs obeying given split span.
SplitFile generates a sequence of PDF files in outDir for inFile obeying given split span.
TextWatermark returns a text watermark configuration.
Trim generates a trimmed version of rs containing all selected pages and writes the result to w.
TrimFile generates a trimmed version of inFile containing all selected pages and writes the result to outFile.
UpdateImageWatermarksFile adds image stamps/watermarks to all selected pages of inFile and writes the result to outFile.
UpdatePDFWatermarksFile adds PDF stamps/watermarks to all selected pages of inFile and writes the result to outFile.
UpdateTextWatermarksFile adds text stamps/watermarks to all selected pages of inFile and writes the result to outFile.
Validate validates a PDF stream read from rs.
ValidateContext validates a PDF context.
ValidateFile validates inFile.
WatermarkContext applies wm for selected pages to ctx.
WriteContext writes a PDF context to w.
WriteContextFile writes a PDF context to outFile.
# Interfaces
ReadSeekerCloser combines io.ReadSeeker and io.Closer.