Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fill ¶
func Fill(form Form, formPDFFile, destPDFFile string, options ...OptionsFunc) (err error)
Fill a PDF form with the specified form values and create a final filled PDF file. The options parameter alters few aspects of the generation.
func WithFlatten ¶
func WithOverwrite ¶
func WithTempDir ¶
Types ¶
type Options ¶
type Options struct {
// Overwrite will overwrite any pre existing filled PDF
Overwrite bool
// Flatten will flatten the document making the form fields no longer editable
Flatten bool
// TempDir will be used to save temporary pdf files
TempDir string
}
Options represents the options to alter the PDF filling process
type OptionsFunc ¶
type OptionsFunc func(options *Options)
Click to show internal directories.
Click to hide internal directories.