org.eclipse.birt.report.engine.content
Interface IReportContent


public interface IReportContent

The object represents the report content as a whole.


Method Summary
 IHyperlinkAction createActionContent()
          create a anction content.
 IAutoTextContent createAutoTextContent()
          create the auto text content.
 ICellContent createCellContent()
          create a cell content.
 IContainerContent createContainerContent()
          create a container content.
 IDataContent createDataContent()
          create the data content.
 IDataContent createDataContent(IContent conent)
          create the data content, copy the properties from the template content.
 IForeignContent createForeignContent()
          create the foreign content.
 IImageContent createImageContent()
          create the image content.
 IImageContent createImageContent(IContent conent)
          create the image content, copy the properties from the template content.
 ILabelContent createLabelContent()
          create the label content.
 ILabelContent createLabelContent(IContent conent)
          create the label content, copy the properties from the template content.
 IListBandContent createListBandContent()
           
 IListContent createListContent()
           
 IListGroupContent createListGroupContent()
           
 IPageContent createPageContent()
          create a page content.
 IRowContent createRowContent()
          create the row content.
 IStyle createStyle()
          create a style.
 ITableBandContent createTableBandContent()
           
 ITableContent createTableContent()
          create an table content.
 ITableGroupContent createTableGroupContent()
           
 ITextContent createTextContent()
          create the text content.
 ITextContent createTextContent(IContent conent)
          create the text content, copy the properties from the template content.
 IStyle findStyle(java.lang.String styleClass)
          find the named style.
 IContent getContent(InstanceID id)
          return the content in this report.
 Report getDesign()
          get the report design used to create this report content.
 java.util.List getErrors()
          get the error list which occurs in the generation.
 IPageContent getPageContent(long pageNumber)
          The page content in the report content.
 IContent getRoot()
          return root content
 TOCNode getTOC()
          Deprecated. This method shoule be substituted by:
     getTOCTree( format, locale ).getTOCTree( );
 ITOCTree getTOCTree(java.lang.String format, com.ibm.icu.util.ULocale locale)
          Gets the toc tree of this report content.
 long getTotalPage()
           
 

Method Detail

getDesign

public Report getDesign()
get the report design used to create this report content.

Returns:
the report design.

getErrors

public java.util.List getErrors()
get the error list which occurs in the generation.

Returns:
error list.

getTOC

public TOCNode getTOC()
Deprecated. This method shoule be substituted by:
     getTOCTree( format, locale ).getTOCTree( );

get the TOC structure constructed in the generation.

Returns:
the TOC structure.

getTOCTree

public ITOCTree getTOCTree(java.lang.String format,
                           com.ibm.icu.util.ULocale locale)
Gets the toc tree of this report content.

Returns:
the TOC Tree

getRoot

public IContent getRoot()
return root content

Returns:

getTotalPage

public long getTotalPage()

getPageContent

public IPageContent getPageContent(long pageNumber)
The page content in the report content. If the page is not exist, return NULL.

Parameters:
pageNumber - page number
Returns:
the page content object.

getContent

public IContent getContent(InstanceID id)
return the content in this report.

Parameters:
id - content id
Returns:
the content object

findStyle

public IStyle findStyle(java.lang.String styleClass)
find the named style.

Parameters:
styleClass - style name.
Returns:
style named with the name, null if not exists.

createActionContent

public IHyperlinkAction createActionContent()
create a anction content. The action content can only be use in this report content.

Returns:
the action content.

createStyle

public IStyle createStyle()
create a style. the style can only be used in this report.

Returns:
style created.

createCellContent

public ICellContent createCellContent()
create a cell content. the content can only be used in this report.

Returns:
cell content.

createContainerContent

public IContainerContent createContainerContent()
create a container content. the content can only be used in this report.

Returns:
the container content.

createPageContent

public IPageContent createPageContent()
create a page content. the page content can only be used in this report.

Returns:
the page content.

createTableContent

public ITableContent createTableContent()
create an table content. the table content can only be used in this report.

Returns:
the table.

createTableGroupContent

public ITableGroupContent createTableGroupContent()

createTableBandContent

public ITableBandContent createTableBandContent()

createListContent

public IListContent createListContent()

createListGroupContent

public IListGroupContent createListGroupContent()

createListBandContent

public IListBandContent createListBandContent()

createRowContent

public IRowContent createRowContent()
create the row content. the row can only be used in this report.

Returns:
the row content.

createTextContent

public ITextContent createTextContent()
create the text content. the text can only be used in this report.

Returns:
the text content.

createTextContent

public ITextContent createTextContent(IContent conent)
create the text content, copy the properties from the template content. the text can only be used in this report.

Returns:
the text content.

createForeignContent

public IForeignContent createForeignContent()
create the foreign content. the foreign content can only be used in this report.

Returns:
the foreign content

createImageContent

public IImageContent createImageContent()
create the image content. the image can only be used in this report.

Returns:
the image content.

createImageContent

public IImageContent createImageContent(IContent conent)
create the image content, copy the properties from the template content. the image can only be used in this report.

Returns:
the image content.

createLabelContent

public ILabelContent createLabelContent()
create the label content. the label can only be used in this report.

Returns:
the label content.

createAutoTextContent

public IAutoTextContent createAutoTextContent()
create the auto text content. the auto text can only be used in this report.

Returns:
the auto text content.

createLabelContent

public ILabelContent createLabelContent(IContent conent)
create the label content, copy the properties from the template content. the label can only be used in this report.

Returns:
the label content.

createDataContent

public IDataContent createDataContent()
create the data content. the data can only be used in this report.

Returns:
the data content.

createDataContent

public IDataContent createDataContent(IContent conent)
create the data content, copy the properties from the template content. the data can only be used in this report.

Returns:
the data content.


Copyright © 2005 Actuate Corp. All rights reserved.