pdfcpu

package
v7.10.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package pdfcpu provides an implementation of the gotenberg.PdfEngine interface using the pdfcpu library. This package allows for the merging of PDF files but does not support conversion to specific PDF formats.

See: https://github.com/pdfcpu/pdfcpu.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PdfCpu added in v7.10.0

type PdfCpu struct {
	// contains filtered or unexported fields
}

PdfCpu abstracts the pdfcpu library and implements the gotenberg.PdfEngine interface.

func (*PdfCpu) Convert added in v7.10.0

func (engine *PdfCpu) Convert(ctx context.Context, logger *zap.Logger, formats gotenberg.PdfFormats, inputPath, outputPath string) error

Convert is not available in this implementation.

func (*PdfCpu) Descriptor added in v7.10.0

func (engine *PdfCpu) Descriptor() gotenberg.ModuleDescriptor

Descriptor returns a PdfCpu's module descriptor.

func (*PdfCpu) Merge added in v7.10.0

func (engine *PdfCpu) Merge(ctx context.Context, logger *zap.Logger, inputPaths []string, outputPath string) error

Merge combines multiple PDFs into a single PDF.

func (*PdfCpu) Provision added in v7.10.0

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

Provision sets the engine properties.

Jump to

Keyboard shortcuts

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