public class ODTDocumentHandler extends AbstractDocumentHandler
IDocumentHandler.TextLocation| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
itemStyle |
protected IODTStylesGenerator |
styleGen |
TEXT_BEFORE_PROPERTY, TEXT_BODY_PROPERTY, TEXT_END_PROPERTY| Constructor and Description |
|---|
ODTDocumentHandler(BufferedElement parent,
IContext context,
java.lang.String entryName) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doEndOrderedList() |
void |
doEndTable(TableProperties properties) |
void |
doEndTableCell() |
protected void |
doEndTableRow() |
protected void |
doEndUnorderedList() |
protected void |
doStartOrderedList(ListProperties properties) |
protected void |
doStartTable(TableProperties properties) |
protected void |
doStartTableCell(TableCellProperties properties) |
protected void |
doStartTableRow(TableRowProperties properties) |
protected void |
doStartUnorderedList(ListProperties properties) |
void |
endBold() |
void |
endDocument() |
void |
endHeading(int level) |
void |
endItalics() |
void |
endListItem() |
void |
endParagraph() |
void |
endSpan() |
void |
endStrike() |
void |
endSubscript() |
void |
endSuperscript() |
void |
endUnderline() |
void |
handleImage(java.lang.String ref,
java.lang.String label) |
void |
handleLineBreak() |
void |
handleReference(java.lang.String ref,
java.lang.String label) |
void |
handleString(java.lang.String content) |
protected void |
internalEndList() |
protected void |
internalStartList(java.lang.String style) |
void |
startBold() |
void |
startDocument() |
void |
startHeading(int level,
HeaderProperties properties) |
void |
startItalics() |
void |
startListItem(ListItemProperties properties) |
void |
startParagraph(ParagraphProperties properties) |
void |
startSpan(SpanProperties properties) |
void |
startStrike() |
void |
startSubscript() |
void |
startSuperscript() |
void |
startUnderline() |
close, endOrderedList, endTable, endTableCell, endTableRow, endUnorderedList, flush, getContext, getCurrentListIndex, getCurrentListOrder, getCurrentWriter, getEntryName, getParent, getTextBefore, getTextBody, getTextEnd, popTempWriter, pushTempWriter, setTextLocation, startOrderedList, startTable, startTableCell, startTableRow, startUnorderedList, toString, writeprotected final IODTStylesGenerator styleGen
protected java.lang.String itemStyle
public ODTDocumentHandler(BufferedElement parent, IContext context, java.lang.String entryName)
public void startDocument()
public void endDocument()
throws java.io.IOException
java.io.IOExceptionpublic void startBold()
throws java.io.IOException
java.io.IOExceptionpublic void endBold()
throws java.io.IOException
java.io.IOExceptionpublic void startItalics()
throws java.io.IOException
java.io.IOExceptionpublic void endItalics()
throws java.io.IOException
java.io.IOExceptionpublic void startUnderline()
throws java.io.IOException
java.io.IOExceptionpublic void endUnderline()
throws java.io.IOException
java.io.IOExceptionpublic void startStrike()
throws java.io.IOException
java.io.IOExceptionpublic void endStrike()
throws java.io.IOException
java.io.IOExceptionpublic void startSubscript()
throws java.io.IOException
java.io.IOExceptionpublic void endSubscript()
throws java.io.IOException
java.io.IOExceptionpublic void startSuperscript()
throws java.io.IOException
java.io.IOExceptionpublic void endSuperscript()
throws java.io.IOException
java.io.IOExceptionpublic void handleString(java.lang.String content)
throws java.io.IOException
handleString in interface IDocumentHandlerhandleString in class AbstractDocumentHandlerjava.io.IOExceptionpublic void startParagraph(ParagraphProperties properties) throws java.io.IOException
java.io.IOExceptionpublic void endParagraph()
throws java.io.IOException
java.io.IOExceptionpublic void startHeading(int level,
HeaderProperties properties)
throws java.io.IOException
java.io.IOExceptionpublic void endHeading(int level)
throws java.io.IOException
java.io.IOExceptionprotected void doStartOrderedList(ListProperties properties) throws java.io.IOException
doStartOrderedList in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doEndOrderedList()
throws java.io.IOException
doEndOrderedList in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doStartUnorderedList(ListProperties properties) throws java.io.IOException
doStartUnorderedList in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doEndUnorderedList()
throws java.io.IOException
doEndUnorderedList in class AbstractDocumentHandlerjava.io.IOExceptionprotected void internalStartList(java.lang.String style)
throws java.io.IOException
java.io.IOExceptionprotected void internalEndList()
throws java.io.IOException
java.io.IOExceptionpublic void startListItem(ListItemProperties properties) throws java.io.IOException
java.io.IOExceptionpublic void endListItem()
throws java.io.IOException
java.io.IOExceptionpublic void startSpan(SpanProperties properties) throws java.io.IOException
java.io.IOExceptionpublic void endSpan()
throws java.io.IOException
java.io.IOExceptionpublic void handleReference(java.lang.String ref,
java.lang.String label)
throws java.io.IOException
java.io.IOExceptionpublic void handleImage(java.lang.String ref,
java.lang.String label)
throws java.io.IOException
java.io.IOExceptionpublic void handleLineBreak()
throws java.io.IOException
java.io.IOExceptionprotected void doStartTable(TableProperties properties) throws java.io.IOException
doStartTable in class AbstractDocumentHandlerjava.io.IOExceptionpublic void doEndTable(TableProperties properties) throws java.io.IOException
doEndTable in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doStartTableRow(TableRowProperties properties) throws java.io.IOException
doStartTableRow in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doEndTableRow()
throws java.io.IOException
doEndTableRow in class AbstractDocumentHandlerjava.io.IOExceptionprotected void doStartTableCell(TableCellProperties properties) throws java.io.IOException
doStartTableCell in class AbstractDocumentHandlerjava.io.IOExceptionpublic void doEndTableCell()
throws java.io.IOException
doEndTableCell in class AbstractDocumentHandlerjava.io.IOExceptionCopyright © 2019. All Rights Reserved.