2.16 Textbox

The Textbox element specifies properties for a text box in a report.

Following are the parent elements, attributes, and child elements of the Textbox element.

Parent elements

ReportItems

CellContents

CustomReportItem.AltReportItem

Attributes

Textbox.Name

Child elements

Textbox.Style

Textbox.ActionInfo

Textbox.Bookmark

Textbox.CustomProperties

Textbox.DataElementName

Textbox.DataElementOutput

Textbox.DocumentMapLabel

Textbox.Height

Textbox.Left

Textbox.RepeatWith

Textbox.ToolTip

Textbox.Top

Textbox.Visibility

Textbox.Width

Textbox.ZIndex

Textbox.CanGrow

Textbox.CanShrink

Textbox.DataElementStyle

Textbox.HideDuplicates

Textbox.KeepTogether

Textbox.Paragraphs

Textbox.ToggleImage

Textbox.UserSort

Textbox.Value

Applies to RDL 2011/01

Child elements

Textbox.CanScrollVertically

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

 <xsd:complexType name="TextboxType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Top" type="SizeType" minOccurs="0" />
     <xsd:element name="Left" type="SizeType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="0" />
     <xsd:element name="Width" type="SizeType" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
     <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:element name="Value" type="xsd:string" minOccurs="1" />
     <xsd:element name="CanGrow" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="CanShrink" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="HideDuplicates" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToggleImage" type="ToggleImageType" minOccurs="0" />
     <xsd:element name="UserSort" type="UserSortType" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
           <xsd:enumeration value="ContentsOnly" />
           <xsd:enumeration value="Auto" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="DataElementStyle" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Auto" />
           <xsd:enumeration value="AttributeNormal" />
           <xsd:enumeration value="ElementNormal" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

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

 <xsd:complexType name="TextboxType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Top" type="SizeType" minOccurs="0" />
     <xsd:element name="Left" type="SizeType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="0" />
     <xsd:element name="Width" type="SizeType" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
     <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:element name="Paragraphs" type="ParagraphsType" minOccurs="1" />
     <xsd:element name="CanGrow" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="CanShrink" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="HideDuplicates" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToggleImage" type="ToggleImageType" minOccurs="0" />
     <xsd:element name="UserSort" type="UserSortType" minOccurs="0" />
     <xsd:element name="KeepTogether" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
           <xsd:enumeration value="ContentsOnly" />
           <xsd:enumeration value="Auto" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="DataElementStyle" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Auto" />
           <xsd:enumeration value="Attribute" />
           <xsd:enumeration value="Element" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="skip" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>

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

Note  The following XSD represents RDL macro-versioned schemas only. Possible additions, identified earlier in this section, to base schema RDL 2010/01 from micro-versioned schemas RDL 2011/01, RDL 2012/01, and RDL 2013/01 are provided in sections 5.5, 5.6, and 5.7, respectively. For more information about macro- and micro-versioned schemas, see section 2.1.

 <xsd:complexType name="TextboxType">
   <xsd:choice minOccurs="1" maxOccurs="unbounded">
     <xsd:element name="Style" type="StyleType" minOccurs="0" />
     <xsd:element name="ActionInfo" type="ActionInfoType" minOccurs="0" />
     <xsd:element name="Top" type="SizeType" minOccurs="0" />
     <xsd:element name="Left" type="SizeType" minOccurs="0" />
     <xsd:element name="Height" type="SizeType" minOccurs="0" />
     <xsd:element name="Width" type="SizeType" minOccurs="0" />
     <xsd:element name="ZIndex" type="xsd:unsignedInt" minOccurs="0" />
     <xsd:element name="Visibility" type="VisibilityType" minOccurs="0" />
     <xsd:element name="ToolTip" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="DocumentMapLabel" type="StringLocIDType" minOccurs="0" />
     <xsd:element name="Bookmark" type="xsd:string" minOccurs="0" />
     <xsd:element name="RepeatWith" type="xsd:string" minOccurs="0" />
     <xsd:element name="CustomProperties" type="CustomPropertiesType" minOccurs="0" />
     <xsd:element name="Paragraphs" type="ParagraphsType" minOccurs="1" />
     <xsd:element name="CanGrow" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="CanShrink" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="HideDuplicates" type="xsd:string" minOccurs="0" />
     <xsd:element name="ToggleImage" type="ToggleImageType" minOccurs="0" />
     <xsd:element name="UserSort" type="UserSortType" minOccurs="0" />
     <xsd:element name="KeepTogether" type="xsd:boolean" minOccurs="0" />
     <xsd:element name="DataElementName" type="xsd:string" minOccurs="0" />
     <xsd:element name="DataElementOutput" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Output" />
           <xsd:enumeration value="NoOutput" />
           <xsd:enumeration value="ContentsOnly" />
           <xsd:enumeration value="Auto" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:element name="DataElementStyle" minOccurs="0">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="Auto" />
           <xsd:enumeration value="Attribute" />
           <xsd:enumeration value="Element" />
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:element>
     <xsd:any namespace="##other" processContents="lax" />
   </xsd:choice>
   <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
   <xsd:anyAttribute namespace="##other" processContents="lax" />
 </xsd:complexType>