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, Closeable, Flushable, Appendable
public class ODTDocumentHandler
- extends AbstractDocumentHandler
| Methods inherited from class fr.opensagres.xdocreport.document.textstyling.AbstractDocumentHandler |
close, endOrderedList, endUnorderedList, flush, getContext, getCurrentListIndex, getCurrentListOrder, getCurrentWriter, getEntryName, getParent, getTextBefore, getTextBody, getTextEnd, setTextLocation, startOrderedList, startUnorderedList, toString, write |
styleGen
protected final IODTStylesGenerator styleGen
itemStyle
protected String itemStyle
ODTDocumentHandler
public ODTDocumentHandler(BufferedElement parent,
IContext context,
String entryName)
startDocument
public void startDocument()
endDocument
public void endDocument()
throws IOException
- Throws:
IOException
startBold
public void startBold()
throws IOException
- Throws:
IOException
endBold
public void endBold()
throws IOException
- Throws:
IOException
startItalics
public void startItalics()
throws IOException
- Throws:
IOException
endItalics
public void endItalics()
throws IOException
- Throws:
IOException
startUnderline
public void startUnderline()
throws IOException
- Throws:
IOException
endUnderline
public void endUnderline()
throws IOException
- Throws:
IOException
startStrike
public void startStrike()
throws IOException
- Throws:
IOException
endStrike
public void endStrike()
throws IOException
- Throws:
IOException
startSubscript
public void startSubscript()
throws IOException
- Throws:
IOException
endSubscript
public void endSubscript()
throws IOException
- Throws:
IOException
startSuperscript
public void startSuperscript()
throws IOException
- Throws:
IOException
endSuperscript
public void endSuperscript()
throws IOException
- Throws:
IOException
handleString
public void handleString(String content)
throws IOException
- Specified by:
handleString in interface IDocumentHandler- Overrides:
handleString in class AbstractDocumentHandler
- Throws:
IOException
startParagraph
public void startParagraph(ParagraphProperties properties)
throws IOException
- Throws:
IOException
endParagraph
public void endParagraph()
throws IOException
- Throws:
IOException
startHeading
public void startHeading(int level,
HeaderProperties properties)
throws IOException
- Throws:
IOException
endHeading
public void endHeading(int level)
throws IOException
- Throws:
IOException
doStartOrderedList
protected void doStartOrderedList(ListProperties properties)
throws IOException
- Specified by:
doStartOrderedList in class AbstractDocumentHandler
- Throws:
IOException
doEndOrderedList
protected void doEndOrderedList()
throws IOException
- Specified by:
doEndOrderedList in class AbstractDocumentHandler
- Throws:
IOException
doStartUnorderedList
protected void doStartUnorderedList(ListProperties properties)
throws IOException
- Specified by:
doStartUnorderedList in class AbstractDocumentHandler
- Throws:
IOException
doEndUnorderedList
protected void doEndUnorderedList()
throws IOException
- Specified by:
doEndUnorderedList in class AbstractDocumentHandler
- Throws:
IOException
internalStartList
protected void internalStartList(String style)
throws IOException
- Throws:
IOException
internalEndList
protected void internalEndList()
throws IOException
- Throws:
IOException
startListItem
public void startListItem(ListItemProperties properties)
throws IOException
- Throws:
IOException
endListItem
public void endListItem()
throws IOException
- Throws:
IOException
startSpan
public void startSpan(ContainerProperties properties)
throws IOException
- Throws:
IOException
endSpan
public void endSpan()
throws IOException
- Throws:
IOException
handleReference
public void handleReference(String ref,
String label)
throws IOException
- Throws:
IOException
handleImage
public void handleImage(String ref,
String label)
throws IOException
- Throws:
IOException
handleLineBreak
public void handleLineBreak()
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.