mocks

package
v2.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2025 License: MIT Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	mock.Mock
}

Builder is an autogenerated mock type for the Builder type

func NewBuilder

func NewBuilder(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Builder

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) Build

func (_m *Builder) Build(cfg *entity.Config, _a1 cache.Cache) *gofpdf.Dependencies

Build provides a mock function with given fields: cfg, _a1

func (*Builder) EXPECT

func (_m *Builder) EXPECT() *Builder_Expecter

type Builder_Build_Call

type Builder_Build_Call struct {
	*mock.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 (*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

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

type Cache struct {
	mock.Mock
}

Cache is an autogenerated mock type for the Cache type

func NewCache

func NewCache(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Cache

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) AddImage

func (_m *Cache) AddImage(value string, image *entity.Image)

AddImage provides a mock function with given fields: value, image

func (*Cache) EXPECT

func (_m *Cache) EXPECT() *Cache_Expecter

func (*Cache) GetImage

func (_m *Cache) GetImage(value string, _a1 extension.Type) (*entity.Image, error)

GetImage provides a mock function with given fields: value, _a1

func (*Cache) LoadImage

func (_m *Cache) LoadImage(value string, _a1 extension.Type) error

LoadImage provides a mock function with given fields: value, _a1

type Cache_AddImage_Call

type Cache_AddImage_Call struct {
	*mock.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 (*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

type Cache_GetImage_Call struct {
	*mock.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

type Cache_LoadImage_Call struct {
	*mock.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 (*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

type CellWriter struct {
	mock.Mock
}

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

func (_m *CellWriter) Apply(width float64, height float64, config *entity.Config, prop *props.Cell)

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

type CellWriter_Apply_Call struct {
	*mock.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 (*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

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

GetName is a helper method to define mock.On call

func (*CellWriter_Expecter) GetNext

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

type CellWriter_GetName_Call struct {
	*mock.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 (*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

type CellWriter_GetNext_Call struct {
	*mock.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 (*CellWriter_GetNext_Call) Run

func (_c *CellWriter_GetNext_Call) Run(run func()) *CellWriter_GetNext_Call

func (*CellWriter_GetNext_Call) RunAndReturn

type CellWriter_SetNext_Call

type CellWriter_SetNext_Call struct {
	*mock.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 (*CellWriter_SetNext_Call) Run

func (*CellWriter_SetNext_Call) RunAndReturn

type Code

type Code struct {
	mock.Mock
}

Code is an autogenerated mock type for the Code type

func NewCode

func NewCode(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Code

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) GenBar

func (_m *Code) GenBar(code string, cell *entity.Cell, prop *props.Barcode) (*entity.Image, error)

GenBar provides a mock function with given fields: code, cell, prop

func (*Code) GenDataMatrix

func (_m *Code) GenDataMatrix(code string) (*entity.Image, error)

GenDataMatrix provides a mock function with given fields: code

func (*Code) GenQr

func (_m *Code) GenQr(code string) (*entity.Image, error)

GenQr 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

type Code_GenBar_Call struct {
	*mock.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

type Code_GenDataMatrix_Call struct {
	*mock.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 (*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

type Code_GenQr_Call struct {
	*mock.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

type Col struct {
	mock.Mock
}

Col is an autogenerated mock type for the Col type

func NewCol

func NewCol(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Col

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) Add

func (_m *Col) Add(components ...core.Component) core.Col

Add provides a mock function with given fields: components

func (*Col) EXPECT

func (_m *Col) EXPECT() *Col_Expecter

func (*Col) GetHeight

func (_m *Col) GetHeight(provider core.Provider, cell *entity.Cell) float64

GetHeight provides a mock function with given fields: provider, cell

func (*Col) GetSize

func (_m *Col) GetSize() int

GetSize provides a mock function with given fields:

func (*Col) GetStructure

func (_m *Col) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Col) Render

func (_m *Col) Render(provider core.Provider, cell entity.Cell, createCell bool)

Render provides a mock function with given fields: provider, cell, createCell

func (*Col) SetConfig

func (_m *Col) SetConfig(config *entity.Config)

SetConfig provides a mock function with given fields: config

func (*Col) WithStyle

func (_m *Col) WithStyle(style *props.Cell) core.Col

WithStyle provides a mock function with given fields: style

type Col_Add_Call

type Col_Add_Call struct {
	*mock.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) GetHeight

func (_e *Col_Expecter) GetHeight(provider interface{}, cell interface{}) *Col_GetHeight_Call

GetHeight is a helper method to define mock.On call

  • provider core.Provider
  • cell *entity.Cell

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_GetHeight_Call

type Col_GetHeight_Call struct {
	*mock.Call
}

Col_GetHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeight'

func (*Col_GetHeight_Call) Return

func (*Col_GetHeight_Call) Run

func (_c *Col_GetHeight_Call) Run(run func(provider core.Provider, cell *entity.Cell)) *Col_GetHeight_Call

func (*Col_GetHeight_Call) RunAndReturn

func (_c *Col_GetHeight_Call) RunAndReturn(run func(core.Provider, *entity.Cell) float64) *Col_GetHeight_Call

type Col_GetSize_Call

type Col_GetSize_Call struct {
	*mock.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

type Col_GetStructure_Call struct {
	*mock.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 (*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

type Col_Render_Call struct {
	*mock.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

type Col_SetConfig_Call struct {
	*mock.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

type Col_WithStyle_Call struct {
	*mock.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

type Component struct {
	mock.Mock
}

Component is an autogenerated mock type for the Component type

func NewComponent

func NewComponent(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Component

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) GetHeight

func (_m *Component) GetHeight(provider core.Provider, cell *entity.Cell) float64

GetHeight provides a mock function with given fields: provider, cell

func (*Component) GetStructure

func (_m *Component) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Component) Render

func (_m *Component) Render(provider core.Provider, cell *entity.Cell)

Render provides a mock function with given fields: provider, cell

func (*Component) SetConfig

func (_m *Component) SetConfig(config *entity.Config)

SetConfig provides a mock function with given fields: config

type Component_Expecter

type Component_Expecter struct {
	// contains filtered or unexported fields
}

func (*Component_Expecter) GetHeight

func (_e *Component_Expecter) GetHeight(provider interface{}, cell interface{}) *Component_GetHeight_Call

GetHeight is a helper method to define mock.On call

  • provider core.Provider
  • cell *entity.Cell

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_GetHeight_Call

type Component_GetHeight_Call struct {
	*mock.Call
}

Component_GetHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetHeight'

func (*Component_GetHeight_Call) Return

func (*Component_GetHeight_Call) Run

func (_c *Component_GetHeight_Call) Run(run func(provider core.Provider, cell *entity.Cell)) *Component_GetHeight_Call

func (*Component_GetHeight_Call) RunAndReturn

type Component_GetStructure_Call

type Component_GetStructure_Call struct {
	*mock.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 (*Component_GetStructure_Call) Run

func (*Component_GetStructure_Call) RunAndReturn

type Component_Render_Call

type Component_Render_Call struct {
	*mock.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 (*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

type Component_SetConfig_Call struct {
	*mock.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 (*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

type Document struct {
	mock.Mock
}

Document is an autogenerated mock type for the Document type

func NewDocument

func NewDocument(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Document

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

func (*Document) GetBase64

func (_m *Document) GetBase64() string

GetBase64 provides a mock function with given fields:

func (*Document) GetBytes

func (_m *Document) GetBytes() []byte

GetBytes provides a mock function with given fields:

func (*Document) GetReport

func (_m *Document) GetReport() *metrics.Report

GetReport provides a mock function with given fields:

func (*Document) Merge

func (_m *Document) Merge(_a0 []byte) error

Merge provides a mock function with given fields: _a0

func (*Document) Save

func (_m *Document) Save(file string) error

Save provides a mock function with given fields: file

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

type Document_GetBase64_Call struct {
	*mock.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 (*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

type Document_GetBytes_Call struct {
	*mock.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 (*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

type Document_GetReport_Call struct {
	*mock.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 (*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

type Document_Merge_Call struct {
	*mock.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 (*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

type Document_Save_Call struct {
	*mock.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

type Font struct {
	mock.Mock
}

Font is an autogenerated mock type for the Font type

func NewFont

func NewFont(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Font

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

func (*Font) GetColor

func (_m *Font) GetColor() *props.Color

GetColor provides a mock function with given fields:

func (*Font) GetFamily

func (_m *Font) GetFamily() string

GetFamily provides a mock function with given fields:

func (*Font) GetFont

func (_m *Font) GetFont() (string, fontstyle.Type, float64)

GetFont provides a mock function with given fields:

func (*Font) GetHeight

func (_m *Font) GetHeight(family string, style fontstyle.Type, size float64) float64

GetHeight provides a mock function with given fields: family, style, size

func (*Font) GetSize

func (_m *Font) GetSize() float64

GetSize provides a mock function with given fields:

func (*Font) GetStyle

func (_m *Font) GetStyle() fontstyle.Type

GetStyle provides a mock function with given fields:

func (*Font) SetColor

func (_m *Font) SetColor(color *props.Color)

SetColor provides a mock function with given fields: color

func (*Font) SetFamily

func (_m *Font) SetFamily(family string)

SetFamily provides a mock function with given fields: family

func (*Font) SetFont

func (_m *Font) SetFont(family string, style fontstyle.Type, size float64)

SetFont provides a mock function with given fields: family, style, size

func (*Font) SetSize

func (_m *Font) SetSize(size float64)

SetSize provides a mock function with given fields: size

func (*Font) SetStyle

func (_m *Font) SetStyle(style fontstyle.Type)

SetStyle provides a mock function with given fields: style

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

type Font_GetColor_Call struct {
	*mock.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 (*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

type Font_GetFamily_Call struct {
	*mock.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 (*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

type Font_GetFont_Call struct {
	*mock.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

type Font_GetHeight_Call struct {
	*mock.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 (*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

type Font_GetSize_Call

type Font_GetSize_Call struct {
	*mock.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

type Font_GetStyle_Call struct {
	*mock.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 (*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

type Font_SetColor_Call struct {
	*mock.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

type Font_SetFamily_Call struct {
	*mock.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 (*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

type Font_SetFont_Call struct {
	*mock.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

type Font_SetSize_Call struct {
	*mock.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

type Font_SetStyle_Call struct {
	*mock.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

type Fpdf struct {
	mock.Mock
}

Fpdf is an autogenerated mock type for the Fpdf type

func NewFpdf

func NewFpdf(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Fpdf

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

func (_m *Fpdf) AddFont(familyStr string, styleStr string, fileStr string)

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

func (_m *Fpdf) AddFontFromReader(familyStr string, styleStr string, r io.Reader)

AddFontFromReader provides a mock function with given fields: familyStr, styleStr, r

func (*Fpdf) AddLayer

func (_m *Fpdf) AddLayer(name string, visible bool) int

AddLayer provides a mock function with given fields: name, visible

func (_m *Fpdf) AddLink() int

AddLink provides a mock function with given fields:

func (*Fpdf) AddPage

func (_m *Fpdf) AddPage()

AddPage provides a mock function with given fields:

func (*Fpdf) AddPageFormat

func (_m *Fpdf) AddPageFormat(orientationStr string, size gofpdf.SizeType)

AddPageFormat provides a mock function with given fields: orientationStr, size

func (*Fpdf) AddSpotColor

func (_m *Fpdf) AddSpotColor(nameStr string, c byte, m byte, y byte, k byte)

AddSpotColor provides a mock function with given fields: nameStr, c, m, y, k

func (*Fpdf) AddUTF8FontFromBytes

func (_m *Fpdf) AddUTF8FontFromBytes(familyStr string, styleStr string, bytes []byte)

AddUTF8FontFromBytes provides a mock function with given fields: familyStr, styleStr, bytes

func (*Fpdf) AliasNbPages

func (_m *Fpdf) AliasNbPages(aliasStr string)

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

func (_m *Fpdf) BeginLayer(id int)

BeginLayer provides a mock function with given fields: id

func (*Fpdf) Beziergon

func (_m *Fpdf) Beziergon(points []gofpdf.PointType, styleStr string)

Beziergon provides a mock function with given fields: points, styleStr

func (*Fpdf) Bookmark

func (_m *Fpdf) Bookmark(txtStr string, level int, y float64)

Bookmark provides a mock function with given fields: txtStr, level, y

func (*Fpdf) Cell

func (_m *Fpdf) Cell(w float64, h float64, txtStr string)

Cell provides a mock function with given fields: w, h, txtStr

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) Cellf

func (_m *Fpdf) Cellf(w float64, h float64, fmtStr string, args ...interface{})

Cellf provides a mock function with given fields: w, h, fmtStr, args

func (*Fpdf) Circle

func (_m *Fpdf) Circle(x float64, y float64, r float64, styleStr string)

Circle provides a mock function with given fields: x, y, r, styleStr

func (*Fpdf) ClearError

func (_m *Fpdf) ClearError()

ClearError provides a mock function with given fields:

func (*Fpdf) ClipCircle

func (_m *Fpdf) ClipCircle(x float64, y float64, r float64, outline bool)

ClipCircle provides a mock function with given fields: x, y, r, outline

func (*Fpdf) ClipEllipse

func (_m *Fpdf) ClipEllipse(x float64, y float64, rx float64, ry float64, outline bool)

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

func (_m *Fpdf) ClipPolygon(points []gofpdf.PointType, outline bool)

ClipPolygon provides a mock function with given fields: points, outline

func (*Fpdf) ClipRect

func (_m *Fpdf) ClipRect(x float64, y float64, w float64, h float64, outline bool)

ClipRect provides a mock function with given fields: x, y, w, h, 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) ClipText

func (_m *Fpdf) ClipText(x float64, y float64, txtStr string, outline bool)

ClipText provides a mock function with given fields: x, y, txtStr, outline

func (*Fpdf) Close

func (_m *Fpdf) Close()

Close provides a mock function with given fields:

func (*Fpdf) ClosePath

func (_m *Fpdf) ClosePath()

ClosePath provides a mock function with given fields:

func (*Fpdf) CreateTemplate

func (_m *Fpdf) CreateTemplate(fn func(*gofpdf.Tpl)) gofpdf.Template

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) CurveTo

func (_m *Fpdf) CurveTo(cx float64, cy float64, x float64, y float64)

CurveTo provides a mock function with given fields: cx, cy, x, y

func (*Fpdf) DrawPath

func (_m *Fpdf) DrawPath(styleStr string)

DrawPath provides a mock function with given fields: 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) Err

func (_m *Fpdf) Err() bool

Err provides a mock function with given fields:

func (*Fpdf) Error

func (_m *Fpdf) Error() error

Error provides a mock function with given fields:

func (*Fpdf) GetAlpha

func (_m *Fpdf) GetAlpha() (float64, string)

GetAlpha provides a mock function with given fields:

func (*Fpdf) GetAutoPageBreak

func (_m *Fpdf) GetAutoPageBreak() (bool, float64)

GetAutoPageBreak provides a mock function with given fields:

func (*Fpdf) GetCellMargin

func (_m *Fpdf) GetCellMargin() float64

GetCellMargin provides a mock function with given fields:

func (*Fpdf) GetConversionRatio

func (_m *Fpdf) GetConversionRatio() float64

GetConversionRatio provides a mock function with given fields:

func (*Fpdf) GetDrawColor

func (_m *Fpdf) GetDrawColor() (int, int, int)

GetDrawColor provides a mock function with given fields:

func (*Fpdf) GetDrawSpotColor

func (_m *Fpdf) GetDrawSpotColor() (string, byte, byte, byte, byte)

GetDrawSpotColor provides a mock function with given fields:

func (*Fpdf) GetFillColor

func (_m *Fpdf) GetFillColor() (int, int, int)

GetFillColor provides a mock function with given fields:

func (*Fpdf) GetFillSpotColor

func (_m *Fpdf) GetFillSpotColor() (string, byte, byte, byte, byte)

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

func (_m *Fpdf) GetFontSize() (float64, float64)

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

func (_m *Fpdf) GetLineWidth() float64

GetLineWidth provides a mock function with given fields:

func (*Fpdf) GetMargins

func (_m *Fpdf) GetMargins() (float64, float64, float64, float64)

GetMargins provides a mock function with given fields:

func (*Fpdf) GetPageSize

func (_m *Fpdf) GetPageSize() (float64, float64)

GetPageSize provides a mock function with given fields:

func (*Fpdf) GetPageSizeStr

func (_m *Fpdf) GetPageSizeStr(sizeStr string) gofpdf.SizeType

GetPageSizeStr provides a mock function with given fields: sizeStr

func (*Fpdf) GetStringWidth

func (_m *Fpdf) GetStringWidth(s string) float64

GetStringWidth provides a mock function with given fields: s

func (*Fpdf) GetTextColor

func (_m *Fpdf) GetTextColor() (int, int, int)

GetTextColor provides a mock function with given fields:

func (*Fpdf) GetTextSpotColor

func (_m *Fpdf) GetTextSpotColor() (string, byte, byte, byte, byte)

GetTextSpotColor provides a mock function with given fields:

func (*Fpdf) GetX

func (_m *Fpdf) GetX() float64

GetX provides a mock function with given fields:

func (*Fpdf) GetXY

func (_m *Fpdf) GetXY() (float64, float64)

GetXY provides a mock function with given fields:

func (*Fpdf) GetY

func (_m *Fpdf) GetY() float64

GetY 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

func (_m *Fpdf) ImageTypeFromMime(mimeStr string) string

ImageTypeFromMime provides a mock function with given fields: mimeStr

func (*Fpdf) Line

func (_m *Fpdf) Line(x1 float64, y1 float64, x2 float64, y2 float64)

Line provides a mock function with given fields: x1, y1, x2, y2

func (*Fpdf) LineTo

func (_m *Fpdf) LineTo(x float64, y float64)

LineTo provides a mock function with given fields: x, y

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 (_m *Fpdf) Link(x float64, y float64, w float64, h float64, link int)

Link provides a mock function with given fields: x, y, w, h, link

func (*Fpdf) LinkString

func (_m *Fpdf) LinkString(x float64, y float64, w float64, h float64, linkStr string)

LinkString provides a mock function with given fields: x, y, w, h, linkStr

func (*Fpdf) Ln

func (_m *Fpdf) Ln(h float64)

Ln provides a mock function with given fields: h

func (*Fpdf) MoveTo

func (_m *Fpdf) MoveTo(x float64, y float64)

MoveTo provides a mock function with given fields: x, y

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) Ok

func (_m *Fpdf) Ok() bool

Ok provides a mock function with given fields:

func (*Fpdf) OpenLayerPane

func (_m *Fpdf) OpenLayerPane()

OpenLayerPane provides a mock function with given fields:

func (*Fpdf) Output

func (_m *Fpdf) Output(w io.Writer) error

Output provides a mock function with given fields: w

func (*Fpdf) OutputAndClose

func (_m *Fpdf) OutputAndClose(w io.WriteCloser) error

OutputAndClose provides a mock function with given fields: w

func (*Fpdf) OutputFileAndClose

func (_m *Fpdf) OutputFileAndClose(fileStr string) error

OutputFileAndClose provides a mock function with given fields: fileStr

func (*Fpdf) PageCount

func (_m *Fpdf) PageCount() int

PageCount provides a mock function with given fields:

func (*Fpdf) PageNo

func (_m *Fpdf) PageNo() int

PageNo provides a mock function with given fields:

func (*Fpdf) PageSize

func (_m *Fpdf) PageSize(pageNum int) (float64, float64, string)

PageSize provides a mock function with given fields: pageNum

func (*Fpdf) PointConvert

func (_m *Fpdf) PointConvert(pt float64) float64

PointConvert provides a mock function with given fields: pt

func (*Fpdf) PointToUnitConvert

func (_m *Fpdf) PointToUnitConvert(pt float64) float64

PointToUnitConvert provides a mock function with given fields: pt

func (*Fpdf) Polygon

func (_m *Fpdf) Polygon(points []gofpdf.PointType, styleStr string)

Polygon provides a mock function with given fields: points, styleStr

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

func (_m *Fpdf) RawWriteBuf(r io.Reader)

RawWriteBuf provides a mock function with given fields: r

func (*Fpdf) RawWriteStr

func (_m *Fpdf) RawWriteStr(str string)

RawWriteStr provides a mock function with given fields: str

func (*Fpdf) Rect

func (_m *Fpdf) Rect(x float64, y float64, w float64, h float64, styleStr string)

Rect provides a mock function with given fields: x, y, w, h, styleStr

func (*Fpdf) RegisterAlias

func (_m *Fpdf) RegisterAlias(alias string, replacement string)

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

func (_m *Fpdf) RegisterImageReader(imgName string, tp string, r io.Reader) *gofpdf.ImageInfoType

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

func (_m *Fpdf) SetAcceptPageBreakFunc(fnc func() bool)

SetAcceptPageBreakFunc provides a mock function with given fields: fnc

func (*Fpdf) SetAlpha

func (_m *Fpdf) SetAlpha(alpha float64, blendModeStr string)

SetAlpha provides a mock function with given fields: alpha, blendModeStr

func (*Fpdf) SetAuthor

func (_m *Fpdf) SetAuthor(authorStr string, isUTF8 bool)

SetAuthor provides a mock function with given fields: authorStr, isUTF8

func (*Fpdf) SetAutoPageBreak

func (_m *Fpdf) SetAutoPageBreak(auto bool, margin float64)

SetAutoPageBreak provides a mock function with given fields: auto, margin

func (*Fpdf) SetCatalogSort

func (_m *Fpdf) SetCatalogSort(flag bool)

SetCatalogSort provides a mock function with given fields: flag

func (*Fpdf) SetCellMargin

func (_m *Fpdf) SetCellMargin(margin float64)

SetCellMargin provides a mock function with given fields: margin

func (*Fpdf) SetCompression

func (_m *Fpdf) SetCompression(compress bool)

SetCompression provides a mock function with given fields: compress

func (*Fpdf) SetCreationDate

func (_m *Fpdf) SetCreationDate(tm time.Time)

SetCreationDate provides a mock function with given fields: tm

func (*Fpdf) SetCreator

func (_m *Fpdf) SetCreator(creatorStr string, isUTF8 bool)

SetCreator provides a mock function with given fields: creatorStr, isUTF8

func (*Fpdf) SetDashPattern

func (_m *Fpdf) SetDashPattern(dashArray []float64, dashPhase float64)

SetDashPattern provides a mock function with given fields: dashArray, dashPhase

func (*Fpdf) SetDisplayMode

func (_m *Fpdf) SetDisplayMode(zoomStr string, layoutStr string)

SetDisplayMode provides a mock function with given fields: zoomStr, layoutStr

func (*Fpdf) SetDrawColor

func (_m *Fpdf) SetDrawColor(r int, g int, b int)

SetDrawColor provides a mock function with given fields: r, g, b

func (*Fpdf) SetDrawSpotColor

func (_m *Fpdf) SetDrawSpotColor(nameStr string, tint byte)

SetDrawSpotColor provides a mock function with given fields: nameStr, tint

func (*Fpdf) SetError

func (_m *Fpdf) SetError(err error)

SetError provides a mock function with given fields: err

func (*Fpdf) SetErrorf

func (_m *Fpdf) SetErrorf(fmtStr string, args ...interface{})

SetErrorf provides a mock function with given fields: fmtStr, args

func (*Fpdf) SetFillColor

func (_m *Fpdf) SetFillColor(r int, g int, b int)

SetFillColor provides a mock function with given fields: r, g, b

func (*Fpdf) SetFillSpotColor

func (_m *Fpdf) SetFillSpotColor(nameStr string, tint byte)

SetFillSpotColor provides a mock function with given fields: nameStr, tint

func (*Fpdf) SetFont

func (_m *Fpdf) SetFont(familyStr string, styleStr string, size float64)

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

func (_m *Fpdf) SetFontLocation(fontDirStr string)

SetFontLocation provides a mock function with given fields: fontDirStr

func (*Fpdf) SetFontSize

func (_m *Fpdf) SetFontSize(size float64)

SetFontSize provides a mock function with given fields: size

func (*Fpdf) SetFontStyle

func (_m *Fpdf) SetFontStyle(styleStr string)

SetFontStyle provides a mock function with given fields: styleStr

func (*Fpdf) SetFontUnitSize

func (_m *Fpdf) SetFontUnitSize(size float64)

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

func (_m *Fpdf) SetFooterFuncLpi(fnc func(bool))

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

func (_m *Fpdf) SetHeaderFuncMode(fnc func(), homeMode bool)

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

func (_m *Fpdf) SetJavascript(script string)

SetJavascript provides a mock function with given fields: script

func (*Fpdf) SetKeywords

func (_m *Fpdf) SetKeywords(keywordsStr string, isUTF8 bool)

SetKeywords provides a mock function with given fields: keywordsStr, isUTF8

func (*Fpdf) SetLeftMargin

func (_m *Fpdf) SetLeftMargin(margin float64)

SetLeftMargin provides a mock function with given fields: margin

func (*Fpdf) SetLineCapStyle

func (_m *Fpdf) SetLineCapStyle(styleStr string)

SetLineCapStyle provides a mock function with given fields: styleStr

func (*Fpdf) SetLineJoinStyle

func (_m *Fpdf) SetLineJoinStyle(styleStr string)

SetLineJoinStyle provides a mock function with given fields: styleStr

func (*Fpdf) SetLineWidth

func (_m *Fpdf) SetLineWidth(width float64)

SetLineWidth provides a mock function with given fields: width

func (_m *Fpdf) SetLink(link int, y float64, page int)

SetLink provides a mock function with given fields: link, y, page

func (*Fpdf) SetMargins

func (_m *Fpdf) SetMargins(left float64, top float64, right float64)

SetMargins provides a mock function with given fields: left, top, right

func (*Fpdf) SetPage

func (_m *Fpdf) SetPage(pageNum int)

SetPage provides a mock function with given fields: pageNum

func (*Fpdf) SetPageBox

func (_m *Fpdf) SetPageBox(t string, x float64, y float64, wd float64, ht float64)

SetPageBox provides a mock function with given fields: t, x, y, wd, ht

func (*Fpdf) SetPageBoxRec

func (_m *Fpdf) SetPageBoxRec(t string, pb gofpdf.PageBox)

SetPageBoxRec provides a mock function with given fields: t, pb

func (*Fpdf) SetProtection

func (_m *Fpdf) SetProtection(actionFlag byte, userPassStr string, ownerPassStr string)

SetProtection provides a mock function with given fields: actionFlag, userPassStr, ownerPassStr

func (*Fpdf) SetRightMargin

func (_m *Fpdf) SetRightMargin(margin float64)

SetRightMargin provides a mock function with given fields: margin

func (*Fpdf) SetSubject

func (_m *Fpdf) SetSubject(subjectStr string, isUTF8 bool)

SetSubject provides a mock function with given fields: subjectStr, isUTF8

func (*Fpdf) SetTextColor

func (_m *Fpdf) SetTextColor(r int, g int, b int)

SetTextColor provides a mock function with given fields: r, g, b

func (*Fpdf) SetTextSpotColor

func (_m *Fpdf) SetTextSpotColor(nameStr string, tint byte)

SetTextSpotColor provides a mock function with given fields: nameStr, tint

func (*Fpdf) SetTitle

func (_m *Fpdf) SetTitle(titleStr string, isUTF8 bool)

SetTitle provides a mock function with given fields: titleStr, isUTF8

func (*Fpdf) SetTopMargin

func (_m *Fpdf) SetTopMargin(margin float64)

SetTopMargin provides a mock function with given fields: margin

func (*Fpdf) SetUnderlineThickness

func (_m *Fpdf) SetUnderlineThickness(thickness float64)

SetUnderlineThickness provides a mock function with given fields: thickness

func (*Fpdf) SetX

func (_m *Fpdf) SetX(x float64)

SetX provides a mock function with given fields: x

func (*Fpdf) SetXY

func (_m *Fpdf) SetXY(x float64, y float64)

SetXY provides a mock function with given fields: x, y

func (*Fpdf) SetXmpMetadata

func (_m *Fpdf) SetXmpMetadata(xmpStream []byte)

SetXmpMetadata provides a mock function with given fields: xmpStream

func (*Fpdf) SetY

func (_m *Fpdf) SetY(y float64)

SetY provides a mock function with given fields: y

func (*Fpdf) SplitLines

func (_m *Fpdf) SplitLines(txt []byte, w float64) [][]byte

SplitLines provides a mock function with given fields: txt, w

func (*Fpdf) String

func (_m *Fpdf) String() string

String provides a mock function with given fields:

func (*Fpdf) Text

func (_m *Fpdf) Text(x float64, y float64, txtStr string)

Text provides a mock function with given fields: x, y, txtStr

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

func (_m *Fpdf) TransformMirrorHorizontal(x float64)

TransformMirrorHorizontal provides a mock function with given fields: x

func (*Fpdf) TransformMirrorLine

func (_m *Fpdf) TransformMirrorLine(angle float64, x float64, y float64)

TransformMirrorLine provides a mock function with given fields: angle, x, y

func (*Fpdf) TransformMirrorPoint

func (_m *Fpdf) TransformMirrorPoint(x float64, y float64)

TransformMirrorPoint provides a mock function with given fields: x, y

func (*Fpdf) TransformMirrorVertical

func (_m *Fpdf) TransformMirrorVertical(y float64)

TransformMirrorVertical provides a mock function with given fields: y

func (*Fpdf) TransformRotate

func (_m *Fpdf) TransformRotate(angle float64, x float64, y float64)

TransformRotate provides a mock function with given fields: angle, x, y

func (*Fpdf) TransformScale

func (_m *Fpdf) TransformScale(scaleWd float64, scaleHt float64, x float64, y float64)

TransformScale provides a mock function with given fields: scaleWd, scaleHt, x, y

func (*Fpdf) TransformScaleX

func (_m *Fpdf) TransformScaleX(scaleWd float64, x float64, y float64)

TransformScaleX provides a mock function with given fields: scaleWd, x, y

func (*Fpdf) TransformScaleXY

func (_m *Fpdf) TransformScaleXY(s float64, x float64, y float64)

TransformScaleXY provides a mock function with given fields: s, x, y

func (*Fpdf) TransformScaleY

func (_m *Fpdf) TransformScaleY(scaleHt float64, x float64, y float64)

TransformScaleY provides a mock function with given fields: scaleHt, x, y

func (*Fpdf) TransformSkew

func (_m *Fpdf) TransformSkew(angleX float64, angleY float64, x float64, y float64)

TransformSkew provides a mock function with given fields: angleX, angleY, x, y

func (*Fpdf) TransformSkewX

func (_m *Fpdf) TransformSkewX(angleX float64, x float64, y float64)

TransformSkewX provides a mock function with given fields: angleX, x, y

func (*Fpdf) TransformSkewY

func (_m *Fpdf) TransformSkewY(angleY float64, x float64, y float64)

TransformSkewY provides a mock function with given fields: angleY, x, y

func (*Fpdf) TransformTranslate

func (_m *Fpdf) TransformTranslate(tx float64, ty float64)

TransformTranslate provides a mock function with given fields: tx, ty

func (*Fpdf) TransformTranslateX

func (_m *Fpdf) TransformTranslateX(tx float64)

TransformTranslateX provides a mock function with given fields: tx

func (*Fpdf) TransformTranslateY

func (_m *Fpdf) TransformTranslateY(ty float64)

TransformTranslateY provides a mock function with given fields: ty

func (*Fpdf) UnicodeTranslatorFromDescriptor

func (_m *Fpdf) UnicodeTranslatorFromDescriptor(cpStr string) func(string) string

UnicodeTranslatorFromDescriptor provides a mock function with given fields: cpStr

func (*Fpdf) UnitToPointConvert

func (_m *Fpdf) UnitToPointConvert(u float64) float64

UnitToPointConvert provides a mock function with given fields: u

func (*Fpdf) UseTemplate

func (_m *Fpdf) UseTemplate(t gofpdf.Template)

UseTemplate provides a mock function with given fields: t

func (*Fpdf) UseTemplateScaled

func (_m *Fpdf) UseTemplateScaled(t gofpdf.Template, corner gofpdf.PointType, size gofpdf.SizeType)

UseTemplateScaled provides a mock function with given fields: t, corner, size

func (*Fpdf) Write

func (_m *Fpdf) Write(h float64, txtStr string)

Write provides a mock function with given fields: h, txtStr

func (*Fpdf) WriteAligned

func (_m *Fpdf) WriteAligned(width float64, lineHeight float64, textStr string, alignStr string)

WriteAligned provides a mock function with given fields: width, lineHeight, textStr, alignStr

func (*Fpdf) WriteLinkID

func (_m *Fpdf) WriteLinkID(h float64, displayStr string, linkID int)

WriteLinkID provides a mock function with given fields: h, displayStr, linkID

func (*Fpdf) WriteLinkString

func (_m *Fpdf) WriteLinkString(h float64, displayStr string, targetStr string)

WriteLinkString provides a mock function with given fields: h, displayStr, targetStr

func (*Fpdf) Writef

func (_m *Fpdf) Writef(h float64, fmtStr string, args ...interface{})

Writef provides a mock function with given fields: h, fmtStr, args

type Fpdf_AddFontFromBytes_Call

type Fpdf_AddFontFromBytes_Call struct {
	*mock.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 (*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

type Fpdf_AddFontFromReader_Call struct {
	*mock.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 (*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

type Fpdf_AddFont_Call

type Fpdf_AddFont_Call struct {
	*mock.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

type Fpdf_AddLayer_Call struct {
	*mock.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 struct {
	*mock.Call
}

Fpdf_AddLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLink'

func (_c *Fpdf_AddLink_Call) Return(_a0 int) *Fpdf_AddLink_Call
func (_c *Fpdf_AddLink_Call) Run(run func()) *Fpdf_AddLink_Call
func (_c *Fpdf_AddLink_Call) RunAndReturn(run func() int) *Fpdf_AddLink_Call

type Fpdf_AddPageFormat_Call

type Fpdf_AddPageFormat_Call struct {
	*mock.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 (*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

type Fpdf_AddPage_Call

type Fpdf_AddPage_Call struct {
	*mock.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

type Fpdf_AddSpotColor_Call struct {
	*mock.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 (*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

type Fpdf_AddUTF8FontFromBytes_Call struct {
	*mock.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 (*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

type Fpdf_AliasNbPages_Call

type Fpdf_AliasNbPages_Call struct {
	*mock.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 (*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

type Fpdf_ArcTo_Call struct {
	*mock.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

type Fpdf_Arc_Call

type Fpdf_Arc_Call struct {
	*mock.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

type Fpdf_BeginLayer_Call struct {
	*mock.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 (*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

type Fpdf_Beziergon_Call struct {
	*mock.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 (*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

type Fpdf_Bookmark_Call struct {
	*mock.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

type Fpdf_CellFormat_Call struct {
	*mock.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 (*Fpdf_CellFormat_Call) Run

func (_c *Fpdf_CellFormat_Call) Run(run func(w float64, h float64, txtStr string, borderStr string, ln int, alignStr string, fill bool, link int, linkStr string)) *Fpdf_CellFormat_Call

func (*Fpdf_CellFormat_Call) RunAndReturn

type Fpdf_Cell_Call

type Fpdf_Cell_Call struct {
	*mock.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

type Fpdf_Cellf_Call struct {
	*mock.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

type Fpdf_Circle_Call struct {
	*mock.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

type Fpdf_ClearError_Call struct {
	*mock.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 (*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

type Fpdf_ClipCircle_Call struct {
	*mock.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 (*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

type Fpdf_ClipEllipse_Call struct {
	*mock.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 (*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

type Fpdf_ClipEnd_Call

type Fpdf_ClipEnd_Call struct {
	*mock.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

type Fpdf_ClipPolygon_Call struct {
	*mock.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 (*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

type Fpdf_ClipRect_Call struct {
	*mock.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

type Fpdf_ClipRoundedRect_Call struct {
	*mock.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 (*Fpdf_ClipRoundedRect_Call) Run

func (*Fpdf_ClipRoundedRect_Call) RunAndReturn

type Fpdf_ClipText_Call

type Fpdf_ClipText_Call struct {
	*mock.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

type Fpdf_ClosePath_Call struct {
	*mock.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 (*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

type Fpdf_Close_Call struct {
	*mock.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

type Fpdf_CreateTemplateCustom_Call struct {
	*mock.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 (*Fpdf_CreateTemplateCustom_Call) Run

func (*Fpdf_CreateTemplateCustom_Call) RunAndReturn

type Fpdf_CreateTemplate_Call

type Fpdf_CreateTemplate_Call struct {
	*mock.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 (*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

type Fpdf_CurveBezierCubicTo_Call struct {
	*mock.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 (*Fpdf_CurveBezierCubicTo_Call) Run

func (*Fpdf_CurveBezierCubicTo_Call) RunAndReturn

type Fpdf_CurveBezierCubic_Call

type Fpdf_CurveBezierCubic_Call struct {
	*mock.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 (*Fpdf_CurveBezierCubic_Call) Run

func (_c *Fpdf_CurveBezierCubic_Call) Run(run func(x0 float64, y0 float64, cx0 float64, cy0 float64, cx1 float64, cy1 float64, x1 float64, y1 float64, styleStr string)) *Fpdf_CurveBezierCubic_Call

func (*Fpdf_CurveBezierCubic_Call) RunAndReturn

type Fpdf_CurveCubic_Call

type Fpdf_CurveCubic_Call struct {
	*mock.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 (*Fpdf_CurveCubic_Call) Run

func (_c *Fpdf_CurveCubic_Call) Run(run func(x0 float64, y0 float64, cx0 float64, cy0 float64, x1 float64, y1 float64, cx1 float64, cy1 float64, styleStr string)) *Fpdf_CurveCubic_Call

func (*Fpdf_CurveCubic_Call) RunAndReturn

type Fpdf_CurveTo_Call

type Fpdf_CurveTo_Call struct {
	*mock.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

type Fpdf_Curve_Call struct {
	*mock.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

type Fpdf_DrawPath_Call struct {
	*mock.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

type Fpdf_Ellipse_Call struct {
	*mock.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

type Fpdf_EndLayer_Call struct {
	*mock.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

type Fpdf_Err_Call struct {
	*mock.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

type Fpdf_Error_Call struct {
	*mock.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 (_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 (_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 (_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

type Fpdf_GetAlpha_Call struct {
	*mock.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

type Fpdf_GetAutoPageBreak_Call struct {
	*mock.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 (*Fpdf_GetAutoPageBreak_Call) Run

func (*Fpdf_GetAutoPageBreak_Call) RunAndReturn

func (_c *Fpdf_GetAutoPageBreak_Call) RunAndReturn(run func() (bool, float64)) *Fpdf_GetAutoPageBreak_Call

type Fpdf_GetCellMargin_Call

type Fpdf_GetCellMargin_Call struct {
	*mock.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 (*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

type Fpdf_GetConversionRatio_Call struct {
	*mock.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 (*Fpdf_GetConversionRatio_Call) Run

func (*Fpdf_GetConversionRatio_Call) RunAndReturn

type Fpdf_GetDrawColor_Call

type Fpdf_GetDrawColor_Call struct {
	*mock.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

type Fpdf_GetDrawSpotColor_Call struct {
	*mock.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 (*Fpdf_GetDrawSpotColor_Call) Run

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

type Fpdf_GetFillColor_Call struct {
	*mock.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

type Fpdf_GetFillSpotColor_Call struct {
	*mock.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 (*Fpdf_GetFillSpotColor_Call) Run

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

type Fpdf_GetFontDesc_Call struct {
	*mock.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 (*Fpdf_GetFontDesc_Call) Run

func (_c *Fpdf_GetFontDesc_Call) Run(run func(familyStr string, styleStr string)) *Fpdf_GetFontDesc_Call

func (*Fpdf_GetFontDesc_Call) RunAndReturn

type Fpdf_GetFontSize_Call

type Fpdf_GetFontSize_Call struct {
	*mock.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

type Fpdf_GetImageInfo_Call struct {
	*mock.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 (*Fpdf_GetImageInfo_Call) Run

func (_c *Fpdf_GetImageInfo_Call) Run(run func(imageStr string)) *Fpdf_GetImageInfo_Call

func (*Fpdf_GetImageInfo_Call) RunAndReturn

type Fpdf_GetLineWidth_Call

type Fpdf_GetLineWidth_Call struct {
	*mock.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 (*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

type Fpdf_GetMargins_Call struct {
	*mock.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

type Fpdf_GetPageSizeStr_Call struct {
	*mock.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 (*Fpdf_GetPageSizeStr_Call) Run

func (_c *Fpdf_GetPageSizeStr_Call) Run(run func(sizeStr string)) *Fpdf_GetPageSizeStr_Call

func (*Fpdf_GetPageSizeStr_Call) RunAndReturn

type Fpdf_GetPageSize_Call

type Fpdf_GetPageSize_Call struct {
	*mock.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

type Fpdf_GetStringWidth_Call struct {
	*mock.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 (*Fpdf_GetStringWidth_Call) Run

func (*Fpdf_GetStringWidth_Call) RunAndReturn

func (_c *Fpdf_GetStringWidth_Call) RunAndReturn(run func(string) float64) *Fpdf_GetStringWidth_Call

type Fpdf_GetTextColor_Call

type Fpdf_GetTextColor_Call struct {
	*mock.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

type Fpdf_GetTextSpotColor_Call struct {
	*mock.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 (*Fpdf_GetTextSpotColor_Call) Run

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

type Fpdf_GetXY_Call struct {
	*mock.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

type Fpdf_GetX_Call struct {
	*mock.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

type Fpdf_GetY_Call struct {
	*mock.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

type Fpdf_HTMLBasicNew_Call struct {
	*mock.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 (*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

type Fpdf_ImageOptions_Call struct {
	*mock.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 (*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

type Fpdf_ImageTypeFromMime_Call

type Fpdf_ImageTypeFromMime_Call struct {
	*mock.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 (*Fpdf_ImageTypeFromMime_Call) Run

func (*Fpdf_ImageTypeFromMime_Call) RunAndReturn

type Fpdf_Image_Call

type Fpdf_Image_Call struct {
	*mock.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) Run

func (_c *Fpdf_Image_Call) Run(run func(imageNameStr string, x float64, y float64, w float64, h float64, flow bool, tp string, link int, linkStr string)) *Fpdf_Image_Call

func (*Fpdf_Image_Call) RunAndReturn

func (_c *Fpdf_Image_Call) RunAndReturn(run func(string, float64, float64, float64, float64, bool, string, int, string)) *Fpdf_Image_Call

type Fpdf_LineTo_Call

type Fpdf_LineTo_Call struct {
	*mock.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

type Fpdf_Line_Call struct {
	*mock.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

type Fpdf_LinearGradient_Call struct {
	*mock.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 (*Fpdf_LinearGradient_Call) Run

func (_c *Fpdf_LinearGradient_Call) Run(run func(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)) *Fpdf_LinearGradient_Call

func (*Fpdf_LinearGradient_Call) RunAndReturn

type Fpdf_LinkString_Call

type Fpdf_LinkString_Call struct {
	*mock.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 (*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

type Fpdf_Link_Call struct {
	*mock.Call
}

Fpdf_Link_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Link'

func (_c *Fpdf_Link_Call) Return() *Fpdf_Link_Call
func (_c *Fpdf_Link_Call) Run(run func(x float64, y float64, w float64, h float64, link int)) *Fpdf_Link_Call
func (_c *Fpdf_Link_Call) RunAndReturn(run func(float64, float64, float64, float64, int)) *Fpdf_Link_Call

type Fpdf_Ln_Call

type Fpdf_Ln_Call struct {
	*mock.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

type Fpdf_MoveTo_Call struct {
	*mock.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

type Fpdf_MultiCell_Call struct {
	*mock.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 (*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

type Fpdf_Ok_Call struct {
	*mock.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

type Fpdf_OpenLayerPane_Call struct {
	*mock.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 (*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

type Fpdf_OutputAndClose_Call struct {
	*mock.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 (*Fpdf_OutputAndClose_Call) Run

func (*Fpdf_OutputAndClose_Call) RunAndReturn

type Fpdf_OutputFileAndClose_Call

type Fpdf_OutputFileAndClose_Call struct {
	*mock.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 (*Fpdf_OutputFileAndClose_Call) Run

func (*Fpdf_OutputFileAndClose_Call) RunAndReturn

type Fpdf_Output_Call

type Fpdf_Output_Call struct {
	*mock.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

type Fpdf_PageCount_Call struct {
	*mock.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

type Fpdf_PageNo_Call struct {
	*mock.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

type Fpdf_PageSize_Call struct {
	*mock.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

type Fpdf_PointConvert_Call struct {
	*mock.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 (*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

type Fpdf_PointToUnitConvert_Call struct {
	*mock.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 (*Fpdf_PointToUnitConvert_Call) Run

func (*Fpdf_PointToUnitConvert_Call) RunAndReturn

type Fpdf_Polygon_Call

type Fpdf_Polygon_Call struct {
	*mock.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

type Fpdf_RadialGradient_Call struct {
	*mock.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 (*Fpdf_RadialGradient_Call) Run

func (_c *Fpdf_RadialGradient_Call) Run(run func(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)) *Fpdf_RadialGradient_Call

func (*Fpdf_RadialGradient_Call) RunAndReturn

type Fpdf_RawWriteBuf_Call

type Fpdf_RawWriteBuf_Call struct {
	*mock.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 (*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

type Fpdf_RawWriteStr_Call struct {
	*mock.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 (*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

type Fpdf_Rect_Call struct {
	*mock.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

type Fpdf_RegisterAlias_Call struct {
	*mock.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 (*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

type Fpdf_RegisterImageOptionsReader_Call struct {
	*mock.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 (*Fpdf_RegisterImageOptionsReader_Call) Run

func (*Fpdf_RegisterImageOptionsReader_Call) RunAndReturn

type Fpdf_RegisterImageOptions_Call

type Fpdf_RegisterImageOptions_Call struct {
	*mock.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 (*Fpdf_RegisterImageOptions_Call) Run

func (*Fpdf_RegisterImageOptions_Call) RunAndReturn

type Fpdf_RegisterImageReader_Call

type Fpdf_RegisterImageReader_Call struct {
	*mock.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 (*Fpdf_RegisterImageReader_Call) Run

func (*Fpdf_RegisterImageReader_Call) RunAndReturn

type Fpdf_RegisterImage_Call

type Fpdf_RegisterImage_Call struct {
	*mock.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 (*Fpdf_RegisterImage_Call) Run

func (_c *Fpdf_RegisterImage_Call) Run(run func(fileStr string, tp string)) *Fpdf_RegisterImage_Call

func (*Fpdf_RegisterImage_Call) RunAndReturn

type Fpdf_SVGBasicWrite_Call

type Fpdf_SVGBasicWrite_Call struct {
	*mock.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 (*Fpdf_SVGBasicWrite_Call) Run

func (*Fpdf_SVGBasicWrite_Call) RunAndReturn

type Fpdf_SetAcceptPageBreakFunc_Call

type Fpdf_SetAcceptPageBreakFunc_Call struct {
	*mock.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 (*Fpdf_SetAcceptPageBreakFunc_Call) Run

func (*Fpdf_SetAcceptPageBreakFunc_Call) RunAndReturn

func (_c *Fpdf_SetAcceptPageBreakFunc_Call) RunAndReturn(run func(func() bool)) *Fpdf_SetAcceptPageBreakFunc_Call

type Fpdf_SetAlpha_Call

type Fpdf_SetAlpha_Call struct {
	*mock.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

type Fpdf_SetAuthor_Call struct {
	*mock.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 (*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

type Fpdf_SetAutoPageBreak_Call struct {
	*mock.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 (*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

type Fpdf_SetCatalogSort_Call struct {
	*mock.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 (*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

type Fpdf_SetCellMargin_Call struct {
	*mock.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 (*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

type Fpdf_SetCompression_Call struct {
	*mock.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 (*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

type Fpdf_SetCreationDate_Call struct {
	*mock.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 (*Fpdf_SetCreationDate_Call) Run

func (*Fpdf_SetCreationDate_Call) RunAndReturn

func (_c *Fpdf_SetCreationDate_Call) RunAndReturn(run func(time.Time)) *Fpdf_SetCreationDate_Call

type Fpdf_SetCreator_Call

type Fpdf_SetCreator_Call struct {
	*mock.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 (*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

type Fpdf_SetDashPattern_Call struct {
	*mock.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 (*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

type Fpdf_SetDisplayMode_Call struct {
	*mock.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 (*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

type Fpdf_SetDrawColor_Call struct {
	*mock.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 (*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

type Fpdf_SetDrawSpotColor_Call struct {
	*mock.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 (*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

type Fpdf_SetError_Call struct {
	*mock.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

type Fpdf_SetErrorf_Call struct {
	*mock.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 (*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

type Fpdf_SetFillColor_Call struct {
	*mock.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 (*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

type Fpdf_SetFillSpotColor_Call struct {
	*mock.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 (*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

type Fpdf_SetFontLoader_Call struct {
	*mock.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 (*Fpdf_SetFontLoader_Call) Run

func (*Fpdf_SetFontLoader_Call) RunAndReturn

type Fpdf_SetFontLocation_Call

type Fpdf_SetFontLocation_Call struct {
	*mock.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 (*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

type Fpdf_SetFontSize_Call struct {
	*mock.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 (*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

type Fpdf_SetFontStyle_Call struct {
	*mock.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 (*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

type Fpdf_SetFontUnitSize_Call struct {
	*mock.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 (*Fpdf_SetFontUnitSize_Call) Run

func (*Fpdf_SetFontUnitSize_Call) RunAndReturn

func (_c *Fpdf_SetFontUnitSize_Call) RunAndReturn(run func(float64)) *Fpdf_SetFontUnitSize_Call

type Fpdf_SetFont_Call

type Fpdf_SetFont_Call struct {
	*mock.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 {
	*mock.Call
}

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 (*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 {
	*mock.Call
}

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 (*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

type Fpdf_SetHeaderFuncMode_Call struct {
	*mock.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 (*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

type Fpdf_SetHeaderFunc_Call struct {
	*mock.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 (*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

type Fpdf_SetHomeXY_Call struct {
	*mock.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 (*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

type Fpdf_SetJavascript_Call struct {
	*mock.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 (*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

type Fpdf_SetKeywords_Call struct {
	*mock.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 (*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

type Fpdf_SetLeftMargin_Call struct {
	*mock.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 (*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

type Fpdf_SetLineCapStyle_Call struct {
	*mock.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 (*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

type Fpdf_SetLineJoinStyle_Call struct {
	*mock.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 (*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

type Fpdf_SetLineWidth_Call struct {
	*mock.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 (*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 struct {
	*mock.Call
}

Fpdf_SetLink_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLink'

func (_c *Fpdf_SetLink_Call) Return() *Fpdf_SetLink_Call
func (_c *Fpdf_SetLink_Call) Run(run func(link int, y float64, page int)) *Fpdf_SetLink_Call
func (_c *Fpdf_SetLink_Call) RunAndReturn(run func(int, float64, int)) *Fpdf_SetLink_Call

type Fpdf_SetMargins_Call

type Fpdf_SetMargins_Call struct {
	*mock.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 (*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

type Fpdf_SetPageBoxRec_Call struct {
	*mock.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 (*Fpdf_SetPageBoxRec_Call) Run

func (*Fpdf_SetPageBoxRec_Call) RunAndReturn

type Fpdf_SetPageBox_Call

type Fpdf_SetPageBox_Call struct {
	*mock.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 (*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

type Fpdf_SetPage_Call

type Fpdf_SetPage_Call struct {
	*mock.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

type Fpdf_SetProtection_Call struct {
	*mock.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 (*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

type Fpdf_SetRightMargin_Call struct {
	*mock.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 (*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

type Fpdf_SetSubject_Call struct {
	*mock.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 (*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

type Fpdf_SetTextColor_Call struct {
	*mock.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 (*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

type Fpdf_SetTextSpotColor_Call struct {
	*mock.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 (*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

type Fpdf_SetTitle_Call struct {
	*mock.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

type Fpdf_SetTopMargin_Call struct {
	*mock.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 (*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

type Fpdf_SetUnderlineThickness_Call struct {
	*mock.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 (*Fpdf_SetUnderlineThickness_Call) Run

func (*Fpdf_SetUnderlineThickness_Call) RunAndReturn

type Fpdf_SetXY_Call

type Fpdf_SetXY_Call struct {
	*mock.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

type Fpdf_SetX_Call struct {
	*mock.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

type Fpdf_SetXmpMetadata_Call struct {
	*mock.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 (*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

type Fpdf_SetY_Call struct {
	*mock.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

type Fpdf_SplitLines_Call struct {
	*mock.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

type Fpdf_String_Call struct {
	*mock.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

type Fpdf_Text_Call struct {
	*mock.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

type Fpdf_TransformBegin_Call struct {
	*mock.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 (*Fpdf_TransformBegin_Call) Run

func (*Fpdf_TransformBegin_Call) RunAndReturn

func (_c *Fpdf_TransformBegin_Call) RunAndReturn(run func()) *Fpdf_TransformBegin_Call

type Fpdf_TransformEnd_Call

type Fpdf_TransformEnd_Call struct {
	*mock.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 (*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

type Fpdf_TransformMirrorHorizontal_Call struct {
	*mock.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 (*Fpdf_TransformMirrorHorizontal_Call) Run

func (*Fpdf_TransformMirrorHorizontal_Call) RunAndReturn

type Fpdf_TransformMirrorLine_Call

type Fpdf_TransformMirrorLine_Call struct {
	*mock.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 (*Fpdf_TransformMirrorLine_Call) Run

func (*Fpdf_TransformMirrorLine_Call) RunAndReturn

type Fpdf_TransformMirrorPoint_Call

type Fpdf_TransformMirrorPoint_Call struct {
	*mock.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 (*Fpdf_TransformMirrorPoint_Call) Run

func (*Fpdf_TransformMirrorPoint_Call) RunAndReturn

type Fpdf_TransformMirrorVertical_Call

type Fpdf_TransformMirrorVertical_Call struct {
	*mock.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 (*Fpdf_TransformMirrorVertical_Call) Run

func (*Fpdf_TransformMirrorVertical_Call) RunAndReturn

type Fpdf_TransformRotate_Call

type Fpdf_TransformRotate_Call struct {
	*mock.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 (*Fpdf_TransformRotate_Call) Run

func (*Fpdf_TransformRotate_Call) RunAndReturn

type Fpdf_TransformScaleXY_Call

type Fpdf_TransformScaleXY_Call struct {
	*mock.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 (*Fpdf_TransformScaleXY_Call) Run

func (*Fpdf_TransformScaleXY_Call) RunAndReturn

type Fpdf_TransformScaleX_Call

type Fpdf_TransformScaleX_Call struct {
	*mock.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 (*Fpdf_TransformScaleX_Call) Run

func (*Fpdf_TransformScaleX_Call) RunAndReturn

type Fpdf_TransformScaleY_Call

type Fpdf_TransformScaleY_Call struct {
	*mock.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 (*Fpdf_TransformScaleY_Call) Run

func (*Fpdf_TransformScaleY_Call) RunAndReturn

type Fpdf_TransformScale_Call

type Fpdf_TransformScale_Call struct {
	*mock.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 (*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

type Fpdf_TransformSkewX_Call

type Fpdf_TransformSkewX_Call struct {
	*mock.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 (*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

type Fpdf_TransformSkewY_Call

type Fpdf_TransformSkewY_Call struct {
	*mock.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 (*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

type Fpdf_TransformSkew_Call

type Fpdf_TransformSkew_Call struct {
	*mock.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 (*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

type Fpdf_TransformTranslateX_Call

type Fpdf_TransformTranslateX_Call struct {
	*mock.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 (*Fpdf_TransformTranslateX_Call) Run

func (*Fpdf_TransformTranslateX_Call) RunAndReturn

type Fpdf_TransformTranslateY_Call

type Fpdf_TransformTranslateY_Call struct {
	*mock.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 (*Fpdf_TransformTranslateY_Call) Run

func (*Fpdf_TransformTranslateY_Call) RunAndReturn

type Fpdf_TransformTranslate_Call

type Fpdf_TransformTranslate_Call struct {
	*mock.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 (*Fpdf_TransformTranslate_Call) Run

func (*Fpdf_TransformTranslate_Call) RunAndReturn

type Fpdf_Transform_Call

type Fpdf_Transform_Call struct {
	*mock.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 (*Fpdf_Transform_Call) Run

func (*Fpdf_Transform_Call) RunAndReturn

func (_c *Fpdf_Transform_Call) RunAndReturn(run func(gofpdf.TransformMatrix)) *Fpdf_Transform_Call

type Fpdf_UnicodeTranslatorFromDescriptor_Call

type Fpdf_UnicodeTranslatorFromDescriptor_Call struct {
	*mock.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 (*Fpdf_UnicodeTranslatorFromDescriptor_Call) Run

func (*Fpdf_UnicodeTranslatorFromDescriptor_Call) RunAndReturn

type Fpdf_UnitToPointConvert_Call

type Fpdf_UnitToPointConvert_Call struct {
	*mock.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 (*Fpdf_UnitToPointConvert_Call) Run

func (*Fpdf_UnitToPointConvert_Call) RunAndReturn

type Fpdf_UseTemplateScaled_Call

type Fpdf_UseTemplateScaled_Call struct {
	*mock.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 (*Fpdf_UseTemplateScaled_Call) Run

func (*Fpdf_UseTemplateScaled_Call) RunAndReturn

type Fpdf_UseTemplate_Call

type Fpdf_UseTemplate_Call struct {
	*mock.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 (*Fpdf_UseTemplate_Call) Run

func (*Fpdf_UseTemplate_Call) RunAndReturn

func (_c *Fpdf_UseTemplate_Call) RunAndReturn(run func(gofpdf.Template)) *Fpdf_UseTemplate_Call

type Fpdf_WriteAligned_Call

type Fpdf_WriteAligned_Call struct {
	*mock.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 (*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

type Fpdf_WriteLinkID_Call

type Fpdf_WriteLinkID_Call struct {
	*mock.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 (*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

type Fpdf_WriteLinkString_Call struct {
	*mock.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 (*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

type Fpdf_Write_Call

type Fpdf_Write_Call struct {
	*mock.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

type Fpdf_Writef_Call struct {
	*mock.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

type Image struct {
	mock.Mock
}

Image is an autogenerated mock type for the Image type

func NewImage

func NewImage(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Image

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

func (*Image) GetImageInfo

func (_m *Image) GetImageInfo(img *entity.Image, _a1 extension.Type) (*gofpdf.ImageInfoType, uuid.UUID)

GetImageInfo provides a mock function with given fields: img, _a1

type Image_Add_Call

type Image_Add_Call struct {
	*mock.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

func (*Image_Add_Call) Run

func (_c *Image_Add_Call) Run(run func(img *entity.Image, cell *entity.Cell, margins *entity.Margins, prop *props.Rect, _a4 extension.Type, flow bool)) *Image_Add_Call

func (*Image_Add_Call) RunAndReturn

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

func (*Image_Expecter) GetImageInfo

func (_e *Image_Expecter) GetImageInfo(img interface{}, _a1 interface{}) *Image_GetImageInfo_Call

GetImageInfo is a helper method to define mock.On call

  • img *entity.Image
  • _a1 extension.Type

type Image_GetImageInfo_Call

type Image_GetImageInfo_Call struct {
	*mock.Call
}

Image_GetImageInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetImageInfo'

func (*Image_GetImageInfo_Call) Return

func (*Image_GetImageInfo_Call) Run

func (*Image_GetImageInfo_Call) RunAndReturn

type Line

type Line struct {
	mock.Mock
}

Line is an autogenerated mock type for the Line type

func NewLine

func NewLine(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Line

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) Add

func (_m *Line) Add(cell *entity.Cell, prop *props.Line)

Add provides a mock function with given fields: cell, prop

func (*Line) EXPECT

func (_m *Line) EXPECT() *Line_Expecter

type Line_Add_Call

type Line_Add_Call struct {
	*mock.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

type Listable struct {
	mock.Mock
}

Listable is an autogenerated mock type for the Listable type

func NewListable

func NewListable(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Listable

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

func (_m *Listable) GetContent(i int) core.Row

GetContent provides a mock function with given fields: i

func (*Listable) GetHeader

func (_m *Listable) GetHeader() core.Row

GetHeader provides a mock function with given fields:

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

type Listable_GetContent_Call struct {
	*mock.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 (*Listable_GetContent_Call) Run

func (*Listable_GetContent_Call) RunAndReturn

func (_c *Listable_GetContent_Call) RunAndReturn(run func(int) core.Row) *Listable_GetContent_Call

type Listable_GetHeader_Call

type Listable_GetHeader_Call struct {
	*mock.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 (*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

type Maroto struct {
	mock.Mock
}

Maroto is an autogenerated mock type for the Maroto type

func NewMaroto

func NewMaroto(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Maroto

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) AddAutoRow

func (_m *Maroto) AddAutoRow(cols ...core.Col) core.Row

AddAutoRow provides a mock function with given fields: cols

func (*Maroto) AddPages

func (_m *Maroto) AddPages(pages ...core.Page)

AddPages provides a mock function with given fields: pages

func (*Maroto) AddRow

func (_m *Maroto) AddRow(rowHeight float64, cols ...core.Col) core.Row

AddRow provides a mock function with given fields: rowHeight, cols

func (*Maroto) AddRows

func (_m *Maroto) AddRows(rows ...core.Row)

AddRows provides a mock function with given fields: rows

func (*Maroto) EXPECT

func (_m *Maroto) EXPECT() *Maroto_Expecter

func (*Maroto) FitlnCurrentPage

func (_m *Maroto) FitlnCurrentPage(heightNewLine float64) bool

FitlnCurrentPage provides a mock function with given fields: heightNewLine

func (*Maroto) Generate

func (_m *Maroto) Generate() (core.Document, error)

Generate provides a mock function with given fields:

func (*Maroto) GetCurrentConfig

func (_m *Maroto) GetCurrentConfig() *entity.Config

GetCurrentConfig provides a mock function with given fields:

func (*Maroto) GetStructure

func (_m *Maroto) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Maroto) RegisterFooter

func (_m *Maroto) RegisterFooter(rows ...core.Row) error

RegisterFooter provides a mock function with given fields: rows

func (*Maroto) RegisterHeader

func (_m *Maroto) RegisterHeader(rows ...core.Row) error

RegisterHeader provides a mock function with given fields: rows

type Maroto_AddAutoRow_Call

type Maroto_AddAutoRow_Call struct {
	*mock.Call
}

Maroto_AddAutoRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAutoRow'

func (*Maroto_AddAutoRow_Call) Return

func (*Maroto_AddAutoRow_Call) Run

func (_c *Maroto_AddAutoRow_Call) Run(run func(cols ...core.Col)) *Maroto_AddAutoRow_Call

func (*Maroto_AddAutoRow_Call) RunAndReturn

func (_c *Maroto_AddAutoRow_Call) RunAndReturn(run func(...core.Col) core.Row) *Maroto_AddAutoRow_Call

type Maroto_AddPages_Call

type Maroto_AddPages_Call struct {
	*mock.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 (*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

type Maroto_AddRow_Call struct {
	*mock.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

type Maroto_AddRows_Call struct {
	*mock.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 (*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) AddAutoRow

func (_e *Maroto_Expecter) AddAutoRow(cols ...interface{}) *Maroto_AddAutoRow_Call

AddAutoRow is a helper method to define mock.On call

  • cols ...core.Col

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) GetCurrentConfig

func (_e *Maroto_Expecter) GetCurrentConfig() *Maroto_GetCurrentConfig_Call

GetCurrentConfig 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

type Maroto_FitlnCurrentPage_Call struct {
	*mock.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 (*Maroto_FitlnCurrentPage_Call) Run

func (_c *Maroto_FitlnCurrentPage_Call) Run(run func(heightNewLine float64)) *Maroto_FitlnCurrentPage_Call

func (*Maroto_FitlnCurrentPage_Call) RunAndReturn

type Maroto_Generate_Call

type Maroto_Generate_Call struct {
	*mock.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 (*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_GetCurrentConfig_Call

type Maroto_GetCurrentConfig_Call struct {
	*mock.Call
}

Maroto_GetCurrentConfig_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentConfig'

func (*Maroto_GetCurrentConfig_Call) Return

func (*Maroto_GetCurrentConfig_Call) Run

func (*Maroto_GetCurrentConfig_Call) RunAndReturn

type Maroto_GetStructure_Call

type Maroto_GetStructure_Call struct {
	*mock.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 (*Maroto_GetStructure_Call) Run

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 {
	*mock.Call
}

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 (*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

type Maroto_RegisterHeader_Call struct {
	*mock.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 (*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

type Math struct {
	mock.Mock
}

Math is an autogenerated mock type for the Math type

func NewMath

func NewMath(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Math

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) *entity.Cell

GetInnerCenterCell provides a mock function with given fields: inner, outer

func (*Math) Resize

func (_m *Math) Resize(inner *entity.Dimensions, outer *entity.Dimensions, percent float64, justReferenceWidth bool) *entity.Dimensions

Resize provides a mock function with given fields: inner, outer, percent, justReferenceWidth

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{}) *Math_GetInnerCenterCell_Call

GetInnerCenterCell is a helper method to define mock.On call

  • inner *entity.Dimensions
  • outer *entity.Dimensions

func (*Math_Expecter) Resize

func (_e *Math_Expecter) Resize(inner interface{}, outer interface{}, percent interface{}, justReferenceWidth interface{}) *Math_Resize_Call

Resize is a helper method to define mock.On call

  • inner *entity.Dimensions
  • outer *entity.Dimensions
  • percent float64
  • justReferenceWidth bool

type Math_GetInnerCenterCell_Call

type Math_GetInnerCenterCell_Call struct {
	*mock.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 (*Math_GetInnerCenterCell_Call) Run

func (*Math_GetInnerCenterCell_Call) RunAndReturn

type Math_Resize_Call

type Math_Resize_Call struct {
	*mock.Call
}

Math_Resize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Resize'

func (*Math_Resize_Call) Return

func (*Math_Resize_Call) Run

func (_c *Math_Resize_Call) Run(run func(inner *entity.Dimensions, outer *entity.Dimensions, percent float64, justReferenceWidth bool)) *Math_Resize_Call

func (*Math_Resize_Call) RunAndReturn

type Node

type Node struct {
	mock.Mock
}

Node is an autogenerated mock type for the Node type

func NewNode

func NewNode(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Node

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

func (_m *Node) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Node) SetConfig

func (_m *Node) SetConfig(config *entity.Config)

SetConfig provides a mock function with given fields: config

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

type Node_GetStructure_Call struct {
	*mock.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 (*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

type Node_SetConfig_Call struct {
	*mock.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 (*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

type Page struct {
	mock.Mock
}

Page is an autogenerated mock type for the Page type

func NewPage

func NewPage(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Page

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) Add

func (_m *Page) Add(rows ...core.Row) core.Page

Add provides a mock function with given fields: rows

func (*Page) EXPECT

func (_m *Page) EXPECT() *Page_Expecter

func (*Page) GetNumber

func (_m *Page) GetNumber() int

GetNumber provides a mock function with given fields:

func (*Page) GetRows

func (_m *Page) GetRows() []core.Row

GetRows provides a mock function with given fields:

func (*Page) GetStructure

func (_m *Page) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Page) Render

func (_m *Page) Render(provider core.Provider, cell entity.Cell)

Render provides a mock function with given fields: provider, cell

func (*Page) SetConfig

func (_m *Page) SetConfig(config *entity.Config)

SetConfig provides a mock function with given fields: config

func (*Page) SetNumber

func (_m *Page) SetNumber(number int, total int)

SetNumber provides a mock function with given fields: number, total

type Page_Add_Call

type Page_Add_Call struct {
	*mock.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

type Page_GetNumber_Call struct {
	*mock.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

type Page_GetRows_Call struct {
	*mock.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

type Page_GetStructure_Call struct {
	*mock.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 (*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

type Page_Render_Call struct {
	*mock.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

type Page_SetConfig_Call struct {
	*mock.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 (*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

type Page_SetNumber_Call struct {
	*mock.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 (*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

type Provider struct {
	mock.Mock
}

Provider is an autogenerated mock type for the Provider type

func NewProvider

func NewProvider(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Provider

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

func (_m *Provider) AddBarCode(code string, cell *entity.Cell, prop *props.Barcode)

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

func (_m *Provider) AddImageFromFile(value string, cell *entity.Cell, prop *props.Rect)

AddImageFromFile provides a mock function with given fields: value, cell, prop

func (*Provider) AddLine

func (_m *Provider) AddLine(cell *entity.Cell, prop *props.Line)

AddLine provides a mock function with given fields: cell, prop

func (*Provider) AddMatrixCode

func (_m *Provider) AddMatrixCode(code string, cell *entity.Cell, prop *props.Rect)

AddMatrixCode provides a mock function with given fields: code, cell, prop

func (*Provider) AddQrCode

func (_m *Provider) AddQrCode(code string, cell *entity.Cell, rect *props.Rect)

AddQrCode provides a mock function with given fields: code, cell, rect

func (*Provider) AddText

func (_m *Provider) AddText(text string, cell *entity.Cell, prop *props.Text)

AddText provides a mock function with given fields: text, 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) CreateRow

func (_m *Provider) CreateRow(height float64)

CreateRow provides a mock function with given fields: height

func (*Provider) EXPECT

func (_m *Provider) EXPECT() *Provider_Expecter

func (*Provider) GenerateBytes

func (_m *Provider) GenerateBytes() ([]byte, error)

GenerateBytes provides a mock function with given fields:

func (*Provider) GetDimensionsByImage

func (_m *Provider) GetDimensionsByImage(file string) (*entity.Dimensions, error)

GetDimensionsByImage provides a mock function with given fields: file

func (*Provider) GetDimensionsByImageByte

func (_m *Provider) GetDimensionsByImageByte(bytes []byte, _a1 extension.Type) (*entity.Dimensions, error)

GetDimensionsByImageByte provides a mock function with given fields: bytes, _a1

func (*Provider) GetDimensionsByMatrixCode

func (_m *Provider) GetDimensionsByMatrixCode(code string) (*entity.Dimensions, error)

GetDimensionsByMatrixCode provides a mock function with given fields: code

func (*Provider) GetDimensionsByQrCode

func (_m *Provider) GetDimensionsByQrCode(code string) (*entity.Dimensions, error)

GetDimensionsByQrCode provides a mock function with given fields: code

func (*Provider) GetFontHeight

func (_m *Provider) GetFontHeight(prop *props.Font) float64

GetFontHeight provides a mock function with given fields: prop

func (*Provider) GetLinesQuantity

func (_m *Provider) GetLinesQuantity(text string, textProp *props.Text, colWidth float64) int

GetLinesQuantity provides a mock function with given fields: text, textProp, colWidth

func (*Provider) SetCompression

func (_m *Provider) SetCompression(compression bool)

SetCompression provides a mock function with given fields: compression

func (*Provider) SetMetadata

func (_m *Provider) SetMetadata(metadata *entity.Metadata)

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

type Provider_AddBackgroundImageFromBytes_Call struct {
	*mock.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 (*Provider_AddBackgroundImageFromBytes_Call) Run

func (*Provider_AddBackgroundImageFromBytes_Call) RunAndReturn

type Provider_AddBarCode_Call

type Provider_AddBarCode_Call struct {
	*mock.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 (*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

type Provider_AddImageFromBytes_Call

type Provider_AddImageFromBytes_Call struct {
	*mock.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 (*Provider_AddImageFromBytes_Call) Run

func (*Provider_AddImageFromBytes_Call) RunAndReturn

type Provider_AddImageFromFile_Call

type Provider_AddImageFromFile_Call struct {
	*mock.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 (*Provider_AddImageFromFile_Call) Run

func (*Provider_AddImageFromFile_Call) RunAndReturn

type Provider_AddLine_Call

type Provider_AddLine_Call struct {
	*mock.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 (*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

type Provider_AddMatrixCode_Call struct {
	*mock.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 (*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

type Provider_AddQrCode_Call

type Provider_AddQrCode_Call struct {
	*mock.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 (*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

type Provider_AddText_Call struct {
	*mock.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 (*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

type Provider_CreateCol_Call struct {
	*mock.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 (*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

type Provider_CreateRow_Call

type Provider_CreateRow_Call struct {
	*mock.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 (*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) GetDimensionsByImage

func (_e *Provider_Expecter) GetDimensionsByImage(file interface{}) *Provider_GetDimensionsByImage_Call

GetDimensionsByImage is a helper method to define mock.On call

  • file string

func (*Provider_Expecter) GetDimensionsByImageByte

func (_e *Provider_Expecter) GetDimensionsByImageByte(bytes interface{}, _a1 interface{}) *Provider_GetDimensionsByImageByte_Call

GetDimensionsByImageByte is a helper method to define mock.On call

  • bytes []byte
  • _a1 extension.Type

func (*Provider_Expecter) GetDimensionsByMatrixCode

func (_e *Provider_Expecter) GetDimensionsByMatrixCode(code interface{}) *Provider_GetDimensionsByMatrixCode_Call

GetDimensionsByMatrixCode is a helper method to define mock.On call

  • code string

func (*Provider_Expecter) GetDimensionsByQrCode

func (_e *Provider_Expecter) GetDimensionsByQrCode(code interface{}) *Provider_GetDimensionsByQrCode_Call

GetDimensionsByQrCode is a helper method to define mock.On call

  • code string

func (*Provider_Expecter) GetFontHeight

func (_e *Provider_Expecter) GetFontHeight(prop interface{}) *Provider_GetFontHeight_Call

GetFontHeight is a helper method to define mock.On call

  • prop *props.Font

func (*Provider_Expecter) GetLinesQuantity

func (_e *Provider_Expecter) GetLinesQuantity(text interface{}, textProp interface{}, colWidth interface{}) *Provider_GetLinesQuantity_Call

GetLinesQuantity is a helper method to define mock.On call

  • text string
  • textProp *props.Text
  • colWidth float64

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

type Provider_GenerateBytes_Call struct {
	*mock.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 (*Provider_GenerateBytes_Call) Run

func (*Provider_GenerateBytes_Call) RunAndReturn

func (_c *Provider_GenerateBytes_Call) RunAndReturn(run func() ([]byte, error)) *Provider_GenerateBytes_Call

type Provider_GetDimensionsByImageByte_Call

type Provider_GetDimensionsByImageByte_Call struct {
	*mock.Call
}

Provider_GetDimensionsByImageByte_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDimensionsByImageByte'

func (*Provider_GetDimensionsByImageByte_Call) Return

func (*Provider_GetDimensionsByImageByte_Call) Run

func (*Provider_GetDimensionsByImageByte_Call) RunAndReturn

type Provider_GetDimensionsByImage_Call

type Provider_GetDimensionsByImage_Call struct {
	*mock.Call
}

Provider_GetDimensionsByImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDimensionsByImage'

func (*Provider_GetDimensionsByImage_Call) Return

func (*Provider_GetDimensionsByImage_Call) Run

func (*Provider_GetDimensionsByImage_Call) RunAndReturn

type Provider_GetDimensionsByMatrixCode_Call

type Provider_GetDimensionsByMatrixCode_Call struct {
	*mock.Call
}

Provider_GetDimensionsByMatrixCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDimensionsByMatrixCode'

func (*Provider_GetDimensionsByMatrixCode_Call) Return

func (*Provider_GetDimensionsByMatrixCode_Call) Run

func (*Provider_GetDimensionsByMatrixCode_Call) RunAndReturn

type Provider_GetDimensionsByQrCode_Call

type Provider_GetDimensionsByQrCode_Call struct {
	*mock.Call
}

Provider_GetDimensionsByQrCode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDimensionsByQrCode'

func (*Provider_GetDimensionsByQrCode_Call) Return

func (*Provider_GetDimensionsByQrCode_Call) Run

func (*Provider_GetDimensionsByQrCode_Call) RunAndReturn

type Provider_GetFontHeight_Call

type Provider_GetFontHeight_Call struct {
	*mock.Call
}

Provider_GetFontHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFontHeight'

func (*Provider_GetFontHeight_Call) Return

func (*Provider_GetFontHeight_Call) Run

func (*Provider_GetFontHeight_Call) RunAndReturn

type Provider_GetLinesQuantity_Call

type Provider_GetLinesQuantity_Call struct {
	*mock.Call
}

Provider_GetLinesQuantity_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLinesQuantity'

func (*Provider_GetLinesQuantity_Call) Return

func (*Provider_GetLinesQuantity_Call) Run

func (_c *Provider_GetLinesQuantity_Call) Run(run func(text string, textProp *props.Text, colWidth float64)) *Provider_GetLinesQuantity_Call

func (*Provider_GetLinesQuantity_Call) RunAndReturn

type Provider_SetCompression_Call

type Provider_SetCompression_Call struct {
	*mock.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 (*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

type Provider_SetMetadata_Call struct {
	*mock.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 (*Provider_SetMetadata_Call) Run

func (*Provider_SetMetadata_Call) RunAndReturn

type Provider_SetProtection_Call

type Provider_SetProtection_Call struct {
	*mock.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 (*Provider_SetProtection_Call) Run

func (*Provider_SetProtection_Call) RunAndReturn

type Repository

type Repository struct {
	mock.Mock
}

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

AddUTF8FontFromBytes provides a mock function with given fields: family, style, bytes

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_AddUTF8FontFromBytes_Call

type Repository_AddUTF8FontFromBytes_Call struct {
	*mock.Call
}

Repository_AddUTF8FontFromBytes_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddUTF8FontFromBytes'

func (*Repository_AddUTF8FontFromBytes_Call) Return

func (*Repository_AddUTF8FontFromBytes_Call) Run

func (*Repository_AddUTF8FontFromBytes_Call) RunAndReturn

type Repository_AddUTF8Font_Call

type Repository_AddUTF8Font_Call struct {
	*mock.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 (*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

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) AddUTF8FontFromBytes

func (_e *Repository_Expecter) AddUTF8FontFromBytes(family interface{}, style interface{}, bytes interface{}) *Repository_AddUTF8FontFromBytes_Call

AddUTF8FontFromBytes is a helper method to define mock.On call

  • family string
  • style fontstyle.Type
  • bytes []byte

func (*Repository_Expecter) Load

Load is a helper method to define mock.On call

type Repository_Load_Call

type Repository_Load_Call struct {
	*mock.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 (*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

type Row struct {
	mock.Mock
}

Row is an autogenerated mock type for the Row type

func NewRow

func NewRow(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Row

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) Add

func (_m *Row) Add(cols ...core.Col) core.Row

Add provides a mock function with given fields: cols

func (*Row) EXPECT

func (_m *Row) EXPECT() *Row_Expecter

func (*Row) GetColumns

func (_m *Row) GetColumns() []core.Col

GetColumns provides a mock function with given fields:

func (*Row) GetHeight

func (_m *Row) GetHeight(provider core.Provider, cell *entity.Cell) float64

GetHeight provides a mock function with given fields: provider, cell

func (*Row) GetStructure

func (_m *Row) GetStructure() *node.Node[core.Structure]

GetStructure provides a mock function with given fields:

func (*Row) Render

func (_m *Row) Render(provider core.Provider, cell entity.Cell)

Render provides a mock function with given fields: provider, cell

func (*Row) SetConfig

func (_m *Row) SetConfig(config *entity.Config)

SetConfig provides a mock function with given fields: config

func (*Row) WithStyle

func (_m *Row) WithStyle(style *props.Cell) core.Row

WithStyle provides a mock function with given fields: style

type Row_Add_Call

type Row_Add_Call struct {
	*mock.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(provider interface{}, cell interface{}) *Row_GetHeight_Call

GetHeight is a helper method to define mock.On call

  • provider core.Provider
  • cell *entity.Cell

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

type Row_GetColumns_Call struct {
	*mock.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

type Row_GetHeight_Call struct {
	*mock.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 (*Row_GetHeight_Call) Run

func (_c *Row_GetHeight_Call) Run(run func(provider core.Provider, cell *entity.Cell)) *Row_GetHeight_Call

func (*Row_GetHeight_Call) RunAndReturn

func (_c *Row_GetHeight_Call) RunAndReturn(run func(core.Provider, *entity.Cell) float64) *Row_GetHeight_Call

type Row_GetStructure_Call

type Row_GetStructure_Call struct {
	*mock.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 (*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

type Row_Render_Call struct {
	*mock.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

type Row_SetConfig_Call struct {
	*mock.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

type Row_WithStyle_Call struct {
	*mock.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

type Text struct {
	mock.Mock
}

Text is an autogenerated mock type for the Text type

func NewText

func NewText(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Text

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) Add

func (_m *Text) Add(text string, cell *entity.Cell, textProp *props.Text)

Add provides a mock function with given fields: text, cell, textProp

func (*Text) EXPECT

func (_m *Text) EXPECT() *Text_Expecter

func (*Text) GetLinesQuantity

func (_m *Text) GetLinesQuantity(text string, textProp *props.Text, colWidth float64) int

GetLinesQuantity provides a mock function with given fields: text, textProp, colWidth

type Text_Add_Call

type Text_Add_Call struct {
	*mock.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{}, textProp interface{}, colWidth interface{}) *Text_GetLinesQuantity_Call

GetLinesQuantity is a helper method to define mock.On call

  • text string
  • textProp *props.Text
  • colWidth float64

type Text_GetLinesQuantity_Call

type Text_GetLinesQuantity_Call struct {
	*mock.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 (*Text_GetLinesQuantity_Call) Run

func (_c *Text_GetLinesQuantity_Call) Run(run func(text string, textProp *props.Text, colWidth float64)) *Text_GetLinesQuantity_Call

func (*Text_GetLinesQuantity_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL