org.jpedal.examples.text
Class ExtractOutline

java.lang.Object
  extended by org.jpedal.examples.text.ExtractOutline

public class ExtractOutline
extends java.lang.Object

Sample code showing how jpedal library can be used with pdf files to extract text from a specified Rectangle as a set of words. This example is based on extractTextInRectangle.java These can then be entered into an index engine such as Lucene


Field Summary
static boolean isTest
          used in our regression tests to limit to first 10 pages
static boolean showMessages
          flag to show if we print messages
 
Constructor Summary
ExtractOutline()
           
ExtractOutline(byte[] array)
          example method to open a file and extract the raw text
ExtractOutline(java.lang.String file_name)
          example method to open a file and extract the raw text
 
Method Summary
static void main(java.lang.String[] args)
          main routine which checks for any files passed and runs the demo
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

showMessages

public static boolean showMessages
flag to show if we print messages


isTest

public static boolean isTest
used in our regression tests to limit to first 10 pages

Constructor Detail

ExtractOutline

public ExtractOutline()

ExtractOutline

public ExtractOutline(java.lang.String file_name)
example method to open a file and extract the raw text


ExtractOutline

public ExtractOutline(byte[] array)
example method to open a file and extract the raw text

Method Detail

main

public static void main(java.lang.String[] args)
main routine which checks for any files passed and runs the demo