Documentation ¶
Index ¶
- type Code
- type Font
- func (_m *Font) GetColor() color.Color
- func (_m *Font) GetFamily() string
- func (_m *Font) GetFont() (string, consts.Style, float64)
- func (_m *Font) GetScaleFactor() float64
- func (_m *Font) GetSize() float64
- func (_m *Font) GetStyle() consts.Style
- func (_m *Font) SetColor(_a0 color.Color)
- func (_m *Font) SetFamily(family string)
- func (_m *Font) SetFont(family string, style consts.Style, size float64)
- func (_m *Font) SetSize(size float64)
- func (_m *Font) SetStyle(style consts.Style)
- type Fpdf
- func (_m *Fpdf) AddFont(familyStr string, styleStr string, fileStr string)
- func (_m *Fpdf) AddFontFromBytes(familyStr string, styleStr string, jsonFileBytes []byte, zFileBytes []byte)
- func (_m *Fpdf) AddFontFromReader(familyStr string, styleStr string, r io.Reader)
- func (_m *Fpdf) AddLayer(name string, visible bool) int
- func (_m *Fpdf) AddLink() int
- func (_m *Fpdf) AddPage()
- func (_m *Fpdf) AddPageFormat(orientationStr string, size gofpdf.SizeType)
- func (_m *Fpdf) AddSpotColor(nameStr string, c byte, m byte, y byte, k byte)
- func (_m *Fpdf) AddUTF8Font(familyStr string, styleStr string, fileStr string)
- func (_m *Fpdf) AliasNbPages(aliasStr string)
- func (_m *Fpdf) Arc(x float64, y float64, rx float64, ry float64, degRotate float64, ...)
- func (_m *Fpdf) ArcTo(x float64, y float64, rx float64, ry float64, degRotate float64, ...)
- func (_m *Fpdf) BeginLayer(id int)
- func (_m *Fpdf) Beziergon(points []gofpdf.PointType, styleStr string)
- func (_m *Fpdf) Bookmark(txtStr string, level int, y float64)
- func (_m *Fpdf) Cell(w float64, h float64, txtStr string)
- func (_m *Fpdf) CellFormat(w float64, h float64, txtStr string, borderStr string, ln int, alignStr string, ...)
- func (_m *Fpdf) Cellf(w float64, h float64, fmtStr string, args ...interface{})
- func (_m *Fpdf) Circle(x float64, y float64, r float64, styleStr string)
- func (_m *Fpdf) ClearError()
- func (_m *Fpdf) ClipCircle(x float64, y float64, r float64, outline bool)
- func (_m *Fpdf) ClipEllipse(x float64, y float64, rx float64, ry float64, outline bool)
- func (_m *Fpdf) ClipEnd()
- func (_m *Fpdf) ClipPolygon(points []gofpdf.PointType, outline bool)
- func (_m *Fpdf) ClipRect(x float64, y float64, w float64, h float64, outline bool)
- func (_m *Fpdf) ClipRoundedRect(x float64, y float64, w float64, h float64, r float64, outline bool)
- func (_m *Fpdf) ClipText(x float64, y float64, txtStr string, outline bool)
- func (_m *Fpdf) Close()
- func (_m *Fpdf) ClosePath()
- func (_m *Fpdf) CreateTemplate(fn func(*gofpdf.Tpl)) gofpdf.Template
- func (_m *Fpdf) CreateTemplateCustom(corner gofpdf.PointType, size gofpdf.SizeType, fn func(*gofpdf.Tpl)) gofpdf.Template
- func (_m *Fpdf) Curve(x0 float64, y0 float64, cx float64, cy float64, x1 float64, y1 float64, ...)
- func (_m *Fpdf) CurveBezierCubic(x0 float64, y0 float64, cx0 float64, cy0 float64, cx1 float64, cy1 float64, ...)
- func (_m *Fpdf) CurveBezierCubicTo(cx0 float64, cy0 float64, cx1 float64, cy1 float64, x float64, y float64)
- func (_m *Fpdf) CurveCubic(x0 float64, y0 float64, cx0 float64, cy0 float64, x1 float64, y1 float64, ...)
- func (_m *Fpdf) CurveTo(cx float64, cy float64, x float64, y float64)
- func (_m *Fpdf) DrawPath(styleStr string)
- func (_m *Fpdf) Ellipse(x float64, y float64, rx float64, ry float64, degRotate float64, ...)
- func (_m *Fpdf) EndLayer()
- func (_m *Fpdf) Err() bool
- func (_m *Fpdf) Error() error
- func (_m *Fpdf) GetAlpha() (float64, string)
- func (_m *Fpdf) GetAutoPageBreak() (bool, float64)
- func (_m *Fpdf) GetCellMargin() float64
- func (_m *Fpdf) GetConversionRatio() float64
- func (_m *Fpdf) GetDrawColor() (int, int, int)
- func (_m *Fpdf) GetDrawSpotColor() (string, byte, byte, byte, byte)
- func (_m *Fpdf) GetFillColor() (int, int, int)
- func (_m *Fpdf) GetFillSpotColor() (string, byte, byte, byte, byte)
- func (_m *Fpdf) GetFontDesc(familyStr string, styleStr string) gofpdf.FontDescType
- func (_m *Fpdf) GetFontSize() (float64, float64)
- func (_m *Fpdf) GetImageInfo(imageStr string) *gofpdf.ImageInfoType
- func (_m *Fpdf) GetLineWidth() float64
- func (_m *Fpdf) GetMargins() (float64, float64, float64, float64)
- func (_m *Fpdf) GetPageSize() (float64, float64)
- func (_m *Fpdf) GetPageSizeStr(sizeStr string) gofpdf.SizeType
- func (_m *Fpdf) GetStringWidth(s string) float64
- func (_m *Fpdf) GetTextColor() (int, int, int)
- func (_m *Fpdf) GetTextSpotColor() (string, byte, byte, byte, byte)
- func (_m *Fpdf) GetX() float64
- func (_m *Fpdf) GetXY() (float64, float64)
- func (_m *Fpdf) GetY() float64
- func (_m *Fpdf) HTMLBasicNew() gofpdf.HTMLBasicType
- func (_m *Fpdf) Image(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, ...)
- func (_m *Fpdf) ImageOptions(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, ...)
- func (_m *Fpdf) ImageTypeFromMime(mimeStr string) string
- func (_m *Fpdf) Line(x1 float64, y1 float64, x2 float64, y2 float64)
- func (_m *Fpdf) LineTo(x float64, y float64)
- func (_m *Fpdf) LinearGradient(x float64, y float64, w float64, h float64, r1 int, g1 int, b1 int, r2 int, ...)
- func (_m *Fpdf) Link(x float64, y float64, w float64, h float64, link int)
- func (_m *Fpdf) LinkString(x float64, y float64, w float64, h float64, linkStr string)
- func (_m *Fpdf) Ln(h float64)
- func (_m *Fpdf) MoveTo(x float64, y float64)
- func (_m *Fpdf) MultiCell(w float64, h float64, txtStr string, borderStr string, alignStr string, ...)
- func (_m *Fpdf) Ok() bool
- func (_m *Fpdf) OpenLayerPane()
- func (_m *Fpdf) Output(w io.Writer) error
- func (_m *Fpdf) OutputAndClose(w io.WriteCloser) error
- func (_m *Fpdf) OutputFileAndClose(fileStr string) error
- func (_m *Fpdf) PageCount() int
- func (_m *Fpdf) PageNo() int
- func (_m *Fpdf) PageSize(pageNum int) (float64, float64, string)
- func (_m *Fpdf) PointConvert(pt float64) float64
- func (_m *Fpdf) PointToUnitConvert(pt float64) float64
- func (_m *Fpdf) Polygon(points []gofpdf.PointType, styleStr string)
- func (_m *Fpdf) RadialGradient(x float64, y float64, w float64, h float64, r1 int, g1 int, b1 int, r2 int, ...)
- func (_m *Fpdf) RawWriteBuf(r io.Reader)
- func (_m *Fpdf) RawWriteStr(str string)
- func (_m *Fpdf) Rect(x float64, y float64, w float64, h float64, styleStr string)
- func (_m *Fpdf) RegisterAlias(alias string, replacement string)
- func (_m *Fpdf) RegisterImage(fileStr string, tp string) *gofpdf.ImageInfoType
- func (_m *Fpdf) RegisterImageOptions(fileStr string, options gofpdf.ImageOptions) *gofpdf.ImageInfoType
- func (_m *Fpdf) RegisterImageOptionsReader(imgName string, options gofpdf.ImageOptions, r io.Reader) *gofpdf.ImageInfoType
- func (_m *Fpdf) RegisterImageReader(imgName string, tp string, r io.Reader) *gofpdf.ImageInfoType
- func (_m *Fpdf) SVGBasicWrite(sb *gofpdf.SVGBasicType, scale float64)
- func (_m *Fpdf) SetAcceptPageBreakFunc(fnc func() bool)
- func (_m *Fpdf) SetAlpha(alpha float64, blendModeStr string)
- func (_m *Fpdf) SetAuthor(authorStr string, isUTF8 bool)
- func (_m *Fpdf) SetAutoPageBreak(auto bool, margin float64)
- func (_m *Fpdf) SetCatalogSort(flag bool)
- func (_m *Fpdf) SetCellMargin(margin float64)
- func (_m *Fpdf) SetCompression(compress bool)
- func (_m *Fpdf) SetCreationDate(tm time.Time)
- func (_m *Fpdf) SetCreator(creatorStr string, isUTF8 bool)
- func (_m *Fpdf) SetDashPattern(dashArray []float64, dashPhase float64)
- func (_m *Fpdf) SetDisplayMode(zoomStr string, layoutStr string)
- func (_m *Fpdf) SetDrawColor(r int, g int, b int)
- func (_m *Fpdf) SetDrawSpotColor(nameStr string, tint byte)
- func (_m *Fpdf) SetError(err error)
- func (_m *Fpdf) SetErrorf(fmtStr string, args ...interface{})
- func (_m *Fpdf) SetFillColor(r int, g int, b int)
- func (_m *Fpdf) SetFillSpotColor(nameStr string, tint byte)
- func (_m *Fpdf) SetFont(familyStr string, styleStr string, size float64)
- func (_m *Fpdf) SetFontLoader(loader gofpdf.FontLoader)
- func (_m *Fpdf) SetFontLocation(fontDirStr string)
- func (_m *Fpdf) SetFontSize(size float64)
- func (_m *Fpdf) SetFontStyle(styleStr string)
- func (_m *Fpdf) SetFontUnitSize(size float64)
- func (_m *Fpdf) SetFooterFunc(fnc func())
- func (_m *Fpdf) SetFooterFuncLpi(fnc func(bool))
- func (_m *Fpdf) SetHeaderFunc(fnc func())
- func (_m *Fpdf) SetHeaderFuncMode(fnc func(), homeMode bool)
- func (_m *Fpdf) SetHomeXY()
- func (_m *Fpdf) SetJavascript(script string)
- func (_m *Fpdf) SetKeywords(keywordsStr string, isUTF8 bool)
- func (_m *Fpdf) SetLeftMargin(margin float64)
- func (_m *Fpdf) SetLineCapStyle(styleStr string)
- func (_m *Fpdf) SetLineJoinStyle(styleStr string)
- func (_m *Fpdf) SetLineWidth(width float64)
- func (_m *Fpdf) SetLink(link int, y float64, page int)
- func (_m *Fpdf) SetMargins(left float64, top float64, right float64)
- func (_m *Fpdf) SetPage(pageNum int)
- func (_m *Fpdf) SetPageBox(t string, x float64, y float64, wd float64, ht float64)
- func (_m *Fpdf) SetPageBoxRec(t string, pb gofpdf.PageBox)
- func (_m *Fpdf) SetProtection(actionFlag byte, userPassStr string, ownerPassStr string)
- func (_m *Fpdf) SetRightMargin(margin float64)
- func (_m *Fpdf) SetSubject(subjectStr string, isUTF8 bool)
- func (_m *Fpdf) SetTextColor(r int, g int, b int)
- func (_m *Fpdf) SetTextSpotColor(nameStr string, tint byte)
- func (_m *Fpdf) SetTitle(titleStr string, isUTF8 bool)
- func (_m *Fpdf) SetTopMargin(margin float64)
- func (_m *Fpdf) SetX(x float64)
- func (_m *Fpdf) SetXY(x float64, y float64)
- func (_m *Fpdf) SetXmpMetadata(xmpStream []byte)
- func (_m *Fpdf) SetY(y float64)
- func (_m *Fpdf) SplitLines(txt []byte, w float64) [][]byte
- func (_m *Fpdf) String() string
- func (_m *Fpdf) Text(x float64, y float64, txtStr string)
- func (_m *Fpdf) Transform(tm gofpdf.TransformMatrix)
- func (_m *Fpdf) TransformBegin()
- func (_m *Fpdf) TransformEnd()
- func (_m *Fpdf) TransformMirrorHorizontal(x float64)
- func (_m *Fpdf) TransformMirrorLine(angle float64, x float64, y float64)
- func (_m *Fpdf) TransformMirrorPoint(x float64, y float64)
- func (_m *Fpdf) TransformMirrorVertical(y float64)
- func (_m *Fpdf) TransformRotate(angle float64, x float64, y float64)
- func (_m *Fpdf) TransformScale(scaleWd float64, scaleHt float64, x float64, y float64)
- func (_m *Fpdf) TransformScaleX(scaleWd float64, x float64, y float64)
- func (_m *Fpdf) TransformScaleXY(s float64, x float64, y float64)
- func (_m *Fpdf) TransformScaleY(scaleHt float64, x float64, y float64)
- func (_m *Fpdf) TransformSkew(angleX float64, angleY float64, x float64, y float64)
- func (_m *Fpdf) TransformSkewX(angleX float64, x float64, y float64)
- func (_m *Fpdf) TransformSkewY(angleY float64, x float64, y float64)
- func (_m *Fpdf) TransformTranslate(tx float64, ty float64)
- func (_m *Fpdf) TransformTranslateX(tx float64)
- func (_m *Fpdf) TransformTranslateY(ty float64)
- func (_m *Fpdf) UnicodeTranslatorFromDescriptor(cpStr string) func(string) string
- func (_m *Fpdf) UnitToPointConvert(u float64) float64
- func (_m *Fpdf) UseTemplate(t gofpdf.Template)
- func (_m *Fpdf) UseTemplateScaled(t gofpdf.Template, corner gofpdf.PointType, size gofpdf.SizeType)
- func (_m *Fpdf) Write(h float64, txtStr string)
- func (_m *Fpdf) WriteAligned(width float64, lineHeight float64, textStr string, alignStr string)
- func (_m *Fpdf) WriteLinkID(h float64, displayStr string, linkID int)
- func (_m *Fpdf) WriteLinkString(h float64, displayStr string, targetStr string)
- func (_m *Fpdf) Writef(h float64, fmtStr string, args ...interface{})
- type Image
- type Maroto
- func (_m *Maroto) Barcode(code string, prop ...props.Barcode) error
- func (_m *Maroto) Base64Image(base64 string, extension consts.Extension, prop ...props.Rect) error
- func (_m *Maroto) Col(width uint, closure func())
- func (_m *Maroto) ColSpace(uint)
- func (_m *Maroto) ColSpaces(qtd int)
- func (_m *Maroto) FileImage(filePathName string, prop ...props.Rect) error
- func (_m *Maroto) GetBorder() bool
- func (_m *Maroto) GetCurrentOffset() float64
- func (_m *Maroto) GetCurrentPage() int
- func (_m *Maroto) GetPageMargins() (float64, float64, float64, float64)
- func (_m *Maroto) GetPageSize() (float64, float64)
- func (_m *Maroto) Line(spaceHeight float64)
- func (_m *Maroto) Output() (bytes.Buffer, error)
- func (_m *Maroto) OutputFileAndClose(filePathName string) error
- func (_m *Maroto) QrCode(code string, prop ...props.Rect)
- func (_m *Maroto) RegisterFooter(closure func())
- func (_m *Maroto) RegisterHeader(closure func())
- func (_m *Maroto) Row(height float64, closure func())
- func (_m *Maroto) SetBackgroundColor(_a0 color.Color)
- func (_m *Maroto) SetBorder(on bool)
- func (_m *Maroto) SetPageMargins(left float64, top float64, right float64)
- func (_m *Maroto) Signature(label string, prop ...props.Font)
- func (_m *Maroto) TableList(header []string, contents [][]string, prop ...props.TableList)
- func (_m *Maroto) Text(text string, prop ...props.Text)
- type Math
- func (_m *Math) GetCenterCorrection(outerSize float64, innerSize float64) float64
- func (_m *Math) GetRectCenterColProperties(imageWidth float64, imageHeight float64, colWidth float64, colHeight float64, ...) (float64, float64, float64, float64)
- func (_m *Math) GetRectNonCenterColProperties(imageWidth float64, imageHeight float64, colWidth float64, colHeight float64, ...) (float64, float64, float64, float64)
- func (_m *Math) GetWidthPerCol(percent float64) float64
- type Signature
- type TableList
- type Text
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Code ¶
Code is an autogenerated mock type for the Code type
func (*Code) AddDataMatrix ¶
AddDataMatrix provides a mock function with given fields: code, cell, prop
type Font ¶
Font is an autogenerated mock type for the Font type
func (*Font) GetScaleFactor ¶
GetScaleFactor provides a mock function with given fields:
type Fpdf ¶
Fpdf is an autogenerated mock type for the Fpdf type
func (*Fpdf) AddFont ¶
AddFont provides a mock function with given fields: familyStr, styleStr, fileStr
func (*Fpdf) AddFontFromBytes ¶
func (_m *Fpdf) AddFontFromBytes(familyStr string, styleStr string, jsonFileBytes []byte, zFileBytes []byte)
AddFontFromBytes provides a mock function with given fields: familyStr, styleStr, jsonFileBytes, zFileBytes
func (*Fpdf) AddFontFromReader ¶
AddFontFromReader provides a mock function with given fields: familyStr, styleStr, r
func (*Fpdf) AddPage ¶
func (_m *Fpdf) AddPage()
AddPage provides a mock function with given fields:
func (*Fpdf) AddPageFormat ¶
AddPageFormat provides a mock function with given fields: orientationStr, size
func (*Fpdf) AddSpotColor ¶
AddSpotColor provides a mock function with given fields: nameStr, c, m, y, k
func (*Fpdf) AddUTF8Font ¶
AddUTF8Font provides a mock function with given fields: familyStr, styleStr, fileStr
func (*Fpdf) AliasNbPages ¶
AliasNbPages provides a mock function with given fields: aliasStr
func (*Fpdf) Arc ¶
func (_m *Fpdf) Arc(x float64, y float64, rx float64, ry float64, degRotate float64, degStart float64, degEnd float64, styleStr string)
Arc provides a mock function with given fields: x, y, rx, ry, degRotate, degStart, degEnd, styleStr
func (*Fpdf) ArcTo ¶
func (_m *Fpdf) ArcTo(x float64, y float64, rx float64, ry float64, degRotate float64, degStart float64, degEnd float64)
ArcTo provides a mock function with given fields: x, y, rx, ry, degRotate, degStart, degEnd
func (*Fpdf) BeginLayer ¶
BeginLayer provides a mock function with given fields: id
func (*Fpdf) CellFormat ¶
func (_m *Fpdf) CellFormat(w float64, h float64, txtStr string, borderStr string, ln int, alignStr string, fill bool, link int, linkStr string)
CellFormat provides a mock function with given fields: w, h, txtStr, borderStr, ln, alignStr, fill, link, linkStr
func (*Fpdf) ClearError ¶
func (_m *Fpdf) ClearError()
ClearError provides a mock function with given fields:
func (*Fpdf) ClipCircle ¶
ClipCircle provides a mock function with given fields: x, y, r, outline
func (*Fpdf) ClipEllipse ¶
ClipEllipse provides a mock function with given fields: x, y, rx, ry, outline
func (*Fpdf) ClipEnd ¶
func (_m *Fpdf) ClipEnd()
ClipEnd provides a mock function with given fields:
func (*Fpdf) ClipPolygon ¶
ClipPolygon provides a mock function with given fields: points, outline
func (*Fpdf) ClipRoundedRect ¶
func (_m *Fpdf) ClipRoundedRect(x float64, y float64, w float64, h float64, r float64, outline bool)
ClipRoundedRect provides a mock function with given fields: x, y, w, h, r, outline
func (*Fpdf) ClosePath ¶
func (_m *Fpdf) ClosePath()
ClosePath provides a mock function with given fields:
func (*Fpdf) CreateTemplate ¶
CreateTemplate provides a mock function with given fields: fn
func (*Fpdf) CreateTemplateCustom ¶
func (_m *Fpdf) CreateTemplateCustom(corner gofpdf.PointType, size gofpdf.SizeType, fn func(*gofpdf.Tpl)) gofpdf.Template
CreateTemplateCustom provides a mock function with given fields: corner, size, fn
func (*Fpdf) Curve ¶
func (_m *Fpdf) Curve(x0 float64, y0 float64, cx float64, cy float64, x1 float64, y1 float64, styleStr string)
Curve provides a mock function with given fields: x0, y0, cx, cy, x1, y1, styleStr
func (*Fpdf) CurveBezierCubic ¶
func (_m *Fpdf) CurveBezierCubic(x0 float64, y0 float64, cx0 float64, cy0 float64, cx1 float64, cy1 float64, x1 float64, y1 float64, styleStr string)
CurveBezierCubic provides a mock function with given fields: x0, y0, cx0, cy0, cx1, cy1, x1, y1, styleStr
func (*Fpdf) CurveBezierCubicTo ¶
func (_m *Fpdf) CurveBezierCubicTo(cx0 float64, cy0 float64, cx1 float64, cy1 float64, x float64, y float64)
CurveBezierCubicTo provides a mock function with given fields: cx0, cy0, cx1, cy1, x, y
func (*Fpdf) CurveCubic ¶
func (_m *Fpdf) CurveCubic(x0 float64, y0 float64, cx0 float64, cy0 float64, x1 float64, y1 float64, cx1 float64, cy1 float64, styleStr string)
CurveCubic provides a mock function with given fields: x0, y0, cx0, cy0, x1, y1, cx1, cy1, styleStr
func (*Fpdf) Ellipse ¶
func (_m *Fpdf) Ellipse(x float64, y float64, rx float64, ry float64, degRotate float64, styleStr string)
Ellipse provides a mock function with given fields: x, y, rx, ry, degRotate, styleStr
func (*Fpdf) EndLayer ¶
func (_m *Fpdf) EndLayer()
EndLayer provides a mock function with given fields:
func (*Fpdf) GetAutoPageBreak ¶
GetAutoPageBreak provides a mock function with given fields:
func (*Fpdf) GetCellMargin ¶
GetCellMargin provides a mock function with given fields:
func (*Fpdf) GetConversionRatio ¶
GetConversionRatio provides a mock function with given fields:
func (*Fpdf) GetDrawColor ¶
GetDrawColor provides a mock function with given fields:
func (*Fpdf) GetDrawSpotColor ¶
GetDrawSpotColor provides a mock function with given fields:
func (*Fpdf) GetFillColor ¶
GetFillColor provides a mock function with given fields:
func (*Fpdf) GetFillSpotColor ¶
GetFillSpotColor provides a mock function with given fields:
func (*Fpdf) GetFontDesc ¶
func (_m *Fpdf) GetFontDesc(familyStr string, styleStr string) gofpdf.FontDescType
GetFontDesc provides a mock function with given fields: familyStr, styleStr
func (*Fpdf) GetFontSize ¶
GetFontSize provides a mock function with given fields:
func (*Fpdf) GetImageInfo ¶
func (_m *Fpdf) GetImageInfo(imageStr string) *gofpdf.ImageInfoType
GetImageInfo provides a mock function with given fields: imageStr
func (*Fpdf) GetLineWidth ¶
GetLineWidth provides a mock function with given fields:
func (*Fpdf) GetMargins ¶
GetMargins provides a mock function with given fields:
func (*Fpdf) GetPageSize ¶
GetPageSize provides a mock function with given fields:
func (*Fpdf) GetPageSizeStr ¶
GetPageSizeStr provides a mock function with given fields: sizeStr
func (*Fpdf) GetStringWidth ¶
GetStringWidth provides a mock function with given fields: s
func (*Fpdf) GetTextColor ¶
GetTextColor provides a mock function with given fields:
func (*Fpdf) GetTextSpotColor ¶
GetTextSpotColor provides a mock function with given fields:
func (*Fpdf) HTMLBasicNew ¶
func (_m *Fpdf) HTMLBasicNew() gofpdf.HTMLBasicType
HTMLBasicNew provides a mock function with given fields:
func (*Fpdf) Image ¶
func (_m *Fpdf) Image(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, tp string, link int, linkStr string)
Image provides a mock function with given fields: imageNameStr, x, y, w, h, flow, tp, link, linkStr
func (*Fpdf) ImageOptions ¶
func (_m *Fpdf) ImageOptions(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, options gofpdf.ImageOptions, link int, linkStr string)
ImageOptions provides a mock function with given fields: imageNameStr, x, y, w, h, flow, options, link, linkStr
func (*Fpdf) ImageTypeFromMime ¶
ImageTypeFromMime provides a mock function with given fields: mimeStr
func (*Fpdf) LinearGradient ¶
func (_m *Fpdf) LinearGradient(x float64, y float64, w float64, h float64, r1 int, g1 int, b1 int, r2 int, g2 int, b2 int, x1 float64, y1 float64, x2 float64, y2 float64)
LinearGradient provides a mock function with given fields: x, y, w, h, r1, g1, b1, r2, g2, b2, x1, y1, x2, y2
func (*Fpdf) LinkString ¶
LinkString provides a mock function with given fields: x, y, w, h, linkStr
func (*Fpdf) MultiCell ¶
func (_m *Fpdf) MultiCell(w float64, h float64, txtStr string, borderStr string, alignStr string, fill bool)
MultiCell provides a mock function with given fields: w, h, txtStr, borderStr, alignStr, fill
func (*Fpdf) OpenLayerPane ¶
func (_m *Fpdf) OpenLayerPane()
OpenLayerPane provides a mock function with given fields:
func (*Fpdf) OutputAndClose ¶
func (_m *Fpdf) OutputAndClose(w io.WriteCloser) error
OutputAndClose provides a mock function with given fields: w
func (*Fpdf) OutputFileAndClose ¶
OutputFileAndClose provides a mock function with given fields: fileStr
func (*Fpdf) PointConvert ¶
PointConvert provides a mock function with given fields: pt
func (*Fpdf) PointToUnitConvert ¶
PointToUnitConvert provides a mock function with given fields: pt
func (*Fpdf) RadialGradient ¶
func (_m *Fpdf) RadialGradient(x float64, y float64, w float64, h float64, r1 int, g1 int, b1 int, r2 int, g2 int, b2 int, x1 float64, y1 float64, x2 float64, y2 float64, r float64)
RadialGradient provides a mock function with given fields: x, y, w, h, r1, g1, b1, r2, g2, b2, x1, y1, x2, y2, r
func (*Fpdf) RawWriteBuf ¶
RawWriteBuf provides a mock function with given fields: r
func (*Fpdf) RawWriteStr ¶
RawWriteStr provides a mock function with given fields: str
func (*Fpdf) RegisterAlias ¶
RegisterAlias provides a mock function with given fields: alias, replacement
func (*Fpdf) RegisterImage ¶
func (_m *Fpdf) RegisterImage(fileStr string, tp string) *gofpdf.ImageInfoType
RegisterImage provides a mock function with given fields: fileStr, tp
func (*Fpdf) RegisterImageOptions ¶
func (_m *Fpdf) RegisterImageOptions(fileStr string, options gofpdf.ImageOptions) *gofpdf.ImageInfoType
RegisterImageOptions provides a mock function with given fields: fileStr, options
func (*Fpdf) RegisterImageOptionsReader ¶
func (_m *Fpdf) RegisterImageOptionsReader(imgName string, options gofpdf.ImageOptions, r io.Reader) *gofpdf.ImageInfoType
RegisterImageOptionsReader provides a mock function with given fields: imgName, options, r
func (*Fpdf) RegisterImageReader ¶
RegisterImageReader provides a mock function with given fields: imgName, tp, r
func (*Fpdf) SVGBasicWrite ¶
func (_m *Fpdf) SVGBasicWrite(sb *gofpdf.SVGBasicType, scale float64)
SVGBasicWrite provides a mock function with given fields: sb, scale
func (*Fpdf) SetAcceptPageBreakFunc ¶
SetAcceptPageBreakFunc provides a mock function with given fields: fnc
func (*Fpdf) SetAutoPageBreak ¶
SetAutoPageBreak provides a mock function with given fields: auto, margin
func (*Fpdf) SetCatalogSort ¶
SetCatalogSort provides a mock function with given fields: flag
func (*Fpdf) SetCellMargin ¶
SetCellMargin provides a mock function with given fields: margin
func (*Fpdf) SetCompression ¶
SetCompression provides a mock function with given fields: compress
func (*Fpdf) SetCreationDate ¶
SetCreationDate provides a mock function with given fields: tm
func (*Fpdf) SetCreator ¶
SetCreator provides a mock function with given fields: creatorStr, isUTF8
func (*Fpdf) SetDashPattern ¶
SetDashPattern provides a mock function with given fields: dashArray, dashPhase
func (*Fpdf) SetDisplayMode ¶
SetDisplayMode provides a mock function with given fields: zoomStr, layoutStr
func (*Fpdf) SetDrawColor ¶
SetDrawColor provides a mock function with given fields: r, g, b
func (*Fpdf) SetDrawSpotColor ¶
SetDrawSpotColor provides a mock function with given fields: nameStr, tint
func (*Fpdf) SetFillColor ¶
SetFillColor provides a mock function with given fields: r, g, b
func (*Fpdf) SetFillSpotColor ¶
SetFillSpotColor provides a mock function with given fields: nameStr, tint
func (*Fpdf) SetFont ¶
SetFont provides a mock function with given fields: familyStr, styleStr, size
func (*Fpdf) SetFontLoader ¶
func (_m *Fpdf) SetFontLoader(loader gofpdf.FontLoader)
SetFontLoader provides a mock function with given fields: loader
func (*Fpdf) SetFontLocation ¶
SetFontLocation provides a mock function with given fields: fontDirStr
func (*Fpdf) SetFontSize ¶
SetFontSize provides a mock function with given fields: size
func (*Fpdf) SetFontStyle ¶
SetFontStyle provides a mock function with given fields: styleStr
func (*Fpdf) SetFontUnitSize ¶
SetFontUnitSize provides a mock function with given fields: size
func (*Fpdf) SetFooterFunc ¶
func (_m *Fpdf) SetFooterFunc(fnc func())
SetFooterFunc provides a mock function with given fields: fnc
func (*Fpdf) SetFooterFuncLpi ¶
SetFooterFuncLpi provides a mock function with given fields: fnc
func (*Fpdf) SetHeaderFunc ¶
func (_m *Fpdf) SetHeaderFunc(fnc func())
SetHeaderFunc provides a mock function with given fields: fnc
func (*Fpdf) SetHeaderFuncMode ¶
SetHeaderFuncMode provides a mock function with given fields: fnc, homeMode
func (*Fpdf) SetHomeXY ¶
func (_m *Fpdf) SetHomeXY()
SetHomeXY provides a mock function with given fields:
func (*Fpdf) SetJavascript ¶
SetJavascript provides a mock function with given fields: script
func (*Fpdf) SetKeywords ¶
SetKeywords provides a mock function with given fields: keywordsStr, isUTF8
func (*Fpdf) SetLeftMargin ¶
SetLeftMargin provides a mock function with given fields: margin
func (*Fpdf) SetLineCapStyle ¶
SetLineCapStyle provides a mock function with given fields: styleStr
func (*Fpdf) SetLineJoinStyle ¶
SetLineJoinStyle provides a mock function with given fields: styleStr
func (*Fpdf) SetLineWidth ¶
SetLineWidth provides a mock function with given fields: width
func (*Fpdf) SetMargins ¶
SetMargins provides a mock function with given fields: left, top, right
func (*Fpdf) SetPageBox ¶
SetPageBox provides a mock function with given fields: t, x, y, wd, ht
func (*Fpdf) SetPageBoxRec ¶
SetPageBoxRec provides a mock function with given fields: t, pb
func (*Fpdf) SetProtection ¶
SetProtection provides a mock function with given fields: actionFlag, userPassStr, ownerPassStr
func (*Fpdf) SetRightMargin ¶
SetRightMargin provides a mock function with given fields: margin
func (*Fpdf) SetSubject ¶
SetSubject provides a mock function with given fields: subjectStr, isUTF8
func (*Fpdf) SetTextColor ¶
SetTextColor provides a mock function with given fields: r, g, b
func (*Fpdf) SetTextSpotColor ¶
SetTextSpotColor provides a mock function with given fields: nameStr, tint
func (*Fpdf) SetTopMargin ¶
SetTopMargin provides a mock function with given fields: margin
func (*Fpdf) SetXmpMetadata ¶
SetXmpMetadata provides a mock function with given fields: xmpStream
func (*Fpdf) SplitLines ¶
SplitLines provides a mock function with given fields: txt, w
func (*Fpdf) Transform ¶
func (_m *Fpdf) Transform(tm gofpdf.TransformMatrix)
Transform provides a mock function with given fields: tm
func (*Fpdf) TransformBegin ¶
func (_m *Fpdf) TransformBegin()
TransformBegin provides a mock function with given fields:
func (*Fpdf) TransformEnd ¶
func (_m *Fpdf) TransformEnd()
TransformEnd provides a mock function with given fields:
func (*Fpdf) TransformMirrorHorizontal ¶
TransformMirrorHorizontal provides a mock function with given fields: x
func (*Fpdf) TransformMirrorLine ¶
TransformMirrorLine provides a mock function with given fields: angle, x, y
func (*Fpdf) TransformMirrorPoint ¶
TransformMirrorPoint provides a mock function with given fields: x, y
func (*Fpdf) TransformMirrorVertical ¶
TransformMirrorVertical provides a mock function with given fields: y
func (*Fpdf) TransformRotate ¶
TransformRotate provides a mock function with given fields: angle, x, y
func (*Fpdf) TransformScale ¶
TransformScale provides a mock function with given fields: scaleWd, scaleHt, x, y
func (*Fpdf) TransformScaleX ¶
TransformScaleX provides a mock function with given fields: scaleWd, x, y
func (*Fpdf) TransformScaleXY ¶
TransformScaleXY provides a mock function with given fields: s, x, y
func (*Fpdf) TransformScaleY ¶
TransformScaleY provides a mock function with given fields: scaleHt, x, y
func (*Fpdf) TransformSkew ¶
TransformSkew provides a mock function with given fields: angleX, angleY, x, y
func (*Fpdf) TransformSkewX ¶
TransformSkewX provides a mock function with given fields: angleX, x, y
func (*Fpdf) TransformSkewY ¶
TransformSkewY provides a mock function with given fields: angleY, x, y
func (*Fpdf) TransformTranslate ¶
TransformTranslate provides a mock function with given fields: tx, ty
func (*Fpdf) TransformTranslateX ¶
TransformTranslateX provides a mock function with given fields: tx
func (*Fpdf) TransformTranslateY ¶
TransformTranslateY provides a mock function with given fields: ty
func (*Fpdf) UnicodeTranslatorFromDescriptor ¶
UnicodeTranslatorFromDescriptor provides a mock function with given fields: cpStr
func (*Fpdf) UnitToPointConvert ¶
UnitToPointConvert provides a mock function with given fields: u
func (*Fpdf) UseTemplate ¶
UseTemplate provides a mock function with given fields: t
func (*Fpdf) UseTemplateScaled ¶
UseTemplateScaled provides a mock function with given fields: t, corner, size
func (*Fpdf) WriteAligned ¶
WriteAligned provides a mock function with given fields: width, lineHeight, textStr, alignStr
func (*Fpdf) WriteLinkID ¶
WriteLinkID provides a mock function with given fields: h, displayStr, linkID
func (*Fpdf) WriteLinkString ¶
WriteLinkString provides a mock function with given fields: h, displayStr, targetStr
type Image ¶
Image is an autogenerated mock type for the Image type
type Maroto ¶
Maroto is an autogenerated mock type for the Maroto type
func (*Maroto) Base64Image ¶
Base64Image provides a mock function with given fields: base64, extension, prop
func (*Maroto) GetCurrentOffset ¶
GetCurrentOffset provides a mock function with given fields:
func (*Maroto) GetCurrentPage ¶
GetCurrentPage provides a mock function with given fields:
func (*Maroto) GetPageMargins ¶
GetPageMargins provides a mock function with given fields:
func (*Maroto) GetPageSize ¶
GetPageSize provides a mock function with given fields:
func (*Maroto) OutputFileAndClose ¶
OutputFileAndClose provides a mock function with given fields: filePathName
func (*Maroto) RegisterFooter ¶
func (_m *Maroto) RegisterFooter(closure func())
RegisterFooter provides a mock function with given fields: closure
func (*Maroto) RegisterHeader ¶
func (_m *Maroto) RegisterHeader(closure func())
RegisterHeader provides a mock function with given fields: closure
func (*Maroto) SetBackgroundColor ¶
SetBackgroundColor provides a mock function with given fields: _a0
func (*Maroto) SetPageMargins ¶
SetPageMargins provides a mock function with given fields: left, top, right
type Math ¶
Math is an autogenerated mock type for the Math type
func (*Math) GetCenterCorrection ¶
GetCenterCorrection provides a mock function with given fields: outerSize, innerSize
func (*Math) GetRectCenterColProperties ¶
func (_m *Math) GetRectCenterColProperties(imageWidth float64, imageHeight float64, colWidth float64, colHeight float64, xColOffset float64, percent float64) (float64, float64, float64, float64)
GetRectCenterColProperties provides a mock function with given fields: imageWidth, imageHeight, qtdCols, colHeight, indexCol, percent
func (*Math) GetRectNonCenterColProperties ¶
func (_m *Math) GetRectNonCenterColProperties(imageWidth float64, imageHeight float64, colWidth float64, colHeight float64, xColOffset float64, prop props.Rect) (float64, float64, float64, float64)
GetRectNonCenterColProperties provides a mock function with given fields: imageWidth, imageHeight, qtdCols, colHeight, indexCol, prop
func (*Math) GetWidthPerCol ¶
GetWidthPerCol provides a mock function with given fields: qtdCols
type TableList ¶
TableList is an autogenerated mock type for the TableList type
func (*TableList) BindGrid ¶
func (_m *TableList) BindGrid(part internal.MarotoGridPart)
BindGrid provides a mock function with given fields: part