Versions in this module Expand all Collapse all v0 v0.3.13 Mar 24, 2022 Changes in this version + func AddAttachments(cmd *Command) ([]string, error) + func AddBoxes(cmd *Command) ([]string, error) + func AddKeywords(cmd *Command) ([]string, error) + func AddProperties(cmd *Command) ([]string, error) + func AddWatermarks(cmd *Command) ([]string, error) + func Booklet(cmd *Command) ([]string, error) + func ChangeOwnerPassword(cmd *Command) ([]string, error) + func ChangeUserPassword(cmd *Command) ([]string, error) + func Collect(cmd *Command) ([]string, error) + func CreateCheatSheetsFonts(cmd *Command) ([]string, error) + func Crop(cmd *Command) ([]string, error) + func Decrypt(cmd *Command) ([]string, error) + func Encrypt(cmd *Command) ([]string, error) + func ExtractAttachments(cmd *Command) ([]string, error) + func ExtractContent(cmd *Command) ([]string, error) + func ExtractFonts(cmd *Command) ([]string, error) + func ExtractImages(cmd *Command) ([]string, error) + func ExtractMetadata(cmd *Command) ([]string, error) + func ExtractPages(cmd *Command) ([]string, error) + func ImportImages(cmd *Command) ([]string, error) + func Info(cmd *Command) ([]string, error) + func InsertPages(cmd *Command) ([]string, error) + func InstallFonts(cmd *Command) ([]string, error) + func ListAnnotations(cmd *Command) ([]string, error) + func ListAttachments(cmd *Command) ([]string, error) + func ListBoxes(cmd *Command) ([]string, error) + func ListFonts(cmd *Command) ([]string, error) + func ListImages(cmd *Command) ([]string, error) + func ListKeywords(cmd *Command) ([]string, error) + func ListPermissions(cmd *Command) ([]string, error) + func ListProperties(cmd *Command) ([]string, error) + func MergeAppend(cmd *Command) ([]string, error) + func MergeCreate(cmd *Command) ([]string, error) + func NUp(cmd *Command) ([]string, error) + func Optimize(cmd *Command) ([]string, error) + func Process(cmd *Command) (out []string, err error) + func RemoveAnnotations(cmd *Command) ([]string, error) + func RemoveAttachments(cmd *Command) ([]string, error) + func RemoveBoxes(cmd *Command) ([]string, error) + func RemoveKeywords(cmd *Command) ([]string, error) + func RemovePages(cmd *Command) ([]string, error) + func RemoveProperties(cmd *Command) ([]string, error) + func RemoveWatermarks(cmd *Command) ([]string, error) + func Rotate(cmd *Command) ([]string, error) + func SetPermissions(cmd *Command) ([]string, error) + func Split(cmd *Command) ([]string, error) + func Trim(cmd *Command) ([]string, error) + func Validate(cmd *Command) ([]string, error) + type Command struct + Box *pdfcpu.Box + Conf *pdfcpu.Configuration + Import *pdfcpu.Import + InDir *string + InFile *string + InFiles []string + Input io.ReadSeeker + Inputs []io.ReadSeeker + IntVals []int + Mode pdfcpu.CommandMode + NUp *pdfcpu.NUp + OutDir *string + OutFile *string + Output io.Writer + PWNew *string + PWOld *string + PageBoundaries *pdfcpu.PageBoundaries + PageSelection []string + Rotation int + Span int + StringMap map[string]string + Watermark *pdfcpu.Watermark + func AddAttachmentsCommand(inFile, outFile string, fileNames []string, conf *pdfcpu.Configuration) *Command + func AddAttachmentsPortfolioCommand(inFile, outFile string, fileNames []string, conf *pdfcpu.Configuration) *Command + func AddBoxesCommand(inFile, outFile string, pageSelection []string, pb *pdfcpu.PageBoundaries, ...) *Command + func AddKeywordsCommand(inFile, outFile string, keywords []string, conf *pdfcpu.Configuration) *Command + func AddPropertiesCommand(inFile, outFile string, properties map[string]string, ...) *Command + func AddWatermarksCommand(inFile, outFile string, pageSelection []string, wm *pdfcpu.Watermark, ...) *Command + func BookletCommand(inFiles []string, outFile string, pageSelection []string, nup *pdfcpu.NUp, ...) *Command + func ChangeOwnerPWCommand(inFile, outFile string, pwOld, pwNew *string, conf *pdfcpu.Configuration) *Command + func ChangeUserPWCommand(inFile, outFile string, pwOld, pwNew *string, conf *pdfcpu.Configuration) *Command + func CollectCommand(inFile, outFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func CreateCheatSheetsFontsCommand(fontFiles []string, conf *pdfcpu.Configuration) *Command + func CropCommand(inFile, outFile string, pageSelection []string, box *pdfcpu.Box, ...) *Command + func DecryptCommand(inFile, outFile string, conf *pdfcpu.Configuration) *Command + func EncryptCommand(inFile, outFile string, conf *pdfcpu.Configuration) *Command + func ExtractAttachmentsCommand(inFile string, outDir string, fileNames []string, conf *pdfcpu.Configuration) *Command + func ExtractContentCommand(inFile string, outDir string, pageSelection []string, ...) *Command + func ExtractFontsCommand(inFile string, outDir string, pageSelection []string, ...) *Command + func ExtractImagesCommand(inFile string, outDir string, pageSelection []string, ...) *Command + func ExtractMetadataCommand(inFile string, outDir string, conf *pdfcpu.Configuration) *Command + func ExtractPagesCommand(inFile string, outDir string, pageSelection []string, ...) *Command + func ImportImagesCommand(imageFiles []string, outFile string, imp *pdfcpu.Import, ...) *Command + func InfoCommand(inFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func InsertPagesCommand(inFile, outFile string, pageSelection []string, conf *pdfcpu.Configuration, ...) *Command + func InstallFontsCommand(fontFiles []string, conf *pdfcpu.Configuration) *Command + func ListAnnotationsCommand(inFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func ListAttachmentsCommand(inFile string, conf *pdfcpu.Configuration) *Command + func ListBoxesCommand(inFile string, pageSelection []string, pb *pdfcpu.PageBoundaries, ...) *Command + func ListFontsCommand(conf *pdfcpu.Configuration) *Command + func ListImagesCommand(inFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func ListKeywordsCommand(inFile string, conf *pdfcpu.Configuration) *Command + func ListPermissionsCommand(inFile string, conf *pdfcpu.Configuration) *Command + func ListPropertiesCommand(inFile string, conf *pdfcpu.Configuration) *Command + func MergeAppendCommand(inFiles []string, outFile string, conf *pdfcpu.Configuration) *Command + func MergeCreateCommand(inFiles []string, outFile string, conf *pdfcpu.Configuration) *Command + func NUpCommand(inFiles []string, outFile string, pageSelection []string, nUp *pdfcpu.NUp, ...) *Command + func OptimizeCommand(inFile, outFile string, conf *pdfcpu.Configuration) *Command + func RemoveAnnotationsCommand(inFile, outFile string, pageSelection []string, objNrs []int, ...) *Command + func RemoveAttachmentsCommand(inFile, outFile string, fileNames []string, conf *pdfcpu.Configuration) *Command + func RemoveBoxesCommand(inFile, outFile string, pageSelection []string, pb *pdfcpu.PageBoundaries, ...) *Command + func RemoveKeywordsCommand(inFile, outFile string, keywords []string, conf *pdfcpu.Configuration) *Command + func RemovePagesCommand(inFile, outFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func RemovePropertiesCommand(inFile, outFile string, propKeys []string, conf *pdfcpu.Configuration) *Command + func RemoveWatermarksCommand(inFile, outFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func RotateCommand(inFile, outFile string, rotation int, pageSelection []string, ...) *Command + func SetPermissionsCommand(inFile, outFile string, conf *pdfcpu.Configuration) *Command + func SplitCommand(inFile, dirNameOut string, span int, conf *pdfcpu.Configuration) *Command + func TrimCommand(inFile, outFile string, pageSelection []string, conf *pdfcpu.Configuration) *Command + func ValidateCommand(inFile string, conf *pdfcpu.Configuration) *Command