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