html2pdf

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: CC0-1.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTML2PDF

type HTML2PDF struct {
	common.FileBase

	PDFDirectory string
	// contains filtered or unexported fields
}

func NewHTML2PDF

func NewHTML2PDF() *HTML2PDF

func (*HTML2PDF) GeneratePDF

func (h *HTML2PDF) GeneratePDF() error

func (*HTML2PDF) GeneratePdfWithExec

func (h *HTML2PDF) GeneratePdfWithExec() error

func (*HTML2PDF) SetDestination

func (h *HTML2PDF) SetDestination(destinationFile string)

func (*HTML2PDF) SetMarginTop

func (h *HTML2PDF) SetMarginTop(marginTop string)

func (*HTML2PDF) SetPDFDirectory

func (h *HTML2PDF) SetPDFDirectory(pdfDirectory string)

Jump to

Keyboard shortcuts

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