root/trunk/lib/picolena/templates/lib/plain_text_extractors/adobe.pdf.rb

Revision 216, 446 bytes (checked in by eric.dumin..@gmail.com, 6 months ago)

Ready for 0.1.4?

  • Property svn:executable set to *
Line 
1 # PDF to text conversion:
2 #   Program: pdftotext
3 #   Version tested: 3.02
4 #   Installation: Ubuntu  xpdf-utils package
5 #   Home page: http://www.foolabs.com/xpdf/
6
7 PlainTextExtractor.new {
8   every :pdf
9   as "application/pdf"
10   aka "Adobe Portable Document Format"
11   with "pdftotext -enc UTF-8 SOURCE -" => :on_linux_and_mac_os,
12        "some other command" => :on_windows
13   which_should_for_example_extract 'in a pdf file', :from => 'basic.pdf'
14 }
Note: See TracBrowser for help on using the browser.