1<?php 2// $Header: /cvsroot/html2ps/css.pseudo.cellpadding.inc.php,v 1.6 2006/09/07 18:38:14 Konstantin Exp $ 3 4class CSSCellPadding extends CSSPropertyHandler { 5 function CSSCellPadding() { 6 $this->CSSPropertyHandler(true, false); 7 } 8 9 function default_value() { 10 return Value::fromData(1, UNIT_PX); 11 } 12 13 function parse($value) { 14 return Value::fromString($value); 15 } 16 17 function get_property_code() { 18 return CSS_HTML2PS_CELLPADDING; 19 } 20 21 function get_property_name() { 22 return '-html2ps-cellpadding'; 23 } 24} 25 26CSS::register_css_property(new CSSCellPadding); 27 28?>