public class ODTDocumentHandler extends AbstractDocumentHandler
IDocumentHandler.TextLocation| Modifier and Type | Field and Description |
|---|---|
protected String |
itemStyle |
protected IODTStylesGenerator |
styleGen |
TEXT_BEFORE_PROPERTY, TEXT_BODY_PROPERTY, TEXT_END_PROPERTY| Constructor and Description |
|---|
ODTDocumentHandler(BufferedElement parent,
IContext context,
String entryName) |
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 String itemStyle
public ODTDocumentHandler(BufferedElement parent, IContext context, String entryName)
public void startDocument()
public void endDocument()
throws IOException
IOExceptionpublic void startBold()
throws IOException
IOExceptionpublic void endBold()
throws IOException
IOExceptionpublic void startItalics()
throws IOException
IOExceptionpublic void endItalics()
throws IOException
IOExceptionpublic void startUnderline()
throws IOException
IOExceptionpublic void endUnderline()
throws IOException
IOExceptionpublic void startStrike()
throws IOException
IOExceptionpublic void endStrike()
throws IOException
IOExceptionpublic void startSubscript()
throws IOException
IOExceptionpublic void endSubscript()
throws IOException
IOExceptionpublic void startSuperscript()
throws IOException
IOExceptionpublic void endSuperscript()
throws IOException
IOExceptionpublic void handleString(String content) throws IOException
handleString in interface IDocumentHandlerhandleString in class AbstractDocumentHandlerIOExceptionpublic void startParagraph(ParagraphProperties properties) throws IOException
IOExceptionpublic void endParagraph()
throws IOException
IOExceptionpublic void startHeading(int level,
HeaderProperties properties)
throws IOException
IOExceptionpublic void endHeading(int level)
throws IOException
IOExceptionprotected void doStartOrderedList(ListProperties properties) throws IOException
doStartOrderedList in class AbstractDocumentHandlerIOExceptionprotected void doEndOrderedList()
throws IOException
doEndOrderedList in class AbstractDocumentHandlerIOExceptionprotected void doStartUnorderedList(ListProperties properties) throws IOException
doStartUnorderedList in class AbstractDocumentHandlerIOExceptionprotected void doEndUnorderedList()
throws IOException
doEndUnorderedList in class AbstractDocumentHandlerIOExceptionprotected void internalStartList(String style) throws IOException
IOExceptionprotected void internalEndList()
throws IOException
IOExceptionpublic void startListItem(ListItemProperties properties) throws IOException
IOExceptionpublic void endListItem()
throws IOException
IOExceptionpublic void startSpan(SpanProperties properties) throws IOException
IOExceptionpublic void endSpan()
throws IOException
IOExceptionpublic void handleReference(String ref, String label) throws IOException
IOExceptionpublic void handleImage(String ref, String label) throws IOException
IOExceptionpublic void handleLineBreak()
throws IOException
IOExceptionprotected void doStartTable(TableProperties properties) throws IOException
doStartTable in class AbstractDocumentHandlerIOExceptionpublic void doEndTable(TableProperties properties) throws IOException
doEndTable in class AbstractDocumentHandlerIOExceptionprotected void doStartTableRow(TableRowProperties properties) throws IOException
doStartTableRow in class AbstractDocumentHandlerIOExceptionprotected void doEndTableRow()
throws IOException
doEndTableRow in class AbstractDocumentHandlerIOExceptionprotected void doStartTableCell(TableCellProperties properties) throws IOException
doStartTableCell in class AbstractDocumentHandlerIOExceptionpublic void doEndTableCell()
throws IOException
doEndTableCell in class AbstractDocumentHandlerIOExceptionCopyright © 2016. All Rights Reserved.