Documentation ¶
Index ¶
- func AddKeywords(locations []*PDFSearchLocation, templateFile string, saveasFilepath string, ...) (err error)
- func AddKeywordsBytes(locations []*PDFSearchLocation, templateFile []byte, useTempPageSize bool) (bs []byte, err error)
- func Exist(localFile string) (bool, error)
- type BaseColor
- type Image
- type PDFSearchLocation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddKeywords ¶
func AddKeywords(locations []*PDFSearchLocation, templateFile string, saveasFilepath string, useTempPageSize bool) (err error)
func AddKeywordsBytes ¶ added in v0.0.5
func AddKeywordsBytes(locations []*PDFSearchLocation, templateFile []byte, useTempPageSize bool) (bs []byte, err error)
Types ¶
type PDFSearchLocation ¶
type PDFSearchLocation struct { AbsX float64 `json:"absX"` AbsY float64 `json:"absY"` Page int `json:"page"` AddText string `json:"addText"` RelativeX float64 `json:"relativeX"` RelativeY float64 `json:"relativeY"` FontSize float64 `json:"fontSize"` BaseColor BaseColor `json:"baseColor"` Image *Image `json:"image"` }
Click to show internal directories.
Click to hide internal directories.