Interface IReportContent
public interface IReportContent
The object represents the report content as a whole.
-
Method Summary
Modifier and TypeMethodDescriptioncreate a anction content.create the auto text content.create a cell content.create a container content.create the data content.createDataContent
(IContent conent) create the data content, copy the properties from the template content.create the foreign content.create the image content.createImageContent
(IContent conent) create the image content, copy the properties from the template content.create the label content.createLabelContent
(IContent conent) create the label content, copy the properties from the template content.create a page content.create the row content.create a style.create an table content.create the text content.createTextContent
(IContent conent) create the text content, copy the properties from the template content.find the named style.getACL()
getContent
(InstanceID id) return the content in this report.org.eclipse.birt.report.engine.ir.Report
get the report design used to create this report content.get the error list which occurs in the generation.getPageContent
(long pageNumber) The page content in the report content.org.eclipse.birt.report.engine.api.script.IReportContext
getRoot()
return root contentgetTitle()
getTOC()
Deprecated.getTOCTree
(String format, com.ibm.icu.util.ULocale locale) Gets the toc tree of this report content.long
void
readContent
(DataInputStream in, ClassLoader loader) void
void
setExtensions
(Map<String, Object> properties) void
void
-
Method Details
-
getDesign
org.eclipse.birt.report.engine.ir.Report getDesign()get the report design used to create this report content.- Returns:
- the report design.
-
getErrors
List getErrors()get the error list which occurs in the generation.- Returns:
- error list.
-
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
Gets the toc tree of this report content.- Returns:
- the TOC Tree
-
getRoot
IContent getRoot()return root content- Returns:
-
getTotalPage
long getTotalPage() -
getPageContent
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
return the content in this report.- Parameters:
id
- content id- Returns:
- the content object
-
findStyle
find the named style.- Parameters:
styleClass
- style name.- Returns:
- style named with the name, null if not exists.
-
createActionContent
IHyperlinkAction createActionContent()create a anction content. The action content can only be use in this report content.- Returns:
- the action content.
-
createStyle
IStyle createStyle()create a style. the style can only be used in this report.- Returns:
- style created.
-
createCellContent
ICellContent createCellContent()create a cell content. the content can only be used in this report.- Returns:
- cell content.
-
createContainerContent
IContainerContent createContainerContent()create a container content. the content can only be used in this report.- Returns:
- the container content.
-
createPageContent
IPageContent createPageContent()create a page content. the page content can only be used in this report.- Returns:
- the page content.
-
createTableContent
ITableContent createTableContent()create an table content. the table content can only be used in this report.- Returns:
- the table.
-
createTableGroupContent
ITableGroupContent createTableGroupContent() -
createTableBandContent
ITableBandContent createTableBandContent() -
createListContent
IListContent createListContent() -
createListGroupContent
IListGroupContent createListGroupContent() -
createListBandContent
IListBandContent createListBandContent() -
createRowContent
IRowContent createRowContent()create the row content. the row can only be used in this report.- Returns:
- the row content.
-
createTextContent
ITextContent createTextContent()create the text content. the text can only be used in this report.- Returns:
- the text content.
-
createTextContent
create the text content, copy the properties from the template content. the text can only be used in this report.- Parameters:
content
- the content template.- Returns:
- the text content.
-
createForeignContent
IForeignContent createForeignContent()create the foreign content. the foreign content can only be used in this report.- Returns:
- the foreign content
-
createImageContent
IImageContent createImageContent()create the image content. the image can only be used in this report.- Returns:
- the image content.
-
createImageContent
create the image content, copy the properties from the template content. the image can only be used in this report.- Parameters:
content
- the content template.- Returns:
- the image content.
-
createLabelContent
ILabelContent createLabelContent()create the label content. the label can only be used in this report.- Returns:
- the label content.
-
createAutoTextContent
IAutoTextContent createAutoTextContent()create the auto text content. the auto text can only be used in this report.- Returns:
- the auto text content.
-
createLabelContent
create the label content, copy the properties from the template content. the label can only be used in this report.- Parameters:
content
- the content template.- Returns:
- the label content.
-
createDataContent
IDataContent createDataContent()create the data content. the data can only be used in this report.- Returns:
- the data content.
-
createDataContent
create the data content, copy the properties from the template content. the data can only be used in this report.- Parameters:
content
- the content template.- Returns:
- the data content.
-
getACL
String getACL() -
setACL
-
getReportContext
org.eclipse.birt.report.engine.api.script.IReportContext getReportContext()- Returns:
- the ReportContext
-
getUserProperties
-
getExtensions
-
setExtensions
-
writeContent
- Throws:
IOException
-
readContent
- Throws:
IOException
-
getTitle
String getTitle() -
setTitle
-
getTOCTree( format, locale ).getTOCTree( );