public function getFormStyle()
    {
        $prop = array();

        $prop['alignment'] = $this->value['text-align'];

        if (isset($this->value['background']['color']) && is_array($this->value['background']['color'])) {
            $prop['fillColor'] = $this->value['background']['color'];
        }

        if (isset($this->value['border']['t']['color'])) {
            $prop['strokeColor'] = $this->value['border']['t']['color'];
        }

        if (isset($this->value['border']['t']['width'])) {
            $prop['lineWidth'] = $this->value['border']['t']['width'];
        }

        if (isset($this->value['border']['t']['type'])) {
            $prop['borderStyle'] = $this->value['border']['t']['type'];
        }

        if (!empty($this->value['color'])) {
            $prop['textColor'] = $this->value['color'];
        }

        if (!empty($this->value['font-size'])) {
            $prop['textSize'] = $this->value['font-size'];
        }

        return $prop;
    }
public function getFormStyle()
    {
        $prop = array();

        $prop['alignment'] = $this->value['text-align'];

        if (isset($this->value['background']['color']) && is_array($this->value['background']['color'])) {
            $prop['fillColor'] = $this->value['background']['color'];
        }

        if (isset($this->value['border']['t']['color'])) {
            $prop['strokeColor'] = $this->value['border']['t']['color'];
        }

        if (isset($this->value['border']['t']['width'])) {
            $prop['lineWidth'] = $this->value['border']['t']['width'];
        }

        if (isset($this->value['border']['t']['type'])) {
            $prop['borderStyle'] = $this->value['border']['t']['type'];
        }

        if (!empty($this->value['color'])) {
            $prop['textColor'] = $this->value['color'];
        }

        if (!empty($this->value['font-size'])) {
            $prop['textSize'] = $this->value['font-size'];
        }

        return $prop;
    }
public function getFormStyle ( ) { $ prop = array ( ) ; $ prop [ 'alignment' ] = $ this -> value [ 'text-align' ] ; if ( isset ( $ this -> value [ 'background' ] [ 'color' ] ) && is_array ( $ this -> value [ 'background' ] [ 'color' ] ) ) { $ prop [ 'fillColor' ] = $ this -> value [ 'background' ] [ 'color' ] ; } if ( isset ( $ this -> value [ 'border' ] [ 't' ] [ 'color' ] ) ) { $ prop [ 'strokeColor' ] = $ this -> value [ 'border' ] [ 't' ] [ 'color' ] ; } if ( isset ( $ this -> value [ 'border' ] [ 't' ] [ 'width' ] ) ) { $ prop [ 'lineWidth' ] = $ this -> value [ 'border' ] [ 't' ] [ 'width' ] ; } if ( isset ( $ this -> value [ 'border' ] [ 't' ] [ 'type' ] ) ) { $ prop [ 'borderStyle' ] = $ this -> value [ 'border' ] [ 't' ] [ 'type' ] ; } if ( ! empty ( $ this -> value [ 'color' ] ) ) { $ prop [ 'textColor' ] = $ this -> value [ 'color' ] ; } if ( ! empty ( $ this -> value [ 'font-size' ] ) ) { $ prop [ 'textSize' ] = $ this -> value [ 'font-size' ] ; } return $ prop ; }
Analise the CSS style to convert it into Form style

@access public
@param  array    styles
Analise the CSS style to convert it into Form style