pdf

package
v0.0.0-...-f0bfebe Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEFALUT_IMPORT_CONFIG *pdfcpu.Import
View Source
var ERROR_NOT_NUMBER = "the two sides of the '-' symbol are not numbers!"

Functions

func CheckCorrectFileExtension

func CheckCorrectFileExtension(filenames []string) (error, bool)

func HandlePdfCut

func HandlePdfCut(inPdf, outDir string, selectedPages []string, merge bool) error

func HandlePdfMerge

func HandlePdfMerge(outPdf string, filenames []string) error

func HasImgExtension

func HasImgExtension(fileName string) bool

func HasPdfExtension

func HasPdfExtension(filename string) bool

func ParseCutArg

func ParseCutArg(args string) ([]string, error)

func ParseMergeArg

func ParseMergeArg(arg string) ([]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL