Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldInfo ¶
type FieldInfo struct { Key string PageNum int X, Y float64 W, H float64 Align int Font string Size int IsWrapText bool }
FieldInfo field position
type Render ¶
Render pdf render
func NewRender ¶
func NewRender(pdfTmpl string, finfos FieldInfos) (*Render, error)
NewRender create new render
func (*Render) SetTextBreaker ¶ added in v0.6.0
func (r *Render) SetTextBreaker(tb textbreak.TextBreaker)
Click to show internal directories.
Click to hide internal directories.