com.unitesk.requality.documents
public class WordDocExtractor extends WordExtractor
Modifier and Type | Field and Description |
---|---|
static float |
TWIPS_PER_INCH |
static int |
TWIPS_PER_PIXEL |
Constructor and Description |
---|
WordDocExtractor(ParseContext context) |
Modifier and Type | Method and Description |
---|---|
static TagAndStyle |
buildParagraphTagAndStyle(java.lang.String styleName,
int hlevel,
boolean isTable)
Given a style name, return what tag should be used, and
what style should be applied to it.
|
protected int |
getNumberColumnsSpanned(int[] tableCellEdges,
int currentEdgeIndex,
TableCell tableCell) |
protected int |
getNumberRowsSpanned(Table table,
int currentRowIndex,
int currentColumnIndex,
TableCell tableCell) |
protected int |
getTableCellEdgesIndexSkipCount(Table table,
int r,
int[] tableCellEdges,
int currentEdgeIndex,
int c,
TableCell tableCell) |
static java.lang.String |
ico24ToHtml(int ico24) |
protected void |
parse(DirectoryNode root,
XHTMLContentHandler xhtml) |
protected void |
parseWord6(DirectoryNode root,
XHTMLContentHandler xhtml) |
public static final float TWIPS_PER_INCH
public static final int TWIPS_PER_PIXEL
protected void parse(DirectoryNode root, XHTMLContentHandler xhtml) throws java.io.IOException, org.xml.sax.SAXException, TikaException
java.io.IOException
org.xml.sax.SAXException
TikaException
protected int getNumberColumnsSpanned(int[] tableCellEdges, int currentEdgeIndex, TableCell tableCell)
protected int getNumberRowsSpanned(Table table, int currentRowIndex, int currentColumnIndex, TableCell tableCell)
protected int getTableCellEdgesIndexSkipCount(Table table, int r, int[] tableCellEdges, int currentEdgeIndex, int c, TableCell tableCell)
public static java.lang.String ico24ToHtml(int ico24)
protected void parseWord6(DirectoryNode root, XHTMLContentHandler xhtml) throws java.io.IOException, org.xml.sax.SAXException, TikaException
java.io.IOException
org.xml.sax.SAXException
TikaException
public static TagAndStyle buildParagraphTagAndStyle(java.lang.String styleName, int hlevel, boolean isTable)