HOR-2689
This commit is contained in:
committed by
davidcallizaya
parent
8359e30998
commit
9eb7d6cac2
33
thirdparty/html2ps_pdf/css.overflow.inc.php
vendored
Normal file
33
thirdparty/html2ps_pdf/css.overflow.inc.php
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
// $Header: /cvsroot/html2ps/css.overflow.inc.php,v 1.8 2006/09/07 18:38:14 Konstantin Exp $
|
||||
|
||||
define('OVERFLOW_VISIBLE',0);
|
||||
define('OVERFLOW_HIDDEN',1);
|
||||
|
||||
class CSSOverflow extends CSSPropertyStringSet {
|
||||
function CSSOverflow() {
|
||||
$this->CSSPropertyStringSet(false,
|
||||
false,
|
||||
array('inherit' => CSS_PROPERTY_INHERIT,
|
||||
'hidden' => OVERFLOW_HIDDEN,
|
||||
'scroll' => OVERFLOW_HIDDEN,
|
||||
'auto' => OVERFLOW_HIDDEN,
|
||||
'visible' => OVERFLOW_VISIBLE));
|
||||
}
|
||||
|
||||
function default_value() {
|
||||
return OVERFLOW_VISIBLE;
|
||||
}
|
||||
|
||||
function getPropertyCode() {
|
||||
return CSS_OVERFLOW;
|
||||
}
|
||||
|
||||
function getPropertyName() {
|
||||
return 'overflow';
|
||||
}
|
||||
}
|
||||
|
||||
CSS::register_css_property(new CSSOverflow);
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user