Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DocumentResult ¶
type DocumentResult struct {
// contains filtered or unexported fields
}
DocumentResult wraps the completed PDF document and provides the Save method.
func (*DocumentResult) Save ¶
func (dr *DocumentResult) Save(path string) error
Save writes the rendered PDF file to the specified disk path.
type GeneratedDocument ¶
type GeneratedDocument struct {
// contains filtered or unexported fields
}
GeneratedDocument is the custom wrapper returned to keep public API identical.
func Generate ¶
func Generate(report *structure.Report, styleSheet *style.StyleSheet) (*GeneratedDocument, error)
Generate builds the complete document layout using a custom canvas-based engine.
func (*GeneratedDocument) Generate ¶
func (gd *GeneratedDocument) Generate() (*DocumentResult, error)
Generate implements the document production step, returning the saveable result.
Click to show internal directories.
Click to hide internal directories.