com.unitesk.requality.documents
Class WordDocExtractor

java.lang.Object
  extended by WordExtractor
      extended by com.unitesk.requality.documents.WordDocExtractor

public class WordDocExtractor
extends WordExtractor


Field Summary
static float TWIPS_PER_INCH
           
static int TWIPS_PER_PT
           
 
Constructor Summary
WordDocExtractor(ParseContext context)
           
 
Method Summary
static TagAndStyle buildParagraphTagAndStyle(java.lang.String styleName, boolean isTable)
           
protected  void parse(POIFSFileSystem filesystem, XHTMLContentHandler xhtml)
           
protected  void parseWord6(POIFSFileSystem filesystem, XHTMLContentHandler xhtml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TWIPS_PER_INCH

public static final float TWIPS_PER_INCH
See Also:
Constant Field Values

TWIPS_PER_PT

public static final int TWIPS_PER_PT
See Also:
Constant Field Values
Constructor Detail

WordDocExtractor

public WordDocExtractor(ParseContext context)
Method Detail

parse

protected void parse(POIFSFileSystem filesystem,
                     XHTMLContentHandler xhtml)
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     TikaException
Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException

parseWord6

protected void parseWord6(POIFSFileSystem filesystem,
                          XHTMLContentHandler xhtml)
                   throws java.io.IOException,
                          org.xml.sax.SAXException,
                          TikaException
Throws:
java.io.IOException
org.xml.sax.SAXException
TikaException

buildParagraphTagAndStyle

public static TagAndStyle buildParagraphTagAndStyle(java.lang.String styleName,
                                                    boolean isTable)