CSSPropertyHandler(true, true); } function default_value() { return new TextIndentValuePDF(array(0,false)); } function parse($value) { if ($value === 'inherit') { return CSS_PROPERTY_INHERIT; }; if (is_percentage($value)) { return new TextIndentValuePDF(array((int)$value, true)); } else { return new TextIndentValuePDF(array($value, false)); }; } function get_property_code() { return CSS_TEXT_INDENT; } function get_property_name() { return 'text-indent'; } } CSS::register_css_property(new CSSTextIndent()); ?>