loffice

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package loffice for calling loffice, for example for converting files to PDF

Index

Constants

This section is empty.

Variables

View Source
var Loffice = "loffice"

Loffice executable name

View Source
var Log = func(...interface{}) error { return nil }

Log is discarded by default

View Source
var Timeout = 300

Timeout of the child, in seconds

Functions

func Convert

func Convert(srcFn, dstFn, format string) error

Convert converts from srcFn to dstFn, into the given format. Convert from srcFn to dstFn files, with the given format. Either filenames can be empty or "-" which treated as stdin/stdout

Types

This section is empty.

Jump to

Keyboard shortcuts

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