CSSPropertyHandler(false, false); } function &default_value() { $data =& new ValueContent(); return $data; } // CSS 2.1 p 12.2: // Value: [ | | | attr(X) | open-quote | close-quote | no-open-quote | no-close-quote ]+ | inherit // // TODO: process values other than // function &parse($value) { if ($value === 'inherit') { return CSS_PROPERTY_INHERIT; }; $value_obj =& ValueContent::parse($value); return $value_obj; } function get_property_code() { return CSS_HTML2PS_HTML_CONTENT; } function get_property_name() { return '-html2ps-html-content'; } } CSS::register_css_property(new CSSHTML2PSHTMLContent); ?>