Documentation ¶
Index ¶
- type LibreOfficeExec
- func (instance *LibreOfficeExec) CmdCat(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertTo(sourceFile, targetFormat string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToDir(sourceFile, targetFormat, outDir string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToDocx(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToEpub(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToHTML(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToPdf(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdConvertToTxt(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdHelp() (string, error)
- func (instance *LibreOfficeExec) CmdPrint(sourceFile string) (string, error)
- func (instance *LibreOfficeExec) CmdVersion() (string, error)
- func (instance *LibreOfficeExec) GetDir() string
- func (instance *LibreOfficeExec) GetDirOut() string
- func (instance *LibreOfficeExec) IsInstalled() bool
- func (instance *LibreOfficeExec) OpenDoc(filename string) error
- func (instance *LibreOfficeExec) Pid() int
- func (instance *LibreOfficeExec) SetDir(dir string)
- func (instance *LibreOfficeExec) SetDirOut(dir string)
- func (instance *LibreOfficeExec) TryKill() error
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) CmdConvertToHTML ¶ added in v0.2.107
func (instance *LibreOfficeExec) CmdConvertToHTML(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
Click to show internal directories.
Click to hide internal directories.