Skip to content

A wrapper over the amazing package go-libreofficekit that integrates with LibreOffice 5.2

License

Notifications You must be signed in to change notification settings

minhajuddinkhan/rtf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtf

A wrapper over the amazing package that integrates go with LibreOffice 5.2

https://github.com/dveselov/go-libreofficekit

Dependencies

LibreOffice 5.2 (Exact version)

How To?

1. Install the debian package from the LibreOffice archive

https://downloadarchive.documentfoundation.org/libreoffice/old/5.0.2.2/deb/x86_64/

2. Extract the tar.gz file and install all the .deb files
3. Get the awesome go-libreofficekit
  Latest version of LibreOffice (5.2) is required
$ sudo add-apt-repository ppa:libreoffice/ppa 
$ sudo apt-get update
$ sudo apt-get install libreoffice libreofficekit-dev
$ go get github.com/docsbox/go-libreofficekit
4. Get this cli wrapper

go get github.com/minhajuddinkhan/rtf/cmd/libreconv

5. Convert via CLI

libreconv convert [PathToInputFile] [PathToOutputFile] [FileType]

Example

libreconv convert yolo.html yolo.rtf rtf

NAME:
   Libre Office converter - Converts to your desired data format through LibreOffice 5.2 - A new cli application

USAGE:
   main [global options] command [command options] [arguments...]

VERSION:
   0.0.0

COMMANDS:
     convert, convert path/input.html path/output.html type  does file conversion
     help, h                                                 Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

About

A wrapper over the amazing package go-libreofficekit that integrates with LibreOffice 5.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published