2.293 Style
The Style element specifies appearance information for a report item.
The following are the parent and child elements of the Style element.
Parent elements |
---|
Child elements |
---|
Applies to RDL 2013/01
Child elements |
---|
The following is the XML Schema definition of the Style element in RDL 2003/10 and RDL 2005/01.
-
<xsd:complexType name="StyleType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="BorderColor" type="BorderColorStyleWidthType" minOccurs="0" /> <xsd:element name="BorderStyle" type="BorderColorStyleWidthType" minOccurs="0" /> <xsd:element name="BorderWidth" type="BorderColorStyleWidthType" minOccurs="0" /> <xsd:element name="BackgroundColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientEndColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundHatchType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundImage" type="BackgroundImageType" minOccurs="0" /> <xsd:element name="FontStyle" type="xsd:string" minOccurs="0" /> <xsd:element name="FontFamily" type="xsd:string" minOccurs="0" /> <xsd:element name="FontSize" type="xsd:string" minOccurs="0" /> <xsd:element name="FontWeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Format" type="xsd:string" minOccurs="0" /> <xsd:element name="TextDecoration" type="xsd:string" minOccurs="0" /> <xsd:element name="TextAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="VerticalAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="Color" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingLeft" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingRight" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingTop" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingBottom" type="xsd:string" minOccurs="0" /> <xsd:element name="LineHeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Direction" type="xsd:string" minOccurs="0" /> <xsd:element name="WritingMode" type="xsd:string" minOccurs="0" /> <xsd:element name="Language" type="xsd:string" minOccurs="0" /> <xsd:element name="UnicodeBiDi" type="xsd:string" minOccurs="0" /> <xsd:element name="Calendar" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralLanguage" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralVariant" type="xsd:string" minOccurs="0" /> <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 Style element in RDL 2008/01.
-
<xsd:complexType name="StyleType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Border" type="BorderType" minOccurs="0" /> <xsd:element name="TopBorder" type="BorderType" minOccurs="0" /> <xsd:element name="BottomBorder" type="BorderType" minOccurs="0" /> <xsd:element name="LeftBorder" type="BorderType" minOccurs="0" /> <xsd:element name="RightBorder" type="BorderType" minOccurs="0" /> <xsd:element name="BackgroundColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientEndColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundHatchType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundImage" type="BackgroundImageType" minOccurs="0" /> <xsd:element name="FontStyle" type="xsd:string" minOccurs="0" /> <xsd:element name="FontFamily" type="xsd:string" minOccurs="0" /> <xsd:element name="FontSize" type="xsd:string" minOccurs="0" /> <xsd:element name="FontWeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Format" type="xsd:string" minOccurs="0" /> <xsd:element name="TextDecoration" type="xsd:string" minOccurs="0" /> <xsd:element name="TextAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="TextEffect" type="xsd:string" minOccurs="0" /> <xsd:element name="VerticalAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="Color" type="xsd:string" minOccurs="0" /> <xsd:element name="ShadowColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ShadowOffset" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingLeft" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingRight" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingTop" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingBottom" type="xsd:string" minOccurs="0" /> <xsd:element name="LineHeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Direction" type="xsd:string" minOccurs="0" /> <xsd:element name="WritingMode" type="xsd:string" minOccurs="0" /> <xsd:element name="Language" type="xsd:string" minOccurs="0" /> <xsd:element name="UnicodeBiDi" type="xsd:string" minOccurs="0" /> <xsd:element name="Calendar" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralLanguage" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralVariant" type="xsd:string" minOccurs="0" /> <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 Style 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="StyleType"> <xsd:choice minOccurs="0" maxOccurs="unbounded"> <xsd:element name="Border" type="BorderType" minOccurs="0" /> <xsd:element name="TopBorder" type="BorderType" minOccurs="0" /> <xsd:element name="BottomBorder" type="BorderType" minOccurs="0" /> <xsd:element name="LeftBorder" type="BorderType" minOccurs="0" /> <xsd:element name="RightBorder" type="BorderType" minOccurs="0" /> <xsd:element name="BackgroundColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundGradientEndColor" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundHatchType" type="xsd:string" minOccurs="0" /> <xsd:element name="BackgroundImage" type="BackgroundImageType" minOccurs="0" /> <xsd:element name="FontStyle" type="xsd:string" minOccurs="0" /> <xsd:element name="FontFamily" type="xsd:string" minOccurs="0" /> <xsd:element name="FontSize" type="xsd:string" minOccurs="0" /> <xsd:element name="FontWeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Format" type="xsd:string" minOccurs="0" /> <xsd:element name="TextDecoration" type="xsd:string" minOccurs="0" /> <xsd:element name="TextAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="TextEffect" type="xsd:string" minOccurs="0" /> <xsd:element name="VerticalAlign" type="xsd:string" minOccurs="0" /> <xsd:element name="Color" type="xsd:string" minOccurs="0" /> <xsd:element name="ShadowColor" type="xsd:string" minOccurs="0" /> <xsd:element name="ShadowOffset" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingLeft" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingRight" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingTop" type="xsd:string" minOccurs="0" /> <xsd:element name="PaddingBottom" type="xsd:string" minOccurs="0" /> <xsd:element name="LineHeight" type="xsd:string" minOccurs="0" /> <xsd:element name="Direction" type="xsd:string" minOccurs="0" /> <xsd:element name="WritingMode" type="xsd:string" minOccurs="0" /> <xsd:element name="Language" type="xsd:string" minOccurs="0" /> <xsd:element name="UnicodeBiDi" type="xsd:string" minOccurs="0" /> <xsd:element name="Calendar" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralLanguage" type="xsd:string" minOccurs="0" /> <xsd:element name="NumeralVariant" type="xsd:string" minOccurs="0" /> <xsd:any namespace="##other" processContents="lax" /> </xsd:choice> <xsd:anyAttribute namespace="##other" processContents="lax" /> </xsd:complexType>