Ontimize 5.2072EN

com.ontimize.printing
Interface ReportElement

All Known Implementing Classes:
Image, Paragraph, TableReportElement

public interface ReportElement

Interface that defines methods to implement by report elements.

Author:
Imatia Innovation

Field Summary
static java.lang.String ALIGN_CENTER
           
static java.lang.String ALIGN_LEFT
           
static java.lang.String ALIGN_RIGHT
           
static boolean DEBUG
           
static java.lang.String HEADERID
           
static java.lang.String PIEID
           
static java.lang.String SUMMARYID
           
static java.lang.String TITLEID
           
 
Method Summary
 void insert(ReportFrame report, boolean multipage)
          Method that inserts the correct HTML code in report.
 void insert(ReportFrame report, java.lang.String templatePositionId, boolean multipage)
          Method that inserts an element into a report based on a template design.
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values

TITLEID

public static final java.lang.String TITLEID
See Also:
Constant Field Values

HEADERID

public static final java.lang.String HEADERID
See Also:
Constant Field Values

PIEID

public static final java.lang.String PIEID
See Also:
Constant Field Values

SUMMARYID

public static final java.lang.String SUMMARYID
See Also:
Constant Field Values

ALIGN_LEFT

public static final java.lang.String ALIGN_LEFT
See Also:
Constant Field Values

ALIGN_CENTER

public static final java.lang.String ALIGN_CENTER
See Also:
Constant Field Values

ALIGN_RIGHT

public static final java.lang.String ALIGN_RIGHT
See Also:
Constant Field Values
Method Detail

insert

public void insert(ReportFrame report,
                   boolean multipage)
            throws java.lang.Exception
Method that inserts the correct HTML code in report.

Parameters:
report - The report frame
multipage - condition to know when report is multipage or not
Throws:
java.lang.Exception - When an Exception occurs

insert

public void insert(ReportFrame report,
                   java.lang.String templatePositionId,
                   boolean multipage)
            throws java.lang.Exception
Method that inserts an element into a report based on a template design.

Parameters:
report - The report frame
templatePositionId - Position in template where element must be inserted
multipage - Condition to know when report is multipage or not
Throws:
java.lang.Exception - When an Exception occurs

Ontimize