Documentation
¶
Index ¶
- func ExtractText(input, outdir, outname string, overwrite bool) error
- func FileCopy(input, outdir string, overwrite bool) error
- func FileCopyLog(lg io.Writer, input, outdir string, overwrite bool) error
- func IsPDF(puid string) bool
- func IsText(puid string) bool
- func IsWord(puid string) bool
- func MakeDir(dir string) (error, bool)
- func SetFFMpegPath(p string)
- func SetImageMPath(p string)
- func SetLibreOPath(p string)
- func SetThumb(x, y int)
- func SetTikaPath(p string)
- func SetTimeout(t time.Duration)
- func Thumbnail(input, outdir, outname string, overwrite bool) error
- func WordToPdf(input, outdir string, overwrite bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractText ¶
ExtractText extracts text from input and writes it to the outname in outdir
func FileCopyLog ¶
FileCopy log copies a file from input to outdir using xcopy and logs the copy action to the provided log writer
func MakeDir ¶
MakeDir creates a directory, unless one already exists. Returns an error and a boolean that indicates whether the directory already exists.
func SetFFMpegPath ¶
func SetFFMpegPath(p string)
SetFFMpegPath sets your install directory for FFMpeg
func SetImageMPath ¶
func SetImageMPath(p string)
SetImageMPath sets your install directory for Image Magick
func SetLibreOPath ¶
func SetLibreOPath(p string)
SetLibreOPath sets your install directory for Libre Office
func SetThumb ¶
func SetThumb(x, y int)
SetThumb defines your preferences for thumbnail dimensions (provide x and y values)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.