1<?php
2// $Header: /cvsroot/html2ps/css.direction.inc.php,v 1.7 2006/07/09 09:07:44 Konstantin Exp $
3
4define('DIRECTION_LTR', 1);
5define('DIRECTION_RTF', 1);
6
7class CSSDirection extends CSSPropertyStringSet {
8  function CSSDirection() {
9    $this->CSSPropertyStringSet(true,
10                                true,
11                                array('lrt' => DIRECTION_LTR,
12                                      'rtl' => DIRECTION_RTF));
13  }
14
15  function default_value() {
16    return DIRECTION_LTR;
17  }
18
19  function get_property_code() {
20    return CSS_DIRECTION;
21  }
22
23  function get_property_name() {
24    return 'direction';
25  }
26}
27
28CSS::register_css_property(new CSSDirection);
29
30?>