Documentation ¶
Index ¶
- func CreatePage(xRefTable *model.XRefTable, parentPageIndRef types.IndirectRef, p *model.Page, ...) (*types.IndirectRef, types.Dict, error)
- func FromJSON(ctx *model.Context, rd io.Reader) error
- func FromStruct(ctx *model.Context, pdf *primitives.PDF) error
- func UpdatePage(xRefTable *model.XRefTable, dIndRef types.IndirectRef, d, res types.Dict, ...) error
- func UpdatePageTree(ctx *model.Context, pages []*model.Page, fontMap model.FontMap) (types.Array, model.FontMap, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePage ¶
func CreatePage( xRefTable *model.XRefTable, parentPageIndRef types.IndirectRef, p *model.Page, fonts model.FontMap) (*types.IndirectRef, types.Dict, error)
CreatePage generates a page dict for p.
func FromStruct ¶
func FromStruct(ctx *model.Context, pdf *primitives.PDF) error
FromStruct generates PDF content into ctx as provided by PDF structure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.