Extended Item Presentation-Time Support
Identifier:
org.eclipse.birt.report.engine.reportitempresentation
Since:
1.0
Description:
This extension point specifies how the new report item should be instantiated, processed, and rendered at presentation (rendering) time. In a server environment, the plugin registry uses this extension point registration to discover supported report item extensions.
Configuration Markup:
<!ELEMENT extension (reportItem+)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED
>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT reportItem EMPTY>
<!ATTLIST reportItem
name CDATA #REQUIRED
class CDATA #REQUIRED
supportedFormats CDATA #IMPLIED
>
- name - the unique name of the extended item, i.e., "org.eclipse.birt.chart" for BIRT supplied chart extension.
- class - the java class that implements the
IReportItemPresentation
- supportedFormats - The supported rendering formats for this extended item. The value for this attribute is a comma-separated string, i.e., "HTML,PDF,EXCEL', etc. The string is case-insensitive.
Examples:
The following is a sample usage of the reportItemPresentation extension point:
<extension point="org.eclipse.birt.report.engine.reportitempresentation"
name="chart presentation extension">
<reportItem name="org.eclipse.birt.chart" class="org.eclipse.birt.report.chartitem.ChartPresentation"
supportedFormats="FO,HTML,PDF"/>
</extension>
Supplied Implementation:
Chart as an extended item
Copyright (c) 2005 Actuate Corporation. All rights reserved. This program and
the accompanying materials are made available under the terms of the Eclipse
Public License v1.0 which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors: Actuate Corporation - initial API and implementation