HOR-2689
This commit is contained in:
committed by
davidcallizaya
parent
8359e30998
commit
9eb7d6cac2
30
thirdparty/html2ps_pdf/css.table-layout.inc.php
vendored
Normal file
30
thirdparty/html2ps_pdf/css.table-layout.inc.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
// $Header: /cvsroot/html2ps/css.white-space.inc.php,v 1.8 2006/12/24 14:42:44 Konstantin Exp $
|
||||
|
||||
define('TABLE_LAYOUT_AUTO', 1);
|
||||
define('TABLE_LAYOUT_FIXED', 2);
|
||||
|
||||
class CSSTableLayout extends CSSPropertyStringSet {
|
||||
function CSSTableLayout() {
|
||||
$this->CSSPropertyStringSet(false,
|
||||
false,
|
||||
array('auto' => TABLE_LAYOUT_AUTO,
|
||||
'fixed' => TABLE_LAYOUT_FIXED));
|
||||
}
|
||||
|
||||
function default_value() {
|
||||
return TABLE_LAYOUT_AUTO;
|
||||
}
|
||||
|
||||
function getPropertyCode() {
|
||||
return CSS_TABLE_LAYOUT;
|
||||
}
|
||||
|
||||
function getPropertyName() {
|
||||
return 'table-layout';
|
||||
}
|
||||
}
|
||||
|
||||
CSS::register_css_property(new CSSTableLayout());
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user