Files
luos/thirdparty/html2ps_pdf/css.visibility.inc.php
Paula Quispe 9eb7d6cac2 HOR-2689
2017-08-03 17:00:30 -04:00

31 lines
929 B
PHP

<?php
// $Header: /cvsroot/html2ps/css.visibility.inc.php,v 1.5 2006/09/07 18:38:15 Konstantin Exp $
define('VISIBILITY_VISIBLE',0);
define('VISIBILITY_HIDDEN',1);
define('VISIBILITY_COLLAPSE',2); // TODO: currently treated is hidden
class CSSVisibility extends CSSPropertyStringSet {
function CSSVisibility() {
$this->CSSPropertyStringSet(false,
false,
array('inherit' => CSS_PROPERTY_INHERIT,
'visible' => VISIBILITY_VISIBLE,
'hidden' => VISIBILITY_HIDDEN,
'collapse' => VISIBILITY_COLLAPSE));
}
function default_value() { return VISIBILITY_VISIBLE; }
function getPropertyCode() {
return CSS_VISIBILITY;
}
function getPropertyName() {
return 'visibility';
}
}
CSS::register_css_property(new CSSVisibility);
?>