libreoffice

package
v0.2.43 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibreOfficeExec

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

func NewLibreOfficeExec

func NewLibreOfficeExec() *LibreOfficeExec

func (*LibreOfficeExec) CmdCat

func (instance *LibreOfficeExec) CmdCat(sourceFile string) (string, error)

CmdCat Dump text content of the following files to console

func (*LibreOfficeExec) CmdConvertTo

func (instance *LibreOfficeExec) CmdConvertTo(sourceFile, targetFormat string) (string, error)

CmdConvertTo run command "$ libreoffice --convert-to docx file.txt"

func (*LibreOfficeExec) CmdConvertToDir

func (instance *LibreOfficeExec) CmdConvertToDir(sourceFile, targetFormat, outDir string) (string, error)

func (*LibreOfficeExec) CmdConvertToDocx

func (instance *LibreOfficeExec) CmdConvertToDocx(sourceFile string) (string, error)

func (*LibreOfficeExec) CmdConvertToEpub

func (instance *LibreOfficeExec) CmdConvertToEpub(sourceFile string) (string, error)

func (*LibreOfficeExec) CmdConvertToPdf

func (instance *LibreOfficeExec) CmdConvertToPdf(sourceFile string) (string, error)

func (*LibreOfficeExec) CmdConvertToTxt

func (instance *LibreOfficeExec) CmdConvertToTxt(sourceFile string) (string, error)

func (*LibreOfficeExec) CmdHelp

func (instance *LibreOfficeExec) CmdHelp() (string, error)

func (*LibreOfficeExec) CmdPrint

func (instance *LibreOfficeExec) CmdPrint(sourceFile string) (string, error)

CmdPrint This option prints to the default printer without opening LibreOffice; it just sends the document to your printer.

func (*LibreOfficeExec) CmdVersion

func (instance *LibreOfficeExec) CmdVersion() (string, error)

func (*LibreOfficeExec) GetDir

func (instance *LibreOfficeExec) GetDir() string

func (*LibreOfficeExec) GetDirOut

func (instance *LibreOfficeExec) GetDirOut() string

func (*LibreOfficeExec) IsInstalled

func (instance *LibreOfficeExec) IsInstalled() bool

func (*LibreOfficeExec) OpenDoc

func (instance *LibreOfficeExec) OpenDoc(filename string) error

func (*LibreOfficeExec) Pid

func (instance *LibreOfficeExec) Pid() int

func (*LibreOfficeExec) SetDir

func (instance *LibreOfficeExec) SetDir(dir string)

func (*LibreOfficeExec) SetDirOut

func (instance *LibreOfficeExec) SetDirOut(dir string)

func (*LibreOfficeExec) TryKill

func (instance *LibreOfficeExec) TryKill() error

Jump to

Keyboard shortcuts

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