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 void
embeddedOLERef(String relId)
void
embeddedPicRef(String picFileName, String picDescription)
void
endBookmark(String id)
void
endEditedSection()
void
endnoteReference(String id)
void
endParagraph()
void
endSDT()
void
endTable()
void
endTableCell()
void
endTableRow()
void
footnoteReference(String id)
boolean
getIncludeDeletedText()
boolean
getIncludeMoveFromText()
void
hyperlinkEnd()
void
hyperlinkStart(String link)
void
run(RunProperties runProperties, String contents)
void
startBookmark(String id, String name)
void
startEditedSection(String editor, 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, String contents)
- Specified by:
run
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
hyperlinkStart
public void hyperlinkStart(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(String editor, 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(String id)
- Specified by:
footnoteReference
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endnoteReference
public void endnoteReference(String id)
- Specified by:
endnoteReference
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
getIncludeMoveFromText
public boolean getIncludeMoveFromText()
- Specified by:
getIncludeMoveFromText
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedOLERef
public void embeddedOLERef(String relId)
- Specified by:
embeddedOLERef
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
embeddedPicRef
public void embeddedPicRef(String picFileName, String picDescription)
- Specified by:
embeddedPicRef
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
startBookmark
public void startBookmark(String id, String name)
- Specified by:
startBookmark
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
endBookmark
public void endBookmark(String id)
- Specified by:
endBookmark
in interfaceOOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
-