Documentation
¶
Overview ¶
Package attach provides management code for file attachments / embedded files.
Index ¶
- func Add(xRefTable *types.XRefTable, files types.StringSet) (ok bool, err error)
- func Extract(ctx *types.PDFContext, files types.StringSet) (err error)
- func List(xRefTable *types.XRefTable) (list []string, err error)
- func Remove(xRefTable *types.XRefTable, files types.StringSet) (ok bool, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add embeds specified files. Existing attachments are replaced. ok returns true if at least one attachment was added.
func Extract ¶
func Extract(ctx *types.PDFContext, files types.StringSet) (err error)
Extract exports specified embedded files. If no files specified extract all embedded files.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.