lib/PHPRtfLite/List/Enumeration.php
protected function initListCharDefinition()
    {
        switch ($this->_type) {
            case self::TYPE_ARROW:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = '\\\'d8';
                break;
            case self::TYPE_CIRCLE:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Courier New');
                $this->_listChar = ' o';
                break;
            case self::TYPE_DIAMOND:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = ' v';
                break;
            case self::TYPE_SQUARE:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = '\\\'a7';
                break;
            // default is bullet
            default:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Symbol');
                $this->_listChar = '\\\'B7';
        }

        $this->_rtf->registerFont($this->_listCharFont);
    }
protected function initListCharDefinition()
    {
        switch ($this->_type) {
            case self::TYPE_ARROW:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = '\\\'d8';
                break;
            case self::TYPE_CIRCLE:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Courier New');
                $this->_listChar = ' o';
                break;
            case self::TYPE_DIAMOND:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = ' v';
                break;
            case self::TYPE_SQUARE:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Wingdings');
                $this->_listChar = '\\\'a7';
                break;
            // default is bullet
            default:
                $this->_listCharFont = new PHPRtfLite_Font(10, 'Symbol');
                $this->_listChar = '\\\'B7';
        }

        $this->_rtf->registerFont($this->_listCharFont);
    }
protected function initListCharDefinition ( ) { switch ( $ this -> _type ) { case self :: TYPE_ARROW : $ this -> _listCharFont = new PHPRtfLite_Font ( 10 , 'Wingdings' ) ; $ this -> _listChar = '\\\'d8' ; break ; case self :: TYPE_CIRCLE : $ this -> _listCharFont = new PHPRtfLite_Font ( 10 , 'Courier New' ) ; $ this -> _listChar = ' o' ; break ; case self :: TYPE_DIAMOND : $ this -> _listCharFont = new PHPRtfLite_Font ( 10 , 'Wingdings' ) ; $ this -> _listChar = ' v' ; break ; case self :: TYPE_SQUARE : $ this -> _listCharFont = new PHPRtfLite_Font ( 10 , 'Wingdings' ) ; $ this -> _listChar = '\\\'a7' ; break ; // default is bullet default : $ this -> _listCharFont = new PHPRtfLite_Font ( 10 , 'Symbol' ) ; $ this -> _listChar = '\\\'B7' ; } $ this -> _rtf -> registerFont ( $ this -> _listCharFont ) ; }
inits list character definition
inits list character definition