pdf

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHeadText

func AddHeadText(pdf *gofpdf.Fpdf, spacing, x float64, align, text string) *gofpdf.Fpdf

func AddNameText

func AddNameText(pdf *gofpdf.Fpdf, Text string, spacing, x, size float64) *gofpdf.Fpdf

func DownloadFile

func DownloadFile(filepath string, url string) error

func FileExists

func FileExists(filename string) bool

func ImagePdf

func ImagePdf(pdf *gofpdf.Fpdf, filename, urlimage string) *gofpdf.Fpdf

func PDFToBase64

func PDFToBase64(filePath string) (string, error)

func SavePDF

func SavePDF(pdf *gofpdf.Fpdf, path string) error

func SetHeaderTable

func SetHeaderTable(pdf *gofpdf.Fpdf, hdr []string, widths []float64) *gofpdf.Fpdf

func SetMergedCell

func SetMergedCell(pdf *gofpdf.Fpdf, text string, width float64) *gofpdf.Fpdf

func SetTableContent

func SetTableContent(pdf *gofpdf.Fpdf, tbl [][]string, widths []float64, align []string) *gofpdf.Fpdf

Types

This section is empty.

Jump to

Keyboard shortcuts

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