Class OOXMLTikaBodyPartHandler
- java.lang.Object
-
- org.apache.tika.parser.microsoft.ooxml.OOXMLTikaBodyPartHandler
-
- All Implemented Interfaces:
OOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
public class OOXMLTikaBodyPartHandler extends java.lang.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 void
embeddedOLERef(java.lang.String relId)
void
embeddedPicRef(java.lang.String picFileName, java.lang.String picDescription)
void
endBookmark(java.lang.String id)
void
endEditedSection()
void
endnoteReference(java.lang.String id)
void
endParagraph()
void
endSDT()
void
endTable()
void
endTableCell()
void
endTableRow()
void
footnoteReference(java.lang.String id)
boolean
getIncludeDeletedText()
boolean
getIncludeMoveFromText()
void
hyperlinkEnd()
void
hyperlinkStart(java.lang.String link)
void
run(RunProperties runProperties, java.lang.String contents)
void
startBookmark(java.lang.String id, java.lang.String name)
void
startEditedSection(java.lang.String editor, java.util.Date date, OOXMLWordAndPowerPointTextHandler.EditType editType)
void
startParagraph(ParagraphProperties paragraphProperties)
void
startSDT()
void
startTable()
void
startTableCell()
void
startTableRow()
-
-
-
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, java.lang.String contents)
- Specified by:
run
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
hyperlinkStart
public void hyperlinkStart(java.lang.String link)
- Specified by:
hyperlinkStart
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
- Parameters:
link
- the link; can be null
-
hyperlinkEnd
public void hyperlinkEnd()
- Specified by:
hyperlinkEnd
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startParagraph
public void startParagraph(ParagraphProperties paragraphProperties)
- Specified by:
startParagraph
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endParagraph
public void endParagraph()
- Specified by:
endParagraph
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startTable
public void startTable()
- Specified by:
startTable
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endTable
public void endTable()
- Specified by:
endTable
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startTableRow
public void startTableRow()
- Specified by:
startTableRow
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endTableRow
public void endTableRow()
- Specified by:
endTableRow
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startTableCell
public void startTableCell()
- Specified by:
startTableCell
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endTableCell
public void endTableCell()
- Specified by:
endTableCell
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startSDT
public void startSDT()
- Specified by:
startSDT
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endSDT
public void endSDT()
- Specified by:
endSDT
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startEditedSection
public void startEditedSection(java.lang.String editor, java.util.Date date, OOXMLWordAndPowerPointTextHandler.EditType editType)
- Specified by:
startEditedSection
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endEditedSection
public void endEditedSection()
- Specified by:
endEditedSection
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
getIncludeDeletedText
public boolean getIncludeDeletedText()
- Specified by:
getIncludeDeletedText
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
footnoteReference
public void footnoteReference(java.lang.String id)
- Specified by:
footnoteReference
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endnoteReference
public void endnoteReference(java.lang.String id)
- Specified by:
endnoteReference
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
getIncludeMoveFromText
public boolean getIncludeMoveFromText()
- Specified by:
getIncludeMoveFromText
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedOLERef
public void embeddedOLERef(java.lang.String relId)
- Specified by:
embeddedOLERef
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedPicRef
public void embeddedPicRef(java.lang.String picFileName, java.lang.String picDescription)
- Specified by:
embeddedPicRef
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startBookmark
public void startBookmark(java.lang.String id, java.lang.String name)
- Specified by:
startBookmark
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endBookmark
public void endBookmark(java.lang.String id)
- Specified by:
endBookmark
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
-