Interface OOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
- All Known Implementing Classes:
OOXMLTikaBodyPartHandler
- Enclosing class:
- OOXMLWordAndPowerPointTextHandler
public static interface OOXMLWordAndPowerPointTextHandler.XWPFBodyContentsHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidembeddedOLERef(String refId)voidembeddedPicRef(String picFileName, String picDescription)voidendBookmark(String id)voidendEditedSection()voidendnoteReference(String id)voidendParagraph()voidendSDT()voidendTable()voidendTableCell()voidendTableRow()default voidexternalRef(String fieldType, String url)Called when an external reference URL is found in a field code.voidfootnoteReference(String id)voidhyperlinkEnd()voidhyperlinkStart(String link)booleanisIncludeDeletedText()booleanisIncludeMoveFromText()voidlinkedOLERef(String refId)Called when a linked (vs embedded) OLE object is found.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()
-
-
-
Method Detail
-
run
void run(RunProperties runProperties, String contents) throws SAXException
- Throws:
SAXException
-
hyperlinkStart
void hyperlinkStart(String link) throws SAXException
- Parameters:
link- the link; can be null- Throws:
SAXException
-
hyperlinkEnd
void hyperlinkEnd() throws SAXException- Throws:
SAXException
-
startParagraph
void startParagraph(ParagraphProperties paragraphProperties) throws SAXException
- Throws:
SAXException
-
endParagraph
void endParagraph() throws SAXException- Throws:
SAXException
-
startTable
void startTable() throws SAXException- Throws:
SAXException
-
endTable
void endTable() throws SAXException- Throws:
SAXException
-
startTableRow
void startTableRow() throws SAXException- Throws:
SAXException
-
endTableRow
void endTableRow() throws SAXException- Throws:
SAXException
-
startTableCell
void startTableCell() throws SAXException- Throws:
SAXException
-
endTableCell
void endTableCell() throws SAXException- Throws:
SAXException
-
startSDT
void startSDT() throws SAXException- Throws:
SAXException
-
endSDT
void endSDT() throws SAXException- Throws:
SAXException
-
startEditedSection
void startEditedSection(String editor, Date date, OOXMLWordAndPowerPointTextHandler.EditType editType) throws SAXException
- Throws:
SAXException
-
endEditedSection
void endEditedSection() throws SAXException- Throws:
SAXException
-
isIncludeDeletedText
boolean isIncludeDeletedText() throws SAXException- Throws:
SAXException
-
footnoteReference
void footnoteReference(String id) throws SAXException
- Throws:
SAXException
-
endnoteReference
void endnoteReference(String id) throws SAXException
- Throws:
SAXException
-
isIncludeMoveFromText
boolean isIncludeMoveFromText() throws SAXException- Throws:
SAXException
-
embeddedOLERef
void embeddedOLERef(String refId) throws SAXException
- Throws:
SAXException
-
linkedOLERef
void linkedOLERef(String refId) throws SAXException
Called when a linked (vs embedded) OLE object is found. These reference external files and are a security concern.- Throws:
SAXException
-
embeddedPicRef
void embeddedPicRef(String picFileName, String picDescription) throws SAXException
- Throws:
SAXException
-
startBookmark
void startBookmark(String id, String name) throws SAXException
- Throws:
SAXException
-
endBookmark
void endBookmark(String id) throws SAXException
- Throws:
SAXException
-
externalRef
default void externalRef(String fieldType, String url) throws SAXException
Called when an external reference URL is found in a field code. This includes INCLUDEPICTURE, INCLUDETEXT, IMPORT, LINK fields, and DrawingML/VML hyperlinks on shapes.- Parameters:
fieldType- the type of field (e.g., "INCLUDEPICTURE", "hlinkHover", "vml-href")url- the external URL- Throws:
SAXException
-
-