convert

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RendererAuto        = "auto"
	RendererLibreOffice = "libreoffice"
	RendererKeynote     = "keynote"
)

Variables

This section is empty.

Functions

func FindLibreOffice

func FindLibreOffice() string

Types

type Options

type Options struct {
	OutputDir string
	Renderer  string
}

type Result

type Result struct {
	Input       detect.Input `json:"input"`
	OutputPath  string       `json:"output_path"`
	Renderer    string       `json:"renderer"`
	Passthrough bool         `json:"passthrough"`
	StartedAt   time.Time    `json:"started_at"`
	FinishedAt  time.Time    `json:"finished_at"`
}

func ToPDF

func ToPDF(ctx context.Context, input detect.Input, options Options) (Result, error)

Jump to

Keyboard shortcuts

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