package
0.1.27
Repository: https://github.com/jplu/pdfcpu.git
Documentation: pkg.go.dev

# Functions

AddAttachments embeds files into a PDF.
AddAttachmentsCommand creates a new command to add attachments.
AddPermissions sets the user access permissions.
AddPermissionsCommand creates a new command to add permissions.
AddWatermarks adds watermarks to all pages selected.
AddWatermarksCommand creates a new command to add Watermarks to a file.
ChangeOwnerPassword of fileIn and write result to fileOut.
ChangeOwnerPWCommand creates a new command to change the owner password.
ChangeUserPassword of fileIn and write result to fileOut.
ChangeUserPWCommand creates a new command to change the user password.
Decrypt fileIn and write result to fileOut.
DecryptCommand creates a new command to decrypt a file.
No description provided by the author
Encrypt fileIn and write result to fileOut.
EncryptCommand creates a new command to encrypt a file.
ExtractAttachments extracts embedded files from a PDF.
ExtractAttachmentsCommand creates a new command to extract attachments.
ExtractContent dumps "PDF source" files from fileIn into dirOut for selected pages.
ExtractContentCommand creates a new command to extract page content streams.
ExtractFonts dumps embedded fontfiles from fileIn into dirOut for selected pages.
ExtractFontsCommand creates a new command to extract embedded fonts.
ExtractImages dumps embedded image resources from fileIn into dirOut for selected pages.
ExtractImagesCommand creates a new command to extract embedded images.
ExtractImagesFromIO dumps embedded image from an IO reader into a byte array.
ExtractMetadata dumps all metadata dict entries for fileIn into dirOut.
ExtractMetadataCommand creates a new command to extract metadata streams.
ExtractPages generates single page PDF files from fileIn in dirOut for selected pages.
ExtractPagesCommand creates a new command to extract specific pages of a file.
ListAttachments returns a list of embedded file attachments.
ListAttachmentsCommand create a new command to list attachments.
ListPermissions returns a list of user access permissions.
ListPermissionsCommand create a new command to list permissions.
Merge some PDF files together and write the result to fileOut.
MergeCommand creates a new command to merge files.
MergeContexts merges a sequence of PDF's represented by a slice of ReadSeekerCloser.
Optimize reads in fileIn, does validation, optimization and writes the result to fileOut.
OptimizeCommand creates a new command to optimize a file.
OptimizeContext optimizes a PDF context.
No description provided by the author
ParsePageSelection ensures a correct page selection expression.
Process executes a pdfcpu command.
ReadContext uses an io.Readseeker to build an internal structure holding its cross reference table aka the Context.
ReadContextFromFile reads in a PDF file and builds an internal structure holding its cross reference table aka the Context.
RemoveAttachments deletes embedded files from a PDF.
RemoveAttachmentsCommand creates a new command to remove attachments.
Split generates a sequence of single page PDF files in dirOut creating one file for every page of inFile.
SplitCommand creates a new command to split a file into single page file.
Trim generates a trimmed version of fileIn containing all pages selected.
TrimCommand creates a new command to trim the pages of a file.
Validate validates a PDF file against ISO-32000-1:2008.
ValidateCommand creates a new command to validate a file.
ValidateContext validates a PDF context.
Write generates a PDF file for a given Context.
WriteContext writes a PDF context.

# Structs

Command represents an execution context.