Documentation ¶
Index ¶
- type Builder
- type Builder_Build_Call
- func (_c *Builder_Build_Call) Return(_a0 *gofpdf.Dependencies) *Builder_Build_Call
- func (_c *Builder_Build_Call) Run(run func(cfg *entity.Config, _a1 cache.Cache)) *Builder_Build_Call
- func (_c *Builder_Build_Call) RunAndReturn(run func(*entity.Config, cache.Cache) *gofpdf.Dependencies) *Builder_Build_Call
- type Builder_Expecter
- type Cache
- type Cache_AddImage_Call
- type Cache_Expecter
- type Cache_GetImage_Call
- func (_c *Cache_GetImage_Call) Return(_a0 *entity.Image, _a1 error) *Cache_GetImage_Call
- func (_c *Cache_GetImage_Call) Run(run func(value string, _a1 extension.Type)) *Cache_GetImage_Call
- func (_c *Cache_GetImage_Call) RunAndReturn(run func(string, extension.Type) (*entity.Image, error)) *Cache_GetImage_Call
- type Cache_LoadImage_Call
- type CellWriter
- func (_m *CellWriter) Apply(width float64, height float64, config *entity.Config, prop *props.Cell)
- func (_m *CellWriter) EXPECT() *CellWriter_Expecter
- func (_m *CellWriter) GetName() string
- func (_m *CellWriter) GetNext() cellwriter.CellWriter
- func (_m *CellWriter) SetNext(next cellwriter.CellWriter)
- type CellWriter_Apply_Call
- type CellWriter_Expecter
- func (_e *CellWriter_Expecter) Apply(width interface{}, height interface{}, config interface{}, prop interface{}) *CellWriter_Apply_Call
- func (_e *CellWriter_Expecter) GetName() *CellWriter_GetName_Call
- func (_e *CellWriter_Expecter) GetNext() *CellWriter_GetNext_Call
- func (_e *CellWriter_Expecter) SetNext(next interface{}) *CellWriter_SetNext_Call
- type CellWriter_GetName_Call
- type CellWriter_GetNext_Call
- type CellWriter_SetNext_Call
- type Code
- type Code_Expecter
- type Code_GenBar_Call
- func (_c *Code_GenBar_Call) Return(_a0 *entity.Image, _a1 error) *Code_GenBar_Call
- func (_c *Code_GenBar_Call) Run(run func(code string, cell *entity.Cell, prop *props.Barcode)) *Code_GenBar_Call
- func (_c *Code_GenBar_Call) RunAndReturn(run func(string, *entity.Cell, *props.Barcode) (*entity.Image, error)) *Code_GenBar_Call
- type Code_GenDataMatrix_Call
- type Code_GenQr_Call
- type Col
- func (_m *Col) Add(components ...core.Component) core.Col
- func (_m *Col) EXPECT() *Col_Expecter
- func (_m *Col) GetSize() int
- func (_m *Col) GetStructure() *node.Node[core.Structure]
- func (_m *Col) Render(provider core.Provider, cell entity.Cell, createCell bool)
- func (_m *Col) SetConfig(config *entity.Config)
- func (_m *Col) WithStyle(style *props.Cell) core.Col
- type Col_Add_Call
- type Col_Expecter
- func (_e *Col_Expecter) Add(components ...interface{}) *Col_Add_Call
- func (_e *Col_Expecter) GetSize() *Col_GetSize_Call
- func (_e *Col_Expecter) GetStructure() *Col_GetStructure_Call
- func (_e *Col_Expecter) Render(provider interface{}, cell interface{}, createCell interface{}) *Col_Render_Call
- func (_e *Col_Expecter) SetConfig(config interface{}) *Col_SetConfig_Call
- func (_e *Col_Expecter) WithStyle(style interface{}) *Col_WithStyle_Call
- type Col_GetSize_Call
- type Col_GetStructure_Call
- type Col_Render_Call
- type Col_SetConfig_Call
- type Col_WithStyle_Call
- type Component
- type Component_Expecter
- type Component_GetStructure_Call
- func (_c *Component_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Component_GetStructure_Call
- func (_c *Component_GetStructure_Call) Run(run func()) *Component_GetStructure_Call
- func (_c *Component_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Component_GetStructure_Call
- type Component_Render_Call
- type Component_SetConfig_Call
- type Document
- type Document_Expecter
- func (_e *Document_Expecter) GetBase64() *Document_GetBase64_Call
- func (_e *Document_Expecter) GetBytes() *Document_GetBytes_Call
- func (_e *Document_Expecter) GetReport() *Document_GetReport_Call
- func (_e *Document_Expecter) Merge(_a0 interface{}) *Document_Merge_Call
- func (_e *Document_Expecter) Save(file interface{}) *Document_Save_Call
- type Document_GetBase64_Call
- type Document_GetBytes_Call
- type Document_GetReport_Call
- type Document_Merge_Call
- type Document_Save_Call
- type Font
- func (_m *Font) EXPECT() *Font_Expecter
- func (_m *Font) GetColor() *props.Color
- func (_m *Font) GetFamily() string
- func (_m *Font) GetFont() (string, fontstyle.Type, float64)
- func (_m *Font) GetHeight(family string, style fontstyle.Type, size float64) float64
- func (_m *Font) GetSize() float64
- func (_m *Font) GetStyle() fontstyle.Type
- func (_m *Font) SetColor(color *props.Color)
- func (_m *Font) SetFamily(family string)
- func (_m *Font) SetFont(family string, style fontstyle.Type, size float64)
- func (_m *Font) SetSize(size float64)
- func (_m *Font) SetStyle(style fontstyle.Type)
- type Font_Expecter
- func (_e *Font_Expecter) GetColor() *Font_GetColor_Call
- func (_e *Font_Expecter) GetFamily() *Font_GetFamily_Call
- func (_e *Font_Expecter) GetFont() *Font_GetFont_Call
- func (_e *Font_Expecter) GetHeight(family interface{}, style interface{}, size interface{}) *Font_GetHeight_Call
- func (_e *Font_Expecter) GetSize() *Font_GetSize_Call
- func (_e *Font_Expecter) GetStyle() *Font_GetStyle_Call
- func (_e *Font_Expecter) SetColor(color interface{}) *Font_SetColor_Call
- func (_e *Font_Expecter) SetFamily(family interface{}) *Font_SetFamily_Call
- func (_e *Font_Expecter) SetFont(family interface{}, style interface{}, size interface{}) *Font_SetFont_Call
- func (_e *Font_Expecter) SetSize(size interface{}) *Font_SetSize_Call
- func (_e *Font_Expecter) SetStyle(style interface{}) *Font_SetStyle_Call
- type Font_GetColor_Call
- type Font_GetFamily_Call
- type Font_GetFont_Call
- type Font_GetHeight_Call
- func (_c *Font_GetHeight_Call) Return(_a0 float64) *Font_GetHeight_Call
- func (_c *Font_GetHeight_Call) Run(run func(family string, style fontstyle.Type, size float64)) *Font_GetHeight_Call
- func (_c *Font_GetHeight_Call) RunAndReturn(run func(string, fontstyle.Type, float64) float64) *Font_GetHeight_Call
- type Font_GetSize_Call
- type Font_GetStyle_Call
- type Font_SetColor_Call
- type Font_SetFamily_Call
- type Font_SetFont_Call
- type Font_SetSize_Call
- type Font_SetStyle_Call
- 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) AddUTF8FontFromBytes(familyStr string, styleStr string, bytes []byte)
- 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) EXPECT() *Fpdf_Expecter
- 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) SetUnderlineThickness(thickness 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 Fpdf_AddFontFromBytes_Call
- type Fpdf_AddFontFromReader_Call
- func (_c *Fpdf_AddFontFromReader_Call) Return() *Fpdf_AddFontFromReader_Call
- func (_c *Fpdf_AddFontFromReader_Call) Run(run func(familyStr string, styleStr string, r io.Reader)) *Fpdf_AddFontFromReader_Call
- func (_c *Fpdf_AddFontFromReader_Call) RunAndReturn(run func(string, string, io.Reader)) *Fpdf_AddFontFromReader_Call
- type Fpdf_AddFont_Call
- type Fpdf_AddLayer_Call
- type Fpdf_AddLink_Call
- type Fpdf_AddPageFormat_Call
- type Fpdf_AddPage_Call
- type Fpdf_AddSpotColor_Call
- type Fpdf_AddUTF8FontFromBytes_Call
- func (_c *Fpdf_AddUTF8FontFromBytes_Call) Return() *Fpdf_AddUTF8FontFromBytes_Call
- func (_c *Fpdf_AddUTF8FontFromBytes_Call) Run(run func(familyStr string, styleStr string, bytes []byte)) *Fpdf_AddUTF8FontFromBytes_Call
- func (_c *Fpdf_AddUTF8FontFromBytes_Call) RunAndReturn(run func(string, string, []byte)) *Fpdf_AddUTF8FontFromBytes_Call
- type Fpdf_AliasNbPages_Call
- type Fpdf_ArcTo_Call
- func (_c *Fpdf_ArcTo_Call) Return() *Fpdf_ArcTo_Call
- func (_c *Fpdf_ArcTo_Call) Run(run func(x float64, y float64, rx float64, ry float64, degRotate float64, ...)) *Fpdf_ArcTo_Call
- func (_c *Fpdf_ArcTo_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64, float64)) *Fpdf_ArcTo_Call
- type Fpdf_Arc_Call
- type Fpdf_BeginLayer_Call
- type Fpdf_Beziergon_Call
- type Fpdf_Bookmark_Call
- type Fpdf_CellFormat_Call
- type Fpdf_Cell_Call
- type Fpdf_Cellf_Call
- type Fpdf_Circle_Call
- type Fpdf_ClearError_Call
- type Fpdf_ClipCircle_Call
- type Fpdf_ClipEllipse_Call
- func (_c *Fpdf_ClipEllipse_Call) Return() *Fpdf_ClipEllipse_Call
- func (_c *Fpdf_ClipEllipse_Call) Run(run func(x float64, y float64, rx float64, ry float64, outline bool)) *Fpdf_ClipEllipse_Call
- func (_c *Fpdf_ClipEllipse_Call) RunAndReturn(run func(float64, float64, float64, float64, bool)) *Fpdf_ClipEllipse_Call
- type Fpdf_ClipEnd_Call
- type Fpdf_ClipPolygon_Call
- type Fpdf_ClipRect_Call
- type Fpdf_ClipRoundedRect_Call
- func (_c *Fpdf_ClipRoundedRect_Call) Return() *Fpdf_ClipRoundedRect_Call
- func (_c *Fpdf_ClipRoundedRect_Call) Run(run func(x float64, y float64, w float64, h float64, r float64, outline bool)) *Fpdf_ClipRoundedRect_Call
- func (_c *Fpdf_ClipRoundedRect_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, bool)) *Fpdf_ClipRoundedRect_Call
- type Fpdf_ClipText_Call
- type Fpdf_ClosePath_Call
- type Fpdf_Close_Call
- type Fpdf_CreateTemplateCustom_Call
- func (_c *Fpdf_CreateTemplateCustom_Call) Return(_a0 gofpdf.Template) *Fpdf_CreateTemplateCustom_Call
- func (_c *Fpdf_CreateTemplateCustom_Call) Run(run func(corner gofpdf.PointType, size gofpdf.SizeType, fn func(*gofpdf.Tpl))) *Fpdf_CreateTemplateCustom_Call
- func (_c *Fpdf_CreateTemplateCustom_Call) RunAndReturn(run func(gofpdf.PointType, gofpdf.SizeType, func(*gofpdf.Tpl)) gofpdf.Template) *Fpdf_CreateTemplateCustom_Call
- type Fpdf_CreateTemplate_Call
- func (_c *Fpdf_CreateTemplate_Call) Return(_a0 gofpdf.Template) *Fpdf_CreateTemplate_Call
- func (_c *Fpdf_CreateTemplate_Call) Run(run func(fn func(*gofpdf.Tpl))) *Fpdf_CreateTemplate_Call
- func (_c *Fpdf_CreateTemplate_Call) RunAndReturn(run func(func(*gofpdf.Tpl)) gofpdf.Template) *Fpdf_CreateTemplate_Call
- type Fpdf_CurveBezierCubicTo_Call
- func (_c *Fpdf_CurveBezierCubicTo_Call) Return() *Fpdf_CurveBezierCubicTo_Call
- func (_c *Fpdf_CurveBezierCubicTo_Call) Run(...) *Fpdf_CurveBezierCubicTo_Call
- func (_c *Fpdf_CurveBezierCubicTo_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64)) *Fpdf_CurveBezierCubicTo_Call
- type Fpdf_CurveBezierCubic_Call
- type Fpdf_CurveCubic_Call
- type Fpdf_CurveTo_Call
- type Fpdf_Curve_Call
- type Fpdf_DrawPath_Call
- type Fpdf_Ellipse_Call
- func (_c *Fpdf_Ellipse_Call) Return() *Fpdf_Ellipse_Call
- func (_c *Fpdf_Ellipse_Call) Run(run func(x float64, y float64, rx float64, ry float64, degRotate float64, ...)) *Fpdf_Ellipse_Call
- func (_c *Fpdf_Ellipse_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, string)) *Fpdf_Ellipse_Call
- type Fpdf_EndLayer_Call
- type Fpdf_Err_Call
- type Fpdf_Error_Call
- type Fpdf_Expecter
- func (_e *Fpdf_Expecter) AddFont(familyStr interface{}, styleStr interface{}, fileStr interface{}) *Fpdf_AddFont_Call
- func (_e *Fpdf_Expecter) AddFontFromBytes(familyStr interface{}, styleStr interface{}, jsonFileBytes interface{}, ...) *Fpdf_AddFontFromBytes_Call
- func (_e *Fpdf_Expecter) AddFontFromReader(familyStr interface{}, styleStr interface{}, r interface{}) *Fpdf_AddFontFromReader_Call
- func (_e *Fpdf_Expecter) AddLayer(name interface{}, visible interface{}) *Fpdf_AddLayer_Call
- func (_e *Fpdf_Expecter) AddLink() *Fpdf_AddLink_Call
- func (_e *Fpdf_Expecter) AddPage() *Fpdf_AddPage_Call
- func (_e *Fpdf_Expecter) AddPageFormat(orientationStr interface{}, size interface{}) *Fpdf_AddPageFormat_Call
- func (_e *Fpdf_Expecter) AddSpotColor(nameStr interface{}, c interface{}, m interface{}, y interface{}, ...) *Fpdf_AddSpotColor_Call
- func (_e *Fpdf_Expecter) AddUTF8FontFromBytes(familyStr interface{}, styleStr interface{}, bytes interface{}) *Fpdf_AddUTF8FontFromBytes_Call
- func (_e *Fpdf_Expecter) AliasNbPages(aliasStr interface{}) *Fpdf_AliasNbPages_Call
- func (_e *Fpdf_Expecter) Arc(x interface{}, y interface{}, rx interface{}, ry interface{}, ...) *Fpdf_Arc_Call
- func (_e *Fpdf_Expecter) ArcTo(x interface{}, y interface{}, rx interface{}, ry interface{}, ...) *Fpdf_ArcTo_Call
- func (_e *Fpdf_Expecter) BeginLayer(id interface{}) *Fpdf_BeginLayer_Call
- func (_e *Fpdf_Expecter) Beziergon(points interface{}, styleStr interface{}) *Fpdf_Beziergon_Call
- func (_e *Fpdf_Expecter) Bookmark(txtStr interface{}, level interface{}, y interface{}) *Fpdf_Bookmark_Call
- func (_e *Fpdf_Expecter) Cell(w interface{}, h interface{}, txtStr interface{}) *Fpdf_Cell_Call
- func (_e *Fpdf_Expecter) CellFormat(w interface{}, h interface{}, txtStr interface{}, borderStr interface{}, ...) *Fpdf_CellFormat_Call
- func (_e *Fpdf_Expecter) Cellf(w interface{}, h interface{}, fmtStr interface{}, args ...interface{}) *Fpdf_Cellf_Call
- func (_e *Fpdf_Expecter) Circle(x interface{}, y interface{}, r interface{}, styleStr interface{}) *Fpdf_Circle_Call
- func (_e *Fpdf_Expecter) ClearError() *Fpdf_ClearError_Call
- func (_e *Fpdf_Expecter) ClipCircle(x interface{}, y interface{}, r interface{}, outline interface{}) *Fpdf_ClipCircle_Call
- func (_e *Fpdf_Expecter) ClipEllipse(x interface{}, y interface{}, rx interface{}, ry interface{}, ...) *Fpdf_ClipEllipse_Call
- func (_e *Fpdf_Expecter) ClipEnd() *Fpdf_ClipEnd_Call
- func (_e *Fpdf_Expecter) ClipPolygon(points interface{}, outline interface{}) *Fpdf_ClipPolygon_Call
- func (_e *Fpdf_Expecter) ClipRect(x interface{}, y interface{}, w interface{}, h interface{}, ...) *Fpdf_ClipRect_Call
- func (_e *Fpdf_Expecter) ClipRoundedRect(x interface{}, y interface{}, w interface{}, h interface{}, r interface{}, ...) *Fpdf_ClipRoundedRect_Call
- func (_e *Fpdf_Expecter) ClipText(x interface{}, y interface{}, txtStr interface{}, outline interface{}) *Fpdf_ClipText_Call
- func (_e *Fpdf_Expecter) Close() *Fpdf_Close_Call
- func (_e *Fpdf_Expecter) ClosePath() *Fpdf_ClosePath_Call
- func (_e *Fpdf_Expecter) CreateTemplate(fn interface{}) *Fpdf_CreateTemplate_Call
- func (_e *Fpdf_Expecter) CreateTemplateCustom(corner interface{}, size interface{}, fn interface{}) *Fpdf_CreateTemplateCustom_Call
- func (_e *Fpdf_Expecter) Curve(x0 interface{}, y0 interface{}, cx interface{}, cy interface{}, x1 interface{}, ...) *Fpdf_Curve_Call
- func (_e *Fpdf_Expecter) CurveBezierCubic(x0 interface{}, y0 interface{}, cx0 interface{}, cy0 interface{}, ...) *Fpdf_CurveBezierCubic_Call
- func (_e *Fpdf_Expecter) CurveBezierCubicTo(cx0 interface{}, cy0 interface{}, cx1 interface{}, cy1 interface{}, ...) *Fpdf_CurveBezierCubicTo_Call
- func (_e *Fpdf_Expecter) CurveCubic(x0 interface{}, y0 interface{}, cx0 interface{}, cy0 interface{}, ...) *Fpdf_CurveCubic_Call
- func (_e *Fpdf_Expecter) CurveTo(cx interface{}, cy interface{}, x interface{}, y interface{}) *Fpdf_CurveTo_Call
- func (_e *Fpdf_Expecter) DrawPath(styleStr interface{}) *Fpdf_DrawPath_Call
- func (_e *Fpdf_Expecter) Ellipse(x interface{}, y interface{}, rx interface{}, ry interface{}, ...) *Fpdf_Ellipse_Call
- func (_e *Fpdf_Expecter) EndLayer() *Fpdf_EndLayer_Call
- func (_e *Fpdf_Expecter) Err() *Fpdf_Err_Call
- func (_e *Fpdf_Expecter) Error() *Fpdf_Error_Call
- func (_e *Fpdf_Expecter) GetAlpha() *Fpdf_GetAlpha_Call
- func (_e *Fpdf_Expecter) GetAutoPageBreak() *Fpdf_GetAutoPageBreak_Call
- func (_e *Fpdf_Expecter) GetCellMargin() *Fpdf_GetCellMargin_Call
- func (_e *Fpdf_Expecter) GetConversionRatio() *Fpdf_GetConversionRatio_Call
- func (_e *Fpdf_Expecter) GetDrawColor() *Fpdf_GetDrawColor_Call
- func (_e *Fpdf_Expecter) GetDrawSpotColor() *Fpdf_GetDrawSpotColor_Call
- func (_e *Fpdf_Expecter) GetFillColor() *Fpdf_GetFillColor_Call
- func (_e *Fpdf_Expecter) GetFillSpotColor() *Fpdf_GetFillSpotColor_Call
- func (_e *Fpdf_Expecter) GetFontDesc(familyStr interface{}, styleStr interface{}) *Fpdf_GetFontDesc_Call
- func (_e *Fpdf_Expecter) GetFontSize() *Fpdf_GetFontSize_Call
- func (_e *Fpdf_Expecter) GetImageInfo(imageStr interface{}) *Fpdf_GetImageInfo_Call
- func (_e *Fpdf_Expecter) GetLineWidth() *Fpdf_GetLineWidth_Call
- func (_e *Fpdf_Expecter) GetMargins() *Fpdf_GetMargins_Call
- func (_e *Fpdf_Expecter) GetPageSize() *Fpdf_GetPageSize_Call
- func (_e *Fpdf_Expecter) GetPageSizeStr(sizeStr interface{}) *Fpdf_GetPageSizeStr_Call
- func (_e *Fpdf_Expecter) GetStringWidth(s interface{}) *Fpdf_GetStringWidth_Call
- func (_e *Fpdf_Expecter) GetTextColor() *Fpdf_GetTextColor_Call
- func (_e *Fpdf_Expecter) GetTextSpotColor() *Fpdf_GetTextSpotColor_Call
- func (_e *Fpdf_Expecter) GetX() *Fpdf_GetX_Call
- func (_e *Fpdf_Expecter) GetXY() *Fpdf_GetXY_Call
- func (_e *Fpdf_Expecter) GetY() *Fpdf_GetY_Call
- func (_e *Fpdf_Expecter) HTMLBasicNew() *Fpdf_HTMLBasicNew_Call
- func (_e *Fpdf_Expecter) Image(imageNameStr interface{}, x interface{}, y interface{}, w interface{}, ...) *Fpdf_Image_Call
- func (_e *Fpdf_Expecter) ImageOptions(imageNameStr interface{}, x interface{}, y interface{}, w interface{}, ...) *Fpdf_ImageOptions_Call
- func (_e *Fpdf_Expecter) ImageTypeFromMime(mimeStr interface{}) *Fpdf_ImageTypeFromMime_Call
- func (_e *Fpdf_Expecter) Line(x1 interface{}, y1 interface{}, x2 interface{}, y2 interface{}) *Fpdf_Line_Call
- func (_e *Fpdf_Expecter) LineTo(x interface{}, y interface{}) *Fpdf_LineTo_Call
- func (_e *Fpdf_Expecter) LinearGradient(x interface{}, y interface{}, w interface{}, h interface{}, r1 interface{}, ...) *Fpdf_LinearGradient_Call
- func (_e *Fpdf_Expecter) Link(x interface{}, y interface{}, w interface{}, h interface{}, link interface{}) *Fpdf_Link_Call
- func (_e *Fpdf_Expecter) LinkString(x interface{}, y interface{}, w interface{}, h interface{}, ...) *Fpdf_LinkString_Call
- func (_e *Fpdf_Expecter) Ln(h interface{}) *Fpdf_Ln_Call
- func (_e *Fpdf_Expecter) MoveTo(x interface{}, y interface{}) *Fpdf_MoveTo_Call
- func (_e *Fpdf_Expecter) MultiCell(w interface{}, h interface{}, txtStr interface{}, borderStr interface{}, ...) *Fpdf_MultiCell_Call
- func (_e *Fpdf_Expecter) Ok() *Fpdf_Ok_Call
- func (_e *Fpdf_Expecter) OpenLayerPane() *Fpdf_OpenLayerPane_Call
- func (_e *Fpdf_Expecter) Output(w interface{}) *Fpdf_Output_Call
- func (_e *Fpdf_Expecter) OutputAndClose(w interface{}) *Fpdf_OutputAndClose_Call
- func (_e *Fpdf_Expecter) OutputFileAndClose(fileStr interface{}) *Fpdf_OutputFileAndClose_Call
- func (_e *Fpdf_Expecter) PageCount() *Fpdf_PageCount_Call
- func (_e *Fpdf_Expecter) PageNo() *Fpdf_PageNo_Call
- func (_e *Fpdf_Expecter) PageSize(pageNum interface{}) *Fpdf_PageSize_Call
- func (_e *Fpdf_Expecter) PointConvert(pt interface{}) *Fpdf_PointConvert_Call
- func (_e *Fpdf_Expecter) PointToUnitConvert(pt interface{}) *Fpdf_PointToUnitConvert_Call
- func (_e *Fpdf_Expecter) Polygon(points interface{}, styleStr interface{}) *Fpdf_Polygon_Call
- func (_e *Fpdf_Expecter) RadialGradient(x interface{}, y interface{}, w interface{}, h interface{}, r1 interface{}, ...) *Fpdf_RadialGradient_Call
- func (_e *Fpdf_Expecter) RawWriteBuf(r interface{}) *Fpdf_RawWriteBuf_Call
- func (_e *Fpdf_Expecter) RawWriteStr(str interface{}) *Fpdf_RawWriteStr_Call
- func (_e *Fpdf_Expecter) Rect(x interface{}, y interface{}, w interface{}, h interface{}, ...) *Fpdf_Rect_Call
- func (_e *Fpdf_Expecter) RegisterAlias(alias interface{}, replacement interface{}) *Fpdf_RegisterAlias_Call
- func (_e *Fpdf_Expecter) RegisterImage(fileStr interface{}, tp interface{}) *Fpdf_RegisterImage_Call
- func (_e *Fpdf_Expecter) RegisterImageOptions(fileStr interface{}, options interface{}) *Fpdf_RegisterImageOptions_Call
- func (_e *Fpdf_Expecter) RegisterImageOptionsReader(imgName interface{}, options interface{}, r interface{}) *Fpdf_RegisterImageOptionsReader_Call
- func (_e *Fpdf_Expecter) RegisterImageReader(imgName interface{}, tp interface{}, r interface{}) *Fpdf_RegisterImageReader_Call
- func (_e *Fpdf_Expecter) SVGBasicWrite(sb interface{}, scale interface{}) *Fpdf_SVGBasicWrite_Call
- func (_e *Fpdf_Expecter) SetAcceptPageBreakFunc(fnc interface{}) *Fpdf_SetAcceptPageBreakFunc_Call
- func (_e *Fpdf_Expecter) SetAlpha(alpha interface{}, blendModeStr interface{}) *Fpdf_SetAlpha_Call
- func (_e *Fpdf_Expecter) SetAuthor(authorStr interface{}, isUTF8 interface{}) *Fpdf_SetAuthor_Call
- func (_e *Fpdf_Expecter) SetAutoPageBreak(auto interface{}, margin interface{}) *Fpdf_SetAutoPageBreak_Call
- func (_e *Fpdf_Expecter) SetCatalogSort(flag interface{}) *Fpdf_SetCatalogSort_Call
- func (_e *Fpdf_Expecter) SetCellMargin(margin interface{}) *Fpdf_SetCellMargin_Call
- func (_e *Fpdf_Expecter) SetCompression(compress interface{}) *Fpdf_SetCompression_Call
- func (_e *Fpdf_Expecter) SetCreationDate(tm interface{}) *Fpdf_SetCreationDate_Call
- func (_e *Fpdf_Expecter) SetCreator(creatorStr interface{}, isUTF8 interface{}) *Fpdf_SetCreator_Call
- func (_e *Fpdf_Expecter) SetDashPattern(dashArray interface{}, dashPhase interface{}) *Fpdf_SetDashPattern_Call
- func (_e *Fpdf_Expecter) SetDisplayMode(zoomStr interface{}, layoutStr interface{}) *Fpdf_SetDisplayMode_Call
- func (_e *Fpdf_Expecter) SetDrawColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetDrawColor_Call
- func (_e *Fpdf_Expecter) SetDrawSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetDrawSpotColor_Call
- func (_e *Fpdf_Expecter) SetError(err interface{}) *Fpdf_SetError_Call
- func (_e *Fpdf_Expecter) SetErrorf(fmtStr interface{}, args ...interface{}) *Fpdf_SetErrorf_Call
- func (_e *Fpdf_Expecter) SetFillColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetFillColor_Call
- func (_e *Fpdf_Expecter) SetFillSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetFillSpotColor_Call
- func (_e *Fpdf_Expecter) SetFont(familyStr interface{}, styleStr interface{}, size interface{}) *Fpdf_SetFont_Call
- func (_e *Fpdf_Expecter) SetFontLoader(loader interface{}) *Fpdf_SetFontLoader_Call
- func (_e *Fpdf_Expecter) SetFontLocation(fontDirStr interface{}) *Fpdf_SetFontLocation_Call
- func (_e *Fpdf_Expecter) SetFontSize(size interface{}) *Fpdf_SetFontSize_Call
- func (_e *Fpdf_Expecter) SetFontStyle(styleStr interface{}) *Fpdf_SetFontStyle_Call
- func (_e *Fpdf_Expecter) SetFontUnitSize(size interface{}) *Fpdf_SetFontUnitSize_Call
- func (_e *Fpdf_Expecter) SetFooterFunc(fnc interface{}) *Fpdf_SetFooterFunc_Call
- func (_e *Fpdf_Expecter) SetFooterFuncLpi(fnc interface{}) *Fpdf_SetFooterFuncLpi_Call
- func (_e *Fpdf_Expecter) SetHeaderFunc(fnc interface{}) *Fpdf_SetHeaderFunc_Call
- func (_e *Fpdf_Expecter) SetHeaderFuncMode(fnc interface{}, homeMode interface{}) *Fpdf_SetHeaderFuncMode_Call
- func (_e *Fpdf_Expecter) SetHomeXY() *Fpdf_SetHomeXY_Call
- func (_e *Fpdf_Expecter) SetJavascript(script interface{}) *Fpdf_SetJavascript_Call
- func (_e *Fpdf_Expecter) SetKeywords(keywordsStr interface{}, isUTF8 interface{}) *Fpdf_SetKeywords_Call
- func (_e *Fpdf_Expecter) SetLeftMargin(margin interface{}) *Fpdf_SetLeftMargin_Call
- func (_e *Fpdf_Expecter) SetLineCapStyle(styleStr interface{}) *Fpdf_SetLineCapStyle_Call
- func (_e *Fpdf_Expecter) SetLineJoinStyle(styleStr interface{}) *Fpdf_SetLineJoinStyle_Call
- func (_e *Fpdf_Expecter) SetLineWidth(width interface{}) *Fpdf_SetLineWidth_Call
- func (_e *Fpdf_Expecter) SetLink(link interface{}, y interface{}, page interface{}) *Fpdf_SetLink_Call
- func (_e *Fpdf_Expecter) SetMargins(left interface{}, top interface{}, right interface{}) *Fpdf_SetMargins_Call
- func (_e *Fpdf_Expecter) SetPage(pageNum interface{}) *Fpdf_SetPage_Call
- func (_e *Fpdf_Expecter) SetPageBox(t interface{}, x interface{}, y interface{}, wd interface{}, ht interface{}) *Fpdf_SetPageBox_Call
- func (_e *Fpdf_Expecter) SetPageBoxRec(t interface{}, pb interface{}) *Fpdf_SetPageBoxRec_Call
- func (_e *Fpdf_Expecter) SetProtection(actionFlag interface{}, userPassStr interface{}, ownerPassStr interface{}) *Fpdf_SetProtection_Call
- func (_e *Fpdf_Expecter) SetRightMargin(margin interface{}) *Fpdf_SetRightMargin_Call
- func (_e *Fpdf_Expecter) SetSubject(subjectStr interface{}, isUTF8 interface{}) *Fpdf_SetSubject_Call
- func (_e *Fpdf_Expecter) SetTextColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetTextColor_Call
- func (_e *Fpdf_Expecter) SetTextSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetTextSpotColor_Call
- func (_e *Fpdf_Expecter) SetTitle(titleStr interface{}, isUTF8 interface{}) *Fpdf_SetTitle_Call
- func (_e *Fpdf_Expecter) SetTopMargin(margin interface{}) *Fpdf_SetTopMargin_Call
- func (_e *Fpdf_Expecter) SetUnderlineThickness(thickness interface{}) *Fpdf_SetUnderlineThickness_Call
- func (_e *Fpdf_Expecter) SetX(x interface{}) *Fpdf_SetX_Call
- func (_e *Fpdf_Expecter) SetXY(x interface{}, y interface{}) *Fpdf_SetXY_Call
- func (_e *Fpdf_Expecter) SetXmpMetadata(xmpStream interface{}) *Fpdf_SetXmpMetadata_Call
- func (_e *Fpdf_Expecter) SetY(y interface{}) *Fpdf_SetY_Call
- func (_e *Fpdf_Expecter) SplitLines(txt interface{}, w interface{}) *Fpdf_SplitLines_Call
- func (_e *Fpdf_Expecter) String() *Fpdf_String_Call
- func (_e *Fpdf_Expecter) Text(x interface{}, y interface{}, txtStr interface{}) *Fpdf_Text_Call
- func (_e *Fpdf_Expecter) Transform(tm interface{}) *Fpdf_Transform_Call
- func (_e *Fpdf_Expecter) TransformBegin() *Fpdf_TransformBegin_Call
- func (_e *Fpdf_Expecter) TransformEnd() *Fpdf_TransformEnd_Call
- func (_e *Fpdf_Expecter) TransformMirrorHorizontal(x interface{}) *Fpdf_TransformMirrorHorizontal_Call
- func (_e *Fpdf_Expecter) TransformMirrorLine(angle interface{}, x interface{}, y interface{}) *Fpdf_TransformMirrorLine_Call
- func (_e *Fpdf_Expecter) TransformMirrorPoint(x interface{}, y interface{}) *Fpdf_TransformMirrorPoint_Call
- func (_e *Fpdf_Expecter) TransformMirrorVertical(y interface{}) *Fpdf_TransformMirrorVertical_Call
- func (_e *Fpdf_Expecter) TransformRotate(angle interface{}, x interface{}, y interface{}) *Fpdf_TransformRotate_Call
- func (_e *Fpdf_Expecter) TransformScale(scaleWd interface{}, scaleHt interface{}, x interface{}, y interface{}) *Fpdf_TransformScale_Call
- func (_e *Fpdf_Expecter) TransformScaleX(scaleWd interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleX_Call
- func (_e *Fpdf_Expecter) TransformScaleXY(s interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleXY_Call
- func (_e *Fpdf_Expecter) TransformScaleY(scaleHt interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleY_Call
- func (_e *Fpdf_Expecter) TransformSkew(angleX interface{}, angleY interface{}, x interface{}, y interface{}) *Fpdf_TransformSkew_Call
- func (_e *Fpdf_Expecter) TransformSkewX(angleX interface{}, x interface{}, y interface{}) *Fpdf_TransformSkewX_Call
- func (_e *Fpdf_Expecter) TransformSkewY(angleY interface{}, x interface{}, y interface{}) *Fpdf_TransformSkewY_Call
- func (_e *Fpdf_Expecter) TransformTranslate(tx interface{}, ty interface{}) *Fpdf_TransformTranslate_Call
- func (_e *Fpdf_Expecter) TransformTranslateX(tx interface{}) *Fpdf_TransformTranslateX_Call
- func (_e *Fpdf_Expecter) TransformTranslateY(ty interface{}) *Fpdf_TransformTranslateY_Call
- func (_e *Fpdf_Expecter) UnicodeTranslatorFromDescriptor(cpStr interface{}) *Fpdf_UnicodeTranslatorFromDescriptor_Call
- func (_e *Fpdf_Expecter) UnitToPointConvert(u interface{}) *Fpdf_UnitToPointConvert_Call
- func (_e *Fpdf_Expecter) UseTemplate(t interface{}) *Fpdf_UseTemplate_Call
- func (_e *Fpdf_Expecter) UseTemplateScaled(t interface{}, corner interface{}, size interface{}) *Fpdf_UseTemplateScaled_Call
- func (_e *Fpdf_Expecter) Write(h interface{}, txtStr interface{}) *Fpdf_Write_Call
- func (_e *Fpdf_Expecter) WriteAligned(width interface{}, lineHeight interface{}, textStr interface{}, ...) *Fpdf_WriteAligned_Call
- func (_e *Fpdf_Expecter) WriteLinkID(h interface{}, displayStr interface{}, linkID interface{}) *Fpdf_WriteLinkID_Call
- func (_e *Fpdf_Expecter) WriteLinkString(h interface{}, displayStr interface{}, targetStr interface{}) *Fpdf_WriteLinkString_Call
- func (_e *Fpdf_Expecter) Writef(h interface{}, fmtStr interface{}, args ...interface{}) *Fpdf_Writef_Call
- type Fpdf_GetAlpha_Call
- type Fpdf_GetAutoPageBreak_Call
- type Fpdf_GetCellMargin_Call
- type Fpdf_GetConversionRatio_Call
- type Fpdf_GetDrawColor_Call
- type Fpdf_GetDrawSpotColor_Call
- func (_c *Fpdf_GetDrawSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetDrawSpotColor_Call
- func (_c *Fpdf_GetDrawSpotColor_Call) Run(run func()) *Fpdf_GetDrawSpotColor_Call
- func (_c *Fpdf_GetDrawSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetDrawSpotColor_Call
- type Fpdf_GetFillColor_Call
- type Fpdf_GetFillSpotColor_Call
- func (_c *Fpdf_GetFillSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetFillSpotColor_Call
- func (_c *Fpdf_GetFillSpotColor_Call) Run(run func()) *Fpdf_GetFillSpotColor_Call
- func (_c *Fpdf_GetFillSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetFillSpotColor_Call
- type Fpdf_GetFontDesc_Call
- func (_c *Fpdf_GetFontDesc_Call) Return(_a0 gofpdf.FontDescType) *Fpdf_GetFontDesc_Call
- func (_c *Fpdf_GetFontDesc_Call) Run(run func(familyStr string, styleStr string)) *Fpdf_GetFontDesc_Call
- func (_c *Fpdf_GetFontDesc_Call) RunAndReturn(run func(string, string) gofpdf.FontDescType) *Fpdf_GetFontDesc_Call
- type Fpdf_GetFontSize_Call
- type Fpdf_GetImageInfo_Call
- type Fpdf_GetLineWidth_Call
- type Fpdf_GetMargins_Call
- func (_c *Fpdf_GetMargins_Call) Return(left float64, top float64, right float64, bottom float64) *Fpdf_GetMargins_Call
- func (_c *Fpdf_GetMargins_Call) Run(run func()) *Fpdf_GetMargins_Call
- func (_c *Fpdf_GetMargins_Call) RunAndReturn(run func() (float64, float64, float64, float64)) *Fpdf_GetMargins_Call
- type Fpdf_GetPageSizeStr_Call
- type Fpdf_GetPageSize_Call
- type Fpdf_GetStringWidth_Call
- type Fpdf_GetTextColor_Call
- type Fpdf_GetTextSpotColor_Call
- func (_c *Fpdf_GetTextSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetTextSpotColor_Call
- func (_c *Fpdf_GetTextSpotColor_Call) Run(run func()) *Fpdf_GetTextSpotColor_Call
- func (_c *Fpdf_GetTextSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetTextSpotColor_Call
- type Fpdf_GetXY_Call
- type Fpdf_GetX_Call
- type Fpdf_GetY_Call
- type Fpdf_HTMLBasicNew_Call
- type Fpdf_ImageOptions_Call
- type Fpdf_ImageTypeFromMime_Call
- type Fpdf_Image_Call
- type Fpdf_LineTo_Call
- type Fpdf_Line_Call
- type Fpdf_LinearGradient_Call
- type Fpdf_LinkString_Call
- func (_c *Fpdf_LinkString_Call) Return() *Fpdf_LinkString_Call
- func (_c *Fpdf_LinkString_Call) Run(run func(x float64, y float64, w float64, h float64, linkStr string)) *Fpdf_LinkString_Call
- func (_c *Fpdf_LinkString_Call) RunAndReturn(run func(float64, float64, float64, float64, string)) *Fpdf_LinkString_Call
- type Fpdf_Link_Call
- type Fpdf_Ln_Call
- type Fpdf_MoveTo_Call
- type Fpdf_MultiCell_Call
- type Fpdf_Ok_Call
- type Fpdf_OpenLayerPane_Call
- type Fpdf_OutputAndClose_Call
- type Fpdf_OutputFileAndClose_Call
- type Fpdf_Output_Call
- type Fpdf_PageCount_Call
- type Fpdf_PageNo_Call
- type Fpdf_PageSize_Call
- type Fpdf_PointConvert_Call
- type Fpdf_PointToUnitConvert_Call
- type Fpdf_Polygon_Call
- type Fpdf_RadialGradient_Call
- type Fpdf_RawWriteBuf_Call
- type Fpdf_RawWriteStr_Call
- type Fpdf_Rect_Call
- type Fpdf_RegisterAlias_Call
- type Fpdf_RegisterImageOptionsReader_Call
- func (_c *Fpdf_RegisterImageOptionsReader_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptionsReader_Call
- func (_c *Fpdf_RegisterImageOptionsReader_Call) Run(run func(imgName string, options gofpdf.ImageOptions, r io.Reader)) *Fpdf_RegisterImageOptionsReader_Call
- func (_c *Fpdf_RegisterImageOptionsReader_Call) RunAndReturn(run func(string, gofpdf.ImageOptions, io.Reader) *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptionsReader_Call
- type Fpdf_RegisterImageOptions_Call
- func (_c *Fpdf_RegisterImageOptions_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptions_Call
- func (_c *Fpdf_RegisterImageOptions_Call) Run(run func(fileStr string, options gofpdf.ImageOptions)) *Fpdf_RegisterImageOptions_Call
- func (_c *Fpdf_RegisterImageOptions_Call) RunAndReturn(run func(string, gofpdf.ImageOptions) *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptions_Call
- type Fpdf_RegisterImageReader_Call
- func (_c *Fpdf_RegisterImageReader_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageReader_Call
- func (_c *Fpdf_RegisterImageReader_Call) Run(run func(imgName string, tp string, r io.Reader)) *Fpdf_RegisterImageReader_Call
- func (_c *Fpdf_RegisterImageReader_Call) RunAndReturn(run func(string, string, io.Reader) *gofpdf.ImageInfoType) *Fpdf_RegisterImageReader_Call
- type Fpdf_RegisterImage_Call
- func (_c *Fpdf_RegisterImage_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImage_Call
- func (_c *Fpdf_RegisterImage_Call) Run(run func(fileStr string, tp string)) *Fpdf_RegisterImage_Call
- func (_c *Fpdf_RegisterImage_Call) RunAndReturn(run func(string, string) *gofpdf.ImageInfoType) *Fpdf_RegisterImage_Call
- type Fpdf_SVGBasicWrite_Call
- type Fpdf_SetAcceptPageBreakFunc_Call
- func (_c *Fpdf_SetAcceptPageBreakFunc_Call) Return() *Fpdf_SetAcceptPageBreakFunc_Call
- func (_c *Fpdf_SetAcceptPageBreakFunc_Call) Run(run func(fnc func() bool)) *Fpdf_SetAcceptPageBreakFunc_Call
- func (_c *Fpdf_SetAcceptPageBreakFunc_Call) RunAndReturn(run func(func() bool)) *Fpdf_SetAcceptPageBreakFunc_Call
- type Fpdf_SetAlpha_Call
- type Fpdf_SetAuthor_Call
- type Fpdf_SetAutoPageBreak_Call
- type Fpdf_SetCatalogSort_Call
- type Fpdf_SetCellMargin_Call
- type Fpdf_SetCompression_Call
- type Fpdf_SetCreationDate_Call
- type Fpdf_SetCreator_Call
- type Fpdf_SetDashPattern_Call
- type Fpdf_SetDisplayMode_Call
- type Fpdf_SetDrawColor_Call
- type Fpdf_SetDrawSpotColor_Call
- type Fpdf_SetError_Call
- type Fpdf_SetErrorf_Call
- type Fpdf_SetFillColor_Call
- type Fpdf_SetFillSpotColor_Call
- type Fpdf_SetFontLoader_Call
- type Fpdf_SetFontLocation_Call
- type Fpdf_SetFontSize_Call
- type Fpdf_SetFontStyle_Call
- type Fpdf_SetFontUnitSize_Call
- type Fpdf_SetFont_Call
- type Fpdf_SetFooterFuncLpi_Call
- type Fpdf_SetFooterFunc_Call
- type Fpdf_SetHeaderFuncMode_Call
- type Fpdf_SetHeaderFunc_Call
- type Fpdf_SetHomeXY_Call
- type Fpdf_SetJavascript_Call
- type Fpdf_SetKeywords_Call
- type Fpdf_SetLeftMargin_Call
- type Fpdf_SetLineCapStyle_Call
- type Fpdf_SetLineJoinStyle_Call
- type Fpdf_SetLineWidth_Call
- type Fpdf_SetLink_Call
- type Fpdf_SetMargins_Call
- type Fpdf_SetPageBoxRec_Call
- type Fpdf_SetPageBox_Call
- func (_c *Fpdf_SetPageBox_Call) Return() *Fpdf_SetPageBox_Call
- func (_c *Fpdf_SetPageBox_Call) Run(run func(t string, x float64, y float64, wd float64, ht float64)) *Fpdf_SetPageBox_Call
- func (_c *Fpdf_SetPageBox_Call) RunAndReturn(run func(string, float64, float64, float64, float64)) *Fpdf_SetPageBox_Call
- type Fpdf_SetPage_Call
- type Fpdf_SetProtection_Call
- func (_c *Fpdf_SetProtection_Call) Return() *Fpdf_SetProtection_Call
- func (_c *Fpdf_SetProtection_Call) Run(run func(actionFlag byte, userPassStr string, ownerPassStr string)) *Fpdf_SetProtection_Call
- func (_c *Fpdf_SetProtection_Call) RunAndReturn(run func(byte, string, string)) *Fpdf_SetProtection_Call
- type Fpdf_SetRightMargin_Call
- type Fpdf_SetSubject_Call
- type Fpdf_SetTextColor_Call
- type Fpdf_SetTextSpotColor_Call
- type Fpdf_SetTitle_Call
- type Fpdf_SetTopMargin_Call
- type Fpdf_SetUnderlineThickness_Call
- func (_c *Fpdf_SetUnderlineThickness_Call) Return() *Fpdf_SetUnderlineThickness_Call
- func (_c *Fpdf_SetUnderlineThickness_Call) Run(run func(thickness float64)) *Fpdf_SetUnderlineThickness_Call
- func (_c *Fpdf_SetUnderlineThickness_Call) RunAndReturn(run func(float64)) *Fpdf_SetUnderlineThickness_Call
- type Fpdf_SetXY_Call
- type Fpdf_SetX_Call
- type Fpdf_SetXmpMetadata_Call
- type Fpdf_SetY_Call
- type Fpdf_SplitLines_Call
- type Fpdf_String_Call
- type Fpdf_Text_Call
- type Fpdf_TransformBegin_Call
- type Fpdf_TransformEnd_Call
- type Fpdf_TransformMirrorHorizontal_Call
- func (_c *Fpdf_TransformMirrorHorizontal_Call) Return() *Fpdf_TransformMirrorHorizontal_Call
- func (_c *Fpdf_TransformMirrorHorizontal_Call) Run(run func(x float64)) *Fpdf_TransformMirrorHorizontal_Call
- func (_c *Fpdf_TransformMirrorHorizontal_Call) RunAndReturn(run func(float64)) *Fpdf_TransformMirrorHorizontal_Call
- type Fpdf_TransformMirrorLine_Call
- func (_c *Fpdf_TransformMirrorLine_Call) Return() *Fpdf_TransformMirrorLine_Call
- func (_c *Fpdf_TransformMirrorLine_Call) Run(run func(angle float64, x float64, y float64)) *Fpdf_TransformMirrorLine_Call
- func (_c *Fpdf_TransformMirrorLine_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformMirrorLine_Call
- type Fpdf_TransformMirrorPoint_Call
- func (_c *Fpdf_TransformMirrorPoint_Call) Return() *Fpdf_TransformMirrorPoint_Call
- func (_c *Fpdf_TransformMirrorPoint_Call) Run(run func(x float64, y float64)) *Fpdf_TransformMirrorPoint_Call
- func (_c *Fpdf_TransformMirrorPoint_Call) RunAndReturn(run func(float64, float64)) *Fpdf_TransformMirrorPoint_Call
- type Fpdf_TransformMirrorVertical_Call
- func (_c *Fpdf_TransformMirrorVertical_Call) Return() *Fpdf_TransformMirrorVertical_Call
- func (_c *Fpdf_TransformMirrorVertical_Call) Run(run func(y float64)) *Fpdf_TransformMirrorVertical_Call
- func (_c *Fpdf_TransformMirrorVertical_Call) RunAndReturn(run func(float64)) *Fpdf_TransformMirrorVertical_Call
- type Fpdf_TransformRotate_Call
- func (_c *Fpdf_TransformRotate_Call) Return() *Fpdf_TransformRotate_Call
- func (_c *Fpdf_TransformRotate_Call) Run(run func(angle float64, x float64, y float64)) *Fpdf_TransformRotate_Call
- func (_c *Fpdf_TransformRotate_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformRotate_Call
- type Fpdf_TransformScaleXY_Call
- func (_c *Fpdf_TransformScaleXY_Call) Return() *Fpdf_TransformScaleXY_Call
- func (_c *Fpdf_TransformScaleXY_Call) Run(run func(s float64, x float64, y float64)) *Fpdf_TransformScaleXY_Call
- func (_c *Fpdf_TransformScaleXY_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleXY_Call
- type Fpdf_TransformScaleX_Call
- func (_c *Fpdf_TransformScaleX_Call) Return() *Fpdf_TransformScaleX_Call
- func (_c *Fpdf_TransformScaleX_Call) Run(run func(scaleWd float64, x float64, y float64)) *Fpdf_TransformScaleX_Call
- func (_c *Fpdf_TransformScaleX_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleX_Call
- type Fpdf_TransformScaleY_Call
- func (_c *Fpdf_TransformScaleY_Call) Return() *Fpdf_TransformScaleY_Call
- func (_c *Fpdf_TransformScaleY_Call) Run(run func(scaleHt float64, x float64, y float64)) *Fpdf_TransformScaleY_Call
- func (_c *Fpdf_TransformScaleY_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleY_Call
- type Fpdf_TransformScale_Call
- func (_c *Fpdf_TransformScale_Call) Return() *Fpdf_TransformScale_Call
- func (_c *Fpdf_TransformScale_Call) Run(run func(scaleWd float64, scaleHt float64, x float64, y float64)) *Fpdf_TransformScale_Call
- func (_c *Fpdf_TransformScale_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_TransformScale_Call
- type Fpdf_TransformSkewX_Call
- type Fpdf_TransformSkewY_Call
- type Fpdf_TransformSkew_Call
- func (_c *Fpdf_TransformSkew_Call) Return() *Fpdf_TransformSkew_Call
- func (_c *Fpdf_TransformSkew_Call) Run(run func(angleX float64, angleY float64, x float64, y float64)) *Fpdf_TransformSkew_Call
- func (_c *Fpdf_TransformSkew_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_TransformSkew_Call
- type Fpdf_TransformTranslateX_Call
- type Fpdf_TransformTranslateY_Call
- type Fpdf_TransformTranslate_Call
- type Fpdf_Transform_Call
- type Fpdf_UnicodeTranslatorFromDescriptor_Call
- func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) Return(rep func(string) string) *Fpdf_UnicodeTranslatorFromDescriptor_Call
- func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) Run(run func(cpStr string)) *Fpdf_UnicodeTranslatorFromDescriptor_Call
- func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) RunAndReturn(run func(string) func(string) string) *Fpdf_UnicodeTranslatorFromDescriptor_Call
- type Fpdf_UnitToPointConvert_Call
- type Fpdf_UseTemplateScaled_Call
- func (_c *Fpdf_UseTemplateScaled_Call) Return() *Fpdf_UseTemplateScaled_Call
- func (_c *Fpdf_UseTemplateScaled_Call) Run(run func(t gofpdf.Template, corner gofpdf.PointType, size gofpdf.SizeType)) *Fpdf_UseTemplateScaled_Call
- func (_c *Fpdf_UseTemplateScaled_Call) RunAndReturn(run func(gofpdf.Template, gofpdf.PointType, gofpdf.SizeType)) *Fpdf_UseTemplateScaled_Call
- type Fpdf_UseTemplate_Call
- type Fpdf_WriteAligned_Call
- func (_c *Fpdf_WriteAligned_Call) Return() *Fpdf_WriteAligned_Call
- func (_c *Fpdf_WriteAligned_Call) Run(run func(width float64, lineHeight float64, textStr string, alignStr string)) *Fpdf_WriteAligned_Call
- func (_c *Fpdf_WriteAligned_Call) RunAndReturn(run func(float64, float64, string, string)) *Fpdf_WriteAligned_Call
- type Fpdf_WriteLinkID_Call
- type Fpdf_WriteLinkString_Call
- func (_c *Fpdf_WriteLinkString_Call) Return() *Fpdf_WriteLinkString_Call
- func (_c *Fpdf_WriteLinkString_Call) Run(run func(h float64, displayStr string, targetStr string)) *Fpdf_WriteLinkString_Call
- func (_c *Fpdf_WriteLinkString_Call) RunAndReturn(run func(float64, string, string)) *Fpdf_WriteLinkString_Call
- type Fpdf_Write_Call
- type Fpdf_Writef_Call
- type Image
- type Image_Add_Call
- type Image_Expecter
- type Line
- type Line_Add_Call
- type Line_Expecter
- type Listable
- type Listable_Expecter
- type Listable_GetContent_Call
- type Listable_GetHeader_Call
- type Maroto
- func (_m *Maroto) AddPages(pages ...core.Page)
- func (_m *Maroto) AddRow(rowHeight float64, cols ...core.Col) core.Row
- func (_m *Maroto) AddRows(rows ...core.Row)
- func (_m *Maroto) EXPECT() *Maroto_Expecter
- func (_m *Maroto) FitlnCurrentPage(heightNewLine float64) bool
- func (_m *Maroto) Generate() (core.Document, error)
- func (_m *Maroto) GetStructure() *node.Node[core.Structure]
- func (_m *Maroto) RegisterFooter(rows ...core.Row) error
- func (_m *Maroto) RegisterHeader(rows ...core.Row) error
- type Maroto_AddPages_Call
- type Maroto_AddRow_Call
- type Maroto_AddRows_Call
- type Maroto_Expecter
- func (_e *Maroto_Expecter) AddPages(pages ...interface{}) *Maroto_AddPages_Call
- func (_e *Maroto_Expecter) AddRow(rowHeight interface{}, cols ...interface{}) *Maroto_AddRow_Call
- func (_e *Maroto_Expecter) AddRows(rows ...interface{}) *Maroto_AddRows_Call
- func (_e *Maroto_Expecter) FitlnCurrentPage(heightNewLine interface{}) *Maroto_FitlnCurrentPage_Call
- func (_e *Maroto_Expecter) Generate() *Maroto_Generate_Call
- func (_e *Maroto_Expecter) GetStructure() *Maroto_GetStructure_Call
- func (_e *Maroto_Expecter) RegisterFooter(rows ...interface{}) *Maroto_RegisterFooter_Call
- func (_e *Maroto_Expecter) RegisterHeader(rows ...interface{}) *Maroto_RegisterHeader_Call
- type Maroto_FitlnCurrentPage_Call
- func (_c *Maroto_FitlnCurrentPage_Call) Return(_a0 bool) *Maroto_FitlnCurrentPage_Call
- func (_c *Maroto_FitlnCurrentPage_Call) Run(run func(heightNewLine float64)) *Maroto_FitlnCurrentPage_Call
- func (_c *Maroto_FitlnCurrentPage_Call) RunAndReturn(run func(float64) bool) *Maroto_FitlnCurrentPage_Call
- type Maroto_Generate_Call
- type Maroto_GetStructure_Call
- type Maroto_RegisterFooter_Call
- type Maroto_RegisterHeader_Call
- type Math
- type Math_Expecter
- type Math_GetInnerCenterCell_Call
- func (_c *Math_GetInnerCenterCell_Call) Return(_a0 *entity.Cell) *Math_GetInnerCenterCell_Call
- func (_c *Math_GetInnerCenterCell_Call) Run(run func(inner *entity.Dimensions, outer *entity.Dimensions, percent float64)) *Math_GetInnerCenterCell_Call
- func (_c *Math_GetInnerCenterCell_Call) RunAndReturn(run func(*entity.Dimensions, *entity.Dimensions, float64) *entity.Cell) *Math_GetInnerCenterCell_Call
- type Math_GetInnerNonCenterCell_Call
- func (_c *Math_GetInnerNonCenterCell_Call) Return(_a0 *entity.Cell) *Math_GetInnerNonCenterCell_Call
- func (_c *Math_GetInnerNonCenterCell_Call) Run(run func(inner *entity.Dimensions, outer *entity.Dimensions, prop *props.Rect)) *Math_GetInnerNonCenterCell_Call
- func (_c *Math_GetInnerNonCenterCell_Call) RunAndReturn(run func(*entity.Dimensions, *entity.Dimensions, *props.Rect) *entity.Cell) *Math_GetInnerNonCenterCell_Call
- type Node
- type Node_Expecter
- type Node_GetStructure_Call
- type Node_SetConfig_Call
- type Page
- func (_m *Page) Add(rows ...core.Row) core.Page
- func (_m *Page) EXPECT() *Page_Expecter
- func (_m *Page) GetNumber() int
- func (_m *Page) GetRows() []core.Row
- func (_m *Page) GetStructure() *node.Node[core.Structure]
- func (_m *Page) Render(provider core.Provider, cell entity.Cell)
- func (_m *Page) SetConfig(config *entity.Config)
- func (_m *Page) SetNumber(number int, total int)
- type Page_Add_Call
- type Page_Expecter
- func (_e *Page_Expecter) Add(rows ...interface{}) *Page_Add_Call
- func (_e *Page_Expecter) GetNumber() *Page_GetNumber_Call
- func (_e *Page_Expecter) GetRows() *Page_GetRows_Call
- func (_e *Page_Expecter) GetStructure() *Page_GetStructure_Call
- func (_e *Page_Expecter) Render(provider interface{}, cell interface{}) *Page_Render_Call
- func (_e *Page_Expecter) SetConfig(config interface{}) *Page_SetConfig_Call
- func (_e *Page_Expecter) SetNumber(number interface{}, total interface{}) *Page_SetNumber_Call
- type Page_GetNumber_Call
- type Page_GetRows_Call
- type Page_GetStructure_Call
- type Page_Render_Call
- type Page_SetConfig_Call
- type Page_SetNumber_Call
- type Provider
- func (_m *Provider) AddBackgroundImageFromBytes(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)
- func (_m *Provider) AddBarCode(code string, cell *entity.Cell, prop *props.Barcode)
- func (_m *Provider) AddImageFromBytes(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)
- func (_m *Provider) AddImageFromFile(value string, cell *entity.Cell, prop *props.Rect)
- func (_m *Provider) AddLine(cell *entity.Cell, prop *props.Line)
- func (_m *Provider) AddMatrixCode(code string, cell *entity.Cell, prop *props.Rect)
- func (_m *Provider) AddQrCode(code string, cell *entity.Cell, rect *props.Rect)
- func (_m *Provider) AddText(text string, cell *entity.Cell, prop *props.Text)
- func (_m *Provider) CreateCol(width float64, height float64, config *entity.Config, prop *props.Cell)
- func (_m *Provider) CreateRow(height float64)
- func (_m *Provider) EXPECT() *Provider_Expecter
- func (_m *Provider) GenerateBytes() ([]byte, error)
- func (_m *Provider) GetTextHeight(prop *props.Font) float64
- func (_m *Provider) SetCompression(compression bool)
- func (_m *Provider) SetMetadata(metadata *entity.Metadata)
- func (_m *Provider) SetProtection(protection *entity.Protection)
- type Provider_AddBackgroundImageFromBytes_Call
- func (_c *Provider_AddBackgroundImageFromBytes_Call) Return() *Provider_AddBackgroundImageFromBytes_Call
- func (_c *Provider_AddBackgroundImageFromBytes_Call) Run(...) *Provider_AddBackgroundImageFromBytes_Call
- func (_c *Provider_AddBackgroundImageFromBytes_Call) RunAndReturn(run func([]byte, *entity.Cell, *props.Rect, extension.Type)) *Provider_AddBackgroundImageFromBytes_Call
- type Provider_AddBarCode_Call
- func (_c *Provider_AddBarCode_Call) Return() *Provider_AddBarCode_Call
- func (_c *Provider_AddBarCode_Call) Run(run func(code string, cell *entity.Cell, prop *props.Barcode)) *Provider_AddBarCode_Call
- func (_c *Provider_AddBarCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Barcode)) *Provider_AddBarCode_Call
- type Provider_AddImageFromBytes_Call
- func (_c *Provider_AddImageFromBytes_Call) Return() *Provider_AddImageFromBytes_Call
- func (_c *Provider_AddImageFromBytes_Call) Run(...) *Provider_AddImageFromBytes_Call
- func (_c *Provider_AddImageFromBytes_Call) RunAndReturn(run func([]byte, *entity.Cell, *props.Rect, extension.Type)) *Provider_AddImageFromBytes_Call
- type Provider_AddImageFromFile_Call
- func (_c *Provider_AddImageFromFile_Call) Return() *Provider_AddImageFromFile_Call
- func (_c *Provider_AddImageFromFile_Call) Run(run func(value string, cell *entity.Cell, prop *props.Rect)) *Provider_AddImageFromFile_Call
- func (_c *Provider_AddImageFromFile_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddImageFromFile_Call
- type Provider_AddLine_Call
- type Provider_AddMatrixCode_Call
- func (_c *Provider_AddMatrixCode_Call) Return() *Provider_AddMatrixCode_Call
- func (_c *Provider_AddMatrixCode_Call) Run(run func(code string, cell *entity.Cell, prop *props.Rect)) *Provider_AddMatrixCode_Call
- func (_c *Provider_AddMatrixCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddMatrixCode_Call
- type Provider_AddQrCode_Call
- func (_c *Provider_AddQrCode_Call) Return() *Provider_AddQrCode_Call
- func (_c *Provider_AddQrCode_Call) Run(run func(code string, cell *entity.Cell, rect *props.Rect)) *Provider_AddQrCode_Call
- func (_c *Provider_AddQrCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddQrCode_Call
- type Provider_AddText_Call
- type Provider_CreateCol_Call
- type Provider_CreateRow_Call
- type Provider_Expecter
- func (_e *Provider_Expecter) AddBackgroundImageFromBytes(bytes interface{}, cell interface{}, prop interface{}, _a3 interface{}) *Provider_AddBackgroundImageFromBytes_Call
- func (_e *Provider_Expecter) AddBarCode(code interface{}, cell interface{}, prop interface{}) *Provider_AddBarCode_Call
- func (_e *Provider_Expecter) AddImageFromBytes(bytes interface{}, cell interface{}, prop interface{}, _a3 interface{}) *Provider_AddImageFromBytes_Call
- func (_e *Provider_Expecter) AddImageFromFile(value interface{}, cell interface{}, prop interface{}) *Provider_AddImageFromFile_Call
- func (_e *Provider_Expecter) AddLine(cell interface{}, prop interface{}) *Provider_AddLine_Call
- func (_e *Provider_Expecter) AddMatrixCode(code interface{}, cell interface{}, prop interface{}) *Provider_AddMatrixCode_Call
- func (_e *Provider_Expecter) AddQrCode(code interface{}, cell interface{}, rect interface{}) *Provider_AddQrCode_Call
- func (_e *Provider_Expecter) AddText(text interface{}, cell interface{}, prop interface{}) *Provider_AddText_Call
- func (_e *Provider_Expecter) CreateCol(width interface{}, height interface{}, config interface{}, prop interface{}) *Provider_CreateCol_Call
- func (_e *Provider_Expecter) CreateRow(height interface{}) *Provider_CreateRow_Call
- func (_e *Provider_Expecter) GenerateBytes() *Provider_GenerateBytes_Call
- func (_e *Provider_Expecter) GetTextHeight(prop interface{}) *Provider_GetTextHeight_Call
- func (_e *Provider_Expecter) SetCompression(compression interface{}) *Provider_SetCompression_Call
- func (_e *Provider_Expecter) SetMetadata(metadata interface{}) *Provider_SetMetadata_Call
- func (_e *Provider_Expecter) SetProtection(protection interface{}) *Provider_SetProtection_Call
- type Provider_GenerateBytes_Call
- type Provider_GetTextHeight_Call
- type Provider_SetCompression_Call
- type Provider_SetMetadata_Call
- type Provider_SetProtection_Call
- func (_c *Provider_SetProtection_Call) Return() *Provider_SetProtection_Call
- func (_c *Provider_SetProtection_Call) Run(run func(protection *entity.Protection)) *Provider_SetProtection_Call
- func (_c *Provider_SetProtection_Call) RunAndReturn(run func(*entity.Protection)) *Provider_SetProtection_Call
- type Repository
- func (_m *Repository) AddUTF8Font(family string, style fontstyle.Type, file string) repository.Repository
- func (_m *Repository) AddUTF8FontFromBytes(family string, style fontstyle.Type, bytes []byte) repository.Repository
- func (_m *Repository) EXPECT() *Repository_Expecter
- func (_m *Repository) Load() ([]*entity.CustomFont, error)
- type Repository_AddUTF8Font_Call
- func (_c *Repository_AddUTF8Font_Call) Return(_a0 repository.Repository) *Repository_AddUTF8Font_Call
- func (_c *Repository_AddUTF8Font_Call) Run(run func(family string, style fontstyle.Type, file string)) *Repository_AddUTF8Font_Call
- func (_c *Repository_AddUTF8Font_Call) RunAndReturn(run func(string, fontstyle.Type, string) repository.Repository) *Repository_AddUTF8Font_Call
- type Repository_Expecter
- type Repository_Load_Call
- type Row
- func (_m *Row) Add(cols ...core.Col) core.Row
- func (_m *Row) EXPECT() *Row_Expecter
- func (_m *Row) GetColumns() []core.Col
- func (_m *Row) GetHeight() float64
- func (_m *Row) GetStructure() *node.Node[core.Structure]
- func (_m *Row) Render(provider core.Provider, cell entity.Cell)
- func (_m *Row) SetConfig(config *entity.Config)
- func (_m *Row) WithStyle(style *props.Cell) core.Row
- type Row_Add_Call
- type Row_Expecter
- func (_e *Row_Expecter) Add(cols ...interface{}) *Row_Add_Call
- func (_e *Row_Expecter) GetColumns() *Row_GetColumns_Call
- func (_e *Row_Expecter) GetHeight() *Row_GetHeight_Call
- func (_e *Row_Expecter) GetStructure() *Row_GetStructure_Call
- func (_e *Row_Expecter) Render(provider interface{}, cell interface{}) *Row_Render_Call
- func (_e *Row_Expecter) SetConfig(config interface{}) *Row_SetConfig_Call
- func (_e *Row_Expecter) WithStyle(style interface{}) *Row_WithStyle_Call
- type Row_GetColumns_Call
- type Row_GetHeight_Call
- type Row_GetStructure_Call
- type Row_Render_Call
- type Row_SetConfig_Call
- type Row_WithStyle_Call
- type Text
- type Text_Add_Call
- type Text_Expecter
- type Text_GetLinesQuantity_Call
- func (_c *Text_GetLinesQuantity_Call) Return(_a0 int) *Text_GetLinesQuantity_Call
- func (_c *Text_GetLinesQuantity_Call) Run(run func(text string, fontFamily props.Text, colWidth float64)) *Text_GetLinesQuantity_Call
- func (_c *Text_GetLinesQuantity_Call) RunAndReturn(run func(string, props.Text, float64) int) *Text_GetLinesQuantity_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
Builder is an autogenerated mock type for the Builder type
func NewBuilder ¶
NewBuilder creates a new instance of Builder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Builder) EXPECT ¶
func (_m *Builder) EXPECT() *Builder_Expecter
type Builder_Build_Call ¶
Builder_Build_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Build'
func (*Builder_Build_Call) Return ¶
func (_c *Builder_Build_Call) Return(_a0 *gofpdf.Dependencies) *Builder_Build_Call
func (*Builder_Build_Call) Run ¶
func (_c *Builder_Build_Call) Run(run func(cfg *entity.Config, _a1 cache.Cache)) *Builder_Build_Call
func (*Builder_Build_Call) RunAndReturn ¶
func (_c *Builder_Build_Call) RunAndReturn(run func(*entity.Config, cache.Cache) *gofpdf.Dependencies) *Builder_Build_Call
type Builder_Expecter ¶
type Builder_Expecter struct {
// contains filtered or unexported fields
}
func (*Builder_Expecter) Build ¶
func (_e *Builder_Expecter) Build(cfg interface{}, _a1 interface{}) *Builder_Build_Call
Build is a helper method to define mock.On call
- cfg *entity.Config
- _a1 cache.Cache
type Cache ¶
Cache is an autogenerated mock type for the Cache type
func NewCache ¶
NewCache creates a new instance of Cache. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Cache) EXPECT ¶
func (_m *Cache) EXPECT() *Cache_Expecter
type Cache_AddImage_Call ¶
Cache_AddImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddImage'
func (*Cache_AddImage_Call) Return ¶
func (_c *Cache_AddImage_Call) Return() *Cache_AddImage_Call
func (*Cache_AddImage_Call) Run ¶
func (_c *Cache_AddImage_Call) Run(run func(value string, image *entity.Image)) *Cache_AddImage_Call
func (*Cache_AddImage_Call) RunAndReturn ¶
func (_c *Cache_AddImage_Call) RunAndReturn(run func(string, *entity.Image)) *Cache_AddImage_Call
type Cache_Expecter ¶
type Cache_Expecter struct {
// contains filtered or unexported fields
}
func (*Cache_Expecter) AddImage ¶
func (_e *Cache_Expecter) AddImage(value interface{}, image interface{}) *Cache_AddImage_Call
AddImage is a helper method to define mock.On call
- value string
- image *entity.Image
func (*Cache_Expecter) GetImage ¶
func (_e *Cache_Expecter) GetImage(value interface{}, _a1 interface{}) *Cache_GetImage_Call
GetImage is a helper method to define mock.On call
- value string
- _a1 extension.Type
func (*Cache_Expecter) LoadImage ¶
func (_e *Cache_Expecter) LoadImage(value interface{}, _a1 interface{}) *Cache_LoadImage_Call
LoadImage is a helper method to define mock.On call
- value string
- _a1 extension.Type
type Cache_GetImage_Call ¶
Cache_GetImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetImage'
func (*Cache_GetImage_Call) Return ¶
func (_c *Cache_GetImage_Call) Return(_a0 *entity.Image, _a1 error) *Cache_GetImage_Call
func (*Cache_GetImage_Call) Run ¶
func (_c *Cache_GetImage_Call) Run(run func(value string, _a1 extension.Type)) *Cache_GetImage_Call
func (*Cache_GetImage_Call) RunAndReturn ¶
func (_c *Cache_GetImage_Call) RunAndReturn(run func(string, extension.Type) (*entity.Image, error)) *Cache_GetImage_Call
type Cache_LoadImage_Call ¶
Cache_LoadImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadImage'
func (*Cache_LoadImage_Call) Return ¶
func (_c *Cache_LoadImage_Call) Return(_a0 error) *Cache_LoadImage_Call
func (*Cache_LoadImage_Call) Run ¶
func (_c *Cache_LoadImage_Call) Run(run func(value string, _a1 extension.Type)) *Cache_LoadImage_Call
func (*Cache_LoadImage_Call) RunAndReturn ¶
func (_c *Cache_LoadImage_Call) RunAndReturn(run func(string, extension.Type) error) *Cache_LoadImage_Call
type CellWriter ¶
CellWriter is an autogenerated mock type for the CellWriter type
func NewCellWriter ¶
func NewCellWriter(t interface { mock.TestingT Cleanup(func()) }, ) *CellWriter
NewCellWriter creates a new instance of CellWriter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CellWriter) Apply ¶
Apply provides a mock function with given fields: width, height, config, prop
func (*CellWriter) EXPECT ¶
func (_m *CellWriter) EXPECT() *CellWriter_Expecter
func (*CellWriter) GetName ¶
func (_m *CellWriter) GetName() string
GetName provides a mock function with given fields:
func (*CellWriter) GetNext ¶
func (_m *CellWriter) GetNext() cellwriter.CellWriter
GetNext provides a mock function with given fields:
func (*CellWriter) SetNext ¶
func (_m *CellWriter) SetNext(next cellwriter.CellWriter)
SetNext provides a mock function with given fields: next
type CellWriter_Apply_Call ¶
CellWriter_Apply_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Apply'
func (*CellWriter_Apply_Call) Return ¶
func (_c *CellWriter_Apply_Call) Return() *CellWriter_Apply_Call
func (*CellWriter_Apply_Call) Run ¶
func (_c *CellWriter_Apply_Call) Run(run func(width float64, height float64, config *entity.Config, prop *props.Cell)) *CellWriter_Apply_Call
func (*CellWriter_Apply_Call) RunAndReturn ¶
func (_c *CellWriter_Apply_Call) RunAndReturn(run func(float64, float64, *entity.Config, *props.Cell)) *CellWriter_Apply_Call
type CellWriter_Expecter ¶
type CellWriter_Expecter struct {
// contains filtered or unexported fields
}
func (*CellWriter_Expecter) Apply ¶
func (_e *CellWriter_Expecter) Apply(width interface{}, height interface{}, config interface{}, prop interface{}) *CellWriter_Apply_Call
Apply is a helper method to define mock.On call
- width float64
- height float64
- config *entity.Config
- prop *props.Cell
func (*CellWriter_Expecter) GetName ¶
func (_e *CellWriter_Expecter) GetName() *CellWriter_GetName_Call
GetName is a helper method to define mock.On call
func (*CellWriter_Expecter) GetNext ¶
func (_e *CellWriter_Expecter) GetNext() *CellWriter_GetNext_Call
GetNext is a helper method to define mock.On call
func (*CellWriter_Expecter) SetNext ¶
func (_e *CellWriter_Expecter) SetNext(next interface{}) *CellWriter_SetNext_Call
SetNext is a helper method to define mock.On call
- next cellwriter.CellWriter
type CellWriter_GetName_Call ¶
CellWriter_GetName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetName'
func (*CellWriter_GetName_Call) Return ¶
func (_c *CellWriter_GetName_Call) Return(_a0 string) *CellWriter_GetName_Call
func (*CellWriter_GetName_Call) Run ¶
func (_c *CellWriter_GetName_Call) Run(run func()) *CellWriter_GetName_Call
func (*CellWriter_GetName_Call) RunAndReturn ¶
func (_c *CellWriter_GetName_Call) RunAndReturn(run func() string) *CellWriter_GetName_Call
type CellWriter_GetNext_Call ¶
CellWriter_GetNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNext'
func (*CellWriter_GetNext_Call) Return ¶
func (_c *CellWriter_GetNext_Call) Return(_a0 cellwriter.CellWriter) *CellWriter_GetNext_Call
func (*CellWriter_GetNext_Call) Run ¶
func (_c *CellWriter_GetNext_Call) Run(run func()) *CellWriter_GetNext_Call
func (*CellWriter_GetNext_Call) RunAndReturn ¶
func (_c *CellWriter_GetNext_Call) RunAndReturn(run func() cellwriter.CellWriter) *CellWriter_GetNext_Call
type CellWriter_SetNext_Call ¶
CellWriter_SetNext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNext'
func (*CellWriter_SetNext_Call) Return ¶
func (_c *CellWriter_SetNext_Call) Return() *CellWriter_SetNext_Call
func (*CellWriter_SetNext_Call) Run ¶
func (_c *CellWriter_SetNext_Call) Run(run func(next cellwriter.CellWriter)) *CellWriter_SetNext_Call
func (*CellWriter_SetNext_Call) RunAndReturn ¶
func (_c *CellWriter_SetNext_Call) RunAndReturn(run func(cellwriter.CellWriter)) *CellWriter_SetNext_Call
type Code ¶
Code is an autogenerated mock type for the Code type
func NewCode ¶
NewCode creates a new instance of Code. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Code) EXPECT ¶
func (_m *Code) EXPECT() *Code_Expecter
func (*Code) GenDataMatrix ¶
GenDataMatrix provides a mock function with given fields: code
type Code_Expecter ¶
type Code_Expecter struct {
// contains filtered or unexported fields
}
func (*Code_Expecter) GenBar ¶
func (_e *Code_Expecter) GenBar(code interface{}, cell interface{}, prop interface{}) *Code_GenBar_Call
GenBar is a helper method to define mock.On call
- code string
- cell *entity.Cell
- prop *props.Barcode
func (*Code_Expecter) GenDataMatrix ¶
func (_e *Code_Expecter) GenDataMatrix(code interface{}) *Code_GenDataMatrix_Call
GenDataMatrix is a helper method to define mock.On call
- code string
func (*Code_Expecter) GenQr ¶
func (_e *Code_Expecter) GenQr(code interface{}) *Code_GenQr_Call
GenQr is a helper method to define mock.On call
- code string
type Code_GenBar_Call ¶
Code_GenBar_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenBar'
func (*Code_GenBar_Call) Return ¶
func (_c *Code_GenBar_Call) Return(_a0 *entity.Image, _a1 error) *Code_GenBar_Call
func (*Code_GenBar_Call) Run ¶
func (_c *Code_GenBar_Call) Run(run func(code string, cell *entity.Cell, prop *props.Barcode)) *Code_GenBar_Call
func (*Code_GenBar_Call) RunAndReturn ¶
func (_c *Code_GenBar_Call) RunAndReturn(run func(string, *entity.Cell, *props.Barcode) (*entity.Image, error)) *Code_GenBar_Call
type Code_GenDataMatrix_Call ¶
Code_GenDataMatrix_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenDataMatrix'
func (*Code_GenDataMatrix_Call) Return ¶
func (_c *Code_GenDataMatrix_Call) Return(_a0 *entity.Image, _a1 error) *Code_GenDataMatrix_Call
func (*Code_GenDataMatrix_Call) Run ¶
func (_c *Code_GenDataMatrix_Call) Run(run func(code string)) *Code_GenDataMatrix_Call
func (*Code_GenDataMatrix_Call) RunAndReturn ¶
func (_c *Code_GenDataMatrix_Call) RunAndReturn(run func(string) (*entity.Image, error)) *Code_GenDataMatrix_Call
type Code_GenQr_Call ¶
Code_GenQr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenQr'
func (*Code_GenQr_Call) Return ¶
func (_c *Code_GenQr_Call) Return(_a0 *entity.Image, _a1 error) *Code_GenQr_Call
func (*Code_GenQr_Call) Run ¶
func (_c *Code_GenQr_Call) Run(run func(code string)) *Code_GenQr_Call
func (*Code_GenQr_Call) RunAndReturn ¶
func (_c *Code_GenQr_Call) RunAndReturn(run func(string) (*entity.Image, error)) *Code_GenQr_Call
type Col ¶
Col is an autogenerated mock type for the Col type
func NewCol ¶
NewCol creates a new instance of Col. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Col) EXPECT ¶
func (_m *Col) EXPECT() *Col_Expecter
func (*Col) GetStructure ¶
GetStructure provides a mock function with given fields:
type Col_Add_Call ¶
Col_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Col_Add_Call) Return ¶
func (_c *Col_Add_Call) Return(_a0 core.Col) *Col_Add_Call
func (*Col_Add_Call) Run ¶
func (_c *Col_Add_Call) Run(run func(components ...core.Component)) *Col_Add_Call
func (*Col_Add_Call) RunAndReturn ¶
func (_c *Col_Add_Call) RunAndReturn(run func(...core.Component) core.Col) *Col_Add_Call
type Col_Expecter ¶
type Col_Expecter struct {
// contains filtered or unexported fields
}
func (*Col_Expecter) Add ¶
func (_e *Col_Expecter) Add(components ...interface{}) *Col_Add_Call
Add is a helper method to define mock.On call
- components ...core.Component
func (*Col_Expecter) GetSize ¶
func (_e *Col_Expecter) GetSize() *Col_GetSize_Call
GetSize is a helper method to define mock.On call
func (*Col_Expecter) GetStructure ¶
func (_e *Col_Expecter) GetStructure() *Col_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Col_Expecter) Render ¶
func (_e *Col_Expecter) Render(provider interface{}, cell interface{}, createCell interface{}) *Col_Render_Call
Render is a helper method to define mock.On call
- provider core.Provider
- cell entity.Cell
- createCell bool
func (*Col_Expecter) SetConfig ¶
func (_e *Col_Expecter) SetConfig(config interface{}) *Col_SetConfig_Call
SetConfig is a helper method to define mock.On call
- config *entity.Config
func (*Col_Expecter) WithStyle ¶
func (_e *Col_Expecter) WithStyle(style interface{}) *Col_WithStyle_Call
WithStyle is a helper method to define mock.On call
- style *props.Cell
type Col_GetSize_Call ¶
Col_GetSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSize'
func (*Col_GetSize_Call) Return ¶
func (_c *Col_GetSize_Call) Return(_a0 int) *Col_GetSize_Call
func (*Col_GetSize_Call) Run ¶
func (_c *Col_GetSize_Call) Run(run func()) *Col_GetSize_Call
func (*Col_GetSize_Call) RunAndReturn ¶
func (_c *Col_GetSize_Call) RunAndReturn(run func() int) *Col_GetSize_Call
type Col_GetStructure_Call ¶
Col_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Col_GetStructure_Call) Return ¶
func (_c *Col_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Col_GetStructure_Call
func (*Col_GetStructure_Call) Run ¶
func (_c *Col_GetStructure_Call) Run(run func()) *Col_GetStructure_Call
func (*Col_GetStructure_Call) RunAndReturn ¶
func (_c *Col_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Col_GetStructure_Call
type Col_Render_Call ¶
Col_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*Col_Render_Call) Return ¶
func (_c *Col_Render_Call) Return() *Col_Render_Call
func (*Col_Render_Call) Run ¶
func (_c *Col_Render_Call) Run(run func(provider core.Provider, cell entity.Cell, createCell bool)) *Col_Render_Call
func (*Col_Render_Call) RunAndReturn ¶
func (_c *Col_Render_Call) RunAndReturn(run func(core.Provider, entity.Cell, bool)) *Col_Render_Call
type Col_SetConfig_Call ¶
Col_SetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConfig'
func (*Col_SetConfig_Call) Return ¶
func (_c *Col_SetConfig_Call) Return() *Col_SetConfig_Call
func (*Col_SetConfig_Call) Run ¶
func (_c *Col_SetConfig_Call) Run(run func(config *entity.Config)) *Col_SetConfig_Call
func (*Col_SetConfig_Call) RunAndReturn ¶
func (_c *Col_SetConfig_Call) RunAndReturn(run func(*entity.Config)) *Col_SetConfig_Call
type Col_WithStyle_Call ¶
Col_WithStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithStyle'
func (*Col_WithStyle_Call) Return ¶
func (_c *Col_WithStyle_Call) Return(_a0 core.Col) *Col_WithStyle_Call
func (*Col_WithStyle_Call) Run ¶
func (_c *Col_WithStyle_Call) Run(run func(style *props.Cell)) *Col_WithStyle_Call
func (*Col_WithStyle_Call) RunAndReturn ¶
func (_c *Col_WithStyle_Call) RunAndReturn(run func(*props.Cell) core.Col) *Col_WithStyle_Call
type Component ¶
Component is an autogenerated mock type for the Component type
func NewComponent ¶
NewComponent creates a new instance of Component. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Component) EXPECT ¶
func (_m *Component) EXPECT() *Component_Expecter
func (*Component) GetStructure ¶
GetStructure provides a mock function with given fields:
type Component_Expecter ¶
type Component_Expecter struct {
// contains filtered or unexported fields
}
func (*Component_Expecter) GetStructure ¶
func (_e *Component_Expecter) GetStructure() *Component_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Component_Expecter) Render ¶
func (_e *Component_Expecter) Render(provider interface{}, cell interface{}) *Component_Render_Call
Render is a helper method to define mock.On call
- provider core.Provider
- cell *entity.Cell
func (*Component_Expecter) SetConfig ¶
func (_e *Component_Expecter) SetConfig(config interface{}) *Component_SetConfig_Call
SetConfig is a helper method to define mock.On call
- config *entity.Config
type Component_GetStructure_Call ¶
Component_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Component_GetStructure_Call) Return ¶
func (_c *Component_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Component_GetStructure_Call
func (*Component_GetStructure_Call) Run ¶
func (_c *Component_GetStructure_Call) Run(run func()) *Component_GetStructure_Call
func (*Component_GetStructure_Call) RunAndReturn ¶
func (_c *Component_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Component_GetStructure_Call
type Component_Render_Call ¶
Component_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*Component_Render_Call) Return ¶
func (_c *Component_Render_Call) Return() *Component_Render_Call
func (*Component_Render_Call) Run ¶
func (_c *Component_Render_Call) Run(run func(provider core.Provider, cell *entity.Cell)) *Component_Render_Call
func (*Component_Render_Call) RunAndReturn ¶
func (_c *Component_Render_Call) RunAndReturn(run func(core.Provider, *entity.Cell)) *Component_Render_Call
type Component_SetConfig_Call ¶
Component_SetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConfig'
func (*Component_SetConfig_Call) Return ¶
func (_c *Component_SetConfig_Call) Return() *Component_SetConfig_Call
func (*Component_SetConfig_Call) Run ¶
func (_c *Component_SetConfig_Call) Run(run func(config *entity.Config)) *Component_SetConfig_Call
func (*Component_SetConfig_Call) RunAndReturn ¶
func (_c *Component_SetConfig_Call) RunAndReturn(run func(*entity.Config)) *Component_SetConfig_Call
type Document ¶
Document is an autogenerated mock type for the Document type
func NewDocument ¶
NewDocument creates a new instance of Document. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Document) EXPECT ¶
func (_m *Document) EXPECT() *Document_Expecter
type Document_Expecter ¶
type Document_Expecter struct {
// contains filtered or unexported fields
}
func (*Document_Expecter) GetBase64 ¶
func (_e *Document_Expecter) GetBase64() *Document_GetBase64_Call
GetBase64 is a helper method to define mock.On call
func (*Document_Expecter) GetBytes ¶
func (_e *Document_Expecter) GetBytes() *Document_GetBytes_Call
GetBytes is a helper method to define mock.On call
func (*Document_Expecter) GetReport ¶
func (_e *Document_Expecter) GetReport() *Document_GetReport_Call
GetReport is a helper method to define mock.On call
func (*Document_Expecter) Merge ¶
func (_e *Document_Expecter) Merge(_a0 interface{}) *Document_Merge_Call
Merge is a helper method to define mock.On call
- _a0 []byte
func (*Document_Expecter) Save ¶
func (_e *Document_Expecter) Save(file interface{}) *Document_Save_Call
Save is a helper method to define mock.On call
- file string
type Document_GetBase64_Call ¶
Document_GetBase64_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBase64'
func (*Document_GetBase64_Call) Return ¶
func (_c *Document_GetBase64_Call) Return(_a0 string) *Document_GetBase64_Call
func (*Document_GetBase64_Call) Run ¶
func (_c *Document_GetBase64_Call) Run(run func()) *Document_GetBase64_Call
func (*Document_GetBase64_Call) RunAndReturn ¶
func (_c *Document_GetBase64_Call) RunAndReturn(run func() string) *Document_GetBase64_Call
type Document_GetBytes_Call ¶
Document_GetBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBytes'
func (*Document_GetBytes_Call) Return ¶
func (_c *Document_GetBytes_Call) Return(_a0 []byte) *Document_GetBytes_Call
func (*Document_GetBytes_Call) Run ¶
func (_c *Document_GetBytes_Call) Run(run func()) *Document_GetBytes_Call
func (*Document_GetBytes_Call) RunAndReturn ¶
func (_c *Document_GetBytes_Call) RunAndReturn(run func() []byte) *Document_GetBytes_Call
type Document_GetReport_Call ¶
Document_GetReport_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReport'
func (*Document_GetReport_Call) Return ¶
func (_c *Document_GetReport_Call) Return(_a0 *metrics.Report) *Document_GetReport_Call
func (*Document_GetReport_Call) Run ¶
func (_c *Document_GetReport_Call) Run(run func()) *Document_GetReport_Call
func (*Document_GetReport_Call) RunAndReturn ¶
func (_c *Document_GetReport_Call) RunAndReturn(run func() *metrics.Report) *Document_GetReport_Call
type Document_Merge_Call ¶
Document_Merge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Merge'
func (*Document_Merge_Call) Return ¶
func (_c *Document_Merge_Call) Return(_a0 error) *Document_Merge_Call
func (*Document_Merge_Call) Run ¶
func (_c *Document_Merge_Call) Run(run func(_a0 []byte)) *Document_Merge_Call
func (*Document_Merge_Call) RunAndReturn ¶
func (_c *Document_Merge_Call) RunAndReturn(run func([]byte) error) *Document_Merge_Call
type Document_Save_Call ¶
Document_Save_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Save'
func (*Document_Save_Call) Return ¶
func (_c *Document_Save_Call) Return(_a0 error) *Document_Save_Call
func (*Document_Save_Call) Run ¶
func (_c *Document_Save_Call) Run(run func(file string)) *Document_Save_Call
func (*Document_Save_Call) RunAndReturn ¶
func (_c *Document_Save_Call) RunAndReturn(run func(string) error) *Document_Save_Call
type Font ¶
Font is an autogenerated mock type for the Font type
func NewFont ¶
NewFont creates a new instance of Font. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Font) EXPECT ¶
func (_m *Font) EXPECT() *Font_Expecter
type Font_Expecter ¶
type Font_Expecter struct {
// contains filtered or unexported fields
}
func (*Font_Expecter) GetColor ¶
func (_e *Font_Expecter) GetColor() *Font_GetColor_Call
GetColor is a helper method to define mock.On call
func (*Font_Expecter) GetFamily ¶
func (_e *Font_Expecter) GetFamily() *Font_GetFamily_Call
GetFamily is a helper method to define mock.On call
func (*Font_Expecter) GetFont ¶
func (_e *Font_Expecter) GetFont() *Font_GetFont_Call
GetFont is a helper method to define mock.On call
func (*Font_Expecter) GetHeight ¶
func (_e *Font_Expecter) GetHeight(family interface{}, style interface{}, size interface{}) *Font_GetHeight_Call
GetHeight is a helper method to define mock.On call
- family string
- style fontstyle.Type
- size float64
func (*Font_Expecter) GetSize ¶
func (_e *Font_Expecter) GetSize() *Font_GetSize_Call
GetSize is a helper method to define mock.On call
func (*Font_Expecter) GetStyle ¶
func (_e *Font_Expecter) GetStyle() *Font_GetStyle_Call
GetStyle is a helper method to define mock.On call
func (*Font_Expecter) SetColor ¶
func (_e *Font_Expecter) SetColor(color interface{}) *Font_SetColor_Call
SetColor is a helper method to define mock.On call
- color *props.Color
func (*Font_Expecter) SetFamily ¶
func (_e *Font_Expecter) SetFamily(family interface{}) *Font_SetFamily_Call
SetFamily is a helper method to define mock.On call
- family string
func (*Font_Expecter) SetFont ¶
func (_e *Font_Expecter) SetFont(family interface{}, style interface{}, size interface{}) *Font_SetFont_Call
SetFont is a helper method to define mock.On call
- family string
- style fontstyle.Type
- size float64
func (*Font_Expecter) SetSize ¶
func (_e *Font_Expecter) SetSize(size interface{}) *Font_SetSize_Call
SetSize is a helper method to define mock.On call
- size float64
func (*Font_Expecter) SetStyle ¶
func (_e *Font_Expecter) SetStyle(style interface{}) *Font_SetStyle_Call
SetStyle is a helper method to define mock.On call
- style fontstyle.Type
type Font_GetColor_Call ¶
Font_GetColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColor'
func (*Font_GetColor_Call) Return ¶
func (_c *Font_GetColor_Call) Return(_a0 *props.Color) *Font_GetColor_Call
func (*Font_GetColor_Call) Run ¶
func (_c *Font_GetColor_Call) Run(run func()) *Font_GetColor_Call
func (*Font_GetColor_Call) RunAndReturn ¶
func (_c *Font_GetColor_Call) RunAndReturn(run func() *props.Color) *Font_GetColor_Call
type Font_GetFamily_Call ¶
Font_GetFamily_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFamily'
func (*Font_GetFamily_Call) Return ¶
func (_c *Font_GetFamily_Call) Return(_a0 string) *Font_GetFamily_Call
func (*Font_GetFamily_Call) Run ¶
func (_c *Font_GetFamily_Call) Run(run func()) *Font_GetFamily_Call
func (*Font_GetFamily_Call) RunAndReturn ¶
func (_c *Font_GetFamily_Call) RunAndReturn(run func() string) *Font_GetFamily_Call
type Font_GetFont_Call ¶
Font_GetFont_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFont'
func (*Font_GetFont_Call) Return ¶
func (_c *Font_GetFont_Call) Return(_a0 string, _a1 fontstyle.Type, _a2 float64) *Font_GetFont_Call
func (*Font_GetFont_Call) Run ¶
func (_c *Font_GetFont_Call) Run(run func()) *Font_GetFont_Call
func (*Font_GetFont_Call) RunAndReturn ¶
func (_c *Font_GetFont_Call) RunAndReturn(run func() (string, fontstyle.Type, float64)) *Font_GetFont_Call
type Font_GetHeight_Call ¶
Font_GetHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeight'
func (*Font_GetHeight_Call) Return ¶
func (_c *Font_GetHeight_Call) Return(_a0 float64) *Font_GetHeight_Call
func (*Font_GetHeight_Call) Run ¶
func (_c *Font_GetHeight_Call) Run(run func(family string, style fontstyle.Type, size float64)) *Font_GetHeight_Call
func (*Font_GetHeight_Call) RunAndReturn ¶
func (_c *Font_GetHeight_Call) RunAndReturn(run func(string, fontstyle.Type, float64) float64) *Font_GetHeight_Call
type Font_GetSize_Call ¶
Font_GetSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSize'
func (*Font_GetSize_Call) Return ¶
func (_c *Font_GetSize_Call) Return(_a0 float64) *Font_GetSize_Call
func (*Font_GetSize_Call) Run ¶
func (_c *Font_GetSize_Call) Run(run func()) *Font_GetSize_Call
func (*Font_GetSize_Call) RunAndReturn ¶
func (_c *Font_GetSize_Call) RunAndReturn(run func() float64) *Font_GetSize_Call
type Font_GetStyle_Call ¶
Font_GetStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStyle'
func (*Font_GetStyle_Call) Return ¶
func (_c *Font_GetStyle_Call) Return(_a0 fontstyle.Type) *Font_GetStyle_Call
func (*Font_GetStyle_Call) Run ¶
func (_c *Font_GetStyle_Call) Run(run func()) *Font_GetStyle_Call
func (*Font_GetStyle_Call) RunAndReturn ¶
func (_c *Font_GetStyle_Call) RunAndReturn(run func() fontstyle.Type) *Font_GetStyle_Call
type Font_SetColor_Call ¶
Font_SetColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetColor'
func (*Font_SetColor_Call) Return ¶
func (_c *Font_SetColor_Call) Return() *Font_SetColor_Call
func (*Font_SetColor_Call) Run ¶
func (_c *Font_SetColor_Call) Run(run func(color *props.Color)) *Font_SetColor_Call
func (*Font_SetColor_Call) RunAndReturn ¶
func (_c *Font_SetColor_Call) RunAndReturn(run func(*props.Color)) *Font_SetColor_Call
type Font_SetFamily_Call ¶
Font_SetFamily_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFamily'
func (*Font_SetFamily_Call) Return ¶
func (_c *Font_SetFamily_Call) Return() *Font_SetFamily_Call
func (*Font_SetFamily_Call) Run ¶
func (_c *Font_SetFamily_Call) Run(run func(family string)) *Font_SetFamily_Call
func (*Font_SetFamily_Call) RunAndReturn ¶
func (_c *Font_SetFamily_Call) RunAndReturn(run func(string)) *Font_SetFamily_Call
type Font_SetFont_Call ¶
Font_SetFont_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFont'
func (*Font_SetFont_Call) Return ¶
func (_c *Font_SetFont_Call) Return() *Font_SetFont_Call
func (*Font_SetFont_Call) Run ¶
func (_c *Font_SetFont_Call) Run(run func(family string, style fontstyle.Type, size float64)) *Font_SetFont_Call
func (*Font_SetFont_Call) RunAndReturn ¶
func (_c *Font_SetFont_Call) RunAndReturn(run func(string, fontstyle.Type, float64)) *Font_SetFont_Call
type Font_SetSize_Call ¶
Font_SetSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSize'
func (*Font_SetSize_Call) Return ¶
func (_c *Font_SetSize_Call) Return() *Font_SetSize_Call
func (*Font_SetSize_Call) Run ¶
func (_c *Font_SetSize_Call) Run(run func(size float64)) *Font_SetSize_Call
func (*Font_SetSize_Call) RunAndReturn ¶
func (_c *Font_SetSize_Call) RunAndReturn(run func(float64)) *Font_SetSize_Call
type Font_SetStyle_Call ¶
Font_SetStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetStyle'
func (*Font_SetStyle_Call) Return ¶
func (_c *Font_SetStyle_Call) Return() *Font_SetStyle_Call
func (*Font_SetStyle_Call) Run ¶
func (_c *Font_SetStyle_Call) Run(run func(style fontstyle.Type)) *Font_SetStyle_Call
func (*Font_SetStyle_Call) RunAndReturn ¶
func (_c *Font_SetStyle_Call) RunAndReturn(run func(fontstyle.Type)) *Font_SetStyle_Call
type Fpdf ¶
Fpdf is an autogenerated mock type for the Fpdf type
func NewFpdf ¶
NewFpdf creates a new instance of Fpdf. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
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) AddUTF8FontFromBytes ¶
AddUTF8FontFromBytes provides a mock function with given fields: familyStr, styleStr, bytes
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) EXPECT ¶
func (_m *Fpdf) EXPECT() *Fpdf_Expecter
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) SetUnderlineThickness ¶
SetUnderlineThickness provides a mock function with given fields: thickness
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 Fpdf_AddFontFromBytes_Call ¶
Fpdf_AddFontFromBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFontFromBytes'
func (*Fpdf_AddFontFromBytes_Call) Return ¶
func (_c *Fpdf_AddFontFromBytes_Call) Return() *Fpdf_AddFontFromBytes_Call
func (*Fpdf_AddFontFromBytes_Call) Run ¶
func (_c *Fpdf_AddFontFromBytes_Call) Run(run func(familyStr string, styleStr string, jsonFileBytes []byte, zFileBytes []byte)) *Fpdf_AddFontFromBytes_Call
func (*Fpdf_AddFontFromBytes_Call) RunAndReturn ¶
func (_c *Fpdf_AddFontFromBytes_Call) RunAndReturn(run func(string, string, []byte, []byte)) *Fpdf_AddFontFromBytes_Call
type Fpdf_AddFontFromReader_Call ¶
Fpdf_AddFontFromReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFontFromReader'
func (*Fpdf_AddFontFromReader_Call) Return ¶
func (_c *Fpdf_AddFontFromReader_Call) Return() *Fpdf_AddFontFromReader_Call
func (*Fpdf_AddFontFromReader_Call) Run ¶
func (_c *Fpdf_AddFontFromReader_Call) Run(run func(familyStr string, styleStr string, r io.Reader)) *Fpdf_AddFontFromReader_Call
func (*Fpdf_AddFontFromReader_Call) RunAndReturn ¶
func (_c *Fpdf_AddFontFromReader_Call) RunAndReturn(run func(string, string, io.Reader)) *Fpdf_AddFontFromReader_Call
type Fpdf_AddFont_Call ¶
Fpdf_AddFont_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddFont'
func (*Fpdf_AddFont_Call) Return ¶
func (_c *Fpdf_AddFont_Call) Return() *Fpdf_AddFont_Call
func (*Fpdf_AddFont_Call) Run ¶
func (_c *Fpdf_AddFont_Call) Run(run func(familyStr string, styleStr string, fileStr string)) *Fpdf_AddFont_Call
func (*Fpdf_AddFont_Call) RunAndReturn ¶
func (_c *Fpdf_AddFont_Call) RunAndReturn(run func(string, string, string)) *Fpdf_AddFont_Call
type Fpdf_AddLayer_Call ¶
Fpdf_AddLayer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLayer'
func (*Fpdf_AddLayer_Call) Return ¶
func (_c *Fpdf_AddLayer_Call) Return(layerID int) *Fpdf_AddLayer_Call
func (*Fpdf_AddLayer_Call) Run ¶
func (_c *Fpdf_AddLayer_Call) Run(run func(name string, visible bool)) *Fpdf_AddLayer_Call
func (*Fpdf_AddLayer_Call) RunAndReturn ¶
func (_c *Fpdf_AddLayer_Call) RunAndReturn(run func(string, bool) int) *Fpdf_AddLayer_Call
type Fpdf_AddLink_Call ¶
Fpdf_AddLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLink'
func (*Fpdf_AddLink_Call) Return ¶
func (_c *Fpdf_AddLink_Call) Return(_a0 int) *Fpdf_AddLink_Call
func (*Fpdf_AddLink_Call) Run ¶
func (_c *Fpdf_AddLink_Call) Run(run func()) *Fpdf_AddLink_Call
func (*Fpdf_AddLink_Call) RunAndReturn ¶
func (_c *Fpdf_AddLink_Call) RunAndReturn(run func() int) *Fpdf_AddLink_Call
type Fpdf_AddPageFormat_Call ¶
Fpdf_AddPageFormat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPageFormat'
func (*Fpdf_AddPageFormat_Call) Return ¶
func (_c *Fpdf_AddPageFormat_Call) Return() *Fpdf_AddPageFormat_Call
func (*Fpdf_AddPageFormat_Call) Run ¶
func (_c *Fpdf_AddPageFormat_Call) Run(run func(orientationStr string, size gofpdf.SizeType)) *Fpdf_AddPageFormat_Call
func (*Fpdf_AddPageFormat_Call) RunAndReturn ¶
func (_c *Fpdf_AddPageFormat_Call) RunAndReturn(run func(string, gofpdf.SizeType)) *Fpdf_AddPageFormat_Call
type Fpdf_AddPage_Call ¶
Fpdf_AddPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPage'
func (*Fpdf_AddPage_Call) Return ¶
func (_c *Fpdf_AddPage_Call) Return() *Fpdf_AddPage_Call
func (*Fpdf_AddPage_Call) Run ¶
func (_c *Fpdf_AddPage_Call) Run(run func()) *Fpdf_AddPage_Call
func (*Fpdf_AddPage_Call) RunAndReturn ¶
func (_c *Fpdf_AddPage_Call) RunAndReturn(run func()) *Fpdf_AddPage_Call
type Fpdf_AddSpotColor_Call ¶
Fpdf_AddSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddSpotColor'
func (*Fpdf_AddSpotColor_Call) Return ¶
func (_c *Fpdf_AddSpotColor_Call) Return() *Fpdf_AddSpotColor_Call
func (*Fpdf_AddSpotColor_Call) Run ¶
func (_c *Fpdf_AddSpotColor_Call) Run(run func(nameStr string, c byte, m byte, y byte, k byte)) *Fpdf_AddSpotColor_Call
func (*Fpdf_AddSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_AddSpotColor_Call) RunAndReturn(run func(string, byte, byte, byte, byte)) *Fpdf_AddSpotColor_Call
type Fpdf_AddUTF8FontFromBytes_Call ¶
Fpdf_AddUTF8FontFromBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUTF8FontFromBytes'
func (*Fpdf_AddUTF8FontFromBytes_Call) Return ¶
func (_c *Fpdf_AddUTF8FontFromBytes_Call) Return() *Fpdf_AddUTF8FontFromBytes_Call
func (*Fpdf_AddUTF8FontFromBytes_Call) Run ¶
func (_c *Fpdf_AddUTF8FontFromBytes_Call) Run(run func(familyStr string, styleStr string, bytes []byte)) *Fpdf_AddUTF8FontFromBytes_Call
func (*Fpdf_AddUTF8FontFromBytes_Call) RunAndReturn ¶
func (_c *Fpdf_AddUTF8FontFromBytes_Call) RunAndReturn(run func(string, string, []byte)) *Fpdf_AddUTF8FontFromBytes_Call
type Fpdf_AliasNbPages_Call ¶
Fpdf_AliasNbPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AliasNbPages'
func (*Fpdf_AliasNbPages_Call) Return ¶
func (_c *Fpdf_AliasNbPages_Call) Return() *Fpdf_AliasNbPages_Call
func (*Fpdf_AliasNbPages_Call) Run ¶
func (_c *Fpdf_AliasNbPages_Call) Run(run func(aliasStr string)) *Fpdf_AliasNbPages_Call
func (*Fpdf_AliasNbPages_Call) RunAndReturn ¶
func (_c *Fpdf_AliasNbPages_Call) RunAndReturn(run func(string)) *Fpdf_AliasNbPages_Call
type Fpdf_ArcTo_Call ¶
Fpdf_ArcTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ArcTo'
func (*Fpdf_ArcTo_Call) Return ¶
func (_c *Fpdf_ArcTo_Call) Return() *Fpdf_ArcTo_Call
func (*Fpdf_ArcTo_Call) Run ¶
func (_c *Fpdf_ArcTo_Call) Run(run func(x float64, y float64, rx float64, ry float64, degRotate float64, degStart float64, degEnd float64)) *Fpdf_ArcTo_Call
func (*Fpdf_ArcTo_Call) RunAndReturn ¶
func (_c *Fpdf_ArcTo_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64, float64)) *Fpdf_ArcTo_Call
type Fpdf_Arc_Call ¶
Fpdf_Arc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Arc'
func (*Fpdf_Arc_Call) Return ¶
func (_c *Fpdf_Arc_Call) Return() *Fpdf_Arc_Call
func (*Fpdf_Arc_Call) Run ¶
func (_c *Fpdf_Arc_Call) Run(run func(x float64, y float64, rx float64, ry float64, degRotate float64, degStart float64, degEnd float64, styleStr string)) *Fpdf_Arc_Call
func (*Fpdf_Arc_Call) RunAndReturn ¶
func (_c *Fpdf_Arc_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64, float64, string)) *Fpdf_Arc_Call
type Fpdf_BeginLayer_Call ¶
Fpdf_BeginLayer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginLayer'
func (*Fpdf_BeginLayer_Call) Return ¶
func (_c *Fpdf_BeginLayer_Call) Return() *Fpdf_BeginLayer_Call
func (*Fpdf_BeginLayer_Call) Run ¶
func (_c *Fpdf_BeginLayer_Call) Run(run func(id int)) *Fpdf_BeginLayer_Call
func (*Fpdf_BeginLayer_Call) RunAndReturn ¶
func (_c *Fpdf_BeginLayer_Call) RunAndReturn(run func(int)) *Fpdf_BeginLayer_Call
type Fpdf_Beziergon_Call ¶
Fpdf_Beziergon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Beziergon'
func (*Fpdf_Beziergon_Call) Return ¶
func (_c *Fpdf_Beziergon_Call) Return() *Fpdf_Beziergon_Call
func (*Fpdf_Beziergon_Call) Run ¶
func (_c *Fpdf_Beziergon_Call) Run(run func(points []gofpdf.PointType, styleStr string)) *Fpdf_Beziergon_Call
func (*Fpdf_Beziergon_Call) RunAndReturn ¶
func (_c *Fpdf_Beziergon_Call) RunAndReturn(run func([]gofpdf.PointType, string)) *Fpdf_Beziergon_Call
type Fpdf_Bookmark_Call ¶
Fpdf_Bookmark_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Bookmark'
func (*Fpdf_Bookmark_Call) Return ¶
func (_c *Fpdf_Bookmark_Call) Return() *Fpdf_Bookmark_Call
func (*Fpdf_Bookmark_Call) Run ¶
func (_c *Fpdf_Bookmark_Call) Run(run func(txtStr string, level int, y float64)) *Fpdf_Bookmark_Call
func (*Fpdf_Bookmark_Call) RunAndReturn ¶
func (_c *Fpdf_Bookmark_Call) RunAndReturn(run func(string, int, float64)) *Fpdf_Bookmark_Call
type Fpdf_CellFormat_Call ¶
Fpdf_CellFormat_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CellFormat'
func (*Fpdf_CellFormat_Call) Return ¶
func (_c *Fpdf_CellFormat_Call) Return() *Fpdf_CellFormat_Call
func (*Fpdf_CellFormat_Call) RunAndReturn ¶
type Fpdf_Cell_Call ¶
Fpdf_Cell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cell'
func (*Fpdf_Cell_Call) Return ¶
func (_c *Fpdf_Cell_Call) Return() *Fpdf_Cell_Call
func (*Fpdf_Cell_Call) Run ¶
func (_c *Fpdf_Cell_Call) Run(run func(w float64, h float64, txtStr string)) *Fpdf_Cell_Call
func (*Fpdf_Cell_Call) RunAndReturn ¶
func (_c *Fpdf_Cell_Call) RunAndReturn(run func(float64, float64, string)) *Fpdf_Cell_Call
type Fpdf_Cellf_Call ¶
Fpdf_Cellf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Cellf'
func (*Fpdf_Cellf_Call) Return ¶
func (_c *Fpdf_Cellf_Call) Return() *Fpdf_Cellf_Call
func (*Fpdf_Cellf_Call) Run ¶
func (_c *Fpdf_Cellf_Call) Run(run func(w float64, h float64, fmtStr string, args ...interface{})) *Fpdf_Cellf_Call
func (*Fpdf_Cellf_Call) RunAndReturn ¶
func (_c *Fpdf_Cellf_Call) RunAndReturn(run func(float64, float64, string, ...interface{})) *Fpdf_Cellf_Call
type Fpdf_Circle_Call ¶
Fpdf_Circle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Circle'
func (*Fpdf_Circle_Call) Return ¶
func (_c *Fpdf_Circle_Call) Return() *Fpdf_Circle_Call
func (*Fpdf_Circle_Call) Run ¶
func (_c *Fpdf_Circle_Call) Run(run func(x float64, y float64, r float64, styleStr string)) *Fpdf_Circle_Call
func (*Fpdf_Circle_Call) RunAndReturn ¶
func (_c *Fpdf_Circle_Call) RunAndReturn(run func(float64, float64, float64, string)) *Fpdf_Circle_Call
type Fpdf_ClearError_Call ¶
Fpdf_ClearError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClearError'
func (*Fpdf_ClearError_Call) Return ¶
func (_c *Fpdf_ClearError_Call) Return() *Fpdf_ClearError_Call
func (*Fpdf_ClearError_Call) Run ¶
func (_c *Fpdf_ClearError_Call) Run(run func()) *Fpdf_ClearError_Call
func (*Fpdf_ClearError_Call) RunAndReturn ¶
func (_c *Fpdf_ClearError_Call) RunAndReturn(run func()) *Fpdf_ClearError_Call
type Fpdf_ClipCircle_Call ¶
Fpdf_ClipCircle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipCircle'
func (*Fpdf_ClipCircle_Call) Return ¶
func (_c *Fpdf_ClipCircle_Call) Return() *Fpdf_ClipCircle_Call
func (*Fpdf_ClipCircle_Call) Run ¶
func (_c *Fpdf_ClipCircle_Call) Run(run func(x float64, y float64, r float64, outline bool)) *Fpdf_ClipCircle_Call
func (*Fpdf_ClipCircle_Call) RunAndReturn ¶
func (_c *Fpdf_ClipCircle_Call) RunAndReturn(run func(float64, float64, float64, bool)) *Fpdf_ClipCircle_Call
type Fpdf_ClipEllipse_Call ¶
Fpdf_ClipEllipse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipEllipse'
func (*Fpdf_ClipEllipse_Call) Return ¶
func (_c *Fpdf_ClipEllipse_Call) Return() *Fpdf_ClipEllipse_Call
func (*Fpdf_ClipEllipse_Call) Run ¶
func (_c *Fpdf_ClipEllipse_Call) Run(run func(x float64, y float64, rx float64, ry float64, outline bool)) *Fpdf_ClipEllipse_Call
func (*Fpdf_ClipEllipse_Call) RunAndReturn ¶
func (_c *Fpdf_ClipEllipse_Call) RunAndReturn(run func(float64, float64, float64, float64, bool)) *Fpdf_ClipEllipse_Call
type Fpdf_ClipEnd_Call ¶
Fpdf_ClipEnd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipEnd'
func (*Fpdf_ClipEnd_Call) Return ¶
func (_c *Fpdf_ClipEnd_Call) Return() *Fpdf_ClipEnd_Call
func (*Fpdf_ClipEnd_Call) Run ¶
func (_c *Fpdf_ClipEnd_Call) Run(run func()) *Fpdf_ClipEnd_Call
func (*Fpdf_ClipEnd_Call) RunAndReturn ¶
func (_c *Fpdf_ClipEnd_Call) RunAndReturn(run func()) *Fpdf_ClipEnd_Call
type Fpdf_ClipPolygon_Call ¶
Fpdf_ClipPolygon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipPolygon'
func (*Fpdf_ClipPolygon_Call) Return ¶
func (_c *Fpdf_ClipPolygon_Call) Return() *Fpdf_ClipPolygon_Call
func (*Fpdf_ClipPolygon_Call) Run ¶
func (_c *Fpdf_ClipPolygon_Call) Run(run func(points []gofpdf.PointType, outline bool)) *Fpdf_ClipPolygon_Call
func (*Fpdf_ClipPolygon_Call) RunAndReturn ¶
func (_c *Fpdf_ClipPolygon_Call) RunAndReturn(run func([]gofpdf.PointType, bool)) *Fpdf_ClipPolygon_Call
type Fpdf_ClipRect_Call ¶
Fpdf_ClipRect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipRect'
func (*Fpdf_ClipRect_Call) Return ¶
func (_c *Fpdf_ClipRect_Call) Return() *Fpdf_ClipRect_Call
func (*Fpdf_ClipRect_Call) Run ¶
func (_c *Fpdf_ClipRect_Call) Run(run func(x float64, y float64, w float64, h float64, outline bool)) *Fpdf_ClipRect_Call
func (*Fpdf_ClipRect_Call) RunAndReturn ¶
func (_c *Fpdf_ClipRect_Call) RunAndReturn(run func(float64, float64, float64, float64, bool)) *Fpdf_ClipRect_Call
type Fpdf_ClipRoundedRect_Call ¶
Fpdf_ClipRoundedRect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipRoundedRect'
func (*Fpdf_ClipRoundedRect_Call) Return ¶
func (_c *Fpdf_ClipRoundedRect_Call) Return() *Fpdf_ClipRoundedRect_Call
func (*Fpdf_ClipRoundedRect_Call) Run ¶
func (_c *Fpdf_ClipRoundedRect_Call) Run(run func(x float64, y float64, w float64, h float64, r float64, outline bool)) *Fpdf_ClipRoundedRect_Call
func (*Fpdf_ClipRoundedRect_Call) RunAndReturn ¶
func (_c *Fpdf_ClipRoundedRect_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, bool)) *Fpdf_ClipRoundedRect_Call
type Fpdf_ClipText_Call ¶
Fpdf_ClipText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClipText'
func (*Fpdf_ClipText_Call) Return ¶
func (_c *Fpdf_ClipText_Call) Return() *Fpdf_ClipText_Call
func (*Fpdf_ClipText_Call) Run ¶
func (_c *Fpdf_ClipText_Call) Run(run func(x float64, y float64, txtStr string, outline bool)) *Fpdf_ClipText_Call
func (*Fpdf_ClipText_Call) RunAndReturn ¶
func (_c *Fpdf_ClipText_Call) RunAndReturn(run func(float64, float64, string, bool)) *Fpdf_ClipText_Call
type Fpdf_ClosePath_Call ¶
Fpdf_ClosePath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClosePath'
func (*Fpdf_ClosePath_Call) Return ¶
func (_c *Fpdf_ClosePath_Call) Return() *Fpdf_ClosePath_Call
func (*Fpdf_ClosePath_Call) Run ¶
func (_c *Fpdf_ClosePath_Call) Run(run func()) *Fpdf_ClosePath_Call
func (*Fpdf_ClosePath_Call) RunAndReturn ¶
func (_c *Fpdf_ClosePath_Call) RunAndReturn(run func()) *Fpdf_ClosePath_Call
type Fpdf_Close_Call ¶
Fpdf_Close_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Close'
func (*Fpdf_Close_Call) Return ¶
func (_c *Fpdf_Close_Call) Return() *Fpdf_Close_Call
func (*Fpdf_Close_Call) Run ¶
func (_c *Fpdf_Close_Call) Run(run func()) *Fpdf_Close_Call
func (*Fpdf_Close_Call) RunAndReturn ¶
func (_c *Fpdf_Close_Call) RunAndReturn(run func()) *Fpdf_Close_Call
type Fpdf_CreateTemplateCustom_Call ¶
Fpdf_CreateTemplateCustom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTemplateCustom'
func (*Fpdf_CreateTemplateCustom_Call) Return ¶
func (_c *Fpdf_CreateTemplateCustom_Call) Return(_a0 gofpdf.Template) *Fpdf_CreateTemplateCustom_Call
func (*Fpdf_CreateTemplateCustom_Call) Run ¶
func (_c *Fpdf_CreateTemplateCustom_Call) Run(run func(corner gofpdf.PointType, size gofpdf.SizeType, fn func(*gofpdf.Tpl))) *Fpdf_CreateTemplateCustom_Call
func (*Fpdf_CreateTemplateCustom_Call) RunAndReturn ¶
func (_c *Fpdf_CreateTemplateCustom_Call) RunAndReturn(run func(gofpdf.PointType, gofpdf.SizeType, func(*gofpdf.Tpl)) gofpdf.Template) *Fpdf_CreateTemplateCustom_Call
type Fpdf_CreateTemplate_Call ¶
Fpdf_CreateTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateTemplate'
func (*Fpdf_CreateTemplate_Call) Return ¶
func (_c *Fpdf_CreateTemplate_Call) Return(_a0 gofpdf.Template) *Fpdf_CreateTemplate_Call
func (*Fpdf_CreateTemplate_Call) Run ¶
func (_c *Fpdf_CreateTemplate_Call) Run(run func(fn func(*gofpdf.Tpl))) *Fpdf_CreateTemplate_Call
func (*Fpdf_CreateTemplate_Call) RunAndReturn ¶
func (_c *Fpdf_CreateTemplate_Call) RunAndReturn(run func(func(*gofpdf.Tpl)) gofpdf.Template) *Fpdf_CreateTemplate_Call
type Fpdf_CurveBezierCubicTo_Call ¶
Fpdf_CurveBezierCubicTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurveBezierCubicTo'
func (*Fpdf_CurveBezierCubicTo_Call) Return ¶
func (_c *Fpdf_CurveBezierCubicTo_Call) Return() *Fpdf_CurveBezierCubicTo_Call
func (*Fpdf_CurveBezierCubicTo_Call) Run ¶
func (_c *Fpdf_CurveBezierCubicTo_Call) Run(run func(cx0 float64, cy0 float64, cx1 float64, cy1 float64, x float64, y float64)) *Fpdf_CurveBezierCubicTo_Call
func (*Fpdf_CurveBezierCubicTo_Call) RunAndReturn ¶
func (_c *Fpdf_CurveBezierCubicTo_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64)) *Fpdf_CurveBezierCubicTo_Call
type Fpdf_CurveBezierCubic_Call ¶
Fpdf_CurveBezierCubic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurveBezierCubic'
func (*Fpdf_CurveBezierCubic_Call) Return ¶
func (_c *Fpdf_CurveBezierCubic_Call) Return() *Fpdf_CurveBezierCubic_Call
func (*Fpdf_CurveBezierCubic_Call) RunAndReturn ¶
type Fpdf_CurveCubic_Call ¶
Fpdf_CurveCubic_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurveCubic'
func (*Fpdf_CurveCubic_Call) Return ¶
func (_c *Fpdf_CurveCubic_Call) Return() *Fpdf_CurveCubic_Call
func (*Fpdf_CurveCubic_Call) RunAndReturn ¶
type Fpdf_CurveTo_Call ¶
Fpdf_CurveTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CurveTo'
func (*Fpdf_CurveTo_Call) Return ¶
func (_c *Fpdf_CurveTo_Call) Return() *Fpdf_CurveTo_Call
func (*Fpdf_CurveTo_Call) Run ¶
func (_c *Fpdf_CurveTo_Call) Run(run func(cx float64, cy float64, x float64, y float64)) *Fpdf_CurveTo_Call
func (*Fpdf_CurveTo_Call) RunAndReturn ¶
func (_c *Fpdf_CurveTo_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_CurveTo_Call
type Fpdf_Curve_Call ¶
Fpdf_Curve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Curve'
func (*Fpdf_Curve_Call) Return ¶
func (_c *Fpdf_Curve_Call) Return() *Fpdf_Curve_Call
func (*Fpdf_Curve_Call) Run ¶
func (_c *Fpdf_Curve_Call) Run(run func(x0 float64, y0 float64, cx float64, cy float64, x1 float64, y1 float64, styleStr string)) *Fpdf_Curve_Call
func (*Fpdf_Curve_Call) RunAndReturn ¶
func (_c *Fpdf_Curve_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, float64, string)) *Fpdf_Curve_Call
type Fpdf_DrawPath_Call ¶
Fpdf_DrawPath_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DrawPath'
func (*Fpdf_DrawPath_Call) Return ¶
func (_c *Fpdf_DrawPath_Call) Return() *Fpdf_DrawPath_Call
func (*Fpdf_DrawPath_Call) Run ¶
func (_c *Fpdf_DrawPath_Call) Run(run func(styleStr string)) *Fpdf_DrawPath_Call
func (*Fpdf_DrawPath_Call) RunAndReturn ¶
func (_c *Fpdf_DrawPath_Call) RunAndReturn(run func(string)) *Fpdf_DrawPath_Call
type Fpdf_Ellipse_Call ¶
Fpdf_Ellipse_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ellipse'
func (*Fpdf_Ellipse_Call) Return ¶
func (_c *Fpdf_Ellipse_Call) Return() *Fpdf_Ellipse_Call
func (*Fpdf_Ellipse_Call) Run ¶
func (_c *Fpdf_Ellipse_Call) Run(run func(x float64, y float64, rx float64, ry float64, degRotate float64, styleStr string)) *Fpdf_Ellipse_Call
func (*Fpdf_Ellipse_Call) RunAndReturn ¶
func (_c *Fpdf_Ellipse_Call) RunAndReturn(run func(float64, float64, float64, float64, float64, string)) *Fpdf_Ellipse_Call
type Fpdf_EndLayer_Call ¶
Fpdf_EndLayer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EndLayer'
func (*Fpdf_EndLayer_Call) Return ¶
func (_c *Fpdf_EndLayer_Call) Return() *Fpdf_EndLayer_Call
func (*Fpdf_EndLayer_Call) Run ¶
func (_c *Fpdf_EndLayer_Call) Run(run func()) *Fpdf_EndLayer_Call
func (*Fpdf_EndLayer_Call) RunAndReturn ¶
func (_c *Fpdf_EndLayer_Call) RunAndReturn(run func()) *Fpdf_EndLayer_Call
type Fpdf_Err_Call ¶
Fpdf_Err_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Err'
func (*Fpdf_Err_Call) Return ¶
func (_c *Fpdf_Err_Call) Return(_a0 bool) *Fpdf_Err_Call
func (*Fpdf_Err_Call) Run ¶
func (_c *Fpdf_Err_Call) Run(run func()) *Fpdf_Err_Call
func (*Fpdf_Err_Call) RunAndReturn ¶
func (_c *Fpdf_Err_Call) RunAndReturn(run func() bool) *Fpdf_Err_Call
type Fpdf_Error_Call ¶
Fpdf_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Fpdf_Error_Call) Return ¶
func (_c *Fpdf_Error_Call) Return(_a0 error) *Fpdf_Error_Call
func (*Fpdf_Error_Call) Run ¶
func (_c *Fpdf_Error_Call) Run(run func()) *Fpdf_Error_Call
func (*Fpdf_Error_Call) RunAndReturn ¶
func (_c *Fpdf_Error_Call) RunAndReturn(run func() error) *Fpdf_Error_Call
type Fpdf_Expecter ¶
type Fpdf_Expecter struct {
// contains filtered or unexported fields
}
func (*Fpdf_Expecter) AddFont ¶
func (_e *Fpdf_Expecter) AddFont(familyStr interface{}, styleStr interface{}, fileStr interface{}) *Fpdf_AddFont_Call
AddFont is a helper method to define mock.On call
- familyStr string
- styleStr string
- fileStr string
func (*Fpdf_Expecter) AddFontFromBytes ¶
func (_e *Fpdf_Expecter) AddFontFromBytes(familyStr interface{}, styleStr interface{}, jsonFileBytes interface{}, zFileBytes interface{}) *Fpdf_AddFontFromBytes_Call
AddFontFromBytes is a helper method to define mock.On call
- familyStr string
- styleStr string
- jsonFileBytes []byte
- zFileBytes []byte
func (*Fpdf_Expecter) AddFontFromReader ¶
func (_e *Fpdf_Expecter) AddFontFromReader(familyStr interface{}, styleStr interface{}, r interface{}) *Fpdf_AddFontFromReader_Call
AddFontFromReader is a helper method to define mock.On call
- familyStr string
- styleStr string
- r io.Reader
func (*Fpdf_Expecter) AddLayer ¶
func (_e *Fpdf_Expecter) AddLayer(name interface{}, visible interface{}) *Fpdf_AddLayer_Call
AddLayer is a helper method to define mock.On call
- name string
- visible bool
func (*Fpdf_Expecter) AddLink ¶
func (_e *Fpdf_Expecter) AddLink() *Fpdf_AddLink_Call
AddLink is a helper method to define mock.On call
func (*Fpdf_Expecter) AddPage ¶
func (_e *Fpdf_Expecter) AddPage() *Fpdf_AddPage_Call
AddPage is a helper method to define mock.On call
func (*Fpdf_Expecter) AddPageFormat ¶
func (_e *Fpdf_Expecter) AddPageFormat(orientationStr interface{}, size interface{}) *Fpdf_AddPageFormat_Call
AddPageFormat is a helper method to define mock.On call
- orientationStr string
- size gofpdf.SizeType
func (*Fpdf_Expecter) AddSpotColor ¶
func (_e *Fpdf_Expecter) AddSpotColor(nameStr interface{}, c interface{}, m interface{}, y interface{}, k interface{}) *Fpdf_AddSpotColor_Call
AddSpotColor is a helper method to define mock.On call
- nameStr string
- c byte
- m byte
- y byte
- k byte
func (*Fpdf_Expecter) AddUTF8FontFromBytes ¶
func (_e *Fpdf_Expecter) AddUTF8FontFromBytes(familyStr interface{}, styleStr interface{}, bytes interface{}) *Fpdf_AddUTF8FontFromBytes_Call
AddUTF8FontFromBytes is a helper method to define mock.On call
- familyStr string
- styleStr string
- bytes []byte
func (*Fpdf_Expecter) AliasNbPages ¶
func (_e *Fpdf_Expecter) AliasNbPages(aliasStr interface{}) *Fpdf_AliasNbPages_Call
AliasNbPages is a helper method to define mock.On call
- aliasStr string
func (*Fpdf_Expecter) Arc ¶
func (_e *Fpdf_Expecter) Arc(x interface{}, y interface{}, rx interface{}, ry interface{}, degRotate interface{}, degStart interface{}, degEnd interface{}, styleStr interface{}) *Fpdf_Arc_Call
Arc is a helper method to define mock.On call
- x float64
- y float64
- rx float64
- ry float64
- degRotate float64
- degStart float64
- degEnd float64
- styleStr string
func (*Fpdf_Expecter) ArcTo ¶
func (_e *Fpdf_Expecter) ArcTo(x interface{}, y interface{}, rx interface{}, ry interface{}, degRotate interface{}, degStart interface{}, degEnd interface{}) *Fpdf_ArcTo_Call
ArcTo is a helper method to define mock.On call
- x float64
- y float64
- rx float64
- ry float64
- degRotate float64
- degStart float64
- degEnd float64
func (*Fpdf_Expecter) BeginLayer ¶
func (_e *Fpdf_Expecter) BeginLayer(id interface{}) *Fpdf_BeginLayer_Call
BeginLayer is a helper method to define mock.On call
- id int
func (*Fpdf_Expecter) Beziergon ¶
func (_e *Fpdf_Expecter) Beziergon(points interface{}, styleStr interface{}) *Fpdf_Beziergon_Call
Beziergon is a helper method to define mock.On call
- points []gofpdf.PointType
- styleStr string
func (*Fpdf_Expecter) Bookmark ¶
func (_e *Fpdf_Expecter) Bookmark(txtStr interface{}, level interface{}, y interface{}) *Fpdf_Bookmark_Call
Bookmark is a helper method to define mock.On call
- txtStr string
- level int
- y float64
func (*Fpdf_Expecter) Cell ¶
func (_e *Fpdf_Expecter) Cell(w interface{}, h interface{}, txtStr interface{}) *Fpdf_Cell_Call
Cell is a helper method to define mock.On call
- w float64
- h float64
- txtStr string
func (*Fpdf_Expecter) CellFormat ¶
func (_e *Fpdf_Expecter) CellFormat(w interface{}, h interface{}, txtStr interface{}, borderStr interface{}, ln interface{}, alignStr interface{}, fill interface{}, link interface{}, linkStr interface{}) *Fpdf_CellFormat_Call
CellFormat is a helper method to define mock.On call
- w float64
- h float64
- txtStr string
- borderStr string
- ln int
- alignStr string
- fill bool
- link int
- linkStr string
func (*Fpdf_Expecter) Cellf ¶
func (_e *Fpdf_Expecter) Cellf(w interface{}, h interface{}, fmtStr interface{}, args ...interface{}) *Fpdf_Cellf_Call
Cellf is a helper method to define mock.On call
- w float64
- h float64
- fmtStr string
- args ...interface{}
func (*Fpdf_Expecter) Circle ¶
func (_e *Fpdf_Expecter) Circle(x interface{}, y interface{}, r interface{}, styleStr interface{}) *Fpdf_Circle_Call
Circle is a helper method to define mock.On call
- x float64
- y float64
- r float64
- styleStr string
func (*Fpdf_Expecter) ClearError ¶
func (_e *Fpdf_Expecter) ClearError() *Fpdf_ClearError_Call
ClearError is a helper method to define mock.On call
func (*Fpdf_Expecter) ClipCircle ¶
func (_e *Fpdf_Expecter) ClipCircle(x interface{}, y interface{}, r interface{}, outline interface{}) *Fpdf_ClipCircle_Call
ClipCircle is a helper method to define mock.On call
- x float64
- y float64
- r float64
- outline bool
func (*Fpdf_Expecter) ClipEllipse ¶
func (_e *Fpdf_Expecter) ClipEllipse(x interface{}, y interface{}, rx interface{}, ry interface{}, outline interface{}) *Fpdf_ClipEllipse_Call
ClipEllipse is a helper method to define mock.On call
- x float64
- y float64
- rx float64
- ry float64
- outline bool
func (*Fpdf_Expecter) ClipEnd ¶
func (_e *Fpdf_Expecter) ClipEnd() *Fpdf_ClipEnd_Call
ClipEnd is a helper method to define mock.On call
func (*Fpdf_Expecter) ClipPolygon ¶
func (_e *Fpdf_Expecter) ClipPolygon(points interface{}, outline interface{}) *Fpdf_ClipPolygon_Call
ClipPolygon is a helper method to define mock.On call
- points []gofpdf.PointType
- outline bool
func (*Fpdf_Expecter) ClipRect ¶
func (_e *Fpdf_Expecter) ClipRect(x interface{}, y interface{}, w interface{}, h interface{}, outline interface{}) *Fpdf_ClipRect_Call
ClipRect is a helper method to define mock.On call
- x float64
- y float64
- w float64
- h float64
- outline bool
func (*Fpdf_Expecter) ClipRoundedRect ¶
func (_e *Fpdf_Expecter) ClipRoundedRect(x interface{}, y interface{}, w interface{}, h interface{}, r interface{}, outline interface{}) *Fpdf_ClipRoundedRect_Call
ClipRoundedRect is a helper method to define mock.On call
- x float64
- y float64
- w float64
- h float64
- r float64
- outline bool
func (*Fpdf_Expecter) ClipText ¶
func (_e *Fpdf_Expecter) ClipText(x interface{}, y interface{}, txtStr interface{}, outline interface{}) *Fpdf_ClipText_Call
ClipText is a helper method to define mock.On call
- x float64
- y float64
- txtStr string
- outline bool
func (*Fpdf_Expecter) Close ¶
func (_e *Fpdf_Expecter) Close() *Fpdf_Close_Call
Close is a helper method to define mock.On call
func (*Fpdf_Expecter) ClosePath ¶
func (_e *Fpdf_Expecter) ClosePath() *Fpdf_ClosePath_Call
ClosePath is a helper method to define mock.On call
func (*Fpdf_Expecter) CreateTemplate ¶
func (_e *Fpdf_Expecter) CreateTemplate(fn interface{}) *Fpdf_CreateTemplate_Call
CreateTemplate is a helper method to define mock.On call
- fn func(*gofpdf.Tpl)
func (*Fpdf_Expecter) CreateTemplateCustom ¶
func (_e *Fpdf_Expecter) CreateTemplateCustom(corner interface{}, size interface{}, fn interface{}) *Fpdf_CreateTemplateCustom_Call
CreateTemplateCustom is a helper method to define mock.On call
- corner gofpdf.PointType
- size gofpdf.SizeType
- fn func(*gofpdf.Tpl)
func (*Fpdf_Expecter) Curve ¶
func (_e *Fpdf_Expecter) Curve(x0 interface{}, y0 interface{}, cx interface{}, cy interface{}, x1 interface{}, y1 interface{}, styleStr interface{}) *Fpdf_Curve_Call
Curve is a helper method to define mock.On call
- x0 float64
- y0 float64
- cx float64
- cy float64
- x1 float64
- y1 float64
- styleStr string
func (*Fpdf_Expecter) CurveBezierCubic ¶
func (_e *Fpdf_Expecter) CurveBezierCubic(x0 interface{}, y0 interface{}, cx0 interface{}, cy0 interface{}, cx1 interface{}, cy1 interface{}, x1 interface{}, y1 interface{}, styleStr interface{}) *Fpdf_CurveBezierCubic_Call
CurveBezierCubic is a helper method to define mock.On call
- x0 float64
- y0 float64
- cx0 float64
- cy0 float64
- cx1 float64
- cy1 float64
- x1 float64
- y1 float64
- styleStr string
func (*Fpdf_Expecter) CurveBezierCubicTo ¶
func (_e *Fpdf_Expecter) CurveBezierCubicTo(cx0 interface{}, cy0 interface{}, cx1 interface{}, cy1 interface{}, x interface{}, y interface{}) *Fpdf_CurveBezierCubicTo_Call
CurveBezierCubicTo is a helper method to define mock.On call
- cx0 float64
- cy0 float64
- cx1 float64
- cy1 float64
- x float64
- y float64
func (*Fpdf_Expecter) CurveCubic ¶
func (_e *Fpdf_Expecter) CurveCubic(x0 interface{}, y0 interface{}, cx0 interface{}, cy0 interface{}, x1 interface{}, y1 interface{}, cx1 interface{}, cy1 interface{}, styleStr interface{}) *Fpdf_CurveCubic_Call
CurveCubic is a helper method to define mock.On call
- x0 float64
- y0 float64
- cx0 float64
- cy0 float64
- x1 float64
- y1 float64
- cx1 float64
- cy1 float64
- styleStr string
func (*Fpdf_Expecter) CurveTo ¶
func (_e *Fpdf_Expecter) CurveTo(cx interface{}, cy interface{}, x interface{}, y interface{}) *Fpdf_CurveTo_Call
CurveTo is a helper method to define mock.On call
- cx float64
- cy float64
- x float64
- y float64
func (*Fpdf_Expecter) DrawPath ¶
func (_e *Fpdf_Expecter) DrawPath(styleStr interface{}) *Fpdf_DrawPath_Call
DrawPath is a helper method to define mock.On call
- styleStr string
func (*Fpdf_Expecter) Ellipse ¶
func (_e *Fpdf_Expecter) Ellipse(x interface{}, y interface{}, rx interface{}, ry interface{}, degRotate interface{}, styleStr interface{}) *Fpdf_Ellipse_Call
Ellipse is a helper method to define mock.On call
- x float64
- y float64
- rx float64
- ry float64
- degRotate float64
- styleStr string
func (*Fpdf_Expecter) EndLayer ¶
func (_e *Fpdf_Expecter) EndLayer() *Fpdf_EndLayer_Call
EndLayer is a helper method to define mock.On call
func (*Fpdf_Expecter) Err ¶
func (_e *Fpdf_Expecter) Err() *Fpdf_Err_Call
Err is a helper method to define mock.On call
func (*Fpdf_Expecter) Error ¶
func (_e *Fpdf_Expecter) Error() *Fpdf_Error_Call
Error is a helper method to define mock.On call
func (*Fpdf_Expecter) GetAlpha ¶
func (_e *Fpdf_Expecter) GetAlpha() *Fpdf_GetAlpha_Call
GetAlpha is a helper method to define mock.On call
func (*Fpdf_Expecter) GetAutoPageBreak ¶
func (_e *Fpdf_Expecter) GetAutoPageBreak() *Fpdf_GetAutoPageBreak_Call
GetAutoPageBreak is a helper method to define mock.On call
func (*Fpdf_Expecter) GetCellMargin ¶
func (_e *Fpdf_Expecter) GetCellMargin() *Fpdf_GetCellMargin_Call
GetCellMargin is a helper method to define mock.On call
func (*Fpdf_Expecter) GetConversionRatio ¶
func (_e *Fpdf_Expecter) GetConversionRatio() *Fpdf_GetConversionRatio_Call
GetConversionRatio is a helper method to define mock.On call
func (*Fpdf_Expecter) GetDrawColor ¶
func (_e *Fpdf_Expecter) GetDrawColor() *Fpdf_GetDrawColor_Call
GetDrawColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetDrawSpotColor ¶
func (_e *Fpdf_Expecter) GetDrawSpotColor() *Fpdf_GetDrawSpotColor_Call
GetDrawSpotColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetFillColor ¶
func (_e *Fpdf_Expecter) GetFillColor() *Fpdf_GetFillColor_Call
GetFillColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetFillSpotColor ¶
func (_e *Fpdf_Expecter) GetFillSpotColor() *Fpdf_GetFillSpotColor_Call
GetFillSpotColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetFontDesc ¶
func (_e *Fpdf_Expecter) GetFontDesc(familyStr interface{}, styleStr interface{}) *Fpdf_GetFontDesc_Call
GetFontDesc is a helper method to define mock.On call
- familyStr string
- styleStr string
func (*Fpdf_Expecter) GetFontSize ¶
func (_e *Fpdf_Expecter) GetFontSize() *Fpdf_GetFontSize_Call
GetFontSize is a helper method to define mock.On call
func (*Fpdf_Expecter) GetImageInfo ¶
func (_e *Fpdf_Expecter) GetImageInfo(imageStr interface{}) *Fpdf_GetImageInfo_Call
GetImageInfo is a helper method to define mock.On call
- imageStr string
func (*Fpdf_Expecter) GetLineWidth ¶
func (_e *Fpdf_Expecter) GetLineWidth() *Fpdf_GetLineWidth_Call
GetLineWidth is a helper method to define mock.On call
func (*Fpdf_Expecter) GetMargins ¶
func (_e *Fpdf_Expecter) GetMargins() *Fpdf_GetMargins_Call
GetMargins is a helper method to define mock.On call
func (*Fpdf_Expecter) GetPageSize ¶
func (_e *Fpdf_Expecter) GetPageSize() *Fpdf_GetPageSize_Call
GetPageSize is a helper method to define mock.On call
func (*Fpdf_Expecter) GetPageSizeStr ¶
func (_e *Fpdf_Expecter) GetPageSizeStr(sizeStr interface{}) *Fpdf_GetPageSizeStr_Call
GetPageSizeStr is a helper method to define mock.On call
- sizeStr string
func (*Fpdf_Expecter) GetStringWidth ¶
func (_e *Fpdf_Expecter) GetStringWidth(s interface{}) *Fpdf_GetStringWidth_Call
GetStringWidth is a helper method to define mock.On call
- s string
func (*Fpdf_Expecter) GetTextColor ¶
func (_e *Fpdf_Expecter) GetTextColor() *Fpdf_GetTextColor_Call
GetTextColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetTextSpotColor ¶
func (_e *Fpdf_Expecter) GetTextSpotColor() *Fpdf_GetTextSpotColor_Call
GetTextSpotColor is a helper method to define mock.On call
func (*Fpdf_Expecter) GetX ¶
func (_e *Fpdf_Expecter) GetX() *Fpdf_GetX_Call
GetX is a helper method to define mock.On call
func (*Fpdf_Expecter) GetXY ¶
func (_e *Fpdf_Expecter) GetXY() *Fpdf_GetXY_Call
GetXY is a helper method to define mock.On call
func (*Fpdf_Expecter) GetY ¶
func (_e *Fpdf_Expecter) GetY() *Fpdf_GetY_Call
GetY is a helper method to define mock.On call
func (*Fpdf_Expecter) HTMLBasicNew ¶
func (_e *Fpdf_Expecter) HTMLBasicNew() *Fpdf_HTMLBasicNew_Call
HTMLBasicNew is a helper method to define mock.On call
func (*Fpdf_Expecter) Image ¶
func (_e *Fpdf_Expecter) Image(imageNameStr interface{}, x interface{}, y interface{}, w interface{}, h interface{}, flow interface{}, tp interface{}, link interface{}, linkStr interface{}) *Fpdf_Image_Call
Image is a helper method to define mock.On call
- imageNameStr string
- x float64
- y float64
- w float64
- h float64
- flow bool
- tp string
- link int
- linkStr string
func (*Fpdf_Expecter) ImageOptions ¶
func (_e *Fpdf_Expecter) ImageOptions(imageNameStr interface{}, x interface{}, y interface{}, w interface{}, h interface{}, flow interface{}, options interface{}, link interface{}, linkStr interface{}) *Fpdf_ImageOptions_Call
ImageOptions is a helper method to define mock.On call
- imageNameStr string
- x float64
- y float64
- w float64
- h float64
- flow bool
- options gofpdf.ImageOptions
- link int
- linkStr string
func (*Fpdf_Expecter) ImageTypeFromMime ¶
func (_e *Fpdf_Expecter) ImageTypeFromMime(mimeStr interface{}) *Fpdf_ImageTypeFromMime_Call
ImageTypeFromMime is a helper method to define mock.On call
- mimeStr string
func (*Fpdf_Expecter) Line ¶
func (_e *Fpdf_Expecter) Line(x1 interface{}, y1 interface{}, x2 interface{}, y2 interface{}) *Fpdf_Line_Call
Line is a helper method to define mock.On call
- x1 float64
- y1 float64
- x2 float64
- y2 float64
func (*Fpdf_Expecter) LineTo ¶
func (_e *Fpdf_Expecter) LineTo(x interface{}, y interface{}) *Fpdf_LineTo_Call
LineTo is a helper method to define mock.On call
- x float64
- y float64
func (*Fpdf_Expecter) LinearGradient ¶
func (_e *Fpdf_Expecter) LinearGradient(x interface{}, y interface{}, w interface{}, h interface{}, r1 interface{}, g1 interface{}, b1 interface{}, r2 interface{}, g2 interface{}, b2 interface{}, x1 interface{}, y1 interface{}, x2 interface{}, y2 interface{}) *Fpdf_LinearGradient_Call
LinearGradient is a helper method to define mock.On call
- 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
func (*Fpdf_Expecter) Link ¶
func (_e *Fpdf_Expecter) Link(x interface{}, y interface{}, w interface{}, h interface{}, link interface{}) *Fpdf_Link_Call
Link is a helper method to define mock.On call
- x float64
- y float64
- w float64
- h float64
- link int
func (*Fpdf_Expecter) LinkString ¶
func (_e *Fpdf_Expecter) LinkString(x interface{}, y interface{}, w interface{}, h interface{}, linkStr interface{}) *Fpdf_LinkString_Call
LinkString is a helper method to define mock.On call
- x float64
- y float64
- w float64
- h float64
- linkStr string
func (*Fpdf_Expecter) Ln ¶
func (_e *Fpdf_Expecter) Ln(h interface{}) *Fpdf_Ln_Call
Ln is a helper method to define mock.On call
- h float64
func (*Fpdf_Expecter) MoveTo ¶
func (_e *Fpdf_Expecter) MoveTo(x interface{}, y interface{}) *Fpdf_MoveTo_Call
MoveTo is a helper method to define mock.On call
- x float64
- y float64
func (*Fpdf_Expecter) MultiCell ¶
func (_e *Fpdf_Expecter) MultiCell(w interface{}, h interface{}, txtStr interface{}, borderStr interface{}, alignStr interface{}, fill interface{}) *Fpdf_MultiCell_Call
MultiCell is a helper method to define mock.On call
- w float64
- h float64
- txtStr string
- borderStr string
- alignStr string
- fill bool
func (*Fpdf_Expecter) Ok ¶
func (_e *Fpdf_Expecter) Ok() *Fpdf_Ok_Call
Ok is a helper method to define mock.On call
func (*Fpdf_Expecter) OpenLayerPane ¶
func (_e *Fpdf_Expecter) OpenLayerPane() *Fpdf_OpenLayerPane_Call
OpenLayerPane is a helper method to define mock.On call
func (*Fpdf_Expecter) Output ¶
func (_e *Fpdf_Expecter) Output(w interface{}) *Fpdf_Output_Call
Output is a helper method to define mock.On call
- w io.Writer
func (*Fpdf_Expecter) OutputAndClose ¶
func (_e *Fpdf_Expecter) OutputAndClose(w interface{}) *Fpdf_OutputAndClose_Call
OutputAndClose is a helper method to define mock.On call
- w io.WriteCloser
func (*Fpdf_Expecter) OutputFileAndClose ¶
func (_e *Fpdf_Expecter) OutputFileAndClose(fileStr interface{}) *Fpdf_OutputFileAndClose_Call
OutputFileAndClose is a helper method to define mock.On call
- fileStr string
func (*Fpdf_Expecter) PageCount ¶
func (_e *Fpdf_Expecter) PageCount() *Fpdf_PageCount_Call
PageCount is a helper method to define mock.On call
func (*Fpdf_Expecter) PageNo ¶
func (_e *Fpdf_Expecter) PageNo() *Fpdf_PageNo_Call
PageNo is a helper method to define mock.On call
func (*Fpdf_Expecter) PageSize ¶
func (_e *Fpdf_Expecter) PageSize(pageNum interface{}) *Fpdf_PageSize_Call
PageSize is a helper method to define mock.On call
- pageNum int
func (*Fpdf_Expecter) PointConvert ¶
func (_e *Fpdf_Expecter) PointConvert(pt interface{}) *Fpdf_PointConvert_Call
PointConvert is a helper method to define mock.On call
- pt float64
func (*Fpdf_Expecter) PointToUnitConvert ¶
func (_e *Fpdf_Expecter) PointToUnitConvert(pt interface{}) *Fpdf_PointToUnitConvert_Call
PointToUnitConvert is a helper method to define mock.On call
- pt float64
func (*Fpdf_Expecter) Polygon ¶
func (_e *Fpdf_Expecter) Polygon(points interface{}, styleStr interface{}) *Fpdf_Polygon_Call
Polygon is a helper method to define mock.On call
- points []gofpdf.PointType
- styleStr string
func (*Fpdf_Expecter) RadialGradient ¶
func (_e *Fpdf_Expecter) RadialGradient(x interface{}, y interface{}, w interface{}, h interface{}, r1 interface{}, g1 interface{}, b1 interface{}, r2 interface{}, g2 interface{}, b2 interface{}, x1 interface{}, y1 interface{}, x2 interface{}, y2 interface{}, r interface{}) *Fpdf_RadialGradient_Call
RadialGradient is a helper method to define mock.On call
- 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
func (*Fpdf_Expecter) RawWriteBuf ¶
func (_e *Fpdf_Expecter) RawWriteBuf(r interface{}) *Fpdf_RawWriteBuf_Call
RawWriteBuf is a helper method to define mock.On call
- r io.Reader
func (*Fpdf_Expecter) RawWriteStr ¶
func (_e *Fpdf_Expecter) RawWriteStr(str interface{}) *Fpdf_RawWriteStr_Call
RawWriteStr is a helper method to define mock.On call
- str string
func (*Fpdf_Expecter) Rect ¶
func (_e *Fpdf_Expecter) Rect(x interface{}, y interface{}, w interface{}, h interface{}, styleStr interface{}) *Fpdf_Rect_Call
Rect is a helper method to define mock.On call
- x float64
- y float64
- w float64
- h float64
- styleStr string
func (*Fpdf_Expecter) RegisterAlias ¶
func (_e *Fpdf_Expecter) RegisterAlias(alias interface{}, replacement interface{}) *Fpdf_RegisterAlias_Call
RegisterAlias is a helper method to define mock.On call
- alias string
- replacement string
func (*Fpdf_Expecter) RegisterImage ¶
func (_e *Fpdf_Expecter) RegisterImage(fileStr interface{}, tp interface{}) *Fpdf_RegisterImage_Call
RegisterImage is a helper method to define mock.On call
- fileStr string
- tp string
func (*Fpdf_Expecter) RegisterImageOptions ¶
func (_e *Fpdf_Expecter) RegisterImageOptions(fileStr interface{}, options interface{}) *Fpdf_RegisterImageOptions_Call
RegisterImageOptions is a helper method to define mock.On call
- fileStr string
- options gofpdf.ImageOptions
func (*Fpdf_Expecter) RegisterImageOptionsReader ¶
func (_e *Fpdf_Expecter) RegisterImageOptionsReader(imgName interface{}, options interface{}, r interface{}) *Fpdf_RegisterImageOptionsReader_Call
RegisterImageOptionsReader is a helper method to define mock.On call
- imgName string
- options gofpdf.ImageOptions
- r io.Reader
func (*Fpdf_Expecter) RegisterImageReader ¶
func (_e *Fpdf_Expecter) RegisterImageReader(imgName interface{}, tp interface{}, r interface{}) *Fpdf_RegisterImageReader_Call
RegisterImageReader is a helper method to define mock.On call
- imgName string
- tp string
- r io.Reader
func (*Fpdf_Expecter) SVGBasicWrite ¶
func (_e *Fpdf_Expecter) SVGBasicWrite(sb interface{}, scale interface{}) *Fpdf_SVGBasicWrite_Call
SVGBasicWrite is a helper method to define mock.On call
- sb *gofpdf.SVGBasicType
- scale float64
func (*Fpdf_Expecter) SetAcceptPageBreakFunc ¶
func (_e *Fpdf_Expecter) SetAcceptPageBreakFunc(fnc interface{}) *Fpdf_SetAcceptPageBreakFunc_Call
SetAcceptPageBreakFunc is a helper method to define mock.On call
- fnc func() bool
func (*Fpdf_Expecter) SetAlpha ¶
func (_e *Fpdf_Expecter) SetAlpha(alpha interface{}, blendModeStr interface{}) *Fpdf_SetAlpha_Call
SetAlpha is a helper method to define mock.On call
- alpha float64
- blendModeStr string
func (*Fpdf_Expecter) SetAuthor ¶
func (_e *Fpdf_Expecter) SetAuthor(authorStr interface{}, isUTF8 interface{}) *Fpdf_SetAuthor_Call
SetAuthor is a helper method to define mock.On call
- authorStr string
- isUTF8 bool
func (*Fpdf_Expecter) SetAutoPageBreak ¶
func (_e *Fpdf_Expecter) SetAutoPageBreak(auto interface{}, margin interface{}) *Fpdf_SetAutoPageBreak_Call
SetAutoPageBreak is a helper method to define mock.On call
- auto bool
- margin float64
func (*Fpdf_Expecter) SetCatalogSort ¶
func (_e *Fpdf_Expecter) SetCatalogSort(flag interface{}) *Fpdf_SetCatalogSort_Call
SetCatalogSort is a helper method to define mock.On call
- flag bool
func (*Fpdf_Expecter) SetCellMargin ¶
func (_e *Fpdf_Expecter) SetCellMargin(margin interface{}) *Fpdf_SetCellMargin_Call
SetCellMargin is a helper method to define mock.On call
- margin float64
func (*Fpdf_Expecter) SetCompression ¶
func (_e *Fpdf_Expecter) SetCompression(compress interface{}) *Fpdf_SetCompression_Call
SetCompression is a helper method to define mock.On call
- compress bool
func (*Fpdf_Expecter) SetCreationDate ¶
func (_e *Fpdf_Expecter) SetCreationDate(tm interface{}) *Fpdf_SetCreationDate_Call
SetCreationDate is a helper method to define mock.On call
- tm time.Time
func (*Fpdf_Expecter) SetCreator ¶
func (_e *Fpdf_Expecter) SetCreator(creatorStr interface{}, isUTF8 interface{}) *Fpdf_SetCreator_Call
SetCreator is a helper method to define mock.On call
- creatorStr string
- isUTF8 bool
func (*Fpdf_Expecter) SetDashPattern ¶
func (_e *Fpdf_Expecter) SetDashPattern(dashArray interface{}, dashPhase interface{}) *Fpdf_SetDashPattern_Call
SetDashPattern is a helper method to define mock.On call
- dashArray []float64
- dashPhase float64
func (*Fpdf_Expecter) SetDisplayMode ¶
func (_e *Fpdf_Expecter) SetDisplayMode(zoomStr interface{}, layoutStr interface{}) *Fpdf_SetDisplayMode_Call
SetDisplayMode is a helper method to define mock.On call
- zoomStr string
- layoutStr string
func (*Fpdf_Expecter) SetDrawColor ¶
func (_e *Fpdf_Expecter) SetDrawColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetDrawColor_Call
SetDrawColor is a helper method to define mock.On call
- r int
- g int
- b int
func (*Fpdf_Expecter) SetDrawSpotColor ¶
func (_e *Fpdf_Expecter) SetDrawSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetDrawSpotColor_Call
SetDrawSpotColor is a helper method to define mock.On call
- nameStr string
- tint byte
func (*Fpdf_Expecter) SetError ¶
func (_e *Fpdf_Expecter) SetError(err interface{}) *Fpdf_SetError_Call
SetError is a helper method to define mock.On call
- err error
func (*Fpdf_Expecter) SetErrorf ¶
func (_e *Fpdf_Expecter) SetErrorf(fmtStr interface{}, args ...interface{}) *Fpdf_SetErrorf_Call
SetErrorf is a helper method to define mock.On call
- fmtStr string
- args ...interface{}
func (*Fpdf_Expecter) SetFillColor ¶
func (_e *Fpdf_Expecter) SetFillColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetFillColor_Call
SetFillColor is a helper method to define mock.On call
- r int
- g int
- b int
func (*Fpdf_Expecter) SetFillSpotColor ¶
func (_e *Fpdf_Expecter) SetFillSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetFillSpotColor_Call
SetFillSpotColor is a helper method to define mock.On call
- nameStr string
- tint byte
func (*Fpdf_Expecter) SetFont ¶
func (_e *Fpdf_Expecter) SetFont(familyStr interface{}, styleStr interface{}, size interface{}) *Fpdf_SetFont_Call
SetFont is a helper method to define mock.On call
- familyStr string
- styleStr string
- size float64
func (*Fpdf_Expecter) SetFontLoader ¶
func (_e *Fpdf_Expecter) SetFontLoader(loader interface{}) *Fpdf_SetFontLoader_Call
SetFontLoader is a helper method to define mock.On call
- loader gofpdf.FontLoader
func (*Fpdf_Expecter) SetFontLocation ¶
func (_e *Fpdf_Expecter) SetFontLocation(fontDirStr interface{}) *Fpdf_SetFontLocation_Call
SetFontLocation is a helper method to define mock.On call
- fontDirStr string
func (*Fpdf_Expecter) SetFontSize ¶
func (_e *Fpdf_Expecter) SetFontSize(size interface{}) *Fpdf_SetFontSize_Call
SetFontSize is a helper method to define mock.On call
- size float64
func (*Fpdf_Expecter) SetFontStyle ¶
func (_e *Fpdf_Expecter) SetFontStyle(styleStr interface{}) *Fpdf_SetFontStyle_Call
SetFontStyle is a helper method to define mock.On call
- styleStr string
func (*Fpdf_Expecter) SetFontUnitSize ¶
func (_e *Fpdf_Expecter) SetFontUnitSize(size interface{}) *Fpdf_SetFontUnitSize_Call
SetFontUnitSize is a helper method to define mock.On call
- size float64
func (*Fpdf_Expecter) SetFooterFunc ¶
func (_e *Fpdf_Expecter) SetFooterFunc(fnc interface{}) *Fpdf_SetFooterFunc_Call
SetFooterFunc is a helper method to define mock.On call
- fnc func()
func (*Fpdf_Expecter) SetFooterFuncLpi ¶
func (_e *Fpdf_Expecter) SetFooterFuncLpi(fnc interface{}) *Fpdf_SetFooterFuncLpi_Call
SetFooterFuncLpi is a helper method to define mock.On call
- fnc func(bool)
func (*Fpdf_Expecter) SetHeaderFunc ¶
func (_e *Fpdf_Expecter) SetHeaderFunc(fnc interface{}) *Fpdf_SetHeaderFunc_Call
SetHeaderFunc is a helper method to define mock.On call
- fnc func()
func (*Fpdf_Expecter) SetHeaderFuncMode ¶
func (_e *Fpdf_Expecter) SetHeaderFuncMode(fnc interface{}, homeMode interface{}) *Fpdf_SetHeaderFuncMode_Call
SetHeaderFuncMode is a helper method to define mock.On call
- fnc func()
- homeMode bool
func (*Fpdf_Expecter) SetHomeXY ¶
func (_e *Fpdf_Expecter) SetHomeXY() *Fpdf_SetHomeXY_Call
SetHomeXY is a helper method to define mock.On call
func (*Fpdf_Expecter) SetJavascript ¶
func (_e *Fpdf_Expecter) SetJavascript(script interface{}) *Fpdf_SetJavascript_Call
SetJavascript is a helper method to define mock.On call
- script string
func (*Fpdf_Expecter) SetKeywords ¶
func (_e *Fpdf_Expecter) SetKeywords(keywordsStr interface{}, isUTF8 interface{}) *Fpdf_SetKeywords_Call
SetKeywords is a helper method to define mock.On call
- keywordsStr string
- isUTF8 bool
func (*Fpdf_Expecter) SetLeftMargin ¶
func (_e *Fpdf_Expecter) SetLeftMargin(margin interface{}) *Fpdf_SetLeftMargin_Call
SetLeftMargin is a helper method to define mock.On call
- margin float64
func (*Fpdf_Expecter) SetLineCapStyle ¶
func (_e *Fpdf_Expecter) SetLineCapStyle(styleStr interface{}) *Fpdf_SetLineCapStyle_Call
SetLineCapStyle is a helper method to define mock.On call
- styleStr string
func (*Fpdf_Expecter) SetLineJoinStyle ¶
func (_e *Fpdf_Expecter) SetLineJoinStyle(styleStr interface{}) *Fpdf_SetLineJoinStyle_Call
SetLineJoinStyle is a helper method to define mock.On call
- styleStr string
func (*Fpdf_Expecter) SetLineWidth ¶
func (_e *Fpdf_Expecter) SetLineWidth(width interface{}) *Fpdf_SetLineWidth_Call
SetLineWidth is a helper method to define mock.On call
- width float64
func (*Fpdf_Expecter) SetLink ¶
func (_e *Fpdf_Expecter) SetLink(link interface{}, y interface{}, page interface{}) *Fpdf_SetLink_Call
SetLink is a helper method to define mock.On call
- link int
- y float64
- page int
func (*Fpdf_Expecter) SetMargins ¶
func (_e *Fpdf_Expecter) SetMargins(left interface{}, top interface{}, right interface{}) *Fpdf_SetMargins_Call
SetMargins is a helper method to define mock.On call
- left float64
- top float64
- right float64
func (*Fpdf_Expecter) SetPage ¶
func (_e *Fpdf_Expecter) SetPage(pageNum interface{}) *Fpdf_SetPage_Call
SetPage is a helper method to define mock.On call
- pageNum int
func (*Fpdf_Expecter) SetPageBox ¶
func (_e *Fpdf_Expecter) SetPageBox(t interface{}, x interface{}, y interface{}, wd interface{}, ht interface{}) *Fpdf_SetPageBox_Call
SetPageBox is a helper method to define mock.On call
- t string
- x float64
- y float64
- wd float64
- ht float64
func (*Fpdf_Expecter) SetPageBoxRec ¶
func (_e *Fpdf_Expecter) SetPageBoxRec(t interface{}, pb interface{}) *Fpdf_SetPageBoxRec_Call
SetPageBoxRec is a helper method to define mock.On call
- t string
- pb gofpdf.PageBox
func (*Fpdf_Expecter) SetProtection ¶
func (_e *Fpdf_Expecter) SetProtection(actionFlag interface{}, userPassStr interface{}, ownerPassStr interface{}) *Fpdf_SetProtection_Call
SetProtection is a helper method to define mock.On call
- actionFlag byte
- userPassStr string
- ownerPassStr string
func (*Fpdf_Expecter) SetRightMargin ¶
func (_e *Fpdf_Expecter) SetRightMargin(margin interface{}) *Fpdf_SetRightMargin_Call
SetRightMargin is a helper method to define mock.On call
- margin float64
func (*Fpdf_Expecter) SetSubject ¶
func (_e *Fpdf_Expecter) SetSubject(subjectStr interface{}, isUTF8 interface{}) *Fpdf_SetSubject_Call
SetSubject is a helper method to define mock.On call
- subjectStr string
- isUTF8 bool
func (*Fpdf_Expecter) SetTextColor ¶
func (_e *Fpdf_Expecter) SetTextColor(r interface{}, g interface{}, b interface{}) *Fpdf_SetTextColor_Call
SetTextColor is a helper method to define mock.On call
- r int
- g int
- b int
func (*Fpdf_Expecter) SetTextSpotColor ¶
func (_e *Fpdf_Expecter) SetTextSpotColor(nameStr interface{}, tint interface{}) *Fpdf_SetTextSpotColor_Call
SetTextSpotColor is a helper method to define mock.On call
- nameStr string
- tint byte
func (*Fpdf_Expecter) SetTitle ¶
func (_e *Fpdf_Expecter) SetTitle(titleStr interface{}, isUTF8 interface{}) *Fpdf_SetTitle_Call
SetTitle is a helper method to define mock.On call
- titleStr string
- isUTF8 bool
func (*Fpdf_Expecter) SetTopMargin ¶
func (_e *Fpdf_Expecter) SetTopMargin(margin interface{}) *Fpdf_SetTopMargin_Call
SetTopMargin is a helper method to define mock.On call
- margin float64
func (*Fpdf_Expecter) SetUnderlineThickness ¶
func (_e *Fpdf_Expecter) SetUnderlineThickness(thickness interface{}) *Fpdf_SetUnderlineThickness_Call
SetUnderlineThickness is a helper method to define mock.On call
- thickness float64
func (*Fpdf_Expecter) SetX ¶
func (_e *Fpdf_Expecter) SetX(x interface{}) *Fpdf_SetX_Call
SetX is a helper method to define mock.On call
- x float64
func (*Fpdf_Expecter) SetXY ¶
func (_e *Fpdf_Expecter) SetXY(x interface{}, y interface{}) *Fpdf_SetXY_Call
SetXY is a helper method to define mock.On call
- x float64
- y float64
func (*Fpdf_Expecter) SetXmpMetadata ¶
func (_e *Fpdf_Expecter) SetXmpMetadata(xmpStream interface{}) *Fpdf_SetXmpMetadata_Call
SetXmpMetadata is a helper method to define mock.On call
- xmpStream []byte
func (*Fpdf_Expecter) SetY ¶
func (_e *Fpdf_Expecter) SetY(y interface{}) *Fpdf_SetY_Call
SetY is a helper method to define mock.On call
- y float64
func (*Fpdf_Expecter) SplitLines ¶
func (_e *Fpdf_Expecter) SplitLines(txt interface{}, w interface{}) *Fpdf_SplitLines_Call
SplitLines is a helper method to define mock.On call
- txt []byte
- w float64
func (*Fpdf_Expecter) String ¶
func (_e *Fpdf_Expecter) String() *Fpdf_String_Call
String is a helper method to define mock.On call
func (*Fpdf_Expecter) Text ¶
func (_e *Fpdf_Expecter) Text(x interface{}, y interface{}, txtStr interface{}) *Fpdf_Text_Call
Text is a helper method to define mock.On call
- x float64
- y float64
- txtStr string
func (*Fpdf_Expecter) Transform ¶
func (_e *Fpdf_Expecter) Transform(tm interface{}) *Fpdf_Transform_Call
Transform is a helper method to define mock.On call
- tm gofpdf.TransformMatrix
func (*Fpdf_Expecter) TransformBegin ¶
func (_e *Fpdf_Expecter) TransformBegin() *Fpdf_TransformBegin_Call
TransformBegin is a helper method to define mock.On call
func (*Fpdf_Expecter) TransformEnd ¶
func (_e *Fpdf_Expecter) TransformEnd() *Fpdf_TransformEnd_Call
TransformEnd is a helper method to define mock.On call
func (*Fpdf_Expecter) TransformMirrorHorizontal ¶
func (_e *Fpdf_Expecter) TransformMirrorHorizontal(x interface{}) *Fpdf_TransformMirrorHorizontal_Call
TransformMirrorHorizontal is a helper method to define mock.On call
- x float64
func (*Fpdf_Expecter) TransformMirrorLine ¶
func (_e *Fpdf_Expecter) TransformMirrorLine(angle interface{}, x interface{}, y interface{}) *Fpdf_TransformMirrorLine_Call
TransformMirrorLine is a helper method to define mock.On call
- angle float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformMirrorPoint ¶
func (_e *Fpdf_Expecter) TransformMirrorPoint(x interface{}, y interface{}) *Fpdf_TransformMirrorPoint_Call
TransformMirrorPoint is a helper method to define mock.On call
- x float64
- y float64
func (*Fpdf_Expecter) TransformMirrorVertical ¶
func (_e *Fpdf_Expecter) TransformMirrorVertical(y interface{}) *Fpdf_TransformMirrorVertical_Call
TransformMirrorVertical is a helper method to define mock.On call
- y float64
func (*Fpdf_Expecter) TransformRotate ¶
func (_e *Fpdf_Expecter) TransformRotate(angle interface{}, x interface{}, y interface{}) *Fpdf_TransformRotate_Call
TransformRotate is a helper method to define mock.On call
- angle float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformScale ¶
func (_e *Fpdf_Expecter) TransformScale(scaleWd interface{}, scaleHt interface{}, x interface{}, y interface{}) *Fpdf_TransformScale_Call
TransformScale is a helper method to define mock.On call
- scaleWd float64
- scaleHt float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformScaleX ¶
func (_e *Fpdf_Expecter) TransformScaleX(scaleWd interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleX_Call
TransformScaleX is a helper method to define mock.On call
- scaleWd float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformScaleXY ¶
func (_e *Fpdf_Expecter) TransformScaleXY(s interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleXY_Call
TransformScaleXY is a helper method to define mock.On call
- s float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformScaleY ¶
func (_e *Fpdf_Expecter) TransformScaleY(scaleHt interface{}, x interface{}, y interface{}) *Fpdf_TransformScaleY_Call
TransformScaleY is a helper method to define mock.On call
- scaleHt float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformSkew ¶
func (_e *Fpdf_Expecter) TransformSkew(angleX interface{}, angleY interface{}, x interface{}, y interface{}) *Fpdf_TransformSkew_Call
TransformSkew is a helper method to define mock.On call
- angleX float64
- angleY float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformSkewX ¶
func (_e *Fpdf_Expecter) TransformSkewX(angleX interface{}, x interface{}, y interface{}) *Fpdf_TransformSkewX_Call
TransformSkewX is a helper method to define mock.On call
- angleX float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformSkewY ¶
func (_e *Fpdf_Expecter) TransformSkewY(angleY interface{}, x interface{}, y interface{}) *Fpdf_TransformSkewY_Call
TransformSkewY is a helper method to define mock.On call
- angleY float64
- x float64
- y float64
func (*Fpdf_Expecter) TransformTranslate ¶
func (_e *Fpdf_Expecter) TransformTranslate(tx interface{}, ty interface{}) *Fpdf_TransformTranslate_Call
TransformTranslate is a helper method to define mock.On call
- tx float64
- ty float64
func (*Fpdf_Expecter) TransformTranslateX ¶
func (_e *Fpdf_Expecter) TransformTranslateX(tx interface{}) *Fpdf_TransformTranslateX_Call
TransformTranslateX is a helper method to define mock.On call
- tx float64
func (*Fpdf_Expecter) TransformTranslateY ¶
func (_e *Fpdf_Expecter) TransformTranslateY(ty interface{}) *Fpdf_TransformTranslateY_Call
TransformTranslateY is a helper method to define mock.On call
- ty float64
func (*Fpdf_Expecter) UnicodeTranslatorFromDescriptor ¶
func (_e *Fpdf_Expecter) UnicodeTranslatorFromDescriptor(cpStr interface{}) *Fpdf_UnicodeTranslatorFromDescriptor_Call
UnicodeTranslatorFromDescriptor is a helper method to define mock.On call
- cpStr string
func (*Fpdf_Expecter) UnitToPointConvert ¶
func (_e *Fpdf_Expecter) UnitToPointConvert(u interface{}) *Fpdf_UnitToPointConvert_Call
UnitToPointConvert is a helper method to define mock.On call
- u float64
func (*Fpdf_Expecter) UseTemplate ¶
func (_e *Fpdf_Expecter) UseTemplate(t interface{}) *Fpdf_UseTemplate_Call
UseTemplate is a helper method to define mock.On call
- t gofpdf.Template
func (*Fpdf_Expecter) UseTemplateScaled ¶
func (_e *Fpdf_Expecter) UseTemplateScaled(t interface{}, corner interface{}, size interface{}) *Fpdf_UseTemplateScaled_Call
UseTemplateScaled is a helper method to define mock.On call
- t gofpdf.Template
- corner gofpdf.PointType
- size gofpdf.SizeType
func (*Fpdf_Expecter) Write ¶
func (_e *Fpdf_Expecter) Write(h interface{}, txtStr interface{}) *Fpdf_Write_Call
Write is a helper method to define mock.On call
- h float64
- txtStr string
func (*Fpdf_Expecter) WriteAligned ¶
func (_e *Fpdf_Expecter) WriteAligned(width interface{}, lineHeight interface{}, textStr interface{}, alignStr interface{}) *Fpdf_WriteAligned_Call
WriteAligned is a helper method to define mock.On call
- width float64
- lineHeight float64
- textStr string
- alignStr string
func (*Fpdf_Expecter) WriteLinkID ¶
func (_e *Fpdf_Expecter) WriteLinkID(h interface{}, displayStr interface{}, linkID interface{}) *Fpdf_WriteLinkID_Call
WriteLinkID is a helper method to define mock.On call
- h float64
- displayStr string
- linkID int
func (*Fpdf_Expecter) WriteLinkString ¶
func (_e *Fpdf_Expecter) WriteLinkString(h interface{}, displayStr interface{}, targetStr interface{}) *Fpdf_WriteLinkString_Call
WriteLinkString is a helper method to define mock.On call
- h float64
- displayStr string
- targetStr string
func (*Fpdf_Expecter) Writef ¶
func (_e *Fpdf_Expecter) Writef(h interface{}, fmtStr interface{}, args ...interface{}) *Fpdf_Writef_Call
Writef is a helper method to define mock.On call
- h float64
- fmtStr string
- args ...interface{}
type Fpdf_GetAlpha_Call ¶
Fpdf_GetAlpha_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAlpha'
func (*Fpdf_GetAlpha_Call) Return ¶
func (_c *Fpdf_GetAlpha_Call) Return(alpha float64, blendModeStr string) *Fpdf_GetAlpha_Call
func (*Fpdf_GetAlpha_Call) Run ¶
func (_c *Fpdf_GetAlpha_Call) Run(run func()) *Fpdf_GetAlpha_Call
func (*Fpdf_GetAlpha_Call) RunAndReturn ¶
func (_c *Fpdf_GetAlpha_Call) RunAndReturn(run func() (float64, string)) *Fpdf_GetAlpha_Call
type Fpdf_GetAutoPageBreak_Call ¶
Fpdf_GetAutoPageBreak_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAutoPageBreak'
func (*Fpdf_GetAutoPageBreak_Call) Return ¶
func (_c *Fpdf_GetAutoPageBreak_Call) Return(auto bool, margin float64) *Fpdf_GetAutoPageBreak_Call
func (*Fpdf_GetAutoPageBreak_Call) Run ¶
func (_c *Fpdf_GetAutoPageBreak_Call) Run(run func()) *Fpdf_GetAutoPageBreak_Call
func (*Fpdf_GetAutoPageBreak_Call) RunAndReturn ¶
func (_c *Fpdf_GetAutoPageBreak_Call) RunAndReturn(run func() (bool, float64)) *Fpdf_GetAutoPageBreak_Call
type Fpdf_GetCellMargin_Call ¶
Fpdf_GetCellMargin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCellMargin'
func (*Fpdf_GetCellMargin_Call) Return ¶
func (_c *Fpdf_GetCellMargin_Call) Return(_a0 float64) *Fpdf_GetCellMargin_Call
func (*Fpdf_GetCellMargin_Call) Run ¶
func (_c *Fpdf_GetCellMargin_Call) Run(run func()) *Fpdf_GetCellMargin_Call
func (*Fpdf_GetCellMargin_Call) RunAndReturn ¶
func (_c *Fpdf_GetCellMargin_Call) RunAndReturn(run func() float64) *Fpdf_GetCellMargin_Call
type Fpdf_GetConversionRatio_Call ¶
Fpdf_GetConversionRatio_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetConversionRatio'
func (*Fpdf_GetConversionRatio_Call) Return ¶
func (_c *Fpdf_GetConversionRatio_Call) Return(_a0 float64) *Fpdf_GetConversionRatio_Call
func (*Fpdf_GetConversionRatio_Call) Run ¶
func (_c *Fpdf_GetConversionRatio_Call) Run(run func()) *Fpdf_GetConversionRatio_Call
func (*Fpdf_GetConversionRatio_Call) RunAndReturn ¶
func (_c *Fpdf_GetConversionRatio_Call) RunAndReturn(run func() float64) *Fpdf_GetConversionRatio_Call
type Fpdf_GetDrawColor_Call ¶
Fpdf_GetDrawColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDrawColor'
func (*Fpdf_GetDrawColor_Call) Return ¶
func (_c *Fpdf_GetDrawColor_Call) Return(_a0 int, _a1 int, _a2 int) *Fpdf_GetDrawColor_Call
func (*Fpdf_GetDrawColor_Call) Run ¶
func (_c *Fpdf_GetDrawColor_Call) Run(run func()) *Fpdf_GetDrawColor_Call
func (*Fpdf_GetDrawColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetDrawColor_Call) RunAndReturn(run func() (int, int, int)) *Fpdf_GetDrawColor_Call
type Fpdf_GetDrawSpotColor_Call ¶
Fpdf_GetDrawSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDrawSpotColor'
func (*Fpdf_GetDrawSpotColor_Call) Return ¶
func (_c *Fpdf_GetDrawSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetDrawSpotColor_Call
func (*Fpdf_GetDrawSpotColor_Call) Run ¶
func (_c *Fpdf_GetDrawSpotColor_Call) Run(run func()) *Fpdf_GetDrawSpotColor_Call
func (*Fpdf_GetDrawSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetDrawSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetDrawSpotColor_Call
type Fpdf_GetFillColor_Call ¶
Fpdf_GetFillColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFillColor'
func (*Fpdf_GetFillColor_Call) Return ¶
func (_c *Fpdf_GetFillColor_Call) Return(_a0 int, _a1 int, _a2 int) *Fpdf_GetFillColor_Call
func (*Fpdf_GetFillColor_Call) Run ¶
func (_c *Fpdf_GetFillColor_Call) Run(run func()) *Fpdf_GetFillColor_Call
func (*Fpdf_GetFillColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetFillColor_Call) RunAndReturn(run func() (int, int, int)) *Fpdf_GetFillColor_Call
type Fpdf_GetFillSpotColor_Call ¶
Fpdf_GetFillSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFillSpotColor'
func (*Fpdf_GetFillSpotColor_Call) Return ¶
func (_c *Fpdf_GetFillSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetFillSpotColor_Call
func (*Fpdf_GetFillSpotColor_Call) Run ¶
func (_c *Fpdf_GetFillSpotColor_Call) Run(run func()) *Fpdf_GetFillSpotColor_Call
func (*Fpdf_GetFillSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetFillSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetFillSpotColor_Call
type Fpdf_GetFontDesc_Call ¶
Fpdf_GetFontDesc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFontDesc'
func (*Fpdf_GetFontDesc_Call) Return ¶
func (_c *Fpdf_GetFontDesc_Call) Return(_a0 gofpdf.FontDescType) *Fpdf_GetFontDesc_Call
func (*Fpdf_GetFontDesc_Call) Run ¶
func (_c *Fpdf_GetFontDesc_Call) Run(run func(familyStr string, styleStr string)) *Fpdf_GetFontDesc_Call
func (*Fpdf_GetFontDesc_Call) RunAndReturn ¶
func (_c *Fpdf_GetFontDesc_Call) RunAndReturn(run func(string, string) gofpdf.FontDescType) *Fpdf_GetFontDesc_Call
type Fpdf_GetFontSize_Call ¶
Fpdf_GetFontSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFontSize'
func (*Fpdf_GetFontSize_Call) Return ¶
func (_c *Fpdf_GetFontSize_Call) Return(ptSize float64, unitSize float64) *Fpdf_GetFontSize_Call
func (*Fpdf_GetFontSize_Call) Run ¶
func (_c *Fpdf_GetFontSize_Call) Run(run func()) *Fpdf_GetFontSize_Call
func (*Fpdf_GetFontSize_Call) RunAndReturn ¶
func (_c *Fpdf_GetFontSize_Call) RunAndReturn(run func() (float64, float64)) *Fpdf_GetFontSize_Call
type Fpdf_GetImageInfo_Call ¶
Fpdf_GetImageInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetImageInfo'
func (*Fpdf_GetImageInfo_Call) Return ¶
func (_c *Fpdf_GetImageInfo_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_GetImageInfo_Call
func (*Fpdf_GetImageInfo_Call) Run ¶
func (_c *Fpdf_GetImageInfo_Call) Run(run func(imageStr string)) *Fpdf_GetImageInfo_Call
func (*Fpdf_GetImageInfo_Call) RunAndReturn ¶
func (_c *Fpdf_GetImageInfo_Call) RunAndReturn(run func(string) *gofpdf.ImageInfoType) *Fpdf_GetImageInfo_Call
type Fpdf_GetLineWidth_Call ¶
Fpdf_GetLineWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLineWidth'
func (*Fpdf_GetLineWidth_Call) Return ¶
func (_c *Fpdf_GetLineWidth_Call) Return(_a0 float64) *Fpdf_GetLineWidth_Call
func (*Fpdf_GetLineWidth_Call) Run ¶
func (_c *Fpdf_GetLineWidth_Call) Run(run func()) *Fpdf_GetLineWidth_Call
func (*Fpdf_GetLineWidth_Call) RunAndReturn ¶
func (_c *Fpdf_GetLineWidth_Call) RunAndReturn(run func() float64) *Fpdf_GetLineWidth_Call
type Fpdf_GetMargins_Call ¶
Fpdf_GetMargins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMargins'
func (*Fpdf_GetMargins_Call) Return ¶
func (_c *Fpdf_GetMargins_Call) Return(left float64, top float64, right float64, bottom float64) *Fpdf_GetMargins_Call
func (*Fpdf_GetMargins_Call) Run ¶
func (_c *Fpdf_GetMargins_Call) Run(run func()) *Fpdf_GetMargins_Call
func (*Fpdf_GetMargins_Call) RunAndReturn ¶
func (_c *Fpdf_GetMargins_Call) RunAndReturn(run func() (float64, float64, float64, float64)) *Fpdf_GetMargins_Call
type Fpdf_GetPageSizeStr_Call ¶
Fpdf_GetPageSizeStr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPageSizeStr'
func (*Fpdf_GetPageSizeStr_Call) Return ¶
func (_c *Fpdf_GetPageSizeStr_Call) Return(size gofpdf.SizeType) *Fpdf_GetPageSizeStr_Call
func (*Fpdf_GetPageSizeStr_Call) Run ¶
func (_c *Fpdf_GetPageSizeStr_Call) Run(run func(sizeStr string)) *Fpdf_GetPageSizeStr_Call
func (*Fpdf_GetPageSizeStr_Call) RunAndReturn ¶
func (_c *Fpdf_GetPageSizeStr_Call) RunAndReturn(run func(string) gofpdf.SizeType) *Fpdf_GetPageSizeStr_Call
type Fpdf_GetPageSize_Call ¶
Fpdf_GetPageSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPageSize'
func (*Fpdf_GetPageSize_Call) Return ¶
func (_c *Fpdf_GetPageSize_Call) Return(width float64, height float64) *Fpdf_GetPageSize_Call
func (*Fpdf_GetPageSize_Call) Run ¶
func (_c *Fpdf_GetPageSize_Call) Run(run func()) *Fpdf_GetPageSize_Call
func (*Fpdf_GetPageSize_Call) RunAndReturn ¶
func (_c *Fpdf_GetPageSize_Call) RunAndReturn(run func() (float64, float64)) *Fpdf_GetPageSize_Call
type Fpdf_GetStringWidth_Call ¶
Fpdf_GetStringWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStringWidth'
func (*Fpdf_GetStringWidth_Call) Return ¶
func (_c *Fpdf_GetStringWidth_Call) Return(_a0 float64) *Fpdf_GetStringWidth_Call
func (*Fpdf_GetStringWidth_Call) Run ¶
func (_c *Fpdf_GetStringWidth_Call) Run(run func(s string)) *Fpdf_GetStringWidth_Call
func (*Fpdf_GetStringWidth_Call) RunAndReturn ¶
func (_c *Fpdf_GetStringWidth_Call) RunAndReturn(run func(string) float64) *Fpdf_GetStringWidth_Call
type Fpdf_GetTextColor_Call ¶
Fpdf_GetTextColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTextColor'
func (*Fpdf_GetTextColor_Call) Return ¶
func (_c *Fpdf_GetTextColor_Call) Return(_a0 int, _a1 int, _a2 int) *Fpdf_GetTextColor_Call
func (*Fpdf_GetTextColor_Call) Run ¶
func (_c *Fpdf_GetTextColor_Call) Run(run func()) *Fpdf_GetTextColor_Call
func (*Fpdf_GetTextColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetTextColor_Call) RunAndReturn(run func() (int, int, int)) *Fpdf_GetTextColor_Call
type Fpdf_GetTextSpotColor_Call ¶
Fpdf_GetTextSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTextSpotColor'
func (*Fpdf_GetTextSpotColor_Call) Return ¶
func (_c *Fpdf_GetTextSpotColor_Call) Return(name string, c byte, m byte, y byte, k byte) *Fpdf_GetTextSpotColor_Call
func (*Fpdf_GetTextSpotColor_Call) Run ¶
func (_c *Fpdf_GetTextSpotColor_Call) Run(run func()) *Fpdf_GetTextSpotColor_Call
func (*Fpdf_GetTextSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_GetTextSpotColor_Call) RunAndReturn(run func() (string, byte, byte, byte, byte)) *Fpdf_GetTextSpotColor_Call
type Fpdf_GetXY_Call ¶
Fpdf_GetXY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetXY'
func (*Fpdf_GetXY_Call) Return ¶
func (_c *Fpdf_GetXY_Call) Return(_a0 float64, _a1 float64) *Fpdf_GetXY_Call
func (*Fpdf_GetXY_Call) Run ¶
func (_c *Fpdf_GetXY_Call) Run(run func()) *Fpdf_GetXY_Call
func (*Fpdf_GetXY_Call) RunAndReturn ¶
func (_c *Fpdf_GetXY_Call) RunAndReturn(run func() (float64, float64)) *Fpdf_GetXY_Call
type Fpdf_GetX_Call ¶
Fpdf_GetX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetX'
func (*Fpdf_GetX_Call) Return ¶
func (_c *Fpdf_GetX_Call) Return(_a0 float64) *Fpdf_GetX_Call
func (*Fpdf_GetX_Call) Run ¶
func (_c *Fpdf_GetX_Call) Run(run func()) *Fpdf_GetX_Call
func (*Fpdf_GetX_Call) RunAndReturn ¶
func (_c *Fpdf_GetX_Call) RunAndReturn(run func() float64) *Fpdf_GetX_Call
type Fpdf_GetY_Call ¶
Fpdf_GetY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetY'
func (*Fpdf_GetY_Call) Return ¶
func (_c *Fpdf_GetY_Call) Return(_a0 float64) *Fpdf_GetY_Call
func (*Fpdf_GetY_Call) Run ¶
func (_c *Fpdf_GetY_Call) Run(run func()) *Fpdf_GetY_Call
func (*Fpdf_GetY_Call) RunAndReturn ¶
func (_c *Fpdf_GetY_Call) RunAndReturn(run func() float64) *Fpdf_GetY_Call
type Fpdf_HTMLBasicNew_Call ¶
Fpdf_HTMLBasicNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HTMLBasicNew'
func (*Fpdf_HTMLBasicNew_Call) Return ¶
func (_c *Fpdf_HTMLBasicNew_Call) Return(html gofpdf.HTMLBasicType) *Fpdf_HTMLBasicNew_Call
func (*Fpdf_HTMLBasicNew_Call) Run ¶
func (_c *Fpdf_HTMLBasicNew_Call) Run(run func()) *Fpdf_HTMLBasicNew_Call
func (*Fpdf_HTMLBasicNew_Call) RunAndReturn ¶
func (_c *Fpdf_HTMLBasicNew_Call) RunAndReturn(run func() gofpdf.HTMLBasicType) *Fpdf_HTMLBasicNew_Call
type Fpdf_ImageOptions_Call ¶
Fpdf_ImageOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageOptions'
func (*Fpdf_ImageOptions_Call) Return ¶
func (_c *Fpdf_ImageOptions_Call) Return() *Fpdf_ImageOptions_Call
func (*Fpdf_ImageOptions_Call) Run ¶
func (_c *Fpdf_ImageOptions_Call) Run(run func(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, options gofpdf.ImageOptions, link int, linkStr string)) *Fpdf_ImageOptions_Call
func (*Fpdf_ImageOptions_Call) RunAndReturn ¶
func (_c *Fpdf_ImageOptions_Call) RunAndReturn(run func(string, float64, float64, float64, float64, bool, gofpdf.ImageOptions, int, string)) *Fpdf_ImageOptions_Call
type Fpdf_ImageTypeFromMime_Call ¶
Fpdf_ImageTypeFromMime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ImageTypeFromMime'
func (*Fpdf_ImageTypeFromMime_Call) Return ¶
func (_c *Fpdf_ImageTypeFromMime_Call) Return(tp string) *Fpdf_ImageTypeFromMime_Call
func (*Fpdf_ImageTypeFromMime_Call) Run ¶
func (_c *Fpdf_ImageTypeFromMime_Call) Run(run func(mimeStr string)) *Fpdf_ImageTypeFromMime_Call
func (*Fpdf_ImageTypeFromMime_Call) RunAndReturn ¶
func (_c *Fpdf_ImageTypeFromMime_Call) RunAndReturn(run func(string) string) *Fpdf_ImageTypeFromMime_Call
type Fpdf_Image_Call ¶
Fpdf_Image_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Image'
func (*Fpdf_Image_Call) Return ¶
func (_c *Fpdf_Image_Call) Return() *Fpdf_Image_Call
func (*Fpdf_Image_Call) RunAndReturn ¶
type Fpdf_LineTo_Call ¶
Fpdf_LineTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LineTo'
func (*Fpdf_LineTo_Call) Return ¶
func (_c *Fpdf_LineTo_Call) Return() *Fpdf_LineTo_Call
func (*Fpdf_LineTo_Call) Run ¶
func (_c *Fpdf_LineTo_Call) Run(run func(x float64, y float64)) *Fpdf_LineTo_Call
func (*Fpdf_LineTo_Call) RunAndReturn ¶
func (_c *Fpdf_LineTo_Call) RunAndReturn(run func(float64, float64)) *Fpdf_LineTo_Call
type Fpdf_Line_Call ¶
Fpdf_Line_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Line'
func (*Fpdf_Line_Call) Return ¶
func (_c *Fpdf_Line_Call) Return() *Fpdf_Line_Call
func (*Fpdf_Line_Call) Run ¶
func (_c *Fpdf_Line_Call) Run(run func(x1 float64, y1 float64, x2 float64, y2 float64)) *Fpdf_Line_Call
func (*Fpdf_Line_Call) RunAndReturn ¶
func (_c *Fpdf_Line_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_Line_Call
type Fpdf_LinearGradient_Call ¶
Fpdf_LinearGradient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LinearGradient'
func (*Fpdf_LinearGradient_Call) Return ¶
func (_c *Fpdf_LinearGradient_Call) Return() *Fpdf_LinearGradient_Call
type Fpdf_LinkString_Call ¶
Fpdf_LinkString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LinkString'
func (*Fpdf_LinkString_Call) Return ¶
func (_c *Fpdf_LinkString_Call) Return() *Fpdf_LinkString_Call
func (*Fpdf_LinkString_Call) Run ¶
func (_c *Fpdf_LinkString_Call) Run(run func(x float64, y float64, w float64, h float64, linkStr string)) *Fpdf_LinkString_Call
func (*Fpdf_LinkString_Call) RunAndReturn ¶
func (_c *Fpdf_LinkString_Call) RunAndReturn(run func(float64, float64, float64, float64, string)) *Fpdf_LinkString_Call
type Fpdf_Link_Call ¶
Fpdf_Link_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Link'
func (*Fpdf_Link_Call) Return ¶
func (_c *Fpdf_Link_Call) Return() *Fpdf_Link_Call
func (*Fpdf_Link_Call) Run ¶
func (_c *Fpdf_Link_Call) Run(run func(x float64, y float64, w float64, h float64, link int)) *Fpdf_Link_Call
func (*Fpdf_Link_Call) RunAndReturn ¶
func (_c *Fpdf_Link_Call) RunAndReturn(run func(float64, float64, float64, float64, int)) *Fpdf_Link_Call
type Fpdf_Ln_Call ¶
Fpdf_Ln_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ln'
func (*Fpdf_Ln_Call) Return ¶
func (_c *Fpdf_Ln_Call) Return() *Fpdf_Ln_Call
func (*Fpdf_Ln_Call) Run ¶
func (_c *Fpdf_Ln_Call) Run(run func(h float64)) *Fpdf_Ln_Call
func (*Fpdf_Ln_Call) RunAndReturn ¶
func (_c *Fpdf_Ln_Call) RunAndReturn(run func(float64)) *Fpdf_Ln_Call
type Fpdf_MoveTo_Call ¶
Fpdf_MoveTo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveTo'
func (*Fpdf_MoveTo_Call) Return ¶
func (_c *Fpdf_MoveTo_Call) Return() *Fpdf_MoveTo_Call
func (*Fpdf_MoveTo_Call) Run ¶
func (_c *Fpdf_MoveTo_Call) Run(run func(x float64, y float64)) *Fpdf_MoveTo_Call
func (*Fpdf_MoveTo_Call) RunAndReturn ¶
func (_c *Fpdf_MoveTo_Call) RunAndReturn(run func(float64, float64)) *Fpdf_MoveTo_Call
type Fpdf_MultiCell_Call ¶
Fpdf_MultiCell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MultiCell'
func (*Fpdf_MultiCell_Call) Return ¶
func (_c *Fpdf_MultiCell_Call) Return() *Fpdf_MultiCell_Call
func (*Fpdf_MultiCell_Call) Run ¶
func (_c *Fpdf_MultiCell_Call) Run(run func(w float64, h float64, txtStr string, borderStr string, alignStr string, fill bool)) *Fpdf_MultiCell_Call
func (*Fpdf_MultiCell_Call) RunAndReturn ¶
func (_c *Fpdf_MultiCell_Call) RunAndReturn(run func(float64, float64, string, string, string, bool)) *Fpdf_MultiCell_Call
type Fpdf_Ok_Call ¶
Fpdf_Ok_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Ok'
func (*Fpdf_Ok_Call) Return ¶
func (_c *Fpdf_Ok_Call) Return(_a0 bool) *Fpdf_Ok_Call
func (*Fpdf_Ok_Call) Run ¶
func (_c *Fpdf_Ok_Call) Run(run func()) *Fpdf_Ok_Call
func (*Fpdf_Ok_Call) RunAndReturn ¶
func (_c *Fpdf_Ok_Call) RunAndReturn(run func() bool) *Fpdf_Ok_Call
type Fpdf_OpenLayerPane_Call ¶
Fpdf_OpenLayerPane_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenLayerPane'
func (*Fpdf_OpenLayerPane_Call) Return ¶
func (_c *Fpdf_OpenLayerPane_Call) Return() *Fpdf_OpenLayerPane_Call
func (*Fpdf_OpenLayerPane_Call) Run ¶
func (_c *Fpdf_OpenLayerPane_Call) Run(run func()) *Fpdf_OpenLayerPane_Call
func (*Fpdf_OpenLayerPane_Call) RunAndReturn ¶
func (_c *Fpdf_OpenLayerPane_Call) RunAndReturn(run func()) *Fpdf_OpenLayerPane_Call
type Fpdf_OutputAndClose_Call ¶
Fpdf_OutputAndClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutputAndClose'
func (*Fpdf_OutputAndClose_Call) Return ¶
func (_c *Fpdf_OutputAndClose_Call) Return(_a0 error) *Fpdf_OutputAndClose_Call
func (*Fpdf_OutputAndClose_Call) Run ¶
func (_c *Fpdf_OutputAndClose_Call) Run(run func(w io.WriteCloser)) *Fpdf_OutputAndClose_Call
func (*Fpdf_OutputAndClose_Call) RunAndReturn ¶
func (_c *Fpdf_OutputAndClose_Call) RunAndReturn(run func(io.WriteCloser) error) *Fpdf_OutputAndClose_Call
type Fpdf_OutputFileAndClose_Call ¶
Fpdf_OutputFileAndClose_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutputFileAndClose'
func (*Fpdf_OutputFileAndClose_Call) Return ¶
func (_c *Fpdf_OutputFileAndClose_Call) Return(_a0 error) *Fpdf_OutputFileAndClose_Call
func (*Fpdf_OutputFileAndClose_Call) Run ¶
func (_c *Fpdf_OutputFileAndClose_Call) Run(run func(fileStr string)) *Fpdf_OutputFileAndClose_Call
func (*Fpdf_OutputFileAndClose_Call) RunAndReturn ¶
func (_c *Fpdf_OutputFileAndClose_Call) RunAndReturn(run func(string) error) *Fpdf_OutputFileAndClose_Call
type Fpdf_Output_Call ¶
Fpdf_Output_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Output'
func (*Fpdf_Output_Call) Return ¶
func (_c *Fpdf_Output_Call) Return(_a0 error) *Fpdf_Output_Call
func (*Fpdf_Output_Call) Run ¶
func (_c *Fpdf_Output_Call) Run(run func(w io.Writer)) *Fpdf_Output_Call
func (*Fpdf_Output_Call) RunAndReturn ¶
func (_c *Fpdf_Output_Call) RunAndReturn(run func(io.Writer) error) *Fpdf_Output_Call
type Fpdf_PageCount_Call ¶
Fpdf_PageCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PageCount'
func (*Fpdf_PageCount_Call) Return ¶
func (_c *Fpdf_PageCount_Call) Return(_a0 int) *Fpdf_PageCount_Call
func (*Fpdf_PageCount_Call) Run ¶
func (_c *Fpdf_PageCount_Call) Run(run func()) *Fpdf_PageCount_Call
func (*Fpdf_PageCount_Call) RunAndReturn ¶
func (_c *Fpdf_PageCount_Call) RunAndReturn(run func() int) *Fpdf_PageCount_Call
type Fpdf_PageNo_Call ¶
Fpdf_PageNo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PageNo'
func (*Fpdf_PageNo_Call) Return ¶
func (_c *Fpdf_PageNo_Call) Return(_a0 int) *Fpdf_PageNo_Call
func (*Fpdf_PageNo_Call) Run ¶
func (_c *Fpdf_PageNo_Call) Run(run func()) *Fpdf_PageNo_Call
func (*Fpdf_PageNo_Call) RunAndReturn ¶
func (_c *Fpdf_PageNo_Call) RunAndReturn(run func() int) *Fpdf_PageNo_Call
type Fpdf_PageSize_Call ¶
Fpdf_PageSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PageSize'
func (*Fpdf_PageSize_Call) Return ¶
func (_c *Fpdf_PageSize_Call) Return(wd float64, ht float64, unitStr string) *Fpdf_PageSize_Call
func (*Fpdf_PageSize_Call) Run ¶
func (_c *Fpdf_PageSize_Call) Run(run func(pageNum int)) *Fpdf_PageSize_Call
func (*Fpdf_PageSize_Call) RunAndReturn ¶
func (_c *Fpdf_PageSize_Call) RunAndReturn(run func(int) (float64, float64, string)) *Fpdf_PageSize_Call
type Fpdf_PointConvert_Call ¶
Fpdf_PointConvert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PointConvert'
func (*Fpdf_PointConvert_Call) Return ¶
func (_c *Fpdf_PointConvert_Call) Return(u float64) *Fpdf_PointConvert_Call
func (*Fpdf_PointConvert_Call) Run ¶
func (_c *Fpdf_PointConvert_Call) Run(run func(pt float64)) *Fpdf_PointConvert_Call
func (*Fpdf_PointConvert_Call) RunAndReturn ¶
func (_c *Fpdf_PointConvert_Call) RunAndReturn(run func(float64) float64) *Fpdf_PointConvert_Call
type Fpdf_PointToUnitConvert_Call ¶
Fpdf_PointToUnitConvert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PointToUnitConvert'
func (*Fpdf_PointToUnitConvert_Call) Return ¶
func (_c *Fpdf_PointToUnitConvert_Call) Return(u float64) *Fpdf_PointToUnitConvert_Call
func (*Fpdf_PointToUnitConvert_Call) Run ¶
func (_c *Fpdf_PointToUnitConvert_Call) Run(run func(pt float64)) *Fpdf_PointToUnitConvert_Call
func (*Fpdf_PointToUnitConvert_Call) RunAndReturn ¶
func (_c *Fpdf_PointToUnitConvert_Call) RunAndReturn(run func(float64) float64) *Fpdf_PointToUnitConvert_Call
type Fpdf_Polygon_Call ¶
Fpdf_Polygon_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Polygon'
func (*Fpdf_Polygon_Call) Return ¶
func (_c *Fpdf_Polygon_Call) Return() *Fpdf_Polygon_Call
func (*Fpdf_Polygon_Call) Run ¶
func (_c *Fpdf_Polygon_Call) Run(run func(points []gofpdf.PointType, styleStr string)) *Fpdf_Polygon_Call
func (*Fpdf_Polygon_Call) RunAndReturn ¶
func (_c *Fpdf_Polygon_Call) RunAndReturn(run func([]gofpdf.PointType, string)) *Fpdf_Polygon_Call
type Fpdf_RadialGradient_Call ¶
Fpdf_RadialGradient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RadialGradient'
func (*Fpdf_RadialGradient_Call) Return ¶
func (_c *Fpdf_RadialGradient_Call) Return() *Fpdf_RadialGradient_Call
type Fpdf_RawWriteBuf_Call ¶
Fpdf_RawWriteBuf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RawWriteBuf'
func (*Fpdf_RawWriteBuf_Call) Return ¶
func (_c *Fpdf_RawWriteBuf_Call) Return() *Fpdf_RawWriteBuf_Call
func (*Fpdf_RawWriteBuf_Call) Run ¶
func (_c *Fpdf_RawWriteBuf_Call) Run(run func(r io.Reader)) *Fpdf_RawWriteBuf_Call
func (*Fpdf_RawWriteBuf_Call) RunAndReturn ¶
func (_c *Fpdf_RawWriteBuf_Call) RunAndReturn(run func(io.Reader)) *Fpdf_RawWriteBuf_Call
type Fpdf_RawWriteStr_Call ¶
Fpdf_RawWriteStr_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RawWriteStr'
func (*Fpdf_RawWriteStr_Call) Return ¶
func (_c *Fpdf_RawWriteStr_Call) Return() *Fpdf_RawWriteStr_Call
func (*Fpdf_RawWriteStr_Call) Run ¶
func (_c *Fpdf_RawWriteStr_Call) Run(run func(str string)) *Fpdf_RawWriteStr_Call
func (*Fpdf_RawWriteStr_Call) RunAndReturn ¶
func (_c *Fpdf_RawWriteStr_Call) RunAndReturn(run func(string)) *Fpdf_RawWriteStr_Call
type Fpdf_Rect_Call ¶
Fpdf_Rect_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rect'
func (*Fpdf_Rect_Call) Return ¶
func (_c *Fpdf_Rect_Call) Return() *Fpdf_Rect_Call
func (*Fpdf_Rect_Call) Run ¶
func (_c *Fpdf_Rect_Call) Run(run func(x float64, y float64, w float64, h float64, styleStr string)) *Fpdf_Rect_Call
func (*Fpdf_Rect_Call) RunAndReturn ¶
func (_c *Fpdf_Rect_Call) RunAndReturn(run func(float64, float64, float64, float64, string)) *Fpdf_Rect_Call
type Fpdf_RegisterAlias_Call ¶
Fpdf_RegisterAlias_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterAlias'
func (*Fpdf_RegisterAlias_Call) Return ¶
func (_c *Fpdf_RegisterAlias_Call) Return() *Fpdf_RegisterAlias_Call
func (*Fpdf_RegisterAlias_Call) Run ¶
func (_c *Fpdf_RegisterAlias_Call) Run(run func(alias string, replacement string)) *Fpdf_RegisterAlias_Call
func (*Fpdf_RegisterAlias_Call) RunAndReturn ¶
func (_c *Fpdf_RegisterAlias_Call) RunAndReturn(run func(string, string)) *Fpdf_RegisterAlias_Call
type Fpdf_RegisterImageOptionsReader_Call ¶
Fpdf_RegisterImageOptionsReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterImageOptionsReader'
func (*Fpdf_RegisterImageOptionsReader_Call) Return ¶
func (_c *Fpdf_RegisterImageOptionsReader_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptionsReader_Call
func (*Fpdf_RegisterImageOptionsReader_Call) Run ¶
func (_c *Fpdf_RegisterImageOptionsReader_Call) Run(run func(imgName string, options gofpdf.ImageOptions, r io.Reader)) *Fpdf_RegisterImageOptionsReader_Call
func (*Fpdf_RegisterImageOptionsReader_Call) RunAndReturn ¶
func (_c *Fpdf_RegisterImageOptionsReader_Call) RunAndReturn(run func(string, gofpdf.ImageOptions, io.Reader) *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptionsReader_Call
type Fpdf_RegisterImageOptions_Call ¶
Fpdf_RegisterImageOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterImageOptions'
func (*Fpdf_RegisterImageOptions_Call) Return ¶
func (_c *Fpdf_RegisterImageOptions_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptions_Call
func (*Fpdf_RegisterImageOptions_Call) Run ¶
func (_c *Fpdf_RegisterImageOptions_Call) Run(run func(fileStr string, options gofpdf.ImageOptions)) *Fpdf_RegisterImageOptions_Call
func (*Fpdf_RegisterImageOptions_Call) RunAndReturn ¶
func (_c *Fpdf_RegisterImageOptions_Call) RunAndReturn(run func(string, gofpdf.ImageOptions) *gofpdf.ImageInfoType) *Fpdf_RegisterImageOptions_Call
type Fpdf_RegisterImageReader_Call ¶
Fpdf_RegisterImageReader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterImageReader'
func (*Fpdf_RegisterImageReader_Call) Return ¶
func (_c *Fpdf_RegisterImageReader_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImageReader_Call
func (*Fpdf_RegisterImageReader_Call) Run ¶
func (_c *Fpdf_RegisterImageReader_Call) Run(run func(imgName string, tp string, r io.Reader)) *Fpdf_RegisterImageReader_Call
func (*Fpdf_RegisterImageReader_Call) RunAndReturn ¶
func (_c *Fpdf_RegisterImageReader_Call) RunAndReturn(run func(string, string, io.Reader) *gofpdf.ImageInfoType) *Fpdf_RegisterImageReader_Call
type Fpdf_RegisterImage_Call ¶
Fpdf_RegisterImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterImage'
func (*Fpdf_RegisterImage_Call) Return ¶
func (_c *Fpdf_RegisterImage_Call) Return(info *gofpdf.ImageInfoType) *Fpdf_RegisterImage_Call
func (*Fpdf_RegisterImage_Call) Run ¶
func (_c *Fpdf_RegisterImage_Call) Run(run func(fileStr string, tp string)) *Fpdf_RegisterImage_Call
func (*Fpdf_RegisterImage_Call) RunAndReturn ¶
func (_c *Fpdf_RegisterImage_Call) RunAndReturn(run func(string, string) *gofpdf.ImageInfoType) *Fpdf_RegisterImage_Call
type Fpdf_SVGBasicWrite_Call ¶
Fpdf_SVGBasicWrite_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SVGBasicWrite'
func (*Fpdf_SVGBasicWrite_Call) Return ¶
func (_c *Fpdf_SVGBasicWrite_Call) Return() *Fpdf_SVGBasicWrite_Call
func (*Fpdf_SVGBasicWrite_Call) Run ¶
func (_c *Fpdf_SVGBasicWrite_Call) Run(run func(sb *gofpdf.SVGBasicType, scale float64)) *Fpdf_SVGBasicWrite_Call
func (*Fpdf_SVGBasicWrite_Call) RunAndReturn ¶
func (_c *Fpdf_SVGBasicWrite_Call) RunAndReturn(run func(*gofpdf.SVGBasicType, float64)) *Fpdf_SVGBasicWrite_Call
type Fpdf_SetAcceptPageBreakFunc_Call ¶
Fpdf_SetAcceptPageBreakFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAcceptPageBreakFunc'
func (*Fpdf_SetAcceptPageBreakFunc_Call) Return ¶
func (_c *Fpdf_SetAcceptPageBreakFunc_Call) Return() *Fpdf_SetAcceptPageBreakFunc_Call
func (*Fpdf_SetAcceptPageBreakFunc_Call) Run ¶
func (_c *Fpdf_SetAcceptPageBreakFunc_Call) Run(run func(fnc func() bool)) *Fpdf_SetAcceptPageBreakFunc_Call
func (*Fpdf_SetAcceptPageBreakFunc_Call) RunAndReturn ¶
func (_c *Fpdf_SetAcceptPageBreakFunc_Call) RunAndReturn(run func(func() bool)) *Fpdf_SetAcceptPageBreakFunc_Call
type Fpdf_SetAlpha_Call ¶
Fpdf_SetAlpha_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAlpha'
func (*Fpdf_SetAlpha_Call) Return ¶
func (_c *Fpdf_SetAlpha_Call) Return() *Fpdf_SetAlpha_Call
func (*Fpdf_SetAlpha_Call) Run ¶
func (_c *Fpdf_SetAlpha_Call) Run(run func(alpha float64, blendModeStr string)) *Fpdf_SetAlpha_Call
func (*Fpdf_SetAlpha_Call) RunAndReturn ¶
func (_c *Fpdf_SetAlpha_Call) RunAndReturn(run func(float64, string)) *Fpdf_SetAlpha_Call
type Fpdf_SetAuthor_Call ¶
Fpdf_SetAuthor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAuthor'
func (*Fpdf_SetAuthor_Call) Return ¶
func (_c *Fpdf_SetAuthor_Call) Return() *Fpdf_SetAuthor_Call
func (*Fpdf_SetAuthor_Call) Run ¶
func (_c *Fpdf_SetAuthor_Call) Run(run func(authorStr string, isUTF8 bool)) *Fpdf_SetAuthor_Call
func (*Fpdf_SetAuthor_Call) RunAndReturn ¶
func (_c *Fpdf_SetAuthor_Call) RunAndReturn(run func(string, bool)) *Fpdf_SetAuthor_Call
type Fpdf_SetAutoPageBreak_Call ¶
Fpdf_SetAutoPageBreak_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAutoPageBreak'
func (*Fpdf_SetAutoPageBreak_Call) Return ¶
func (_c *Fpdf_SetAutoPageBreak_Call) Return() *Fpdf_SetAutoPageBreak_Call
func (*Fpdf_SetAutoPageBreak_Call) Run ¶
func (_c *Fpdf_SetAutoPageBreak_Call) Run(run func(auto bool, margin float64)) *Fpdf_SetAutoPageBreak_Call
func (*Fpdf_SetAutoPageBreak_Call) RunAndReturn ¶
func (_c *Fpdf_SetAutoPageBreak_Call) RunAndReturn(run func(bool, float64)) *Fpdf_SetAutoPageBreak_Call
type Fpdf_SetCatalogSort_Call ¶
Fpdf_SetCatalogSort_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCatalogSort'
func (*Fpdf_SetCatalogSort_Call) Return ¶
func (_c *Fpdf_SetCatalogSort_Call) Return() *Fpdf_SetCatalogSort_Call
func (*Fpdf_SetCatalogSort_Call) Run ¶
func (_c *Fpdf_SetCatalogSort_Call) Run(run func(flag bool)) *Fpdf_SetCatalogSort_Call
func (*Fpdf_SetCatalogSort_Call) RunAndReturn ¶
func (_c *Fpdf_SetCatalogSort_Call) RunAndReturn(run func(bool)) *Fpdf_SetCatalogSort_Call
type Fpdf_SetCellMargin_Call ¶
Fpdf_SetCellMargin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCellMargin'
func (*Fpdf_SetCellMargin_Call) Return ¶
func (_c *Fpdf_SetCellMargin_Call) Return() *Fpdf_SetCellMargin_Call
func (*Fpdf_SetCellMargin_Call) Run ¶
func (_c *Fpdf_SetCellMargin_Call) Run(run func(margin float64)) *Fpdf_SetCellMargin_Call
func (*Fpdf_SetCellMargin_Call) RunAndReturn ¶
func (_c *Fpdf_SetCellMargin_Call) RunAndReturn(run func(float64)) *Fpdf_SetCellMargin_Call
type Fpdf_SetCompression_Call ¶
Fpdf_SetCompression_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCompression'
func (*Fpdf_SetCompression_Call) Return ¶
func (_c *Fpdf_SetCompression_Call) Return() *Fpdf_SetCompression_Call
func (*Fpdf_SetCompression_Call) Run ¶
func (_c *Fpdf_SetCompression_Call) Run(run func(compress bool)) *Fpdf_SetCompression_Call
func (*Fpdf_SetCompression_Call) RunAndReturn ¶
func (_c *Fpdf_SetCompression_Call) RunAndReturn(run func(bool)) *Fpdf_SetCompression_Call
type Fpdf_SetCreationDate_Call ¶
Fpdf_SetCreationDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCreationDate'
func (*Fpdf_SetCreationDate_Call) Return ¶
func (_c *Fpdf_SetCreationDate_Call) Return() *Fpdf_SetCreationDate_Call
func (*Fpdf_SetCreationDate_Call) Run ¶
func (_c *Fpdf_SetCreationDate_Call) Run(run func(tm time.Time)) *Fpdf_SetCreationDate_Call
func (*Fpdf_SetCreationDate_Call) RunAndReturn ¶
func (_c *Fpdf_SetCreationDate_Call) RunAndReturn(run func(time.Time)) *Fpdf_SetCreationDate_Call
type Fpdf_SetCreator_Call ¶
Fpdf_SetCreator_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCreator'
func (*Fpdf_SetCreator_Call) Return ¶
func (_c *Fpdf_SetCreator_Call) Return() *Fpdf_SetCreator_Call
func (*Fpdf_SetCreator_Call) Run ¶
func (_c *Fpdf_SetCreator_Call) Run(run func(creatorStr string, isUTF8 bool)) *Fpdf_SetCreator_Call
func (*Fpdf_SetCreator_Call) RunAndReturn ¶
func (_c *Fpdf_SetCreator_Call) RunAndReturn(run func(string, bool)) *Fpdf_SetCreator_Call
type Fpdf_SetDashPattern_Call ¶
Fpdf_SetDashPattern_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDashPattern'
func (*Fpdf_SetDashPattern_Call) Return ¶
func (_c *Fpdf_SetDashPattern_Call) Return() *Fpdf_SetDashPattern_Call
func (*Fpdf_SetDashPattern_Call) Run ¶
func (_c *Fpdf_SetDashPattern_Call) Run(run func(dashArray []float64, dashPhase float64)) *Fpdf_SetDashPattern_Call
func (*Fpdf_SetDashPattern_Call) RunAndReturn ¶
func (_c *Fpdf_SetDashPattern_Call) RunAndReturn(run func([]float64, float64)) *Fpdf_SetDashPattern_Call
type Fpdf_SetDisplayMode_Call ¶
Fpdf_SetDisplayMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDisplayMode'
func (*Fpdf_SetDisplayMode_Call) Return ¶
func (_c *Fpdf_SetDisplayMode_Call) Return() *Fpdf_SetDisplayMode_Call
func (*Fpdf_SetDisplayMode_Call) Run ¶
func (_c *Fpdf_SetDisplayMode_Call) Run(run func(zoomStr string, layoutStr string)) *Fpdf_SetDisplayMode_Call
func (*Fpdf_SetDisplayMode_Call) RunAndReturn ¶
func (_c *Fpdf_SetDisplayMode_Call) RunAndReturn(run func(string, string)) *Fpdf_SetDisplayMode_Call
type Fpdf_SetDrawColor_Call ¶
Fpdf_SetDrawColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDrawColor'
func (*Fpdf_SetDrawColor_Call) Return ¶
func (_c *Fpdf_SetDrawColor_Call) Return() *Fpdf_SetDrawColor_Call
func (*Fpdf_SetDrawColor_Call) Run ¶
func (_c *Fpdf_SetDrawColor_Call) Run(run func(r int, g int, b int)) *Fpdf_SetDrawColor_Call
func (*Fpdf_SetDrawColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetDrawColor_Call) RunAndReturn(run func(int, int, int)) *Fpdf_SetDrawColor_Call
type Fpdf_SetDrawSpotColor_Call ¶
Fpdf_SetDrawSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetDrawSpotColor'
func (*Fpdf_SetDrawSpotColor_Call) Return ¶
func (_c *Fpdf_SetDrawSpotColor_Call) Return() *Fpdf_SetDrawSpotColor_Call
func (*Fpdf_SetDrawSpotColor_Call) Run ¶
func (_c *Fpdf_SetDrawSpotColor_Call) Run(run func(nameStr string, tint byte)) *Fpdf_SetDrawSpotColor_Call
func (*Fpdf_SetDrawSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetDrawSpotColor_Call) RunAndReturn(run func(string, byte)) *Fpdf_SetDrawSpotColor_Call
type Fpdf_SetError_Call ¶
Fpdf_SetError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetError'
func (*Fpdf_SetError_Call) Return ¶
func (_c *Fpdf_SetError_Call) Return() *Fpdf_SetError_Call
func (*Fpdf_SetError_Call) Run ¶
func (_c *Fpdf_SetError_Call) Run(run func(err error)) *Fpdf_SetError_Call
func (*Fpdf_SetError_Call) RunAndReturn ¶
func (_c *Fpdf_SetError_Call) RunAndReturn(run func(error)) *Fpdf_SetError_Call
type Fpdf_SetErrorf_Call ¶
Fpdf_SetErrorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetErrorf'
func (*Fpdf_SetErrorf_Call) Return ¶
func (_c *Fpdf_SetErrorf_Call) Return() *Fpdf_SetErrorf_Call
func (*Fpdf_SetErrorf_Call) Run ¶
func (_c *Fpdf_SetErrorf_Call) Run(run func(fmtStr string, args ...interface{})) *Fpdf_SetErrorf_Call
func (*Fpdf_SetErrorf_Call) RunAndReturn ¶
func (_c *Fpdf_SetErrorf_Call) RunAndReturn(run func(string, ...interface{})) *Fpdf_SetErrorf_Call
type Fpdf_SetFillColor_Call ¶
Fpdf_SetFillColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFillColor'
func (*Fpdf_SetFillColor_Call) Return ¶
func (_c *Fpdf_SetFillColor_Call) Return() *Fpdf_SetFillColor_Call
func (*Fpdf_SetFillColor_Call) Run ¶
func (_c *Fpdf_SetFillColor_Call) Run(run func(r int, g int, b int)) *Fpdf_SetFillColor_Call
func (*Fpdf_SetFillColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetFillColor_Call) RunAndReturn(run func(int, int, int)) *Fpdf_SetFillColor_Call
type Fpdf_SetFillSpotColor_Call ¶
Fpdf_SetFillSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFillSpotColor'
func (*Fpdf_SetFillSpotColor_Call) Return ¶
func (_c *Fpdf_SetFillSpotColor_Call) Return() *Fpdf_SetFillSpotColor_Call
func (*Fpdf_SetFillSpotColor_Call) Run ¶
func (_c *Fpdf_SetFillSpotColor_Call) Run(run func(nameStr string, tint byte)) *Fpdf_SetFillSpotColor_Call
func (*Fpdf_SetFillSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetFillSpotColor_Call) RunAndReturn(run func(string, byte)) *Fpdf_SetFillSpotColor_Call
type Fpdf_SetFontLoader_Call ¶
Fpdf_SetFontLoader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFontLoader'
func (*Fpdf_SetFontLoader_Call) Return ¶
func (_c *Fpdf_SetFontLoader_Call) Return() *Fpdf_SetFontLoader_Call
func (*Fpdf_SetFontLoader_Call) Run ¶
func (_c *Fpdf_SetFontLoader_Call) Run(run func(loader gofpdf.FontLoader)) *Fpdf_SetFontLoader_Call
func (*Fpdf_SetFontLoader_Call) RunAndReturn ¶
func (_c *Fpdf_SetFontLoader_Call) RunAndReturn(run func(gofpdf.FontLoader)) *Fpdf_SetFontLoader_Call
type Fpdf_SetFontLocation_Call ¶
Fpdf_SetFontLocation_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFontLocation'
func (*Fpdf_SetFontLocation_Call) Return ¶
func (_c *Fpdf_SetFontLocation_Call) Return() *Fpdf_SetFontLocation_Call
func (*Fpdf_SetFontLocation_Call) Run ¶
func (_c *Fpdf_SetFontLocation_Call) Run(run func(fontDirStr string)) *Fpdf_SetFontLocation_Call
func (*Fpdf_SetFontLocation_Call) RunAndReturn ¶
func (_c *Fpdf_SetFontLocation_Call) RunAndReturn(run func(string)) *Fpdf_SetFontLocation_Call
type Fpdf_SetFontSize_Call ¶
Fpdf_SetFontSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFontSize'
func (*Fpdf_SetFontSize_Call) Return ¶
func (_c *Fpdf_SetFontSize_Call) Return() *Fpdf_SetFontSize_Call
func (*Fpdf_SetFontSize_Call) Run ¶
func (_c *Fpdf_SetFontSize_Call) Run(run func(size float64)) *Fpdf_SetFontSize_Call
func (*Fpdf_SetFontSize_Call) RunAndReturn ¶
func (_c *Fpdf_SetFontSize_Call) RunAndReturn(run func(float64)) *Fpdf_SetFontSize_Call
type Fpdf_SetFontStyle_Call ¶
Fpdf_SetFontStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFontStyle'
func (*Fpdf_SetFontStyle_Call) Return ¶
func (_c *Fpdf_SetFontStyle_Call) Return() *Fpdf_SetFontStyle_Call
func (*Fpdf_SetFontStyle_Call) Run ¶
func (_c *Fpdf_SetFontStyle_Call) Run(run func(styleStr string)) *Fpdf_SetFontStyle_Call
func (*Fpdf_SetFontStyle_Call) RunAndReturn ¶
func (_c *Fpdf_SetFontStyle_Call) RunAndReturn(run func(string)) *Fpdf_SetFontStyle_Call
type Fpdf_SetFontUnitSize_Call ¶
Fpdf_SetFontUnitSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFontUnitSize'
func (*Fpdf_SetFontUnitSize_Call) Return ¶
func (_c *Fpdf_SetFontUnitSize_Call) Return() *Fpdf_SetFontUnitSize_Call
func (*Fpdf_SetFontUnitSize_Call) Run ¶
func (_c *Fpdf_SetFontUnitSize_Call) Run(run func(size float64)) *Fpdf_SetFontUnitSize_Call
func (*Fpdf_SetFontUnitSize_Call) RunAndReturn ¶
func (_c *Fpdf_SetFontUnitSize_Call) RunAndReturn(run func(float64)) *Fpdf_SetFontUnitSize_Call
type Fpdf_SetFont_Call ¶
Fpdf_SetFont_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFont'
func (*Fpdf_SetFont_Call) Return ¶
func (_c *Fpdf_SetFont_Call) Return() *Fpdf_SetFont_Call
func (*Fpdf_SetFont_Call) Run ¶
func (_c *Fpdf_SetFont_Call) Run(run func(familyStr string, styleStr string, size float64)) *Fpdf_SetFont_Call
func (*Fpdf_SetFont_Call) RunAndReturn ¶
func (_c *Fpdf_SetFont_Call) RunAndReturn(run func(string, string, float64)) *Fpdf_SetFont_Call
type Fpdf_SetFooterFuncLpi_Call ¶
type Fpdf_SetFooterFuncLpi_Call struct {
}Fpdf_SetFooterFuncLpi_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFooterFuncLpi'
func (*Fpdf_SetFooterFuncLpi_Call) Return ¶
func (_c *Fpdf_SetFooterFuncLpi_Call) Return() *Fpdf_SetFooterFuncLpi_Call
func (*Fpdf_SetFooterFuncLpi_Call) Run ¶
func (_c *Fpdf_SetFooterFuncLpi_Call) Run(run func(fnc func(bool))) *Fpdf_SetFooterFuncLpi_Call
func (*Fpdf_SetFooterFuncLpi_Call) RunAndReturn ¶
func (_c *Fpdf_SetFooterFuncLpi_Call) RunAndReturn(run func(func(bool))) *Fpdf_SetFooterFuncLpi_Call
type Fpdf_SetFooterFunc_Call ¶
type Fpdf_SetFooterFunc_Call struct {
}Fpdf_SetFooterFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetFooterFunc'
func (*Fpdf_SetFooterFunc_Call) Return ¶
func (_c *Fpdf_SetFooterFunc_Call) Return() *Fpdf_SetFooterFunc_Call
func (*Fpdf_SetFooterFunc_Call) Run ¶
func (_c *Fpdf_SetFooterFunc_Call) Run(run func(fnc func())) *Fpdf_SetFooterFunc_Call
func (*Fpdf_SetFooterFunc_Call) RunAndReturn ¶
func (_c *Fpdf_SetFooterFunc_Call) RunAndReturn(run func(func())) *Fpdf_SetFooterFunc_Call
type Fpdf_SetHeaderFuncMode_Call ¶
Fpdf_SetHeaderFuncMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeaderFuncMode'
func (*Fpdf_SetHeaderFuncMode_Call) Return ¶
func (_c *Fpdf_SetHeaderFuncMode_Call) Return() *Fpdf_SetHeaderFuncMode_Call
func (*Fpdf_SetHeaderFuncMode_Call) Run ¶
func (_c *Fpdf_SetHeaderFuncMode_Call) Run(run func(fnc func(), homeMode bool)) *Fpdf_SetHeaderFuncMode_Call
func (*Fpdf_SetHeaderFuncMode_Call) RunAndReturn ¶
func (_c *Fpdf_SetHeaderFuncMode_Call) RunAndReturn(run func(func(), bool)) *Fpdf_SetHeaderFuncMode_Call
type Fpdf_SetHeaderFunc_Call ¶
Fpdf_SetHeaderFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHeaderFunc'
func (*Fpdf_SetHeaderFunc_Call) Return ¶
func (_c *Fpdf_SetHeaderFunc_Call) Return() *Fpdf_SetHeaderFunc_Call
func (*Fpdf_SetHeaderFunc_Call) Run ¶
func (_c *Fpdf_SetHeaderFunc_Call) Run(run func(fnc func())) *Fpdf_SetHeaderFunc_Call
func (*Fpdf_SetHeaderFunc_Call) RunAndReturn ¶
func (_c *Fpdf_SetHeaderFunc_Call) RunAndReturn(run func(func())) *Fpdf_SetHeaderFunc_Call
type Fpdf_SetHomeXY_Call ¶
Fpdf_SetHomeXY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetHomeXY'
func (*Fpdf_SetHomeXY_Call) Return ¶
func (_c *Fpdf_SetHomeXY_Call) Return() *Fpdf_SetHomeXY_Call
func (*Fpdf_SetHomeXY_Call) Run ¶
func (_c *Fpdf_SetHomeXY_Call) Run(run func()) *Fpdf_SetHomeXY_Call
func (*Fpdf_SetHomeXY_Call) RunAndReturn ¶
func (_c *Fpdf_SetHomeXY_Call) RunAndReturn(run func()) *Fpdf_SetHomeXY_Call
type Fpdf_SetJavascript_Call ¶
Fpdf_SetJavascript_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetJavascript'
func (*Fpdf_SetJavascript_Call) Return ¶
func (_c *Fpdf_SetJavascript_Call) Return() *Fpdf_SetJavascript_Call
func (*Fpdf_SetJavascript_Call) Run ¶
func (_c *Fpdf_SetJavascript_Call) Run(run func(script string)) *Fpdf_SetJavascript_Call
func (*Fpdf_SetJavascript_Call) RunAndReturn ¶
func (_c *Fpdf_SetJavascript_Call) RunAndReturn(run func(string)) *Fpdf_SetJavascript_Call
type Fpdf_SetKeywords_Call ¶
Fpdf_SetKeywords_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetKeywords'
func (*Fpdf_SetKeywords_Call) Return ¶
func (_c *Fpdf_SetKeywords_Call) Return() *Fpdf_SetKeywords_Call
func (*Fpdf_SetKeywords_Call) Run ¶
func (_c *Fpdf_SetKeywords_Call) Run(run func(keywordsStr string, isUTF8 bool)) *Fpdf_SetKeywords_Call
func (*Fpdf_SetKeywords_Call) RunAndReturn ¶
func (_c *Fpdf_SetKeywords_Call) RunAndReturn(run func(string, bool)) *Fpdf_SetKeywords_Call
type Fpdf_SetLeftMargin_Call ¶
Fpdf_SetLeftMargin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLeftMargin'
func (*Fpdf_SetLeftMargin_Call) Return ¶
func (_c *Fpdf_SetLeftMargin_Call) Return() *Fpdf_SetLeftMargin_Call
func (*Fpdf_SetLeftMargin_Call) Run ¶
func (_c *Fpdf_SetLeftMargin_Call) Run(run func(margin float64)) *Fpdf_SetLeftMargin_Call
func (*Fpdf_SetLeftMargin_Call) RunAndReturn ¶
func (_c *Fpdf_SetLeftMargin_Call) RunAndReturn(run func(float64)) *Fpdf_SetLeftMargin_Call
type Fpdf_SetLineCapStyle_Call ¶
Fpdf_SetLineCapStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLineCapStyle'
func (*Fpdf_SetLineCapStyle_Call) Return ¶
func (_c *Fpdf_SetLineCapStyle_Call) Return() *Fpdf_SetLineCapStyle_Call
func (*Fpdf_SetLineCapStyle_Call) Run ¶
func (_c *Fpdf_SetLineCapStyle_Call) Run(run func(styleStr string)) *Fpdf_SetLineCapStyle_Call
func (*Fpdf_SetLineCapStyle_Call) RunAndReturn ¶
func (_c *Fpdf_SetLineCapStyle_Call) RunAndReturn(run func(string)) *Fpdf_SetLineCapStyle_Call
type Fpdf_SetLineJoinStyle_Call ¶
Fpdf_SetLineJoinStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLineJoinStyle'
func (*Fpdf_SetLineJoinStyle_Call) Return ¶
func (_c *Fpdf_SetLineJoinStyle_Call) Return() *Fpdf_SetLineJoinStyle_Call
func (*Fpdf_SetLineJoinStyle_Call) Run ¶
func (_c *Fpdf_SetLineJoinStyle_Call) Run(run func(styleStr string)) *Fpdf_SetLineJoinStyle_Call
func (*Fpdf_SetLineJoinStyle_Call) RunAndReturn ¶
func (_c *Fpdf_SetLineJoinStyle_Call) RunAndReturn(run func(string)) *Fpdf_SetLineJoinStyle_Call
type Fpdf_SetLineWidth_Call ¶
Fpdf_SetLineWidth_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLineWidth'
func (*Fpdf_SetLineWidth_Call) Return ¶
func (_c *Fpdf_SetLineWidth_Call) Return() *Fpdf_SetLineWidth_Call
func (*Fpdf_SetLineWidth_Call) Run ¶
func (_c *Fpdf_SetLineWidth_Call) Run(run func(width float64)) *Fpdf_SetLineWidth_Call
func (*Fpdf_SetLineWidth_Call) RunAndReturn ¶
func (_c *Fpdf_SetLineWidth_Call) RunAndReturn(run func(float64)) *Fpdf_SetLineWidth_Call
type Fpdf_SetLink_Call ¶
Fpdf_SetLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLink'
func (*Fpdf_SetLink_Call) Return ¶
func (_c *Fpdf_SetLink_Call) Return() *Fpdf_SetLink_Call
func (*Fpdf_SetLink_Call) Run ¶
func (_c *Fpdf_SetLink_Call) Run(run func(link int, y float64, page int)) *Fpdf_SetLink_Call
func (*Fpdf_SetLink_Call) RunAndReturn ¶
func (_c *Fpdf_SetLink_Call) RunAndReturn(run func(int, float64, int)) *Fpdf_SetLink_Call
type Fpdf_SetMargins_Call ¶
Fpdf_SetMargins_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMargins'
func (*Fpdf_SetMargins_Call) Return ¶
func (_c *Fpdf_SetMargins_Call) Return() *Fpdf_SetMargins_Call
func (*Fpdf_SetMargins_Call) Run ¶
func (_c *Fpdf_SetMargins_Call) Run(run func(left float64, top float64, right float64)) *Fpdf_SetMargins_Call
func (*Fpdf_SetMargins_Call) RunAndReturn ¶
func (_c *Fpdf_SetMargins_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_SetMargins_Call
type Fpdf_SetPageBoxRec_Call ¶
Fpdf_SetPageBoxRec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPageBoxRec'
func (*Fpdf_SetPageBoxRec_Call) Return ¶
func (_c *Fpdf_SetPageBoxRec_Call) Return() *Fpdf_SetPageBoxRec_Call
func (*Fpdf_SetPageBoxRec_Call) Run ¶
func (_c *Fpdf_SetPageBoxRec_Call) Run(run func(t string, pb gofpdf.PageBox)) *Fpdf_SetPageBoxRec_Call
func (*Fpdf_SetPageBoxRec_Call) RunAndReturn ¶
func (_c *Fpdf_SetPageBoxRec_Call) RunAndReturn(run func(string, gofpdf.PageBox)) *Fpdf_SetPageBoxRec_Call
type Fpdf_SetPageBox_Call ¶
Fpdf_SetPageBox_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPageBox'
func (*Fpdf_SetPageBox_Call) Return ¶
func (_c *Fpdf_SetPageBox_Call) Return() *Fpdf_SetPageBox_Call
func (*Fpdf_SetPageBox_Call) Run ¶
func (_c *Fpdf_SetPageBox_Call) Run(run func(t string, x float64, y float64, wd float64, ht float64)) *Fpdf_SetPageBox_Call
func (*Fpdf_SetPageBox_Call) RunAndReturn ¶
func (_c *Fpdf_SetPageBox_Call) RunAndReturn(run func(string, float64, float64, float64, float64)) *Fpdf_SetPageBox_Call
type Fpdf_SetPage_Call ¶
Fpdf_SetPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetPage'
func (*Fpdf_SetPage_Call) Return ¶
func (_c *Fpdf_SetPage_Call) Return() *Fpdf_SetPage_Call
func (*Fpdf_SetPage_Call) Run ¶
func (_c *Fpdf_SetPage_Call) Run(run func(pageNum int)) *Fpdf_SetPage_Call
func (*Fpdf_SetPage_Call) RunAndReturn ¶
func (_c *Fpdf_SetPage_Call) RunAndReturn(run func(int)) *Fpdf_SetPage_Call
type Fpdf_SetProtection_Call ¶
Fpdf_SetProtection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProtection'
func (*Fpdf_SetProtection_Call) Return ¶
func (_c *Fpdf_SetProtection_Call) Return() *Fpdf_SetProtection_Call
func (*Fpdf_SetProtection_Call) Run ¶
func (_c *Fpdf_SetProtection_Call) Run(run func(actionFlag byte, userPassStr string, ownerPassStr string)) *Fpdf_SetProtection_Call
func (*Fpdf_SetProtection_Call) RunAndReturn ¶
func (_c *Fpdf_SetProtection_Call) RunAndReturn(run func(byte, string, string)) *Fpdf_SetProtection_Call
type Fpdf_SetRightMargin_Call ¶
Fpdf_SetRightMargin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetRightMargin'
func (*Fpdf_SetRightMargin_Call) Return ¶
func (_c *Fpdf_SetRightMargin_Call) Return() *Fpdf_SetRightMargin_Call
func (*Fpdf_SetRightMargin_Call) Run ¶
func (_c *Fpdf_SetRightMargin_Call) Run(run func(margin float64)) *Fpdf_SetRightMargin_Call
func (*Fpdf_SetRightMargin_Call) RunAndReturn ¶
func (_c *Fpdf_SetRightMargin_Call) RunAndReturn(run func(float64)) *Fpdf_SetRightMargin_Call
type Fpdf_SetSubject_Call ¶
Fpdf_SetSubject_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetSubject'
func (*Fpdf_SetSubject_Call) Return ¶
func (_c *Fpdf_SetSubject_Call) Return() *Fpdf_SetSubject_Call
func (*Fpdf_SetSubject_Call) Run ¶
func (_c *Fpdf_SetSubject_Call) Run(run func(subjectStr string, isUTF8 bool)) *Fpdf_SetSubject_Call
func (*Fpdf_SetSubject_Call) RunAndReturn ¶
func (_c *Fpdf_SetSubject_Call) RunAndReturn(run func(string, bool)) *Fpdf_SetSubject_Call
type Fpdf_SetTextColor_Call ¶
Fpdf_SetTextColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTextColor'
func (*Fpdf_SetTextColor_Call) Return ¶
func (_c *Fpdf_SetTextColor_Call) Return() *Fpdf_SetTextColor_Call
func (*Fpdf_SetTextColor_Call) Run ¶
func (_c *Fpdf_SetTextColor_Call) Run(run func(r int, g int, b int)) *Fpdf_SetTextColor_Call
func (*Fpdf_SetTextColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetTextColor_Call) RunAndReturn(run func(int, int, int)) *Fpdf_SetTextColor_Call
type Fpdf_SetTextSpotColor_Call ¶
Fpdf_SetTextSpotColor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTextSpotColor'
func (*Fpdf_SetTextSpotColor_Call) Return ¶
func (_c *Fpdf_SetTextSpotColor_Call) Return() *Fpdf_SetTextSpotColor_Call
func (*Fpdf_SetTextSpotColor_Call) Run ¶
func (_c *Fpdf_SetTextSpotColor_Call) Run(run func(nameStr string, tint byte)) *Fpdf_SetTextSpotColor_Call
func (*Fpdf_SetTextSpotColor_Call) RunAndReturn ¶
func (_c *Fpdf_SetTextSpotColor_Call) RunAndReturn(run func(string, byte)) *Fpdf_SetTextSpotColor_Call
type Fpdf_SetTitle_Call ¶
Fpdf_SetTitle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTitle'
func (*Fpdf_SetTitle_Call) Return ¶
func (_c *Fpdf_SetTitle_Call) Return() *Fpdf_SetTitle_Call
func (*Fpdf_SetTitle_Call) Run ¶
func (_c *Fpdf_SetTitle_Call) Run(run func(titleStr string, isUTF8 bool)) *Fpdf_SetTitle_Call
func (*Fpdf_SetTitle_Call) RunAndReturn ¶
func (_c *Fpdf_SetTitle_Call) RunAndReturn(run func(string, bool)) *Fpdf_SetTitle_Call
type Fpdf_SetTopMargin_Call ¶
Fpdf_SetTopMargin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetTopMargin'
func (*Fpdf_SetTopMargin_Call) Return ¶
func (_c *Fpdf_SetTopMargin_Call) Return() *Fpdf_SetTopMargin_Call
func (*Fpdf_SetTopMargin_Call) Run ¶
func (_c *Fpdf_SetTopMargin_Call) Run(run func(margin float64)) *Fpdf_SetTopMargin_Call
func (*Fpdf_SetTopMargin_Call) RunAndReturn ¶
func (_c *Fpdf_SetTopMargin_Call) RunAndReturn(run func(float64)) *Fpdf_SetTopMargin_Call
type Fpdf_SetUnderlineThickness_Call ¶
Fpdf_SetUnderlineThickness_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetUnderlineThickness'
func (*Fpdf_SetUnderlineThickness_Call) Return ¶
func (_c *Fpdf_SetUnderlineThickness_Call) Return() *Fpdf_SetUnderlineThickness_Call
func (*Fpdf_SetUnderlineThickness_Call) Run ¶
func (_c *Fpdf_SetUnderlineThickness_Call) Run(run func(thickness float64)) *Fpdf_SetUnderlineThickness_Call
func (*Fpdf_SetUnderlineThickness_Call) RunAndReturn ¶
func (_c *Fpdf_SetUnderlineThickness_Call) RunAndReturn(run func(float64)) *Fpdf_SetUnderlineThickness_Call
type Fpdf_SetXY_Call ¶
Fpdf_SetXY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetXY'
func (*Fpdf_SetXY_Call) Return ¶
func (_c *Fpdf_SetXY_Call) Return() *Fpdf_SetXY_Call
func (*Fpdf_SetXY_Call) Run ¶
func (_c *Fpdf_SetXY_Call) Run(run func(x float64, y float64)) *Fpdf_SetXY_Call
func (*Fpdf_SetXY_Call) RunAndReturn ¶
func (_c *Fpdf_SetXY_Call) RunAndReturn(run func(float64, float64)) *Fpdf_SetXY_Call
type Fpdf_SetX_Call ¶
Fpdf_SetX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetX'
func (*Fpdf_SetX_Call) Return ¶
func (_c *Fpdf_SetX_Call) Return() *Fpdf_SetX_Call
func (*Fpdf_SetX_Call) Run ¶
func (_c *Fpdf_SetX_Call) Run(run func(x float64)) *Fpdf_SetX_Call
func (*Fpdf_SetX_Call) RunAndReturn ¶
func (_c *Fpdf_SetX_Call) RunAndReturn(run func(float64)) *Fpdf_SetX_Call
type Fpdf_SetXmpMetadata_Call ¶
Fpdf_SetXmpMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetXmpMetadata'
func (*Fpdf_SetXmpMetadata_Call) Return ¶
func (_c *Fpdf_SetXmpMetadata_Call) Return() *Fpdf_SetXmpMetadata_Call
func (*Fpdf_SetXmpMetadata_Call) Run ¶
func (_c *Fpdf_SetXmpMetadata_Call) Run(run func(xmpStream []byte)) *Fpdf_SetXmpMetadata_Call
func (*Fpdf_SetXmpMetadata_Call) RunAndReturn ¶
func (_c *Fpdf_SetXmpMetadata_Call) RunAndReturn(run func([]byte)) *Fpdf_SetXmpMetadata_Call
type Fpdf_SetY_Call ¶
Fpdf_SetY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetY'
func (*Fpdf_SetY_Call) Return ¶
func (_c *Fpdf_SetY_Call) Return() *Fpdf_SetY_Call
func (*Fpdf_SetY_Call) Run ¶
func (_c *Fpdf_SetY_Call) Run(run func(y float64)) *Fpdf_SetY_Call
func (*Fpdf_SetY_Call) RunAndReturn ¶
func (_c *Fpdf_SetY_Call) RunAndReturn(run func(float64)) *Fpdf_SetY_Call
type Fpdf_SplitLines_Call ¶
Fpdf_SplitLines_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SplitLines'
func (*Fpdf_SplitLines_Call) Return ¶
func (_c *Fpdf_SplitLines_Call) Return(_a0 [][]byte) *Fpdf_SplitLines_Call
func (*Fpdf_SplitLines_Call) Run ¶
func (_c *Fpdf_SplitLines_Call) Run(run func(txt []byte, w float64)) *Fpdf_SplitLines_Call
func (*Fpdf_SplitLines_Call) RunAndReturn ¶
func (_c *Fpdf_SplitLines_Call) RunAndReturn(run func([]byte, float64) [][]byte) *Fpdf_SplitLines_Call
type Fpdf_String_Call ¶
Fpdf_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*Fpdf_String_Call) Return ¶
func (_c *Fpdf_String_Call) Return(_a0 string) *Fpdf_String_Call
func (*Fpdf_String_Call) Run ¶
func (_c *Fpdf_String_Call) Run(run func()) *Fpdf_String_Call
func (*Fpdf_String_Call) RunAndReturn ¶
func (_c *Fpdf_String_Call) RunAndReturn(run func() string) *Fpdf_String_Call
type Fpdf_Text_Call ¶
Fpdf_Text_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Text'
func (*Fpdf_Text_Call) Return ¶
func (_c *Fpdf_Text_Call) Return() *Fpdf_Text_Call
func (*Fpdf_Text_Call) Run ¶
func (_c *Fpdf_Text_Call) Run(run func(x float64, y float64, txtStr string)) *Fpdf_Text_Call
func (*Fpdf_Text_Call) RunAndReturn ¶
func (_c *Fpdf_Text_Call) RunAndReturn(run func(float64, float64, string)) *Fpdf_Text_Call
type Fpdf_TransformBegin_Call ¶
Fpdf_TransformBegin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformBegin'
func (*Fpdf_TransformBegin_Call) Return ¶
func (_c *Fpdf_TransformBegin_Call) Return() *Fpdf_TransformBegin_Call
func (*Fpdf_TransformBegin_Call) Run ¶
func (_c *Fpdf_TransformBegin_Call) Run(run func()) *Fpdf_TransformBegin_Call
func (*Fpdf_TransformBegin_Call) RunAndReturn ¶
func (_c *Fpdf_TransformBegin_Call) RunAndReturn(run func()) *Fpdf_TransformBegin_Call
type Fpdf_TransformEnd_Call ¶
Fpdf_TransformEnd_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformEnd'
func (*Fpdf_TransformEnd_Call) Return ¶
func (_c *Fpdf_TransformEnd_Call) Return() *Fpdf_TransformEnd_Call
func (*Fpdf_TransformEnd_Call) Run ¶
func (_c *Fpdf_TransformEnd_Call) Run(run func()) *Fpdf_TransformEnd_Call
func (*Fpdf_TransformEnd_Call) RunAndReturn ¶
func (_c *Fpdf_TransformEnd_Call) RunAndReturn(run func()) *Fpdf_TransformEnd_Call
type Fpdf_TransformMirrorHorizontal_Call ¶
Fpdf_TransformMirrorHorizontal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformMirrorHorizontal'
func (*Fpdf_TransformMirrorHorizontal_Call) Return ¶
func (_c *Fpdf_TransformMirrorHorizontal_Call) Return() *Fpdf_TransformMirrorHorizontal_Call
func (*Fpdf_TransformMirrorHorizontal_Call) Run ¶
func (_c *Fpdf_TransformMirrorHorizontal_Call) Run(run func(x float64)) *Fpdf_TransformMirrorHorizontal_Call
func (*Fpdf_TransformMirrorHorizontal_Call) RunAndReturn ¶
func (_c *Fpdf_TransformMirrorHorizontal_Call) RunAndReturn(run func(float64)) *Fpdf_TransformMirrorHorizontal_Call
type Fpdf_TransformMirrorLine_Call ¶
Fpdf_TransformMirrorLine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformMirrorLine'
func (*Fpdf_TransformMirrorLine_Call) Return ¶
func (_c *Fpdf_TransformMirrorLine_Call) Return() *Fpdf_TransformMirrorLine_Call
func (*Fpdf_TransformMirrorLine_Call) Run ¶
func (_c *Fpdf_TransformMirrorLine_Call) Run(run func(angle float64, x float64, y float64)) *Fpdf_TransformMirrorLine_Call
func (*Fpdf_TransformMirrorLine_Call) RunAndReturn ¶
func (_c *Fpdf_TransformMirrorLine_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformMirrorLine_Call
type Fpdf_TransformMirrorPoint_Call ¶
Fpdf_TransformMirrorPoint_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformMirrorPoint'
func (*Fpdf_TransformMirrorPoint_Call) Return ¶
func (_c *Fpdf_TransformMirrorPoint_Call) Return() *Fpdf_TransformMirrorPoint_Call
func (*Fpdf_TransformMirrorPoint_Call) Run ¶
func (_c *Fpdf_TransformMirrorPoint_Call) Run(run func(x float64, y float64)) *Fpdf_TransformMirrorPoint_Call
func (*Fpdf_TransformMirrorPoint_Call) RunAndReturn ¶
func (_c *Fpdf_TransformMirrorPoint_Call) RunAndReturn(run func(float64, float64)) *Fpdf_TransformMirrorPoint_Call
type Fpdf_TransformMirrorVertical_Call ¶
Fpdf_TransformMirrorVertical_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformMirrorVertical'
func (*Fpdf_TransformMirrorVertical_Call) Return ¶
func (_c *Fpdf_TransformMirrorVertical_Call) Return() *Fpdf_TransformMirrorVertical_Call
func (*Fpdf_TransformMirrorVertical_Call) Run ¶
func (_c *Fpdf_TransformMirrorVertical_Call) Run(run func(y float64)) *Fpdf_TransformMirrorVertical_Call
func (*Fpdf_TransformMirrorVertical_Call) RunAndReturn ¶
func (_c *Fpdf_TransformMirrorVertical_Call) RunAndReturn(run func(float64)) *Fpdf_TransformMirrorVertical_Call
type Fpdf_TransformRotate_Call ¶
Fpdf_TransformRotate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformRotate'
func (*Fpdf_TransformRotate_Call) Return ¶
func (_c *Fpdf_TransformRotate_Call) Return() *Fpdf_TransformRotate_Call
func (*Fpdf_TransformRotate_Call) Run ¶
func (_c *Fpdf_TransformRotate_Call) Run(run func(angle float64, x float64, y float64)) *Fpdf_TransformRotate_Call
func (*Fpdf_TransformRotate_Call) RunAndReturn ¶
func (_c *Fpdf_TransformRotate_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformRotate_Call
type Fpdf_TransformScaleXY_Call ¶
Fpdf_TransformScaleXY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformScaleXY'
func (*Fpdf_TransformScaleXY_Call) Return ¶
func (_c *Fpdf_TransformScaleXY_Call) Return() *Fpdf_TransformScaleXY_Call
func (*Fpdf_TransformScaleXY_Call) Run ¶
func (_c *Fpdf_TransformScaleXY_Call) Run(run func(s float64, x float64, y float64)) *Fpdf_TransformScaleXY_Call
func (*Fpdf_TransformScaleXY_Call) RunAndReturn ¶
func (_c *Fpdf_TransformScaleXY_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleXY_Call
type Fpdf_TransformScaleX_Call ¶
Fpdf_TransformScaleX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformScaleX'
func (*Fpdf_TransformScaleX_Call) Return ¶
func (_c *Fpdf_TransformScaleX_Call) Return() *Fpdf_TransformScaleX_Call
func (*Fpdf_TransformScaleX_Call) Run ¶
func (_c *Fpdf_TransformScaleX_Call) Run(run func(scaleWd float64, x float64, y float64)) *Fpdf_TransformScaleX_Call
func (*Fpdf_TransformScaleX_Call) RunAndReturn ¶
func (_c *Fpdf_TransformScaleX_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleX_Call
type Fpdf_TransformScaleY_Call ¶
Fpdf_TransformScaleY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformScaleY'
func (*Fpdf_TransformScaleY_Call) Return ¶
func (_c *Fpdf_TransformScaleY_Call) Return() *Fpdf_TransformScaleY_Call
func (*Fpdf_TransformScaleY_Call) Run ¶
func (_c *Fpdf_TransformScaleY_Call) Run(run func(scaleHt float64, x float64, y float64)) *Fpdf_TransformScaleY_Call
func (*Fpdf_TransformScaleY_Call) RunAndReturn ¶
func (_c *Fpdf_TransformScaleY_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformScaleY_Call
type Fpdf_TransformScale_Call ¶
Fpdf_TransformScale_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformScale'
func (*Fpdf_TransformScale_Call) Return ¶
func (_c *Fpdf_TransformScale_Call) Return() *Fpdf_TransformScale_Call
func (*Fpdf_TransformScale_Call) Run ¶
func (_c *Fpdf_TransformScale_Call) Run(run func(scaleWd float64, scaleHt float64, x float64, y float64)) *Fpdf_TransformScale_Call
func (*Fpdf_TransformScale_Call) RunAndReturn ¶
func (_c *Fpdf_TransformScale_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_TransformScale_Call
type Fpdf_TransformSkewX_Call ¶
Fpdf_TransformSkewX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformSkewX'
func (*Fpdf_TransformSkewX_Call) Return ¶
func (_c *Fpdf_TransformSkewX_Call) Return() *Fpdf_TransformSkewX_Call
func (*Fpdf_TransformSkewX_Call) Run ¶
func (_c *Fpdf_TransformSkewX_Call) Run(run func(angleX float64, x float64, y float64)) *Fpdf_TransformSkewX_Call
func (*Fpdf_TransformSkewX_Call) RunAndReturn ¶
func (_c *Fpdf_TransformSkewX_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformSkewX_Call
type Fpdf_TransformSkewY_Call ¶
Fpdf_TransformSkewY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformSkewY'
func (*Fpdf_TransformSkewY_Call) Return ¶
func (_c *Fpdf_TransformSkewY_Call) Return() *Fpdf_TransformSkewY_Call
func (*Fpdf_TransformSkewY_Call) Run ¶
func (_c *Fpdf_TransformSkewY_Call) Run(run func(angleY float64, x float64, y float64)) *Fpdf_TransformSkewY_Call
func (*Fpdf_TransformSkewY_Call) RunAndReturn ¶
func (_c *Fpdf_TransformSkewY_Call) RunAndReturn(run func(float64, float64, float64)) *Fpdf_TransformSkewY_Call
type Fpdf_TransformSkew_Call ¶
Fpdf_TransformSkew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformSkew'
func (*Fpdf_TransformSkew_Call) Return ¶
func (_c *Fpdf_TransformSkew_Call) Return() *Fpdf_TransformSkew_Call
func (*Fpdf_TransformSkew_Call) Run ¶
func (_c *Fpdf_TransformSkew_Call) Run(run func(angleX float64, angleY float64, x float64, y float64)) *Fpdf_TransformSkew_Call
func (*Fpdf_TransformSkew_Call) RunAndReturn ¶
func (_c *Fpdf_TransformSkew_Call) RunAndReturn(run func(float64, float64, float64, float64)) *Fpdf_TransformSkew_Call
type Fpdf_TransformTranslateX_Call ¶
Fpdf_TransformTranslateX_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformTranslateX'
func (*Fpdf_TransformTranslateX_Call) Return ¶
func (_c *Fpdf_TransformTranslateX_Call) Return() *Fpdf_TransformTranslateX_Call
func (*Fpdf_TransformTranslateX_Call) Run ¶
func (_c *Fpdf_TransformTranslateX_Call) Run(run func(tx float64)) *Fpdf_TransformTranslateX_Call
func (*Fpdf_TransformTranslateX_Call) RunAndReturn ¶
func (_c *Fpdf_TransformTranslateX_Call) RunAndReturn(run func(float64)) *Fpdf_TransformTranslateX_Call
type Fpdf_TransformTranslateY_Call ¶
Fpdf_TransformTranslateY_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformTranslateY'
func (*Fpdf_TransformTranslateY_Call) Return ¶
func (_c *Fpdf_TransformTranslateY_Call) Return() *Fpdf_TransformTranslateY_Call
func (*Fpdf_TransformTranslateY_Call) Run ¶
func (_c *Fpdf_TransformTranslateY_Call) Run(run func(ty float64)) *Fpdf_TransformTranslateY_Call
func (*Fpdf_TransformTranslateY_Call) RunAndReturn ¶
func (_c *Fpdf_TransformTranslateY_Call) RunAndReturn(run func(float64)) *Fpdf_TransformTranslateY_Call
type Fpdf_TransformTranslate_Call ¶
Fpdf_TransformTranslate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransformTranslate'
func (*Fpdf_TransformTranslate_Call) Return ¶
func (_c *Fpdf_TransformTranslate_Call) Return() *Fpdf_TransformTranslate_Call
func (*Fpdf_TransformTranslate_Call) Run ¶
func (_c *Fpdf_TransformTranslate_Call) Run(run func(tx float64, ty float64)) *Fpdf_TransformTranslate_Call
func (*Fpdf_TransformTranslate_Call) RunAndReturn ¶
func (_c *Fpdf_TransformTranslate_Call) RunAndReturn(run func(float64, float64)) *Fpdf_TransformTranslate_Call
type Fpdf_Transform_Call ¶
Fpdf_Transform_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Transform'
func (*Fpdf_Transform_Call) Return ¶
func (_c *Fpdf_Transform_Call) Return() *Fpdf_Transform_Call
func (*Fpdf_Transform_Call) Run ¶
func (_c *Fpdf_Transform_Call) Run(run func(tm gofpdf.TransformMatrix)) *Fpdf_Transform_Call
func (*Fpdf_Transform_Call) RunAndReturn ¶
func (_c *Fpdf_Transform_Call) RunAndReturn(run func(gofpdf.TransformMatrix)) *Fpdf_Transform_Call
type Fpdf_UnicodeTranslatorFromDescriptor_Call ¶
Fpdf_UnicodeTranslatorFromDescriptor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnicodeTranslatorFromDescriptor'
func (*Fpdf_UnicodeTranslatorFromDescriptor_Call) Return ¶
func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) Return(rep func(string) string) *Fpdf_UnicodeTranslatorFromDescriptor_Call
func (*Fpdf_UnicodeTranslatorFromDescriptor_Call) Run ¶
func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) Run(run func(cpStr string)) *Fpdf_UnicodeTranslatorFromDescriptor_Call
func (*Fpdf_UnicodeTranslatorFromDescriptor_Call) RunAndReturn ¶
func (_c *Fpdf_UnicodeTranslatorFromDescriptor_Call) RunAndReturn(run func(string) func(string) string) *Fpdf_UnicodeTranslatorFromDescriptor_Call
type Fpdf_UnitToPointConvert_Call ¶
Fpdf_UnitToPointConvert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnitToPointConvert'
func (*Fpdf_UnitToPointConvert_Call) Return ¶
func (_c *Fpdf_UnitToPointConvert_Call) Return(pt float64) *Fpdf_UnitToPointConvert_Call
func (*Fpdf_UnitToPointConvert_Call) Run ¶
func (_c *Fpdf_UnitToPointConvert_Call) Run(run func(u float64)) *Fpdf_UnitToPointConvert_Call
func (*Fpdf_UnitToPointConvert_Call) RunAndReturn ¶
func (_c *Fpdf_UnitToPointConvert_Call) RunAndReturn(run func(float64) float64) *Fpdf_UnitToPointConvert_Call
type Fpdf_UseTemplateScaled_Call ¶
Fpdf_UseTemplateScaled_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UseTemplateScaled'
func (*Fpdf_UseTemplateScaled_Call) Return ¶
func (_c *Fpdf_UseTemplateScaled_Call) Return() *Fpdf_UseTemplateScaled_Call
func (*Fpdf_UseTemplateScaled_Call) Run ¶
func (_c *Fpdf_UseTemplateScaled_Call) Run(run func(t gofpdf.Template, corner gofpdf.PointType, size gofpdf.SizeType)) *Fpdf_UseTemplateScaled_Call
func (*Fpdf_UseTemplateScaled_Call) RunAndReturn ¶
func (_c *Fpdf_UseTemplateScaled_Call) RunAndReturn(run func(gofpdf.Template, gofpdf.PointType, gofpdf.SizeType)) *Fpdf_UseTemplateScaled_Call
type Fpdf_UseTemplate_Call ¶
Fpdf_UseTemplate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UseTemplate'
func (*Fpdf_UseTemplate_Call) Return ¶
func (_c *Fpdf_UseTemplate_Call) Return() *Fpdf_UseTemplate_Call
func (*Fpdf_UseTemplate_Call) Run ¶
func (_c *Fpdf_UseTemplate_Call) Run(run func(t gofpdf.Template)) *Fpdf_UseTemplate_Call
func (*Fpdf_UseTemplate_Call) RunAndReturn ¶
func (_c *Fpdf_UseTemplate_Call) RunAndReturn(run func(gofpdf.Template)) *Fpdf_UseTemplate_Call
type Fpdf_WriteAligned_Call ¶
Fpdf_WriteAligned_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteAligned'
func (*Fpdf_WriteAligned_Call) Return ¶
func (_c *Fpdf_WriteAligned_Call) Return() *Fpdf_WriteAligned_Call
func (*Fpdf_WriteAligned_Call) Run ¶
func (_c *Fpdf_WriteAligned_Call) Run(run func(width float64, lineHeight float64, textStr string, alignStr string)) *Fpdf_WriteAligned_Call
func (*Fpdf_WriteAligned_Call) RunAndReturn ¶
func (_c *Fpdf_WriteAligned_Call) RunAndReturn(run func(float64, float64, string, string)) *Fpdf_WriteAligned_Call
type Fpdf_WriteLinkID_Call ¶
Fpdf_WriteLinkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLinkID'
func (*Fpdf_WriteLinkID_Call) Return ¶
func (_c *Fpdf_WriteLinkID_Call) Return() *Fpdf_WriteLinkID_Call
func (*Fpdf_WriteLinkID_Call) Run ¶
func (_c *Fpdf_WriteLinkID_Call) Run(run func(h float64, displayStr string, linkID int)) *Fpdf_WriteLinkID_Call
func (*Fpdf_WriteLinkID_Call) RunAndReturn ¶
func (_c *Fpdf_WriteLinkID_Call) RunAndReturn(run func(float64, string, int)) *Fpdf_WriteLinkID_Call
type Fpdf_WriteLinkString_Call ¶
Fpdf_WriteLinkString_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WriteLinkString'
func (*Fpdf_WriteLinkString_Call) Return ¶
func (_c *Fpdf_WriteLinkString_Call) Return() *Fpdf_WriteLinkString_Call
func (*Fpdf_WriteLinkString_Call) Run ¶
func (_c *Fpdf_WriteLinkString_Call) Run(run func(h float64, displayStr string, targetStr string)) *Fpdf_WriteLinkString_Call
func (*Fpdf_WriteLinkString_Call) RunAndReturn ¶
func (_c *Fpdf_WriteLinkString_Call) RunAndReturn(run func(float64, string, string)) *Fpdf_WriteLinkString_Call
type Fpdf_Write_Call ¶
Fpdf_Write_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Write'
func (*Fpdf_Write_Call) Return ¶
func (_c *Fpdf_Write_Call) Return() *Fpdf_Write_Call
func (*Fpdf_Write_Call) Run ¶
func (_c *Fpdf_Write_Call) Run(run func(h float64, txtStr string)) *Fpdf_Write_Call
func (*Fpdf_Write_Call) RunAndReturn ¶
func (_c *Fpdf_Write_Call) RunAndReturn(run func(float64, string)) *Fpdf_Write_Call
type Fpdf_Writef_Call ¶
Fpdf_Writef_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Writef'
func (*Fpdf_Writef_Call) Return ¶
func (_c *Fpdf_Writef_Call) Return() *Fpdf_Writef_Call
func (*Fpdf_Writef_Call) Run ¶
func (_c *Fpdf_Writef_Call) Run(run func(h float64, fmtStr string, args ...interface{})) *Fpdf_Writef_Call
func (*Fpdf_Writef_Call) RunAndReturn ¶
func (_c *Fpdf_Writef_Call) RunAndReturn(run func(float64, string, ...interface{})) *Fpdf_Writef_Call
type Image ¶
Image is an autogenerated mock type for the Image type
func NewImage ¶
NewImage creates a new instance of Image. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Image) Add ¶
func (_m *Image) Add(img *entity.Image, cell *entity.Cell, margins *entity.Margins, prop *props.Rect, _a4 extension.Type, flow bool) error
Add provides a mock function with given fields: img, cell, margins, prop, _a4, flow
func (*Image) EXPECT ¶
func (_m *Image) EXPECT() *Image_Expecter
type Image_Add_Call ¶
Image_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Image_Add_Call) Return ¶
func (_c *Image_Add_Call) Return(_a0 error) *Image_Add_Call
type Image_Expecter ¶
type Image_Expecter struct {
// contains filtered or unexported fields
}
func (*Image_Expecter) Add ¶
func (_e *Image_Expecter) Add(img interface{}, cell interface{}, margins interface{}, prop interface{}, _a4 interface{}, flow interface{}) *Image_Add_Call
Add is a helper method to define mock.On call
- img *entity.Image
- cell *entity.Cell
- margins *entity.Margins
- prop *props.Rect
- _a4 extension.Type
- flow bool
type Line ¶
Line is an autogenerated mock type for the Line type
func NewLine ¶
NewLine creates a new instance of Line. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Line) EXPECT ¶
func (_m *Line) EXPECT() *Line_Expecter
type Line_Add_Call ¶
Line_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Line_Add_Call) Return ¶
func (_c *Line_Add_Call) Return() *Line_Add_Call
func (*Line_Add_Call) Run ¶
func (_c *Line_Add_Call) Run(run func(cell *entity.Cell, prop *props.Line)) *Line_Add_Call
func (*Line_Add_Call) RunAndReturn ¶
func (_c *Line_Add_Call) RunAndReturn(run func(*entity.Cell, *props.Line)) *Line_Add_Call
type Line_Expecter ¶
type Line_Expecter struct {
// contains filtered or unexported fields
}
func (*Line_Expecter) Add ¶
func (_e *Line_Expecter) Add(cell interface{}, prop interface{}) *Line_Add_Call
Add is a helper method to define mock.On call
- cell *entity.Cell
- prop *props.Line
type Listable ¶
Listable is an autogenerated mock type for the Listable type
func NewListable ¶
NewListable creates a new instance of Listable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Listable) EXPECT ¶
func (_m *Listable) EXPECT() *Listable_Expecter
func (*Listable) GetContent ¶
GetContent provides a mock function with given fields: i
type Listable_Expecter ¶
type Listable_Expecter struct {
// contains filtered or unexported fields
}
func (*Listable_Expecter) GetContent ¶
func (_e *Listable_Expecter) GetContent(i interface{}) *Listable_GetContent_Call
GetContent is a helper method to define mock.On call
- i int
func (*Listable_Expecter) GetHeader ¶
func (_e *Listable_Expecter) GetHeader() *Listable_GetHeader_Call
GetHeader is a helper method to define mock.On call
type Listable_GetContent_Call ¶
Listable_GetContent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContent'
func (*Listable_GetContent_Call) Return ¶
func (_c *Listable_GetContent_Call) Return(_a0 core.Row) *Listable_GetContent_Call
func (*Listable_GetContent_Call) Run ¶
func (_c *Listable_GetContent_Call) Run(run func(i int)) *Listable_GetContent_Call
func (*Listable_GetContent_Call) RunAndReturn ¶
func (_c *Listable_GetContent_Call) RunAndReturn(run func(int) core.Row) *Listable_GetContent_Call
type Listable_GetHeader_Call ¶
Listable_GetHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeader'
func (*Listable_GetHeader_Call) Return ¶
func (_c *Listable_GetHeader_Call) Return(_a0 core.Row) *Listable_GetHeader_Call
func (*Listable_GetHeader_Call) Run ¶
func (_c *Listable_GetHeader_Call) Run(run func()) *Listable_GetHeader_Call
func (*Listable_GetHeader_Call) RunAndReturn ¶
func (_c *Listable_GetHeader_Call) RunAndReturn(run func() core.Row) *Listable_GetHeader_Call
type Maroto ¶
Maroto is an autogenerated mock type for the Maroto type
func NewMaroto ¶
NewMaroto creates a new instance of Maroto. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Maroto) EXPECT ¶
func (_m *Maroto) EXPECT() *Maroto_Expecter
func (*Maroto) FitlnCurrentPage ¶
FitlnCurrentPage provides a mock function with given fields: heightNewLine
func (*Maroto) GetStructure ¶
GetStructure provides a mock function with given fields:
func (*Maroto) RegisterFooter ¶
RegisterFooter provides a mock function with given fields: rows
type Maroto_AddPages_Call ¶
Maroto_AddPages_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddPages'
func (*Maroto_AddPages_Call) Return ¶
func (_c *Maroto_AddPages_Call) Return() *Maroto_AddPages_Call
func (*Maroto_AddPages_Call) Run ¶
func (_c *Maroto_AddPages_Call) Run(run func(pages ...core.Page)) *Maroto_AddPages_Call
func (*Maroto_AddPages_Call) RunAndReturn ¶
func (_c *Maroto_AddPages_Call) RunAndReturn(run func(...core.Page)) *Maroto_AddPages_Call
type Maroto_AddRow_Call ¶
Maroto_AddRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddRow'
func (*Maroto_AddRow_Call) Return ¶
func (_c *Maroto_AddRow_Call) Return(_a0 core.Row) *Maroto_AddRow_Call
func (*Maroto_AddRow_Call) Run ¶
func (_c *Maroto_AddRow_Call) Run(run func(rowHeight float64, cols ...core.Col)) *Maroto_AddRow_Call
func (*Maroto_AddRow_Call) RunAndReturn ¶
func (_c *Maroto_AddRow_Call) RunAndReturn(run func(float64, ...core.Col) core.Row) *Maroto_AddRow_Call
type Maroto_AddRows_Call ¶
Maroto_AddRows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddRows'
func (*Maroto_AddRows_Call) Return ¶
func (_c *Maroto_AddRows_Call) Return() *Maroto_AddRows_Call
func (*Maroto_AddRows_Call) Run ¶
func (_c *Maroto_AddRows_Call) Run(run func(rows ...core.Row)) *Maroto_AddRows_Call
func (*Maroto_AddRows_Call) RunAndReturn ¶
func (_c *Maroto_AddRows_Call) RunAndReturn(run func(...core.Row)) *Maroto_AddRows_Call
type Maroto_Expecter ¶
type Maroto_Expecter struct {
// contains filtered or unexported fields
}
func (*Maroto_Expecter) AddPages ¶
func (_e *Maroto_Expecter) AddPages(pages ...interface{}) *Maroto_AddPages_Call
AddPages is a helper method to define mock.On call
- pages ...core.Page
func (*Maroto_Expecter) AddRow ¶
func (_e *Maroto_Expecter) AddRow(rowHeight interface{}, cols ...interface{}) *Maroto_AddRow_Call
AddRow is a helper method to define mock.On call
- rowHeight float64
- cols ...core.Col
func (*Maroto_Expecter) AddRows ¶
func (_e *Maroto_Expecter) AddRows(rows ...interface{}) *Maroto_AddRows_Call
AddRows is a helper method to define mock.On call
- rows ...core.Row
func (*Maroto_Expecter) FitlnCurrentPage ¶
func (_e *Maroto_Expecter) FitlnCurrentPage(heightNewLine interface{}) *Maroto_FitlnCurrentPage_Call
FitlnCurrentPage is a helper method to define mock.On call
- heightNewLine float64
func (*Maroto_Expecter) Generate ¶
func (_e *Maroto_Expecter) Generate() *Maroto_Generate_Call
Generate is a helper method to define mock.On call
func (*Maroto_Expecter) GetStructure ¶
func (_e *Maroto_Expecter) GetStructure() *Maroto_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Maroto_Expecter) RegisterFooter ¶
func (_e *Maroto_Expecter) RegisterFooter(rows ...interface{}) *Maroto_RegisterFooter_Call
RegisterFooter is a helper method to define mock.On call
- rows ...core.Row
func (*Maroto_Expecter) RegisterHeader ¶
func (_e *Maroto_Expecter) RegisterHeader(rows ...interface{}) *Maroto_RegisterHeader_Call
RegisterHeader is a helper method to define mock.On call
- rows ...core.Row
type Maroto_FitlnCurrentPage_Call ¶
Maroto_FitlnCurrentPage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FitlnCurrentPage'
func (*Maroto_FitlnCurrentPage_Call) Return ¶
func (_c *Maroto_FitlnCurrentPage_Call) Return(_a0 bool) *Maroto_FitlnCurrentPage_Call
func (*Maroto_FitlnCurrentPage_Call) Run ¶
func (_c *Maroto_FitlnCurrentPage_Call) Run(run func(heightNewLine float64)) *Maroto_FitlnCurrentPage_Call
func (*Maroto_FitlnCurrentPage_Call) RunAndReturn ¶
func (_c *Maroto_FitlnCurrentPage_Call) RunAndReturn(run func(float64) bool) *Maroto_FitlnCurrentPage_Call
type Maroto_Generate_Call ¶
Maroto_Generate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Generate'
func (*Maroto_Generate_Call) Return ¶
func (_c *Maroto_Generate_Call) Return(_a0 core.Document, _a1 error) *Maroto_Generate_Call
func (*Maroto_Generate_Call) Run ¶
func (_c *Maroto_Generate_Call) Run(run func()) *Maroto_Generate_Call
func (*Maroto_Generate_Call) RunAndReturn ¶
func (_c *Maroto_Generate_Call) RunAndReturn(run func() (core.Document, error)) *Maroto_Generate_Call
type Maroto_GetStructure_Call ¶
Maroto_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Maroto_GetStructure_Call) Return ¶
func (_c *Maroto_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Maroto_GetStructure_Call
func (*Maroto_GetStructure_Call) Run ¶
func (_c *Maroto_GetStructure_Call) Run(run func()) *Maroto_GetStructure_Call
func (*Maroto_GetStructure_Call) RunAndReturn ¶
func (_c *Maroto_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Maroto_GetStructure_Call
type Maroto_RegisterFooter_Call ¶
type Maroto_RegisterFooter_Call struct {
}Maroto_RegisterFooter_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterFooter'
func (*Maroto_RegisterFooter_Call) Return ¶
func (_c *Maroto_RegisterFooter_Call) Return(_a0 error) *Maroto_RegisterFooter_Call
func (*Maroto_RegisterFooter_Call) Run ¶
func (_c *Maroto_RegisterFooter_Call) Run(run func(rows ...core.Row)) *Maroto_RegisterFooter_Call
func (*Maroto_RegisterFooter_Call) RunAndReturn ¶
func (_c *Maroto_RegisterFooter_Call) RunAndReturn(run func(...core.Row) error) *Maroto_RegisterFooter_Call
type Maroto_RegisterHeader_Call ¶
Maroto_RegisterHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegisterHeader'
func (*Maroto_RegisterHeader_Call) Return ¶
func (_c *Maroto_RegisterHeader_Call) Return(_a0 error) *Maroto_RegisterHeader_Call
func (*Maroto_RegisterHeader_Call) Run ¶
func (_c *Maroto_RegisterHeader_Call) Run(run func(rows ...core.Row)) *Maroto_RegisterHeader_Call
func (*Maroto_RegisterHeader_Call) RunAndReturn ¶
func (_c *Maroto_RegisterHeader_Call) RunAndReturn(run func(...core.Row) error) *Maroto_RegisterHeader_Call
type Math ¶
Math is an autogenerated mock type for the Math type
func NewMath ¶
NewMath creates a new instance of Math. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Math) EXPECT ¶
func (_m *Math) EXPECT() *Math_Expecter
func (*Math) GetInnerCenterCell ¶
func (_m *Math) GetInnerCenterCell(inner *entity.Dimensions, outer *entity.Dimensions, percent float64) *entity.Cell
GetInnerCenterCell provides a mock function with given fields: inner, outer, percent
func (*Math) GetInnerNonCenterCell ¶
func (_m *Math) GetInnerNonCenterCell(inner *entity.Dimensions, outer *entity.Dimensions, prop *props.Rect) *entity.Cell
GetInnerNonCenterCell provides a mock function with given fields: inner, outer, prop
type Math_Expecter ¶
type Math_Expecter struct {
// contains filtered or unexported fields
}
func (*Math_Expecter) GetInnerCenterCell ¶
func (_e *Math_Expecter) GetInnerCenterCell(inner interface{}, outer interface{}, percent interface{}) *Math_GetInnerCenterCell_Call
GetInnerCenterCell is a helper method to define mock.On call
- inner *entity.Dimensions
- outer *entity.Dimensions
- percent float64
func (*Math_Expecter) GetInnerNonCenterCell ¶
func (_e *Math_Expecter) GetInnerNonCenterCell(inner interface{}, outer interface{}, prop interface{}) *Math_GetInnerNonCenterCell_Call
GetInnerNonCenterCell is a helper method to define mock.On call
- inner *entity.Dimensions
- outer *entity.Dimensions
- prop *props.Rect
type Math_GetInnerCenterCell_Call ¶
Math_GetInnerCenterCell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInnerCenterCell'
func (*Math_GetInnerCenterCell_Call) Return ¶
func (_c *Math_GetInnerCenterCell_Call) Return(_a0 *entity.Cell) *Math_GetInnerCenterCell_Call
func (*Math_GetInnerCenterCell_Call) Run ¶
func (_c *Math_GetInnerCenterCell_Call) Run(run func(inner *entity.Dimensions, outer *entity.Dimensions, percent float64)) *Math_GetInnerCenterCell_Call
func (*Math_GetInnerCenterCell_Call) RunAndReturn ¶
func (_c *Math_GetInnerCenterCell_Call) RunAndReturn(run func(*entity.Dimensions, *entity.Dimensions, float64) *entity.Cell) *Math_GetInnerCenterCell_Call
type Math_GetInnerNonCenterCell_Call ¶
Math_GetInnerNonCenterCell_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInnerNonCenterCell'
func (*Math_GetInnerNonCenterCell_Call) Return ¶
func (_c *Math_GetInnerNonCenterCell_Call) Return(_a0 *entity.Cell) *Math_GetInnerNonCenterCell_Call
func (*Math_GetInnerNonCenterCell_Call) Run ¶
func (_c *Math_GetInnerNonCenterCell_Call) Run(run func(inner *entity.Dimensions, outer *entity.Dimensions, prop *props.Rect)) *Math_GetInnerNonCenterCell_Call
func (*Math_GetInnerNonCenterCell_Call) RunAndReturn ¶
func (_c *Math_GetInnerNonCenterCell_Call) RunAndReturn(run func(*entity.Dimensions, *entity.Dimensions, *props.Rect) *entity.Cell) *Math_GetInnerNonCenterCell_Call
type Node ¶
Node is an autogenerated mock type for the Node type
func NewNode ¶
NewNode creates a new instance of Node. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Node) EXPECT ¶
func (_m *Node) EXPECT() *Node_Expecter
func (*Node) GetStructure ¶
GetStructure provides a mock function with given fields:
type Node_Expecter ¶
type Node_Expecter struct {
// contains filtered or unexported fields
}
func (*Node_Expecter) GetStructure ¶
func (_e *Node_Expecter) GetStructure() *Node_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Node_Expecter) SetConfig ¶
func (_e *Node_Expecter) SetConfig(config interface{}) *Node_SetConfig_Call
SetConfig is a helper method to define mock.On call
- config *entity.Config
type Node_GetStructure_Call ¶
Node_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Node_GetStructure_Call) Return ¶
func (_c *Node_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Node_GetStructure_Call
func (*Node_GetStructure_Call) Run ¶
func (_c *Node_GetStructure_Call) Run(run func()) *Node_GetStructure_Call
func (*Node_GetStructure_Call) RunAndReturn ¶
func (_c *Node_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Node_GetStructure_Call
type Node_SetConfig_Call ¶
Node_SetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConfig'
func (*Node_SetConfig_Call) Return ¶
func (_c *Node_SetConfig_Call) Return() *Node_SetConfig_Call
func (*Node_SetConfig_Call) Run ¶
func (_c *Node_SetConfig_Call) Run(run func(config *entity.Config)) *Node_SetConfig_Call
func (*Node_SetConfig_Call) RunAndReturn ¶
func (_c *Node_SetConfig_Call) RunAndReturn(run func(*entity.Config)) *Node_SetConfig_Call
type Page ¶
Page is an autogenerated mock type for the Page type
func NewPage ¶
NewPage creates a new instance of Page. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Page) EXPECT ¶
func (_m *Page) EXPECT() *Page_Expecter
func (*Page) GetStructure ¶
GetStructure provides a mock function with given fields:
type Page_Add_Call ¶
Page_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Page_Add_Call) Return ¶
func (_c *Page_Add_Call) Return(_a0 core.Page) *Page_Add_Call
func (*Page_Add_Call) Run ¶
func (_c *Page_Add_Call) Run(run func(rows ...core.Row)) *Page_Add_Call
func (*Page_Add_Call) RunAndReturn ¶
func (_c *Page_Add_Call) RunAndReturn(run func(...core.Row) core.Page) *Page_Add_Call
type Page_Expecter ¶
type Page_Expecter struct {
// contains filtered or unexported fields
}
func (*Page_Expecter) Add ¶
func (_e *Page_Expecter) Add(rows ...interface{}) *Page_Add_Call
Add is a helper method to define mock.On call
- rows ...core.Row
func (*Page_Expecter) GetNumber ¶
func (_e *Page_Expecter) GetNumber() *Page_GetNumber_Call
GetNumber is a helper method to define mock.On call
func (*Page_Expecter) GetRows ¶
func (_e *Page_Expecter) GetRows() *Page_GetRows_Call
GetRows is a helper method to define mock.On call
func (*Page_Expecter) GetStructure ¶
func (_e *Page_Expecter) GetStructure() *Page_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Page_Expecter) Render ¶
func (_e *Page_Expecter) Render(provider interface{}, cell interface{}) *Page_Render_Call
Render is a helper method to define mock.On call
- provider core.Provider
- cell entity.Cell
func (*Page_Expecter) SetConfig ¶
func (_e *Page_Expecter) SetConfig(config interface{}) *Page_SetConfig_Call
SetConfig is a helper method to define mock.On call
- config *entity.Config
func (*Page_Expecter) SetNumber ¶
func (_e *Page_Expecter) SetNumber(number interface{}, total interface{}) *Page_SetNumber_Call
SetNumber is a helper method to define mock.On call
- number int
- total int
type Page_GetNumber_Call ¶
Page_GetNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNumber'
func (*Page_GetNumber_Call) Return ¶
func (_c *Page_GetNumber_Call) Return(_a0 int) *Page_GetNumber_Call
func (*Page_GetNumber_Call) Run ¶
func (_c *Page_GetNumber_Call) Run(run func()) *Page_GetNumber_Call
func (*Page_GetNumber_Call) RunAndReturn ¶
func (_c *Page_GetNumber_Call) RunAndReturn(run func() int) *Page_GetNumber_Call
type Page_GetRows_Call ¶
Page_GetRows_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRows'
func (*Page_GetRows_Call) Return ¶
func (_c *Page_GetRows_Call) Return(_a0 []core.Row) *Page_GetRows_Call
func (*Page_GetRows_Call) Run ¶
func (_c *Page_GetRows_Call) Run(run func()) *Page_GetRows_Call
func (*Page_GetRows_Call) RunAndReturn ¶
func (_c *Page_GetRows_Call) RunAndReturn(run func() []core.Row) *Page_GetRows_Call
type Page_GetStructure_Call ¶
Page_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Page_GetStructure_Call) Return ¶
func (_c *Page_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Page_GetStructure_Call
func (*Page_GetStructure_Call) Run ¶
func (_c *Page_GetStructure_Call) Run(run func()) *Page_GetStructure_Call
func (*Page_GetStructure_Call) RunAndReturn ¶
func (_c *Page_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Page_GetStructure_Call
type Page_Render_Call ¶
Page_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*Page_Render_Call) Return ¶
func (_c *Page_Render_Call) Return() *Page_Render_Call
func (*Page_Render_Call) Run ¶
func (_c *Page_Render_Call) Run(run func(provider core.Provider, cell entity.Cell)) *Page_Render_Call
func (*Page_Render_Call) RunAndReturn ¶
func (_c *Page_Render_Call) RunAndReturn(run func(core.Provider, entity.Cell)) *Page_Render_Call
type Page_SetConfig_Call ¶
Page_SetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConfig'
func (*Page_SetConfig_Call) Return ¶
func (_c *Page_SetConfig_Call) Return() *Page_SetConfig_Call
func (*Page_SetConfig_Call) Run ¶
func (_c *Page_SetConfig_Call) Run(run func(config *entity.Config)) *Page_SetConfig_Call
func (*Page_SetConfig_Call) RunAndReturn ¶
func (_c *Page_SetConfig_Call) RunAndReturn(run func(*entity.Config)) *Page_SetConfig_Call
type Page_SetNumber_Call ¶
Page_SetNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetNumber'
func (*Page_SetNumber_Call) Return ¶
func (_c *Page_SetNumber_Call) Return() *Page_SetNumber_Call
func (*Page_SetNumber_Call) Run ¶
func (_c *Page_SetNumber_Call) Run(run func(number int, total int)) *Page_SetNumber_Call
func (*Page_SetNumber_Call) RunAndReturn ¶
func (_c *Page_SetNumber_Call) RunAndReturn(run func(int, int)) *Page_SetNumber_Call
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Provider) AddBackgroundImageFromBytes ¶
func (_m *Provider) AddBackgroundImageFromBytes(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)
AddBackgroundImageFromBytes provides a mock function with given fields: bytes, cell, prop, _a3
func (*Provider) AddBarCode ¶
AddBarCode provides a mock function with given fields: code, cell, prop
func (*Provider) AddImageFromBytes ¶
func (_m *Provider) AddImageFromBytes(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)
AddImageFromBytes provides a mock function with given fields: bytes, cell, prop, _a3
func (*Provider) AddImageFromFile ¶
AddImageFromFile provides a mock function with given fields: value, cell, prop
func (*Provider) AddMatrixCode ¶
AddMatrixCode provides a mock function with given fields: code, cell, prop
func (*Provider) CreateCol ¶
func (_m *Provider) CreateCol(width float64, height float64, config *entity.Config, prop *props.Cell)
CreateCol provides a mock function with given fields: width, height, config, prop
func (*Provider) EXPECT ¶
func (_m *Provider) EXPECT() *Provider_Expecter
func (*Provider) GenerateBytes ¶
GenerateBytes provides a mock function with given fields:
func (*Provider) GetTextHeight ¶
GetTextHeight provides a mock function with given fields: prop
func (*Provider) SetCompression ¶
SetCompression provides a mock function with given fields: compression
func (*Provider) SetMetadata ¶
SetMetadata provides a mock function with given fields: metadata
func (*Provider) SetProtection ¶
func (_m *Provider) SetProtection(protection *entity.Protection)
SetProtection provides a mock function with given fields: protection
type Provider_AddBackgroundImageFromBytes_Call ¶
Provider_AddBackgroundImageFromBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBackgroundImageFromBytes'
func (*Provider_AddBackgroundImageFromBytes_Call) Return ¶
func (_c *Provider_AddBackgroundImageFromBytes_Call) Return() *Provider_AddBackgroundImageFromBytes_Call
func (*Provider_AddBackgroundImageFromBytes_Call) Run ¶
func (_c *Provider_AddBackgroundImageFromBytes_Call) Run(run func(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)) *Provider_AddBackgroundImageFromBytes_Call
func (*Provider_AddBackgroundImageFromBytes_Call) RunAndReturn ¶
func (_c *Provider_AddBackgroundImageFromBytes_Call) RunAndReturn(run func([]byte, *entity.Cell, *props.Rect, extension.Type)) *Provider_AddBackgroundImageFromBytes_Call
type Provider_AddBarCode_Call ¶
Provider_AddBarCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBarCode'
func (*Provider_AddBarCode_Call) Return ¶
func (_c *Provider_AddBarCode_Call) Return() *Provider_AddBarCode_Call
func (*Provider_AddBarCode_Call) Run ¶
func (_c *Provider_AddBarCode_Call) Run(run func(code string, cell *entity.Cell, prop *props.Barcode)) *Provider_AddBarCode_Call
func (*Provider_AddBarCode_Call) RunAndReturn ¶
func (_c *Provider_AddBarCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Barcode)) *Provider_AddBarCode_Call
type Provider_AddImageFromBytes_Call ¶
Provider_AddImageFromBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddImageFromBytes'
func (*Provider_AddImageFromBytes_Call) Return ¶
func (_c *Provider_AddImageFromBytes_Call) Return() *Provider_AddImageFromBytes_Call
func (*Provider_AddImageFromBytes_Call) Run ¶
func (_c *Provider_AddImageFromBytes_Call) Run(run func(bytes []byte, cell *entity.Cell, prop *props.Rect, _a3 extension.Type)) *Provider_AddImageFromBytes_Call
func (*Provider_AddImageFromBytes_Call) RunAndReturn ¶
func (_c *Provider_AddImageFromBytes_Call) RunAndReturn(run func([]byte, *entity.Cell, *props.Rect, extension.Type)) *Provider_AddImageFromBytes_Call
type Provider_AddImageFromFile_Call ¶
Provider_AddImageFromFile_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddImageFromFile'
func (*Provider_AddImageFromFile_Call) Return ¶
func (_c *Provider_AddImageFromFile_Call) Return() *Provider_AddImageFromFile_Call
func (*Provider_AddImageFromFile_Call) Run ¶
func (_c *Provider_AddImageFromFile_Call) Run(run func(value string, cell *entity.Cell, prop *props.Rect)) *Provider_AddImageFromFile_Call
func (*Provider_AddImageFromFile_Call) RunAndReturn ¶
func (_c *Provider_AddImageFromFile_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddImageFromFile_Call
type Provider_AddLine_Call ¶
Provider_AddLine_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLine'
func (*Provider_AddLine_Call) Return ¶
func (_c *Provider_AddLine_Call) Return() *Provider_AddLine_Call
func (*Provider_AddLine_Call) Run ¶
func (_c *Provider_AddLine_Call) Run(run func(cell *entity.Cell, prop *props.Line)) *Provider_AddLine_Call
func (*Provider_AddLine_Call) RunAndReturn ¶
func (_c *Provider_AddLine_Call) RunAndReturn(run func(*entity.Cell, *props.Line)) *Provider_AddLine_Call
type Provider_AddMatrixCode_Call ¶
Provider_AddMatrixCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddMatrixCode'
func (*Provider_AddMatrixCode_Call) Return ¶
func (_c *Provider_AddMatrixCode_Call) Return() *Provider_AddMatrixCode_Call
func (*Provider_AddMatrixCode_Call) Run ¶
func (_c *Provider_AddMatrixCode_Call) Run(run func(code string, cell *entity.Cell, prop *props.Rect)) *Provider_AddMatrixCode_Call
func (*Provider_AddMatrixCode_Call) RunAndReturn ¶
func (_c *Provider_AddMatrixCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddMatrixCode_Call
type Provider_AddQrCode_Call ¶
Provider_AddQrCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddQrCode'
func (*Provider_AddQrCode_Call) Return ¶
func (_c *Provider_AddQrCode_Call) Return() *Provider_AddQrCode_Call
func (*Provider_AddQrCode_Call) Run ¶
func (_c *Provider_AddQrCode_Call) Run(run func(code string, cell *entity.Cell, rect *props.Rect)) *Provider_AddQrCode_Call
func (*Provider_AddQrCode_Call) RunAndReturn ¶
func (_c *Provider_AddQrCode_Call) RunAndReturn(run func(string, *entity.Cell, *props.Rect)) *Provider_AddQrCode_Call
type Provider_AddText_Call ¶
Provider_AddText_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddText'
func (*Provider_AddText_Call) Return ¶
func (_c *Provider_AddText_Call) Return() *Provider_AddText_Call
func (*Provider_AddText_Call) Run ¶
func (_c *Provider_AddText_Call) Run(run func(text string, cell *entity.Cell, prop *props.Text)) *Provider_AddText_Call
func (*Provider_AddText_Call) RunAndReturn ¶
func (_c *Provider_AddText_Call) RunAndReturn(run func(string, *entity.Cell, *props.Text)) *Provider_AddText_Call
type Provider_CreateCol_Call ¶
Provider_CreateCol_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateCol'
func (*Provider_CreateCol_Call) Return ¶
func (_c *Provider_CreateCol_Call) Return() *Provider_CreateCol_Call
func (*Provider_CreateCol_Call) Run ¶
func (_c *Provider_CreateCol_Call) Run(run func(width float64, height float64, config *entity.Config, prop *props.Cell)) *Provider_CreateCol_Call
func (*Provider_CreateCol_Call) RunAndReturn ¶
func (_c *Provider_CreateCol_Call) RunAndReturn(run func(float64, float64, *entity.Config, *props.Cell)) *Provider_CreateCol_Call
type Provider_CreateRow_Call ¶
Provider_CreateRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CreateRow'
func (*Provider_CreateRow_Call) Return ¶
func (_c *Provider_CreateRow_Call) Return() *Provider_CreateRow_Call
func (*Provider_CreateRow_Call) Run ¶
func (_c *Provider_CreateRow_Call) Run(run func(height float64)) *Provider_CreateRow_Call
func (*Provider_CreateRow_Call) RunAndReturn ¶
func (_c *Provider_CreateRow_Call) RunAndReturn(run func(float64)) *Provider_CreateRow_Call
type Provider_Expecter ¶
type Provider_Expecter struct {
// contains filtered or unexported fields
}
func (*Provider_Expecter) AddBackgroundImageFromBytes ¶
func (_e *Provider_Expecter) AddBackgroundImageFromBytes(bytes interface{}, cell interface{}, prop interface{}, _a3 interface{}) *Provider_AddBackgroundImageFromBytes_Call
AddBackgroundImageFromBytes is a helper method to define mock.On call
- bytes []byte
- cell *entity.Cell
- prop *props.Rect
- _a3 extension.Type
func (*Provider_Expecter) AddBarCode ¶
func (_e *Provider_Expecter) AddBarCode(code interface{}, cell interface{}, prop interface{}) *Provider_AddBarCode_Call
AddBarCode is a helper method to define mock.On call
- code string
- cell *entity.Cell
- prop *props.Barcode
func (*Provider_Expecter) AddImageFromBytes ¶
func (_e *Provider_Expecter) AddImageFromBytes(bytes interface{}, cell interface{}, prop interface{}, _a3 interface{}) *Provider_AddImageFromBytes_Call
AddImageFromBytes is a helper method to define mock.On call
- bytes []byte
- cell *entity.Cell
- prop *props.Rect
- _a3 extension.Type
func (*Provider_Expecter) AddImageFromFile ¶
func (_e *Provider_Expecter) AddImageFromFile(value interface{}, cell interface{}, prop interface{}) *Provider_AddImageFromFile_Call
AddImageFromFile is a helper method to define mock.On call
- value string
- cell *entity.Cell
- prop *props.Rect
func (*Provider_Expecter) AddLine ¶
func (_e *Provider_Expecter) AddLine(cell interface{}, prop interface{}) *Provider_AddLine_Call
AddLine is a helper method to define mock.On call
- cell *entity.Cell
- prop *props.Line
func (*Provider_Expecter) AddMatrixCode ¶
func (_e *Provider_Expecter) AddMatrixCode(code interface{}, cell interface{}, prop interface{}) *Provider_AddMatrixCode_Call
AddMatrixCode is a helper method to define mock.On call
- code string
- cell *entity.Cell
- prop *props.Rect
func (*Provider_Expecter) AddQrCode ¶
func (_e *Provider_Expecter) AddQrCode(code interface{}, cell interface{}, rect interface{}) *Provider_AddQrCode_Call
AddQrCode is a helper method to define mock.On call
- code string
- cell *entity.Cell
- rect *props.Rect
func (*Provider_Expecter) AddText ¶
func (_e *Provider_Expecter) AddText(text interface{}, cell interface{}, prop interface{}) *Provider_AddText_Call
AddText is a helper method to define mock.On call
- text string
- cell *entity.Cell
- prop *props.Text
func (*Provider_Expecter) CreateCol ¶
func (_e *Provider_Expecter) CreateCol(width interface{}, height interface{}, config interface{}, prop interface{}) *Provider_CreateCol_Call
CreateCol is a helper method to define mock.On call
- width float64
- height float64
- config *entity.Config
- prop *props.Cell
func (*Provider_Expecter) CreateRow ¶
func (_e *Provider_Expecter) CreateRow(height interface{}) *Provider_CreateRow_Call
CreateRow is a helper method to define mock.On call
- height float64
func (*Provider_Expecter) GenerateBytes ¶
func (_e *Provider_Expecter) GenerateBytes() *Provider_GenerateBytes_Call
GenerateBytes is a helper method to define mock.On call
func (*Provider_Expecter) GetTextHeight ¶
func (_e *Provider_Expecter) GetTextHeight(prop interface{}) *Provider_GetTextHeight_Call
GetTextHeight is a helper method to define mock.On call
- prop *props.Font
func (*Provider_Expecter) SetCompression ¶
func (_e *Provider_Expecter) SetCompression(compression interface{}) *Provider_SetCompression_Call
SetCompression is a helper method to define mock.On call
- compression bool
func (*Provider_Expecter) SetMetadata ¶
func (_e *Provider_Expecter) SetMetadata(metadata interface{}) *Provider_SetMetadata_Call
SetMetadata is a helper method to define mock.On call
- metadata *entity.Metadata
func (*Provider_Expecter) SetProtection ¶
func (_e *Provider_Expecter) SetProtection(protection interface{}) *Provider_SetProtection_Call
SetProtection is a helper method to define mock.On call
- protection *entity.Protection
type Provider_GenerateBytes_Call ¶
Provider_GenerateBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateBytes'
func (*Provider_GenerateBytes_Call) Return ¶
func (_c *Provider_GenerateBytes_Call) Return(_a0 []byte, _a1 error) *Provider_GenerateBytes_Call
func (*Provider_GenerateBytes_Call) Run ¶
func (_c *Provider_GenerateBytes_Call) Run(run func()) *Provider_GenerateBytes_Call
func (*Provider_GenerateBytes_Call) RunAndReturn ¶
func (_c *Provider_GenerateBytes_Call) RunAndReturn(run func() ([]byte, error)) *Provider_GenerateBytes_Call
type Provider_GetTextHeight_Call ¶
Provider_GetTextHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTextHeight'
func (*Provider_GetTextHeight_Call) Return ¶
func (_c *Provider_GetTextHeight_Call) Return(_a0 float64) *Provider_GetTextHeight_Call
func (*Provider_GetTextHeight_Call) Run ¶
func (_c *Provider_GetTextHeight_Call) Run(run func(prop *props.Font)) *Provider_GetTextHeight_Call
func (*Provider_GetTextHeight_Call) RunAndReturn ¶
func (_c *Provider_GetTextHeight_Call) RunAndReturn(run func(*props.Font) float64) *Provider_GetTextHeight_Call
type Provider_SetCompression_Call ¶
Provider_SetCompression_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetCompression'
func (*Provider_SetCompression_Call) Return ¶
func (_c *Provider_SetCompression_Call) Return() *Provider_SetCompression_Call
func (*Provider_SetCompression_Call) Run ¶
func (_c *Provider_SetCompression_Call) Run(run func(compression bool)) *Provider_SetCompression_Call
func (*Provider_SetCompression_Call) RunAndReturn ¶
func (_c *Provider_SetCompression_Call) RunAndReturn(run func(bool)) *Provider_SetCompression_Call
type Provider_SetMetadata_Call ¶
Provider_SetMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetMetadata'
func (*Provider_SetMetadata_Call) Return ¶
func (_c *Provider_SetMetadata_Call) Return() *Provider_SetMetadata_Call
func (*Provider_SetMetadata_Call) Run ¶
func (_c *Provider_SetMetadata_Call) Run(run func(metadata *entity.Metadata)) *Provider_SetMetadata_Call
func (*Provider_SetMetadata_Call) RunAndReturn ¶
func (_c *Provider_SetMetadata_Call) RunAndReturn(run func(*entity.Metadata)) *Provider_SetMetadata_Call
type Provider_SetProtection_Call ¶
Provider_SetProtection_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetProtection'
func (*Provider_SetProtection_Call) Return ¶
func (_c *Provider_SetProtection_Call) Return() *Provider_SetProtection_Call
func (*Provider_SetProtection_Call) Run ¶
func (_c *Provider_SetProtection_Call) Run(run func(protection *entity.Protection)) *Provider_SetProtection_Call
func (*Provider_SetProtection_Call) RunAndReturn ¶
func (_c *Provider_SetProtection_Call) RunAndReturn(run func(*entity.Protection)) *Provider_SetProtection_Call
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func NewRepository ¶
func NewRepository(t interface { mock.TestingT Cleanup(func()) }, ) *Repository
NewRepository creates a new instance of Repository. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Repository) AddUTF8Font ¶
func (_m *Repository) AddUTF8Font(family string, style fontstyle.Type, file string) repository.Repository
AddUTF8Font provides a mock function with given fields: family, style, file
func (*Repository) AddUTF8FontFromBytes ¶
func (_m *Repository) AddUTF8FontFromBytes(family string, style fontstyle.Type, bytes []byte) repository.Repository
func (*Repository) EXPECT ¶
func (_m *Repository) EXPECT() *Repository_Expecter
func (*Repository) Load ¶
func (_m *Repository) Load() ([]*entity.CustomFont, error)
Load provides a mock function with given fields:
type Repository_AddUTF8Font_Call ¶
Repository_AddUTF8Font_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUTF8Font'
func (*Repository_AddUTF8Font_Call) Return ¶
func (_c *Repository_AddUTF8Font_Call) Return(_a0 repository.Repository) *Repository_AddUTF8Font_Call
func (*Repository_AddUTF8Font_Call) Run ¶
func (_c *Repository_AddUTF8Font_Call) Run(run func(family string, style fontstyle.Type, file string)) *Repository_AddUTF8Font_Call
func (*Repository_AddUTF8Font_Call) RunAndReturn ¶
func (_c *Repository_AddUTF8Font_Call) RunAndReturn(run func(string, fontstyle.Type, string) repository.Repository) *Repository_AddUTF8Font_Call
type Repository_Expecter ¶
type Repository_Expecter struct {
// contains filtered or unexported fields
}
func (*Repository_Expecter) AddUTF8Font ¶
func (_e *Repository_Expecter) AddUTF8Font(family interface{}, style interface{}, file interface{}) *Repository_AddUTF8Font_Call
AddUTF8Font is a helper method to define mock.On call
- family string
- style fontstyle.Type
- file string
func (*Repository_Expecter) Load ¶
func (_e *Repository_Expecter) Load() *Repository_Load_Call
Load is a helper method to define mock.On call
type Repository_Load_Call ¶
Repository_Load_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Load'
func (*Repository_Load_Call) Return ¶
func (_c *Repository_Load_Call) Return(_a0 []*entity.CustomFont, _a1 error) *Repository_Load_Call
func (*Repository_Load_Call) Run ¶
func (_c *Repository_Load_Call) Run(run func()) *Repository_Load_Call
func (*Repository_Load_Call) RunAndReturn ¶
func (_c *Repository_Load_Call) RunAndReturn(run func() ([]*entity.CustomFont, error)) *Repository_Load_Call
type Row ¶
Row is an autogenerated mock type for the Row type
func NewRow ¶
NewRow creates a new instance of Row. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Row) EXPECT ¶
func (_m *Row) EXPECT() *Row_Expecter
func (*Row) GetColumns ¶
GetColumns provides a mock function with given fields:
func (*Row) GetStructure ¶
GetStructure provides a mock function with given fields:
type Row_Add_Call ¶
Row_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Row_Add_Call) Return ¶
func (_c *Row_Add_Call) Return(_a0 core.Row) *Row_Add_Call
func (*Row_Add_Call) Run ¶
func (_c *Row_Add_Call) Run(run func(cols ...core.Col)) *Row_Add_Call
func (*Row_Add_Call) RunAndReturn ¶
func (_c *Row_Add_Call) RunAndReturn(run func(...core.Col) core.Row) *Row_Add_Call
type Row_Expecter ¶
type Row_Expecter struct {
// contains filtered or unexported fields
}
func (*Row_Expecter) Add ¶
func (_e *Row_Expecter) Add(cols ...interface{}) *Row_Add_Call
Add is a helper method to define mock.On call
- cols ...core.Col
func (*Row_Expecter) GetColumns ¶
func (_e *Row_Expecter) GetColumns() *Row_GetColumns_Call
GetColumns is a helper method to define mock.On call
func (*Row_Expecter) GetHeight ¶
func (_e *Row_Expecter) GetHeight() *Row_GetHeight_Call
GetHeight is a helper method to define mock.On call
func (*Row_Expecter) GetStructure ¶
func (_e *Row_Expecter) GetStructure() *Row_GetStructure_Call
GetStructure is a helper method to define mock.On call
func (*Row_Expecter) Render ¶
func (_e *Row_Expecter) Render(provider interface{}, cell interface{}) *Row_Render_Call
Render is a helper method to define mock.On call
- provider core.Provider
- cell entity.Cell
func (*Row_Expecter) SetConfig ¶
func (_e *Row_Expecter) SetConfig(config interface{}) *Row_SetConfig_Call
SetConfig is a helper method to define mock.On call
- config *entity.Config
func (*Row_Expecter) WithStyle ¶
func (_e *Row_Expecter) WithStyle(style interface{}) *Row_WithStyle_Call
WithStyle is a helper method to define mock.On call
- style *props.Cell
type Row_GetColumns_Call ¶
Row_GetColumns_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetColumns'
func (*Row_GetColumns_Call) Return ¶
func (_c *Row_GetColumns_Call) Return(_a0 []core.Col) *Row_GetColumns_Call
func (*Row_GetColumns_Call) Run ¶
func (_c *Row_GetColumns_Call) Run(run func()) *Row_GetColumns_Call
func (*Row_GetColumns_Call) RunAndReturn ¶
func (_c *Row_GetColumns_Call) RunAndReturn(run func() []core.Col) *Row_GetColumns_Call
type Row_GetHeight_Call ¶
Row_GetHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeight'
func (*Row_GetHeight_Call) Return ¶
func (_c *Row_GetHeight_Call) Return(_a0 float64) *Row_GetHeight_Call
func (*Row_GetHeight_Call) Run ¶
func (_c *Row_GetHeight_Call) Run(run func()) *Row_GetHeight_Call
func (*Row_GetHeight_Call) RunAndReturn ¶
func (_c *Row_GetHeight_Call) RunAndReturn(run func() float64) *Row_GetHeight_Call
type Row_GetStructure_Call ¶
Row_GetStructure_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStructure'
func (*Row_GetStructure_Call) Return ¶
func (_c *Row_GetStructure_Call) Return(_a0 *node.Node[core.Structure]) *Row_GetStructure_Call
func (*Row_GetStructure_Call) Run ¶
func (_c *Row_GetStructure_Call) Run(run func()) *Row_GetStructure_Call
func (*Row_GetStructure_Call) RunAndReturn ¶
func (_c *Row_GetStructure_Call) RunAndReturn(run func() *node.Node[core.Structure]) *Row_GetStructure_Call
type Row_Render_Call ¶
Row_Render_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Render'
func (*Row_Render_Call) Return ¶
func (_c *Row_Render_Call) Return() *Row_Render_Call
func (*Row_Render_Call) Run ¶
func (_c *Row_Render_Call) Run(run func(provider core.Provider, cell entity.Cell)) *Row_Render_Call
func (*Row_Render_Call) RunAndReturn ¶
func (_c *Row_Render_Call) RunAndReturn(run func(core.Provider, entity.Cell)) *Row_Render_Call
type Row_SetConfig_Call ¶
Row_SetConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetConfig'
func (*Row_SetConfig_Call) Return ¶
func (_c *Row_SetConfig_Call) Return() *Row_SetConfig_Call
func (*Row_SetConfig_Call) Run ¶
func (_c *Row_SetConfig_Call) Run(run func(config *entity.Config)) *Row_SetConfig_Call
func (*Row_SetConfig_Call) RunAndReturn ¶
func (_c *Row_SetConfig_Call) RunAndReturn(run func(*entity.Config)) *Row_SetConfig_Call
type Row_WithStyle_Call ¶
Row_WithStyle_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WithStyle'
func (*Row_WithStyle_Call) Return ¶
func (_c *Row_WithStyle_Call) Return(_a0 core.Row) *Row_WithStyle_Call
func (*Row_WithStyle_Call) Run ¶
func (_c *Row_WithStyle_Call) Run(run func(style *props.Cell)) *Row_WithStyle_Call
func (*Row_WithStyle_Call) RunAndReturn ¶
func (_c *Row_WithStyle_Call) RunAndReturn(run func(*props.Cell) core.Row) *Row_WithStyle_Call
type Text ¶
Text is an autogenerated mock type for the Text type
func NewText ¶
NewText creates a new instance of Text. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Text) EXPECT ¶
func (_m *Text) EXPECT() *Text_Expecter
type Text_Add_Call ¶
Text_Add_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Add'
func (*Text_Add_Call) Return ¶
func (_c *Text_Add_Call) Return() *Text_Add_Call
func (*Text_Add_Call) Run ¶
func (_c *Text_Add_Call) Run(run func(text string, cell *entity.Cell, textProp *props.Text)) *Text_Add_Call
func (*Text_Add_Call) RunAndReturn ¶
func (_c *Text_Add_Call) RunAndReturn(run func(string, *entity.Cell, *props.Text)) *Text_Add_Call
type Text_Expecter ¶
type Text_Expecter struct {
// contains filtered or unexported fields
}
func (*Text_Expecter) Add ¶
func (_e *Text_Expecter) Add(text interface{}, cell interface{}, textProp interface{}) *Text_Add_Call
Add is a helper method to define mock.On call
- text string
- cell *entity.Cell
- textProp *props.Text
func (*Text_Expecter) GetLinesQuantity ¶
func (_e *Text_Expecter) GetLinesQuantity(text interface{}, fontFamily interface{}, colWidth interface{}) *Text_GetLinesQuantity_Call
GetLinesQuantity is a helper method to define mock.On call
- text string
- fontFamily props.Text
- colWidth float64
type Text_GetLinesQuantity_Call ¶
Text_GetLinesQuantity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLinesQuantity'
func (*Text_GetLinesQuantity_Call) Return ¶
func (_c *Text_GetLinesQuantity_Call) Return(_a0 int) *Text_GetLinesQuantity_Call
func (*Text_GetLinesQuantity_Call) Run ¶
func (_c *Text_GetLinesQuantity_Call) Run(run func(text string, fontFamily props.Text, colWidth float64)) *Text_GetLinesQuantity_Call
func (*Text_GetLinesQuantity_Call) RunAndReturn ¶
func (_c *Text_GetLinesQuantity_Call) RunAndReturn(run func(string, props.Text, float64) int) *Text_GetLinesQuantity_Call