2.13 Line

The Line element specifies properties to draw a line in a report.

One endpoint of the line, the origin, is specified by the Line.Left and Line.Top elements. The other endpoint of the line is specified, relative to the origin, by the Line.Height and Line.Width elements.

Negative heights and widths allow for lines that are drawn up and/or to the left from their origin. Although the values of the Line.Height and Line.Width elements can be negative, both Line.Top+Line.Height and Line.Left+Line.Width MUST be non-negative valid sizes.

The following are the parent elements, attributes, and child elements of the Line element.

Parent elements

ReportItems

CellContents

CustomReportItem.AltReportItem

Attributes

Line.Name

Child elements

Line.Style

Line.ActionInfo

Line.Bookmark

Line.CustomProperties

Line.DataElementName

Line.DataElementOutput

Line.DocumentMapLabel

Line.Height

Line.Left

Line.RepeatWith

Line.ToolTip

Line.Top

Line.Visibility

Line.Width

Line.ZIndex

The following is the XML Schema definition of the Line element.

 <xsd:complexType name="LineType">
   <xsd:choice minOccurs="0" 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="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:any namespace="##other" processContents="skip" />
    </xsd:choice>
    <xsd:attribute name="Name" type="xsd:normalizedString" use="required" />
 <xsd:anyAttribute namespace="##other" processContents="skip" />
 </xsd:complexType>