Class OOXMLTikaBodyPartHandler
- java.lang.Object
-
- org.apache.tika.parser.microsoft.ooxml.OOXMLTikaBodyPartHandler
-
- All Implemented Interfaces:
OOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
public class OOXMLTikaBodyPartHandler extends Object implements OOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
-
Constructor Summary
Constructors Constructor Description OOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml)OOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml, XWPFStylesShim styles, XWPFListManager listManager, OfficeParserConfig parserConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidembeddedOLERef(String relId)voidembeddedPicRef(String picFileName, String picDescription)voidendBookmark(String id)voidendEditedSection()voidendnoteReference(String id)voidendParagraph()voidendSDT()voidendTable()voidendTableCell()voidendTableRow()voidfootnoteReference(String id)voidhyperlinkEnd()voidhyperlinkStart(String link)booleanisIncludeDeletedText()booleanisIncludeMoveFromText()voidrun(RunProperties runProperties, String contents)voidstartBookmark(String id, String name)voidstartEditedSection(String editor, Date date, OOXMLWordAndPowerPointTextHandler.EditType editType)voidstartParagraph(ParagraphProperties paragraphProperties)voidstartSDT()voidstartTable()voidstartTableCell()voidstartTableRow()
-
-
-
Constructor Detail
-
OOXMLTikaBodyPartHandler
public OOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml)
-
OOXMLTikaBodyPartHandler
public OOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml, XWPFStylesShim styles, XWPFListManager listManager, OfficeParserConfig parserConfig)
-
-
Method Detail
-
run
public void run(RunProperties runProperties, String contents) throws SAXException
- Specified by:
runin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
hyperlinkStart
public void hyperlinkStart(String link) throws SAXException
- Specified by:
hyperlinkStartin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Parameters:
link- the link; can be null- Throws:
SAXException
-
hyperlinkEnd
public void hyperlinkEnd() throws SAXException- Specified by:
hyperlinkEndin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startParagraph
public void startParagraph(ParagraphProperties paragraphProperties) throws SAXException
- Specified by:
startParagraphin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endParagraph
public void endParagraph() throws SAXException- Specified by:
endParagraphin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTable
public void startTable() throws SAXException- Specified by:
startTablein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTable
public void endTable() throws SAXException- Specified by:
endTablein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTableRow
public void startTableRow() throws SAXException- Specified by:
startTableRowin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTableRow
public void endTableRow() throws SAXException- Specified by:
endTableRowin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTableCell
public void startTableCell() throws SAXException- Specified by:
startTableCellin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTableCell
public void endTableCell() throws SAXException- Specified by:
endTableCellin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startSDT
public void startSDT() throws SAXException- Specified by:
startSDTin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endSDT
public void endSDT()
- Specified by:
endSDTin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startEditedSection
public void startEditedSection(String editor, Date date, OOXMLWordAndPowerPointTextHandler.EditType editType)
- Specified by:
startEditedSectionin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endEditedSection
public void endEditedSection()
- Specified by:
endEditedSectionin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
isIncludeDeletedText
public boolean isIncludeDeletedText()
- Specified by:
isIncludeDeletedTextin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
footnoteReference
public void footnoteReference(String id) throws SAXException
- Specified by:
footnoteReferencein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endnoteReference
public void endnoteReference(String id) throws SAXException
- Specified by:
endnoteReferencein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
isIncludeMoveFromText
public boolean isIncludeMoveFromText()
- Specified by:
isIncludeMoveFromTextin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedOLERef
public void embeddedOLERef(String relId) throws SAXException
- Specified by:
embeddedOLERefin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
embeddedPicRef
public void embeddedPicRef(String picFileName, String picDescription) throws SAXException
- Specified by:
embeddedPicRefin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startBookmark
public void startBookmark(String id, String name) throws SAXException
- Specified by:
startBookmarkin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endBookmark
public void endBookmark(String id)
- Specified by:
endBookmarkin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
-