cellwriter

package
v2.0.0-alpha.26 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBorderColorStyler

func NewBorderColorStyler(fpdf *gofpdf.Fpdf) *borderColorStyler

func NewBorderLineStyler

func NewBorderLineStyler(fpdf *gofpdf.Fpdf) *borderLineStyler

func NewBorderThicknessStyler

func NewBorderThicknessStyler(fpdf *gofpdf.Fpdf) *borderThicknessStyler

func NewCellCreator

func NewCellCreator(fpdf *gofpdf.Fpdf) *cellWriter

Types

type CellWriter

type CellWriter interface {
	SetNext(next CellWriter)
	Apply(width, height float64, config *config.Config, prop *props.Cell)
}

type CellWriterBuilder

type CellWriterBuilder struct{}

func NewBuilder

func NewBuilder() *CellWriterBuilder

func (*CellWriterBuilder) Build

func (c *CellWriterBuilder) Build(fpdf *gofpdf.Fpdf) CellWriter

type StylerTemplate

type StylerTemplate struct {
	// contains filtered or unexported fields
}

func (*StylerTemplate) GoToNext

func (s *StylerTemplate) GoToNext(width, height float64, config *config.Config, prop *props.Cell)

func (*StylerTemplate) SetNext

func (s *StylerTemplate) SetNext(next CellWriter)

Jump to

Keyboard shortcuts

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