Documentation ¶
Overview ¶
Package pdfengine provides a module which interacts with the UNO (Universal Network Objects) API and implements the gotenberg.PDFEngine interface.
Index ¶
- type UNO
- func (engine UNO) Convert(ctx context.Context, logger *zap.Logger, format, inputPath, outputPath string) error
- func (UNO) Descriptor() gotenberg.ModuleDescriptor
- func (engine UNO) Merge(_ context.Context, _ *zap.Logger, _ []string, _ string) error
- func (engine *UNO) Provision(ctx *gotenberg.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UNO ¶ added in v7.5.0
type UNO struct {
// contains filtered or unexported fields
}
UNO interacts with the UNO (Universal Network Objects) API and implements the gotenberg.PDFEngine interface.
func (UNO) Convert ¶ added in v7.5.0
func (engine UNO) Convert(ctx context.Context, logger *zap.Logger, format, inputPath, outputPath string) error
Convert converts the given PDF to a specific PDF format. Currently, only the PDF/A-1a, PDF/A-2b and PDF/A-3b formats are available. If another PDF format is requested, it returns a gotenberg.ErrPDFFormatNotAvailable error.
func (UNO) Descriptor ¶ added in v7.5.0
func (UNO) Descriptor() gotenberg.ModuleDescriptor
Descriptor returns a UNO's module descriptor.
Click to show internal directories.
Click to hide internal directories.