excel2pdf

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 9 Imported by: 0

README

excel2pdf

Converts an Excel file to PDF, compatible with both Windows and Linux. Uses either LibreOffice or Microsoft Excel, with LibreOffice given priority if installed.

var excelPath = `file.xlsx`

func main() {
    pdfFilePath,err := excel2pdf.ConvertExcelToPdf(excelPath)
	fmt.Println(pdfFilePath, err)
}

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrExcel2PdfIsProcessing = errors.New("a process is currently running using the resource")
View Source
var ErrLibreofficeNotInstalled = errors.New("LibreOffice is not installed")

Functions

func ConvertExcelToPdf

func ConvertExcelToPdf(excelFile string) (pdfFile string, err error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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