Versions in this module Expand all Collapse all v0 v0.2.2 Aug 1, 2019 v0.2.1 Jul 15, 2019 Changes in this version + func AddAttachments(cmd *Command) ([]string, error) + func AddWatermarks(cmd *Command) ([]string, error) + func ChangeOwnerPassword(cmd *Command) ([]string, error) + func ChangeUserPassword(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 ListAttachments(cmd *Command) ([]string, error) + func ListPermissions(cmd *Command) ([]string, error) + func Merge(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 RemoveAttachments(cmd *Command) ([]string, error) + func RemovePages(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 + Conf *pdf.Configuration + Import *pdf.Import + InDir *string + InFile *string + InFiles []string + Input io.ReadSeeker + Inputs []io.ReadSeeker + Mode pdf.CommandMode + NUp *pdf.NUp + OutDir *string + OutFile *string + Output io.Writer + PWNew *string + PWOld *string + PageSelection []string + Rotation int + Span int + Watermark *pdf.Watermark + func AddAttachmentsCommand(inFile, outFile string, fileNames []string, conf *pdf.Configuration) *Command + func AddWatermarksCommand(inFile, outFile string, pageSelection []string, wm *pdf.Watermark, ...) *Command + func ChangeOwnerPWCommand(inFile, outFile string, pwOld, pwNew *string, conf *pdf.Configuration) *Command + func ChangeUserPWCommand(inFile, outFile string, pwOld, pwNew *string, conf *pdf.Configuration) *Command + func DecryptCommand(inFile, outFile string, conf *pdf.Configuration) *Command + func EncryptCommand(inFile, outFile string, conf *pdf.Configuration) *Command + func ExtractAttachmentsCommand(inFile string, outDir string, fileNames []string, conf *pdf.Configuration) *Command + func ExtractContentCommand(inFile string, outDir string, pageSelection []string, conf *pdf.Configuration) *Command + func ExtractFontsCommand(inFile string, outDir string, pageSelection []string, conf *pdf.Configuration) *Command + func ExtractImagesCommand(inFile string, outDir string, pageSelection []string, conf *pdf.Configuration) *Command + func ExtractMetadataCommand(inFile string, outDir string, conf *pdf.Configuration) *Command + func ExtractPagesCommand(inFile string, outDir string, pageSelection []string, conf *pdf.Configuration) *Command + func ImportImagesCommand(imageFiles []string, outFile string, imp *pdf.Import, conf *pdf.Configuration) *Command + func InfoCommand(inFile string, conf *pdf.Configuration) *Command + func InsertPagesCommand(inFile, outFile string, pageSelection []string, conf *pdf.Configuration) *Command + func ListAttachmentsCommand(inFile string, conf *pdf.Configuration) *Command + func ListPermissionsCommand(inFile string, conf *pdf.Configuration) *Command + func MergeCommand(inFiles []string, outFile string, conf *pdf.Configuration) *Command + func NUpCommand(inFiles []string, outFile string, pageSelection []string, nUp *pdf.NUp, ...) *Command + func OptimizeCommand(inFile, outFile string, conf *pdf.Configuration) *Command + func RemoveAttachmentsCommand(inFile, outFile string, fileNames []string, conf *pdf.Configuration) *Command + func RemovePagesCommand(inFile, outFile string, pageSelection []string, conf *pdf.Configuration) *Command + func RotateCommand(inFile, outFile string, rotation int, pageSelection []string, ...) *Command + func SetPermissionsCommand(inFile, outFile string, conf *pdf.Configuration) *Command + func SplitCommand(inFile, dirNameOut string, span int, conf *pdf.Configuration) *Command + func TrimCommand(inFile, outFile string, pageSelection []string, conf *pdf.Configuration) *Command + func ValidateCommand(inFile string, conf *pdf.Configuration) *Command