Skip to content

kitplummer/antiwordr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

antiwordr

Wrapper around the command line tool antiword which converts Word Document (97/2003) to text or Docbook.

requirements

Just antiword, Ruby and a few gems (1.8.6+ as far as I know).

using

Install with gem install antiwordr

http://gemcutter.org/gems/antiwordr

require 'antiwordr'
require 'nokogiri'
file = DocFilePath.new([Path to Source PDF])
string = file.convert()
xml = file.convert_to_docbook()
doc = file.convert_to_docbook_document()

See included test cases for more usage examples.

license

MIT (See included MIT-LICENSE)

About

A simple Ruby wrapper around the antiword command line utility for converting Docs to text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages