2.31 CellContents
Applies to RDL 2008/01, RDL 2010/01, and RDL 2016/01
The CellContents element defines the contents of cells of a Tablix. The CellContents element can contain 0 or 1 report item elements. If the Top, Left, Height, and Width grandchild elements exist, they are ignored, and their values are interpreted as follows:
Top: 0
Left: 0
Height: The same as the height of the containing object.
Width: The same as the width of the containing object.
The following are the parent and child elements of the CellContents element.
Parent elements |
---|
Child elements |
---|
The following is the XML Schema definition of the CellContents element in RDL 2008/01.
-
<xsd:complexType name="CellContentsType"> <xsd:choice maxOccurs="unbounded"> <xsd:element name="ColSpan" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="RowSpan" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="Line" type="LineType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Rectangle" type="RectangleType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Textbox" type="TextboxType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Image" type="ImageType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Subreport" type="SubreportType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Chart" type="ChartType" minOccurs="0" maxOccurs="1" /> <xsd:element name="GaugePanel" type="GaugePanelType" minOccurs="0" maxOccurs="1" /> <xsd:element name="CustomReportItem" type="CustomReportItemType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Tablix" type="TablixType" minOccurs="0" maxOccurs="1" /> <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 CellContents element in RDL 2010/01 and RDL 2016/01.
-
<xsd:complexType name="CellContentsType"> <xsd:choice maxOccurs="unbounded"> <xsd:element name="ColSpan" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="RowSpan" type="xsd:unsignedInt" minOccurs="0" maxOccurs="1"> </xsd:element> <xsd:element name="Line" type="LineType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Rectangle" type="RectangleType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Textbox" type="TextboxType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Image" type="ImageType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Subreport" type="SubreportType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Chart" type="ChartType" minOccurs="0" maxOccurs="1" /> <xsd:element name="GaugePanel" type="GaugePanelType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Map" type="MapType" minOccurs="0" maxOccurs="1" /> <xsd:element name="CustomReportItem" type="CustomReportItemType" minOccurs="0" maxOccurs="1" /> <xsd:element name="Tablix" type="TablixType" minOccurs="0" maxOccurs="1" /> <xsd:any namespace="##other" processContents="lax" /> </xsd:choice> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType>