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,
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, String entryName)
public void startDocument()
public void endDocument()
throws IOException
IOExceptionpublic void startBold()
public void endBold()
public void startItalics()
public void endItalics()
public 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 startListItem(ListItemProperties properties) throws IOException
IOExceptionpublic void endListItem()
throws IOException
IOExceptionpublic void startHeading(int level,
HeaderProperties properties)
throws IOException
IOExceptionpublic void endHeading(int level)
throws IOException
IOExceptionpublic void startSpan(SpanProperties properties) throws IOException
IOExceptionpublic void endSpan()
throws IOException
IOExceptionprotected void doStartOrderedList(ListProperties properties) throws IOException
doStartOrderedList in class AbstractDocumentHandlerIOExceptionprotected void doStartUnorderedList(ListProperties properties) throws IOException
doStartUnorderedList in class AbstractDocumentHandlerIOExceptionprotected void doEndUnorderedList()
throws IOException
doEndUnorderedList in class AbstractDocumentHandlerIOExceptionprotected void doEndOrderedList()
throws IOException
doEndOrderedList in class AbstractDocumentHandlerIOExceptionpublic 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 AbstractDocumentHandlerIOExceptionpublic void doStartTableRow(TableRowProperties properties) throws IOException
doStartTableRow in class AbstractDocumentHandlerIOExceptionpublic void doEndTableRow()
throws IOException
doEndTableRow in class AbstractDocumentHandlerIOExceptionpublic void doStartTableCell(TableCellProperties properties) throws IOException
doStartTableCell in class AbstractDocumentHandlerIOExceptionpublic void doEndTableCell()
throws IOException
doEndTableCell in class AbstractDocumentHandlerIOExceptionCopyright © 2017. All Rights Reserved.