Files
luos/thirdparty/html2ps_pdf/css.pseudo.cellspacing.inc.php

28 lines
583 B
PHP
Raw Normal View History

2010-12-02 23:34:41 +00:00
<?php
// $Header: /cvsroot/html2ps/css.pseudo.cellspacing.inc.php,v 1.6 2006/09/07 18:38:14 Konstantin Exp $
class CSSCellSpacing extends CSSPropertyHandler {
function CSSCellSpacing() {
$this->CSSPropertyHandler(true, false);
}
function default_value() {
return Value::fromData(1, UNIT_PX);
}
function parse($value) {
return Value::fromString($value);
}
function getPropertyCode() {
return CSS_HTML2PS_CELLSPACING;
}
function getPropertyName() {
return '-html2ps-cellspacing';
}
}
CSS::register_css_property(new CSSCellSpacing);
?>