Versions in this module Expand all Collapse all v1 v1.0.2 Oct 19, 2018 Changes in this version + const OrientationLandscape + const OrientationPortrait + const PageSizeA0 + const PageSizeA1 + const PageSizeA2 + const PageSizeA3 + const PageSizeA4 + const PageSizeA5 + const PageSizeA6 + const PageSizeA7 + const PageSizeA8 + const PageSizeA9 + const PageSizeB0 + const PageSizeB1 + const PageSizeB10 + const PageSizeB2 + const PageSizeB3 + const PageSizeB4 + const PageSizeB5 + const PageSizeB6 + const PageSizeB7 + const PageSizeB8 + const PageSizeB9 + const PageSizeC5E + const PageSizeComm10E + const PageSizeCustom + const PageSizeDLE + const PageSizeExecutive + const PageSizeFolio + const PageSizeLedger + const PageSizeLegal + const PageSizeLetter + const PageSizeTabloid + func GetPath() string + func SetPath(path string) + type PDFGenerator struct + Cover cover + OutputFile string + TOC toc + func NewPDFGenerator() (*PDFGenerator, error) + func (pdfg *PDFGenerator) AddPage(p page) + func (pdfg *PDFGenerator) ArgString() string + func (pdfg *PDFGenerator) Args() []string + func (pdfg *PDFGenerator) Buffer() *bytes.Buffer + func (pdfg *PDFGenerator) Bytes() []byte + func (pdfg *PDFGenerator) Create() error + func (pdfg *PDFGenerator) SetPages(p []page) + func (pdfg *PDFGenerator) WriteFile(filename string) error + type Page struct + Input string + func NewPage(input string) *Page + func (p *Page) Args() []string + func (p *Page) InputFile() string + func (p *Page) Reader() io.Reader + type PageOptions struct + func NewPageOptions() PageOptions + func (po *PageOptions) Args() []string + type PageReader struct + Input io.Reader + func NewPageReader(input io.Reader) *PageReader + func (pr *PageReader) Args() []string + func (pr *PageReader) InputFile() string + func (pr *PageReader) Reader() io.Reader