package
0.8.3-mateyai
Repository: https://github.com/mateyai/pdfcpu.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddAttachments embeds inFiles into a PDF context read from inFile and writes the result to outFile.
AddAttachmentsCommand creates a new command to add attachments.
AddAttachmentsPortfolioCommand creates a new command to add attachments to a portfolio.
AddBoxes adds page boundaries to inFile's page tree and writes the result to outFile.
AddBoxesCommand creates a new command to add page boundaries for selected pages.
AddKeywords adds keywords to inFile's document info dict and writes the result to outFile.
AddKeywordsCommand creates a new command to add keywords.
AddProperties adds properties to inFile's document info dict and writes the result to outFile.
AddPropertiesCommand creates a new command to add document properties.
AddWatermarks adds watermarks or stamps to selected pages of inFile and writes the result to outFile.
AddWatermarksCommand creates a new command to add Watermarks to a file.
Booklet arranges selected PDF pages to outFile in an order and arrangement that form a small book.
BookletCommand creates a new command to render PDFs or image files in booklet fashion.
ChangeOwnerPassword of inFile and write result to outFile.
ChangeOwnerPWCommand creates a new command to change the owner password.
ChangeUserPassword of inFile and write result to outFile.
ChangeUserPWCommand creates a new command to change the user password.
Collect creates a custom page sequence for selected pages of inFile and writes result to outFile.
CollectCommand creates a new command to create a custom PDF page sequence.
Create renders page content corresponding to declarations found in inFileJSON and writes the result to outFile.
CreateCheatSheetsFonts creates single page PDF cheat sheets for user fonts in current dir.
CreateCheatSheetsFontsCommand creates single page PDF cheat sheets in current dir.
CreateCommand creates a new command to create a PDF file.
Crop adds crop boxes for selected pages of inFile and writes result to outFile.
CropCommand creates a new command to apply a cropBox to selected pages.
Cut selected pages and write result PDFs into outDir.
CutCommand creates a new command to cut and slice pages horizontally or vertically.
Decrypt inFile and write result to outFile.
DecryptCommand creates a new command to decrypt a file.
Dump known object to stdout.
DumpCommand creates a new command to dump objects on stdout.
Encrypt inFile and write result to outFile.
EncryptCommand creates a new command to encrypt a file.
ExportBookmarks returns a representation of inFile's outlines as outFileJSON.
ExportBookmarksCommand creates a new command to export bookmarks of inFile.
ExportFormCommand creates a new command to export a PDF form.
ExportFormFields returns a representation of inFile's form as outFileJSON.
ExtractAttachments extracts inFiles from a PDF context read from inFile and writes the result to outFile.
ExtractAttachmentsCommand creates a new command to extract attachments.
ExtractContent dumps "PDF source" files from inFile into outDir for selected pages.
ExtractContentCommand creates a new command to extract page content streams.
ExtractFonts dumps embedded fontfiles from inFile into outDir for selected pages.
ExtractFontsCommand creates a new command to extract embedded fonts.
ExtractImages dumps embedded image resources from inFile into outDir for selected pages.
ExtractImagesCommand creates a new command to extract embedded images.
ExtractMetadata dumps all metadata dict entries for inFile into outDir.
ExtractMetadataCommand creates a new command to extract metadata streams.
ExtractPages generates single page PDF files from inFile in outDir for selected pages.
ExtractPagesCommand creates a new command to extract specific pages of a file.
FillFormCommand creates a new command to fill a PDF form with data.
FillFormFields fills out inFile's form using data represented by inFileJSON.
ImportBookmarks creates/replaces outlines of inFile corresponding to declarations found in inJSONFile and writes the result to outFile.
ImportBookmarksCommand creates a new command to import bookmarks to inFile.
ImportImages appends PDF pages containing images to outFile which will be created if necessary.
ImportImagesCommand creates a new command to import images.
InfoCommand creates a new command to output information about inFile.
InsertPages inserts a blank page before or after each selected page.
InsertPagesCommand creates a new command to insert a blank page before or after selected pages.
InstallFonts installs True Type fonts into the pdfcpu pconfig dir.
InstallFontsCommand installs true type fonts for embedding.
ListAnnotations returns inFile's page annotations.
ListAnnotationsCommand creates a new command to list annotations for selected pages.
ListAnnotationsFile returns a list of page annotations of inFile.
ListAttachments returns a list of embedded file attachments for inFile.
ListAttachmentsCommand create a new command to list attachments.
ListAttachmentsCompactFile returns a list of embedded file attachments of inFile w/o optional description.
ListAttachmentsFile returns a list of embedded file attachments of inFile with optional description.
ListBookmarks returns inFile's outlines.
ListBookmarksCommand creates a new command to list bookmarks of inFile.
ListBookmarksFile returns the bookmarks of inFile.
ListBoxes returns inFile's page boundaries.
ListBoxesCommand creates a new command to list page boundaries for selected pages.
ListBoxesFile returns a list of page boundaries for selected pages of inFile.
ListFonts gathers information about supported fonts and returns the result as []string.
ListFontsCommand returns a list of supported fonts.
ListFormFields returns inFile's form field ids.
ListFormFieldsCommand creates a new command to list the field ids from a PDF form.
ListFormFieldsFile returns a list of form field ids in inFile.
ListImages returns inFiles embedded images.
ListImagesCommand creates a new command to list annotations for selected pages.
ListImagesFile returns a formatted list of embedded images of inFile.
ListInfo gathers information about inFile and returns the result as []string.
ListInfoFile returns formatted information about inFile.
ListInfoFiles returns formatted information about inFiles.
ListKeywords returns a list of keywords for inFile.
ListKeywordsCommand create a new command to list keywords.
ListKeywordsFile returns the keyword list of inFile.
ListPageLayout returns inFile's page layout.
ListPageLayoutCommand creates a new command to list the document page layout.
ListPageMode returns inFile's page mode.
ListPageModeCommand creates a new command to list the document page mode.
ListPermissions of inFile.
ListPermissionsCommand create a new command to list permissions.
ListPermissionsFile returns a list of user access permissions for inFile.
ListProperties returns inFile's properties.
ListPropertiesCommand creates a new command to list document properties.
ListPropertiesFile returns the property list of inFile.
ListViewerPreferences returns inFile's viewer preferences.
ListViewerPreferencesCommand creates a new command to list the viewer preferences.
LockFormCommand creates a new command to lock PDF form fields.
LockFormFields makes some or all form fields of inFile read-only.
MergeAppend merges inFiles in the order specified and writes the result to outFile.
MergeAppendCommand creates a new command to merge files.
MergeCreate merges inFiles in the order specified and writes the result to outFile.
MergeCreateCommand creates a new command to merge files.
MergeCreateZip zips two inFiles in the order specified and writes the result to outFile.
MergeCreateZipCommand creates a new command to zip merge 2 files.
MultiFillFormCommand creates a new command to fill multiple PDF forms with JSON or CSV data.
MultiFillFormFields fills out multiple instances of inFile's form using JSON or CSV data.
NDown selected pages and write result PDFs into outDir.
NDownCommand creates a new command to cut and slice pages horizontally or vertically.
NUp renders selected PDF pages or image files to outFile in n-up fashion.
NUpCommand creates a new command to render PDFs or image files in n-up fashion.
Optimize inFile and write result to outFile.
OptimizeCommand creates a new command to optimize a file.
Create poster for selected pages and write result PDFs into outDir.
PosterCommand creates a new command to cut and slice pages horizontally or vertically.
Process executes a pdfcpu command.
RemoveAnnotations deletes annotations from inFile's page tree and writes the result to outFile.
RemoveAnnotationsCommand creates a new command to remove annotations for selected pages.
RemoveAttachments deletes inFiles from a PDF context read from inFile and writes the result to outFile.
RemoveAttachmentsCommand creates a new command to remove attachments.
RemoveBookmarks erases outlines of inFile.
RemoveBookmarksCommand creates a new command to remove all bookmarks from inFile.
RemoveBoxes deletes page boundaries from inFile's page tree and writes the result to outFile.
RemoveBoxesCommand creates a new command to remove page boundaries for selected pages.
RemoveFormFields removes some form fields from inFile.
RemoveFormFieldsCommand creates a new command to remove fields from a PDF form.
RemoveKeywords deletes keywords from inFile's document info dict and writes the result to outFile.
RemoveKeywordsCommand creates a new command to remove keywords.
RemovePages removes selected pages.
RemovePagesCommand creates a new command to remove selected pages.
RemoveProperties deletes properties from inFile's document info dict and writes the result to outFile.
RemovePropertiesCommand creates a new command to remove document properties.
RemoveWatermarks remove watermarks or stamps from selected pages of inFile and writes the result to outFile.
RemoveWatermarksCommand creates a new command to remove Watermarks from a file.
ResetFormCommand creates a new command to lock PDF form fields.
ResetFormFields sets some or all form fields of inFile to the corresponding default value.
ResetPageLayout resets inFile's page layout.
ResetPageLayoutCommand creates a new command to reset the document page layout.
ResetPageMode resets inFile's page mode.
ResetPageModeCommand creates a new command to reset the document page mode.
ResetViewerPreferences resets inFile's viewer preferences.
ResetViewerPreferencesCommand creates a new command to reset the viewer preferences.
Resize selected pages and write result to outFile.
ResizeCommand creates a new command to scale selected pages.
Rotate selected pages of inFile and write result to outFile.
RotateCommand creates a new command to rotate pages.
SetPageLayout sets inFile's page layout.
SetPageLayoutCommand creates a new command to set the document page layout.
SetPageMode sets inFile's page mode.
SetPageModeCommand creates a new command to set the document page mode.
SetPermissions of inFile.
SetPermissionsCommand creates a new command to add permissions.
SetViewerPreferences sets inFile's viewer preferences.
SetViewerPreferencesCommand creates a new command to set the viewer preferences.
Split inFile into single page PDFs and write result files to outDir.
Split inFile along pages and write result files to outDir.
SplitByPageNrCommand creates a new command to split a file into files along given pages.
SplitCommand creates a new command to split a file according to span or along bookmarks..
Trim inFile and write result to outFile.
TrimCommand creates a new command to trim the pages of a file.
UnlockFormCommand creates a new command to unlock PDF form fields.
UnlockFormFields makes some or all form fields of inFile writeable.
Validate inFile against ISO-32000-1:2008.
ValidateCommand creates a new command to validate a file.
Zoom in/out of selected pages either by zoom factor or corresponding margin.
ZoomCommand creates a new command to zoom in/out of selected pages.

# Structs

Command represents an execution context.