pdfengine

package
v7.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2022 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package pdfengine provides a module which interacts with the UNO (Universal Network Objects) API and implements the gotenberg.PDFEngine interface.

Index

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.

func (UNO) Merge added in v7.5.0

func (engine UNO) Merge(_ context.Context, _ *zap.Logger, _ []string, _ string) error

Merge is not available for this PDF engine.

func (*UNO) Provision added in v7.5.0

func (engine *UNO) Provision(ctx *gotenberg.Context) error

Provision sets the module properties.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL