Documentation ¶
Index ¶
- type Block
- type Document
- func (_m *Document) AddFont(familyStr string, styleStr string, fileStr string)
- func (_m *Document) AddPage()
- func (_m *Document) CellFormat(w float64, h float64, txtStr string, borderStr string, ln int, alignStr string, ...)
- func (_m *Document) Error() error
- func (_m *Document) GetConversionRatio() float64
- func (_m *Document) GetFillColor() (int, int, int)
- func (_m *Document) GetImageInfo(imageStr string) *gofpdf.ImageInfoType
- func (_m *Document) GetMargins() (float64, float64, float64, float64)
- func (_m *Document) GetPageSize() (float64, float64)
- func (_m *Document) GetStringWidth(s string) float64
- func (_m *Document) GetXY() (float64, float64)
- func (_m *Document) GetY() float64
- func (_m *Document) HTMLBasicNew() gofpdf.HTMLBasicType
- func (_m *Document) Image(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, ...)
- func (_m *Document) ImageTypeFromMime(mimeStr string) string
- func (_m *Document) Line(x1 float64, y1 float64, x2 float64, y2 float64)
- func (_m *Document) LineTo(x float64, y float64)
- func (_m *Document) MultiCell(w float64, h float64, txtStr string, borderStr string, alignStr string, ...)
- func (_m *Document) PointConvert(pt float64) float64
- func (_m *Document) Rect(x float64, y float64, w float64, h float64, styleStr string)
- func (_m *Document) RegisterImageReader(imgName string, tp string, r io.Reader) *gofpdf.ImageInfoType
- func (_m *Document) SetAutoPageBreak(auto bool, margin float64)
- func (_m *Document) SetCellMargin(margin float64)
- func (_m *Document) SetDrawColor(r int, g int, b int)
- func (_m *Document) SetError(err error)
- func (_m *Document) SetFillColor(r int, g int, b int)
- func (_m *Document) SetFont(familyStr string, styleStr string, size float64)
- func (_m *Document) SetLeftMargin(margin float64)
- func (_m *Document) SetMargins(left float64, top float64, right float64)
- func (_m *Document) SetRightMargin(margin float64)
- func (_m *Document) SetTextColor(r int, g int, b int)
- func (_m *Document) SetTopMargin(margin float64)
- func (_m *Document) SetX(x float64)
- func (_m *Document) SetXY(x float64, y float64)
- func (_m *Document) SetY(y float64)
- func (_m *Document) TransformBegin()
- func (_m *Document) TransformEnd()
- func (_m *Document) TransformRotate(angle float64, x float64, y float64)
- func (_m *Document) Write(h float64, txtStr string)
- type Layout
- type Pdf
- type PdfDrawer
- type Size
- type Template
- func (_m *Template) AddError(err error)
- func (_m *Template) Blocks() []templates.Block
- func (_m *Template) Errors() []error
- func (_m *Template) Layout() layouts.Layout
- func (_m *Template) LoadBlock(raw_block map[string]interface{}, raw_input map[string]interface{}) templates.Block
- func (_m *Template) LoadBlocks(user_input interface{})
- func (_m *Template) WaitGroup() *sync.WaitGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
func (*Document) CellFormat ¶
func (*Document) GetConversionRatio ¶
func (*Document) GetImageInfo ¶
func (_m *Document) GetImageInfo(imageStr string) *gofpdf.ImageInfoType
func (*Document) GetPageSize ¶
func (*Document) GetStringWidth ¶
func (*Document) HTMLBasicNew ¶
func (_m *Document) HTMLBasicNew() gofpdf.HTMLBasicType
func (*Document) ImageTypeFromMime ¶
func (*Document) PointConvert ¶
func (*Document) RegisterImageReader ¶
func (*Document) SetAutoPageBreak ¶
func (*Document) SetCellMargin ¶
func (*Document) SetLeftMargin ¶
func (*Document) SetMargins ¶
func (*Document) SetRightMargin ¶
func (*Document) SetTopMargin ¶
func (*Document) TransformBegin ¶
func (_m *Document) TransformBegin()
func (*Document) TransformEnd ¶
func (_m *Document) TransformEnd()
func (*Document) TransformRotate ¶
type Layout ¶
func (*Layout) Orientation ¶
type Size ¶
func (*Size) Orientation ¶
Click to show internal directories.
Click to hide internal directories.