msworddoc-extractor:从Microsoft Word文档中提取文本内容

时间:2024-05-22 11:49:38
【文件属性】:

文件名称:msworddoc-extractor:从Microsoft Word文档中提取文本内容

文件大小:14KB

文件格式:ZIP

更新时间:2024-05-22 11:49:38

Ruby

MSWordDoc ::提取器 从Microsoft Word文档中提取文本内容 安装 将此行添加到您的应用程序的Gemfile中: gem 'msworddoc-extractor' , :git => 'git://github.com/dayflower/msworddoc-extractor.git' 然后执行: $ bundle install 用法 require 'msworddoc-extractor' doc = MSWordDoc :: Extractor . load ( 'sample.doc' ) puts doc . contents # doc is MSWordDoc::Essence # You have to close document explicitly doc . close ( ) # Or call load() with bl


【文件预览】:
msworddoc-extractor-master
----bin()
--------worddoc-extract(1KB)
----Rakefile(172B)
----test()
--------test_msworddoc.rb(849B)
--------test_io.rb(681B)
--------lorem.doc(10KB)
--------fareast.doc(9KB)
--------test_fareast.rb(610B)
----LICENSE(1KB)
----Gemfile(39B)
----msworddoc-extractor.gemspec(1KB)
----.gitignore(197B)
----lib()
--------msworddoc()
--------msworddoc-extractor.rb(61B)
----README.md(2KB)

网友评论