2.2.7 RdlSize
This simple type specifies restrictions for a valid size string value or expression.
Elements of the RdlSize type MUST be in the following structure:
-
"<FormatValue><FormatType>"
The FormatValue property MUST have a numerical string value in the form of an Integer ([XMLSCHEMA2/2] section 3.3.17) with no thousand delimiters, optionally followed by a decimal point and a positive integer. Unless otherwise specified, the value of the FormatValue property MUST NOT evaluate to a negative Integer or Float ([XMLSCHEMA2] section 3.2.4) string.
The FormatType property specifies the unit type that is used for the distance.<2> This property MUST be set to one of the following:
pt: Specifies a size in units of points.
pc: Specifies a size in units of picas.
in: Specifies a size in units of inches.
mm: Specifies a size in units of millimeters.
cm: Specifies a size in units of centimeters.
Unless otherwise specified, if an element that is of type RdlSize is not present, the value of the element is interpreted as
-
"0<FormatType>"
where <FormatType> is defined above.
A negative RdlSize is an RdlSize in the format of <value><unit> where value is a negative value.
The RdlSize type can be referenced by the following elements.
Referenced by |
---|
The following is the XML Schema definition of the RdlSize type.
-
<xsd:simpleType name="SizeType"> <xsd:restriction base="xsd:normalizedString"> </xsd:restriction> </xsd:simpleType>