/**
  * The constructor.
  * @param string value The value to assign to this SC.
  * @access public
  **/
 function FontSizeSC($value = null)
 {
     $options = array("xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "smaller", "larger");
     $errDescription = "Could not validate the font-size StyleComponent value \"%s\".\n\t\t\t\t\t\t   Allowed values are: " . implode(", ", $options) . "\n  \t\t\t\t\t       or a specific font-size value (in length units, i.e. px,\n\t\t\t\t\t\t   in, %, etc).";
     $rule = CSSLengthValidatorRuleWithOptions::getRule($options);
     $displayName = "Font Size";
     $description = "Specifies the font size to use. Allowed values are: " . implode(", ", $options) . "\n  \t\t\t\t\t    or a specific font-size value (in length units, i.e. px,\n\t\t\t\t\t\tin, %, etc).";
     $this->StyleComponent($value, $rule, $options, false, $errDescription, $displayName, $description);
 }
 /**
  * The constructor.
  * @param string value The value to assign to this SC.
  * @access public
  **/
 function VerticalAlignSC($value)
 {
     $options = array("baseline", "middle", "top", "bottom", "text-top", "text-bottom", "super", "sub");
     $errDescription = "Could not validate the vertical-align StyleComponent value \"%s\".\n\t\t\t\t\t\t   Allowed values are: " . implode(", ", $options) . ", or a specific \n\t\t\t\t\t\t   value (a length value, i.e. px, in, %, etc.).";
     $rule = CSSLengthValidatorRuleWithOptions::getRule($options);
     $displayName = "Vertical Alignment";
     $description = "Specifies the vertical-align value. Allowed values are: \n\t\t\t\t\t\t" . implode(", ", $options) . ", or a distance value \n\t\t\t\t\t\t(a length value, i.e. px, in, %, etc.).";
     $this->StyleComponent($value, $rule, $options, false, $errDescription, $displayName, $description);
 }
 /**
  * The constructor.
  * @param string value The value to assign to this SC.
  * @access public
  **/
 function MaxDimensionSC($value)
 {
     $options = array("none");
     $errDescription = "Could not validate the MaxDimension StyleComponent value \"%s\".\n\t\t\t\t\t\t   Allowed values are: " . implode(", ", $options) . "\n  \t\t\t\t\t       or a specific distance value (in length units, i.e. px,\n\t\t\t\t\t\t   in, %, etc).";
     $rule = CSSLengthValidatorRuleWithOptions::getRule($options);
     $displayName = "Max Dimension";
     $description = "Specifies the length to use. Allowed values are: " . implode(", ", $options) . "\n  \t\t\t\t\t    or a specific distance value (in length units, i.e. px,\n\t\t\t\t\t\tin, %, etc).";
     $this->StyleComponent($value, $rule, $options, false, $errDescription, $displayName, $description);
 }
 /**
  * The constructor.
  * @param string value The value to assign to this SC.
  * @access public
  **/
 function AutoLengthSC($value)
 {
     $options = array("auto");
     $errDescription = "Could not validate the AutoLength StyleComponent value \"%s\".\n\t\t\t\t\t\t   Allowed values are: " . implode(", ", $options) . ", or a specific \n\t\t\t\t\t\t   value (a length value, i.e. px, in, %, etc.).";
     $rule = CSSLengthValidatorRuleWithOptions::getRule($options);
     $displayName = "AutoLength";
     $description = "Specifies the values for CSS properties 'top', 'left', 'right',\n\t\t\t\t\t\t'bottom', 'width', and 'height'. Allowed values are: \n\t\t\t\t\t\t" . implode(", ", $options) . ", or a specific value \n\t\t\t\t\t\t(a length value, i.e. px, in, %, etc.).";
     $this->StyleComponent($value, $rule, $options, false, $errDescription, $displayName, $description);
 }
 /**
  * The constructor.
  * @param string value The value to assign to this SC.
  * @access public
  **/
 function VerticalAlignmentPositionSC($value)
 {
     $errDescription = "Could not validate the length StyleComponent value \"%s\". ";
     $errDescription .= "Allowed units are: %, in, cm, mm, em, ex, pt, pc, px, or any of:";
     $options = array("top", "center", "bottom");
     $errDescription .= " " . implode(", ", $options) . ".";
     $rule = CSSLengthValidatorRuleWithOptions::getRule($options);
     $displayName = "VerticalAlignmentPosition";
     $description = "Specifies the length (width, size, etc) in percentages (%),\n\t\tinches (in), centimeters (cm), millimeters (mm), ems (em), X-height (ex),\n\t\tpoints (pt), picas (pc), or\tpixels (px) or an alignment: " . implode(", ", $options) . ".";
     $this->StyleComponent($value, $rule, $options, null, $errDescription, $displayName, $description);
 }