fr.opensagres.xdocreport.document.textstyling
Interface IDocumentHandler

All Superinterfaces:
ITransformResult
All Known Implementing Classes:
AbstractDocumentHandler, DocxDocumentHandler, ODTDocumentHandler

public interface IDocumentHandler
extends ITransformResult

Handler to build a document.


Nested Class Summary
static class IDocumentHandler.TextLocation
           
 
Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.document.textstyling.ITransformResult
TEXT_BEFORE_PROPERTY, TEXT_BODY_PROPERTY, TEXT_END_PROPERTY
 
Method Summary
 void endBold()
          End bold style.
 void endDocument()
          End the document.
 void endHeading(int level)
          End heading.
 void endItalics()
          End italics style.
 void endListItem()
          End list item.
 void endOrderedList()
          End ordered list.
 void endParagraph()
          End paragraph.
 void endSpan()
          End span item.
 void endStrike()
          End Strike style.
 void endSubscript()
          End Subscript style.
 void endSuperscript()
          End Superscript style.
 void endTable()
          End table.
 void endTableCell()
          End table cell.
 void endTableRow()
          End table row.
 void endUnderline()
          End underline style.
 void endUnorderedList()
          End unordered list.
 void handleImage(String ref, String label)
          Handle image.
 void handleLineBreak()
           
 void handleReference(String ref, String label)
          Handle reference.
 void handleString(String s)
          Text content.
 void startBold()
          Start bold style.
 void startDocument()
          Start the document.
 void startHeading(int level, HeaderProperties properties)
          Start heading.
 void startItalics()
          Start italics style.
 void startListItem(ListItemProperties properties)
          Start list item.
 void startOrderedList(ListProperties properties)
          Start ordered list.
 void startParagraph(ParagraphProperties properties)
          Start paragraph.
 void startSpan(SpanProperties properties)
          Start span item.
 void startStrike()
          Start Strike style.
 void startSubscript()
          Start Subscript style.
 void startSuperscript()
          Start Superscript style.
 void startTable(TableProperties properties)
          Start table.
 void startTableCell(TableCellProperties properties)
          Start table cell.
 void startTableRow(TableRowProperties properties)
          Start table row.
 void startUnderline()
          Start underline style.
 void startUnorderedList(ListProperties properties)
          Start unordered list.
 
Methods inherited from interface fr.opensagres.xdocreport.document.textstyling.ITransformResult
getTextBefore, getTextBody, getTextEnd
 

Method Detail

startDocument

void startDocument()
                   throws IOException
Start the document.

Throws:
IOException

endDocument

void endDocument()
                 throws IOException
End the document.

Throws:
IOException

startParagraph

void startParagraph(ParagraphProperties properties)
                    throws IOException
Start paragraph.

Throws:
IOException

endParagraph

void endParagraph()
                  throws IOException
End paragraph.

Throws:
IOException

startBold

void startBold()
               throws IOException
Start bold style.

Throws:
IOException

endBold

void endBold()
             throws IOException
End bold style.

Throws:
IOException

startItalics

void startItalics()
                  throws IOException
Start italics style.

Throws:
IOException

endItalics

void endItalics()
                throws IOException
End italics style.

Throws:
IOException

startUnderline

void startUnderline()
                    throws IOException
Start underline style.

Throws:
IOException

endUnderline

void endUnderline()
                  throws IOException
End underline style.

Throws:
IOException

startStrike

void startStrike()
                 throws IOException
Start Strike style.

Throws:
IOException

endStrike

void endStrike()
               throws IOException
End Strike style.

Throws:
IOException

startSubscript

void startSubscript()
                    throws IOException
Start Subscript style.

Throws:
IOException

endSubscript

void endSubscript()
                  throws IOException
End Subscript style.

Throws:
IOException

startSuperscript

void startSuperscript()
                      throws IOException
Start Superscript style.

Throws:
IOException

endSuperscript

void endSuperscript()
                    throws IOException
End Superscript style.

Throws:
IOException

startOrderedList

void startOrderedList(ListProperties properties)
                      throws IOException
Start ordered list.

Parameters:
properties -
Throws:
IOException

endOrderedList

void endOrderedList()
                    throws IOException
End ordered list.

Throws:
IOException

startUnorderedList

void startUnorderedList(ListProperties properties)
                        throws IOException
Start unordered list.

Parameters:
properties -
Throws:
IOException

endUnorderedList

void endUnorderedList()
                      throws IOException
End unordered list.

Throws:
IOException

startListItem

void startListItem(ListItemProperties properties)
                   throws IOException
Start list item.

Throws:
IOException

endListItem

void endListItem()
                 throws IOException
End list item.

Throws:
IOException

startSpan

void startSpan(SpanProperties properties)
               throws IOException
Start span item.

Throws:
IOException

endSpan

void endSpan()
             throws IOException
End span item.

Throws:
IOException

handleString

void handleString(String s)
                  throws IOException
Text content.

Parameters:
s -
Throws:
IOException

startHeading

void startHeading(int level,
                  HeaderProperties properties)
                  throws IOException
Start heading.

Parameters:
level -
Throws:
IOException

endHeading

void endHeading(int level)
                throws IOException
End heading.

Parameters:
level -
Throws:
IOException

startTable

void startTable(TableProperties properties)
                throws IOException
Start table.

Throws:
IOException

endTable

void endTable()
              throws IOException
End table.

Throws:
IOException

startTableRow

void startTableRow(TableRowProperties properties)
                   throws IOException
Start table row.

Parameters:
properties - table row properties.
Throws:
IOException

endTableRow

void endTableRow()
                 throws IOException
End table row.

Throws:
IOException

startTableCell

void startTableCell(TableCellProperties properties)
                    throws IOException
Start table cell.

Parameters:
properties - table cell propertie.
Throws:
IOException

endTableCell

void endTableCell()
                  throws IOException
End table cell.

Throws:
IOException

handleImage

void handleImage(String ref,
                 String label)
                 throws IOException
Handle image.

Parameters:
ref -
label -
Throws:
IOException

handleReference

void handleReference(String ref,
                     String label)
                     throws IOException
Handle reference.

Parameters:
ref -
label -
Throws:
IOException

handleLineBreak

void handleLineBreak()
                     throws IOException
Throws:
IOException


Copyright © 2013. All rights reserved.