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
ConstructorsConstructorDescriptionOOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml, XWPFStylesShim styles, XWPFListManager listManager, OfficeParserConfig parserConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoidembeddedOLERef(String relId) voidembeddedPicRef(String picFileName, String picDescription) voidendBookmark(String id) voidvoidvoidvoidendSDT()voidendTable()voidvoidvoidvoidvoidhyperlinkStart(String link) booleanbooleanvoidrun(RunProperties runProperties, String contents) voidstartBookmark(String id, String name) voidstartEditedSection(String editor, Date date, OOXMLWordAndPowerPointTextHandler.EditType editType) voidstartParagraph(ParagraphProperties paragraphProperties) voidstartSDT()voidvoidvoid
-
Constructor Details
-
OOXMLTikaBodyPartHandler
-
OOXMLTikaBodyPartHandler
public OOXMLTikaBodyPartHandler(XHTMLContentHandler xhtml, XWPFStylesShim styles, XWPFListManager listManager, OfficeParserConfig parserConfig)
-
-
Method Details
-
run
- Specified by:
runin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
hyperlinkStart
- Specified by:
hyperlinkStartin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Parameters:
link- the link; can be null- Throws:
SAXException
-
hyperlinkEnd
- Specified by:
hyperlinkEndin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startParagraph
- Specified by:
startParagraphin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endParagraph
- Specified by:
endParagraphin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTable
- Specified by:
startTablein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTable
- Specified by:
endTablein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTableRow
- Specified by:
startTableRowin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTableRow
- Specified by:
endTableRowin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startTableCell
- Specified by:
startTableCellin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endTableCell
- Specified by:
endTableCellin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startSDT
- 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
- Specified by:
footnoteReferencein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endnoteReference
- Specified by:
endnoteReferencein interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
isIncludeMoveFromText
public boolean isIncludeMoveFromText()- Specified by:
isIncludeMoveFromTextin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedOLERef
- Specified by:
embeddedOLERefin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
embeddedPicRef
- Specified by:
embeddedPicRefin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
startBookmark
- Specified by:
startBookmarkin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler- Throws:
SAXException
-
endBookmark
- Specified by:
endBookmarkin interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-