Documentation ¶
Overview ¶
Package fjson provides support for loading PDF form field data from JSON data/files.
Index ¶
- type FieldData
- func (_fea *FieldData) FieldImageValues() (map[string]*_f.Image, error)
- func (_cfe *FieldData) FieldValues() (map[string]_ag.PdfObject, error)
- func (_aa FieldData) JSON() (string, error)
- func (_bcd *FieldData) SetImage(fieldName string, img *_f.Image, opt []string) error
- func (_cac *FieldData) SetImageFromFile(fieldName string, imagePath string, opt []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FieldData ¶
type FieldData struct {
// contains filtered or unexported fields
}
FieldData represents form field data loaded from JSON file.
func LoadFromJSON ¶
LoadFromJSON loads JSON form data from `r`.
func LoadFromJSONFile ¶
LoadFromJSONFile loads form field data from a JSON file.
func LoadFromPDF ¶
func LoadFromPDF(rs _e.ReadSeeker) (*FieldData, error)
LoadFromPDF loads form field data from a PDF.
func LoadFromPDFFile ¶
LoadFromPDFFile loads form field data from a PDF file.
func (*FieldData) FieldImageValues ¶
FieldImageValues implements model.FieldImageProvider interface.
func (*FieldData) FieldValues ¶
FieldValues implements model.FieldValueProvider interface.
Click to show internal directories.
Click to hide internal directories.