public interface IDocumentHandler extends ITransformResult
| Modifier and Type | Interface and Description |
|---|---|
static class |
IDocumentHandler.TextLocation |
TEXT_BEFORE_PROPERTY, TEXT_BODY_PROPERTY, TEXT_END_PROPERTY| Modifier and Type | Method and Description |
|---|---|
void |
endBold()
End bold style.
|
void |
endDocument()
End the document.
|
void |
endHeading(int level)
End heading.
|
void |
endItalics()
End italics style.
|
void |
endListItem()
End list item.
|
void |
endOrderedList()
End ordered list.
|
void |
endParagraph()
End paragraph.
|
void |
endSpan()
End span item.
|
void |
endStrike()
End Strike style.
|
void |
endSubscript()
End Subscript style.
|
void |
endSuperscript()
End Superscript style.
|
void |
endTable()
End table.
|
void |
endTableCell()
End table cell.
|
void |
endTableRow()
End table row.
|
void |
endUnderline()
End underline style.
|
void |
endUnorderedList()
End unordered list.
|
void |
handleImage(String ref,
String label)
Handle image.
|
void |
handleLineBreak() |
void |
handleReference(String ref,
String label)
Handle reference.
|
void |
handleString(String s)
Text content.
|
void |
startBold()
Start bold style.
|
void |
startDocument()
Start the document.
|
void |
startHeading(int level,
HeaderProperties properties)
Start heading.
|
void |
startItalics()
Start italics style.
|
void |
startListItem(ListItemProperties properties)
Start list item.
|
void |
startOrderedList(ListProperties properties)
Start ordered list.
|
void |
startParagraph(ParagraphProperties properties)
Start paragraph.
|
void |
startSpan(SpanProperties properties)
Start span item.
|
void |
startStrike()
Start Strike style.
|
void |
startSubscript()
Start Subscript style.
|
void |
startSuperscript()
Start Superscript style.
|
void |
startTable(TableProperties properties)
Start table.
|
void |
startTableCell(TableCellProperties properties)
Start table cell.
|
void |
startTableRow(TableRowProperties properties)
Start table row.
|
void |
startUnderline()
Start underline style.
|
void |
startUnorderedList(ListProperties properties)
Start unordered list.
|
getTextBefore, getTextBody, getTextEndvoid startDocument()
throws IOException
IOExceptionvoid endDocument()
throws IOException
IOExceptionvoid startParagraph(ParagraphProperties properties) throws IOException
IOExceptionvoid endParagraph()
throws IOException
IOExceptionvoid startBold()
throws IOException
IOExceptionvoid endBold()
throws IOException
IOExceptionvoid startItalics()
throws IOException
IOExceptionvoid endItalics()
throws IOException
IOExceptionvoid startUnderline()
throws IOException
IOExceptionvoid endUnderline()
throws IOException
IOExceptionvoid startStrike()
throws IOException
IOExceptionvoid endStrike()
throws IOException
IOExceptionvoid startSubscript()
throws IOException
IOExceptionvoid endSubscript()
throws IOException
IOExceptionvoid startSuperscript()
throws IOException
IOExceptionvoid endSuperscript()
throws IOException
IOExceptionvoid startOrderedList(ListProperties properties) throws IOException
properties - IOExceptionvoid endOrderedList()
throws IOException
IOExceptionvoid startUnorderedList(ListProperties properties) throws IOException
properties - IOExceptionvoid endUnorderedList()
throws IOException
IOExceptionvoid startListItem(ListItemProperties properties) throws IOException
IOExceptionvoid endListItem()
throws IOException
IOExceptionvoid startSpan(SpanProperties properties) throws IOException
IOExceptionvoid endSpan()
throws IOException
IOExceptionvoid handleString(String s) throws IOException
s - IOExceptionvoid startHeading(int level,
HeaderProperties properties)
throws IOException
level - IOExceptionvoid endHeading(int level)
throws IOException
level - IOExceptionvoid startTable(TableProperties properties) throws IOException
IOExceptionvoid endTable()
throws IOException
IOExceptionvoid startTableRow(TableRowProperties properties) throws IOException
properties - table row properties.IOExceptionvoid endTableRow()
throws IOException
IOExceptionvoid startTableCell(TableCellProperties properties) throws IOException
properties - table cell propertie.IOExceptionvoid endTableCell()
throws IOException
IOExceptionvoid handleImage(String ref, String label) throws IOException
ref - label - IOExceptionvoid handleReference(String ref, String label) throws IOException
ref - label - IOExceptionvoid handleLineBreak()
throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.