1<?php 2// $Header: /cvsroot/html2ps/css.pseudo.localalign.inc.php,v 1.4 2006/09/07 18:38:14 Konstantin Exp $ 3 4define('LA_LEFT',0); 5define('LA_CENTER',1); 6define('LA_RIGHT',2); 7 8class CSSLocalAlign extends CSSPropertyHandler { 9 function CSSLocalAlign() { $this->CSSPropertyHandler(false, false); } 10 11 function default_value() { return LA_LEFT; } 12 13 function parse($value) { return $value; } 14 15 function get_property_code() { 16 return CSS_HTML2PS_LOCALALIGN; 17 } 18 19 function get_property_name() { 20 return '-html2ps-localalign'; 21 } 22} 23 24CSS::register_css_property(new CSSLocalAlign); 25 26?>