fr.opensagres.xdocreport.document.odt.textstyling
Class ODTDocumentHandler
java.lang.Object
java.io.Writer
fr.opensagres.xdocreport.document.textstyling.AbstractDocumentHandler
fr.opensagres.xdocreport.document.odt.textstyling.ODTDocumentHandler
- All Implemented Interfaces:
- IDocumentHandler, ITransformResult, java.io.Closeable, java.io.Flushable, java.lang.Appendable
public class ODTDocumentHandler
- extends AbstractDocumentHandler
| Fields inherited from class java.io.Writer |
lock |
| Methods inherited from class fr.opensagres.xdocreport.document.textstyling.AbstractDocumentHandler |
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, write |
| Methods inherited from class java.io.Writer |
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
styleGen
protected final IODTStylesGenerator styleGen
itemStyle
protected java.lang.String itemStyle
ODTDocumentHandler
public ODTDocumentHandler(BufferedElement parent,
IContext context,
java.lang.String entryName)
startDocument
public void startDocument()
endDocument
public void endDocument()
throws java.io.IOException
- Throws:
java.io.IOException
startBold
public void startBold()
throws java.io.IOException
- Throws:
java.io.IOException
endBold
public void endBold()
throws java.io.IOException
- Throws:
java.io.IOException
startItalics
public void startItalics()
throws java.io.IOException
- Throws:
java.io.IOException
endItalics
public void endItalics()
throws java.io.IOException
- Throws:
java.io.IOException
startUnderline
public void startUnderline()
throws java.io.IOException
- Throws:
java.io.IOException
endUnderline
public void endUnderline()
throws java.io.IOException
- Throws:
java.io.IOException
startStrike
public void startStrike()
throws java.io.IOException
- Throws:
java.io.IOException
endStrike
public void endStrike()
throws java.io.IOException
- Throws:
java.io.IOException
startSubscript
public void startSubscript()
throws java.io.IOException
- Throws:
java.io.IOException
endSubscript
public void endSubscript()
throws java.io.IOException
- Throws:
java.io.IOException
startSuperscript
public void startSuperscript()
throws java.io.IOException
- Throws:
java.io.IOException
endSuperscript
public void endSuperscript()
throws java.io.IOException
- Throws:
java.io.IOException
handleString
public void handleString(java.lang.String content)
throws java.io.IOException
- Specified by:
handleString in interface IDocumentHandler- Overrides:
handleString in class AbstractDocumentHandler
- Throws:
java.io.IOException
startParagraph
public void startParagraph(ParagraphProperties properties)
throws java.io.IOException
- Throws:
java.io.IOException
endParagraph
public void endParagraph()
throws java.io.IOException
- Throws:
java.io.IOException
startHeading
public void startHeading(int level,
HeaderProperties properties)
throws java.io.IOException
- Throws:
java.io.IOException
endHeading
public void endHeading(int level)
throws java.io.IOException
- Throws:
java.io.IOException
doStartOrderedList
protected void doStartOrderedList(ListProperties properties)
throws java.io.IOException
- Specified by:
doStartOrderedList in class AbstractDocumentHandler
- Throws:
java.io.IOException
doEndOrderedList
protected void doEndOrderedList()
throws java.io.IOException
- Specified by:
doEndOrderedList in class AbstractDocumentHandler
- Throws:
java.io.IOException
doStartUnorderedList
protected void doStartUnorderedList(ListProperties properties)
throws java.io.IOException
- Specified by:
doStartUnorderedList in class AbstractDocumentHandler
- Throws:
java.io.IOException
doEndUnorderedList
protected void doEndUnorderedList()
throws java.io.IOException
- Specified by:
doEndUnorderedList in class AbstractDocumentHandler
- Throws:
java.io.IOException
internalStartList
protected void internalStartList(java.lang.String style)
throws java.io.IOException
- Throws:
java.io.IOException
internalEndList
protected void internalEndList()
throws java.io.IOException
- Throws:
java.io.IOException
startListItem
public void startListItem(ListItemProperties properties)
throws java.io.IOException
- Throws:
java.io.IOException
endListItem
public void endListItem()
throws java.io.IOException
- Throws:
java.io.IOException
startSpan
public void startSpan(SpanProperties properties)
throws java.io.IOException
- Throws:
java.io.IOException
endSpan
public void endSpan()
throws java.io.IOException
- Throws:
java.io.IOException
handleReference
public void handleReference(java.lang.String ref,
java.lang.String label)
throws java.io.IOException
- Throws:
java.io.IOException
handleImage
public void handleImage(java.lang.String ref,
java.lang.String label)
throws java.io.IOException
- Throws:
java.io.IOException
handleLineBreak
public void handleLineBreak()
throws java.io.IOException
- Throws:
java.io.IOException
doStartTable
protected void doStartTable(TableProperties properties)
throws java.io.IOException
- Specified by:
doStartTable in class AbstractDocumentHandler
- Throws:
java.io.IOException
doEndTable
public void doEndTable(TableProperties properties)
throws java.io.IOException
- Specified by:
doEndTable in class AbstractDocumentHandler
- Throws:
java.io.IOException
doStartTableRow
protected void doStartTableRow(TableRowProperties properties)
throws java.io.IOException
- Specified by:
doStartTableRow in class AbstractDocumentHandler
- Throws:
java.io.IOException
doEndTableRow
protected void doEndTableRow()
throws java.io.IOException
- Specified by:
doEndTableRow in class AbstractDocumentHandler
- Throws:
java.io.IOException
doStartTableCell
protected void doStartTableCell(TableCellProperties properties)
throws java.io.IOException
- Specified by:
doStartTableCell in class AbstractDocumentHandler
- Throws:
java.io.IOException
doEndTableCell
public void doEndTableCell()
throws java.io.IOException
- Specified by:
doEndTableCell in class AbstractDocumentHandler
- Throws:
java.io.IOException
Copyright © 2014. All Rights Reserved.