public class DocxDocumentHandler extends AbstractDocumentHandler
IDocumentHandler.TextLocation| Modifier and Type | Field and Description |
|---|---|
protected IDocxStylesGenerator |
styleGen |
TEXT_BEFORE_PROPERTY, TEXT_BODY_PROPERTY, TEXT_END_PROPERTY| Constructor and Description |
|---|
DocxDocumentHandler(BufferedElement parent,
IContext context,
java.lang.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 IDocxStylesGenerator styleGen
public DocxDocumentHandler(BufferedElement parent, IContext context, java.lang.String entryName)
public void startDocument()
public void endDocument()
throws java.io.IOException
java.io.IOExceptionpublic void startBold()
public void endBold()
public void startItalics()
public void endItalics()
public 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 startListItem(ListItemProperties properties) throws java.io.IOException
java.io.IOExceptionpublic void endListItem()
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.IOExceptionpublic void startSpan(SpanProperties properties) throws java.io.IOException
java.io.IOExceptionpublic void endSpan()
throws java.io.IOException
java.io.IOExceptionprotected void doStartOrderedList(ListProperties properties) throws java.io.IOException
doStartOrderedList 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 doEndOrderedList()
throws java.io.IOException
doEndOrderedList in class AbstractDocumentHandlerjava.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.IOExceptionpublic void doStartTableRow(TableRowProperties properties) throws java.io.IOException
doStartTableRow in class AbstractDocumentHandlerjava.io.IOExceptionpublic void doEndTableRow()
throws java.io.IOException
doEndTableRow in class AbstractDocumentHandlerjava.io.IOExceptionpublic 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.