Project

antiwordr

0.0
No commit activity in last 3 years
No release in over 3 years
Uses command-line antiword tools to convert Docs to text.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 1.3.3
 Project Readme

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)