2.11 ReportItems

The ReportItems element specifies the collection of report items used to define the contents of a region of a Report.

The following are the parent and child elements of the ReportItems element.

Parent elements

Body

PageSection

PageHeaderFooter

Rectangle

List

MatrixCell

Corner

DynamicColumns

DynamicRows

StaticColumn

StaticRow

Subtotal

TableCell

CustomReportItem

Child elements

ReportItems.Chart

ReportItems.CustomReportItem

ReportItems.GaugePanel

ReportItems.Image

ReportItems.Line

ReportItems.Map

ReportItems.Rectangle

ReportItems.Subreport

ReportItems.Tablix

ReportItems.Textbox

ReportItems.List

ReportItems.Matrix

ReportItems.Table

The following is the XML Schema definition of the ReportItems element in RDL 2003/10 and RDL 2005/01.

 <xsd:complexType name="ReportItemsType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="Line" type="LineType" />
     <xsd:element name="Rectangle" type="RectangleType" />
     <xsd:element name="Textbox" type="TextboxType" />
     <xsd:element name="Image" type="ImageType" />
     <xsd:element name="Subreport" type="SubreportType" />
     <xsd:element name="Chart" type="ChartType" />
     <xsd:element name="List" type="ListType" />
     <xsd:element name="Table" type="TableType" />
     <xsd:element name="Matrix" type="MatrixType" />
     <xsd:element name="CustomReportItem" type="CustomReportItemType" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ReportItems element in RDL 2008/01.

 <xsd:complexType name="ReportItemsType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="Line" type="LineType" />
     <xsd:element name="Rectangle" type="RectangleType" />
     <xsd:element name="Textbox" type="TextboxType" />
     <xsd:element name="Image" type="ImageType" />
     <xsd:element name="Subreport" type="SubreportType" />
     <xsd:element name="Chart" type="ChartType" />
     <xsd:element name="GaugePanel" type="GaugePanelType" />
     <xsd:element name="Tablix" type="TablixType" />
     <xsd:element name="CustomReportItem" type="CustomReportItemType" />
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

The following is the XML Schema definition of the ReportItems element in RDL 2010/01 and RDL 2016/01.

 <xsd:complexType name="ReportItemsType">
   <xsd:choice maxOccurs="unbounded">
     <xsd:element name="Line" type="LineType" />
     <xsd:element name="Rectangle" type="RectangleType" />
     <xsd:element name="Textbox" type="TextboxType" />
     <xsd:element name="Image" type="ImageType" />
     <xsd:element name="Subreport" type="SubreportType" />
     <xsd:element name="Chart" type="ChartType" />
     <xsd:element name="GaugePanel" type="GaugePanelType" />
     <xsd:element name="Map" type="MapType" />
     <xsd:element name="Tablix" type="TablixType" />
     <xsd:element name="CustomReportItem" type="CustomReportItemType" />
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>