pdf

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: MulanPSL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopMargin   = 30
	LeftMargin  = 15
	RightMargin = 15

	HEADER_Y       = 12
	HEADER_IMAGE_Y = 2
	FOOTER_Y       = -15
)

Variables

This section is empty.

Functions

This section is empty.

Types

type TPdfHeadFooter

type TPdfHeadFooter struct {
	BaseDir string

	LeftMargin  float64
	RightMargin float64

	TemplateRequestDto *printdto.TemplateRequestDto
	MsgHelper          *httphelper.HttpHelper
	// contains filtered or unexported fields
}

func (*TPdfHeadFooter) FontDir

func (t *TPdfHeadFooter) FontDir() string

func (*TPdfHeadFooter) ImageFile

func (t *TPdfHeadFooter) ImageFile(fileStr string) string

func (*TPdfHeadFooter) InputDir

func (t *TPdfHeadFooter) InputDir() string

func (*TPdfHeadFooter) LogList

func (p *TPdfHeadFooter) LogList(lst *list.List)

func (*TPdfHeadFooter) OutputDir

func (t *TPdfHeadFooter) OutputDir() string

func (*TPdfHeadFooter) ParseSingleDatas

func (t *TPdfHeadFooter) ParseSingleDatas(cellData *jsondto.TCellDataDto)

func (*TPdfHeadFooter) PdfAddHeadFooter

func (t *TPdfHeadFooter) PdfAddHeadFooter(dto *jsondto.TemplateDto, inputfile string, outputfile string)

func (*TPdfHeadFooter) PdfAddHeadFooterDefault

func (t *TPdfHeadFooter) PdfAddHeadFooterDefault(dto *jsondto.TemplateDto, inputfile string, outputfile string)

AlignLeft = "L" // AlignRight right aligns the cell AlignRight = "R" // AlignCenter centers the cell AlignCenter = "C" // AlignTop aligns the cell to the top AlignTop = "T" // AlignBottom aligns the cell to the bottom AlignBottom = "B" // AlignMiddle aligns the cell to the middle AlignMiddle = "M" // AlignBaseline aligns the cell to the baseline AlignBaseline = "B"

func (*TPdfHeadFooter) SetFooterFunc

func (t *TPdfHeadFooter) SetFooterFunc(pdf *gofpdf.Fpdf, dto *jsondto.TemplateDto)

func (*TPdfHeadFooter) SetHeaderFunc

func (t *TPdfHeadFooter) SetHeaderFunc(pdf *gofpdf.Fpdf, dto *jsondto.TemplateDto)

"logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH4AAAAoCAYAAAA49E5iAAAACXBIWXMAABcSAAAXEgFnn9JSAAAZmUlEQVR4Xu2ca6wkx3Xff+dUdffM3Mfeu9zlUnzskpIoUaRMPSmKFLmWHCmCYyiyYUFwHkAMBLCBIEj8IR8N5FMSIAniGHA+GDL8SbCDfJCj2Ikc24wg0aZEm6REWaJELnfJ3eVjudz3vfPo7qo6+VDdM3PvLsldUpItJAcY9Ezdruqq8z+vOqf6ipkZP2J6K48Qkd1NPxR6vTm93jNfr98b0VsZ9/X6XiuJiPjdja9F/bQWj0+LP1ict2bSxVcBRAgkYjBUPSnlhZQOQkgYEbOIiIEYIoaIIARoxjin+TlNSz0ZU4+3aeqa548+y3SyzaVLF9navsjp0y8xmUyo65qEEGMkhYhYRAFVxYkiIpgI63s2Ga2ts7a+yZ7N69jY2GA4Wudd77mbcjCkGAygKACwNhCT4QdDUA8mNG0gmcP7EnWa16WJGCMkQUTw6hBlwcCeBIxEIgGGigPL3O2FoAf7hwl6T3L1Gt8DrXP0+45vNEI/bwGwljxW6AQmMDt7mheOH+Xkied45eWTnD3zCtsXLzCbjrlhYw3tBMFjpBRITUPbtoj1c4qYLDFIhbquMTMsdvd0808pYSY452haIyTDTEgYKWamD6qKEAJN01A3DW2KFIMR6ksubI9RVzFaWee6/W/jlkOHeNftd3DHnXezfvAQ4EAczWxGQCjKAeY8LYaXEkMRQJF8tbluzAH/UQMvInL1wFsiM086wB0GRKAJLUVR4IBkCSXhMsrEELC2wZceBJ759qMcfeb7vHLqBcJsG2KNpAaJDaQWrEUwtAOqCYYkA0vZKliEZEBC6QBLkDAER5sMCy1OEyEEUkpZw00IISDq8d4TQqIJsROEBQtEhHY6JcY2A+McZka0RFkOMBViSFlgkkNEERyqirmSRirK9XXue/Aw99z/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+iqjhXUBQFRVUiruDWt7+dvfuu5+DBW3nbjTeyvrFJuXYd+AKchza/lYM4imqIaK4/5JccyrnlgKwkuy3L3zT9WICHBfg79K8DI8acwuxPpCz+DihMO1MPC8GZm38SwiKjmNLibV+LLYKA9J+dpjKGgPbHqsgvXGJdGlUK8itUYAYpgWoeJqXctsw1kfx3yI/oX7DMf/vbCfzutv9P/4/Q/wXSFIXVhAk+EQAAAABJRU5ErkJggg==",

type TemplateHandle

type TemplateHandle struct {
	BaseDir string

	TemplateRequestDto *dto2.TemplateRequestDto

	HasHeadFooter bool

	DataResultDto dto2.DataResultDto
	// contains filtered or unexported fields
}

func (*TemplateHandle) FontDir

func (t *TemplateHandle) FontDir() string

func (*TemplateHandle) HandleBody

func (t *TemplateHandle) HandleBody() (*bytes.Buffer, error)

only used by code

func (*TemplateHandle) HandleBodyIO

func (t *TemplateHandle) HandleBodyIO(rp *dto2.DataRequestDto, content []byte) (*bytes.Buffer, error)

const str = `{"name":{"first":"Janet","last":"Prichard"},"age":47}` value := gjson.Get(str, "name.last") func (t *TemplateExcel) HandleBodyIO(reader io.Reader, msgHelper *helper.HttpHelper,delHeader bool) (*bytes.Buffer ,error){

func (*TemplateHandle) HandleBodyPreview

func (t *TemplateHandle) HandleBodyPreview(templateRequestDto *dto2.TemplateRequestDto) (*bytes.Buffer, *dto2.DataResultDto)

打印模板删除页眉页脚,并且设置尺寸

func (*TemplateHandle) HandleHeaderFooter

func (t *TemplateHandle) HandleHeaderFooter(inputfile string) string

json pdf2pdf

func (*TemplateHandle) HandleTemplateBody

func (t *TemplateHandle) HandleTemplateBody(templateRequestDto *dto2.TemplateRequestDto) (*bytes.Buffer, *dto2.DataResultDto)

func (*TemplateHandle) HandleTemplatePdf

func (t *TemplateHandle) HandleTemplatePdf() ([]byte, *dto2.DataResultDto)

func (*TemplateHandle) ImageFile

func (t *TemplateHandle) ImageFile(fileStr string) string

func (*TemplateHandle) InputDir

func (t *TemplateHandle) InputDir() string

func (*TemplateHandle) MakePdf

func (t *TemplateHandle) MakePdf() string

func (*TemplateHandle) OutputDir

func (t *TemplateHandle) OutputDir() string

func (*TemplateHandle) Pdf2Pdf

func (t *TemplateHandle) Pdf2Pdf(body []byte) ([]byte, error)

func (*TemplateHandle) PdfAddHeadFooterDefault

func (t *TemplateHandle) PdfAddHeadFooterDefault(inputfile string, outputfile string)

Jump to

Keyboard shortcuts

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