Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Provider ¶
type Provider interface { // Grid CreateRow(height float64) CreateCol(width, height float64, config *config.Config, prop *props.Cell) // Features AddLine(cell *Cell, prop *props.Line) AddText(text string, cell *Cell, prop *props.Text) AddSignature(text string, cell *Cell, prop *props.Text) AddMatrixCode(code string, cell *Cell, prop *props.Rect) AddQrCode(code string, cell *Cell, rect *props.Rect) AddBarCode(code string, cell *Cell, prop *props.Barcode) AddImage(value string, cell *Cell, prop *props.Rect, extension extension.Type) // General GetDimensions() (width float64, height float64) GetMargins() (left float64, top float64, right float64, bottom float64) GenerateFile(file string) error GenerateBytes() ([]byte, error) SetCache(cache cache.Cache) SetProtection(protection *config.Protection) SetCompression(compression bool) SetMetadata(metadata *config.Metadata) }
Click to show internal directories.
Click to hide internal directories.