2require_once 
'Properties.php';
 
   27              'type' => self::EXCEL_COLOR_TYPE_STANDARD,
 
   33              'compound' => self::LINE_STYLE_COMPOUND_SIMPLE,
 
   34              'dash' => self::LINE_STYLE_DASH_SOLID,
 
   35              'cap' => self::LINE_STYLE_CAP_FLAT,
 
   36              'join' => self::LINE_STYLE_JOIN_BEVEL,
 
   39                      'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,
 
   40                      'size' => self::LINE_STYLE_ARROW_SIZE_5
 
   43                      'type' => self::LINE_STYLE_ARROW_TYPE_NOARROW,
 
   44                      'size' => self::LINE_STYLE_ARROW_SIZE_8
 
   50          'presets' => self::SHADOW_PRESETS_NOSHADOW,
 
   53              'type' => self::EXCEL_COLOR_TYPE_STANDARD,
 
   66          'rotWithShape' => NULL
 
   71              'type' => self::EXCEL_COLOR_TYPE_STANDARD,
 
   97    $this->_object_state = TRUE;
 
  133  public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) {
 
  135    (!is_null($line_width))
 
  136        ? $this->_line_properties[
'style'][
'width'] = $this->
getExcelPointsWidth((
float) $line_width)
 
  138    (!is_null($compound_type))
 
  139        ? $this->_line_properties[
'style'][
'compound'] = (
string) $compound_type
 
  141    (!is_null($dash_type))
 
  142        ? $this->_line_properties[
'style'][
'dash'] = (
string) $dash_type
 
  144    (!is_null($cap_type))
 
  145        ? $this->_line_properties[
'style'][
'cap'] = (
string) $cap_type
 
  147    (!is_null($join_type))
 
  148        ? $this->_line_properties[
'style'][
'join'] = (
string) $join_type
 
  150    (!is_null($head_arrow_type))
 
  151        ? $this->_line_properties[
'style'][
'arrow'][
'head'][
'type'] = (
string) $head_arrow_type
 
  153    (!is_null($head_arrow_size))
 
  154        ? $this->_line_properties[
'style'][
'arrow'][
'head'][
'size'] = (
string) $head_arrow_size
 
  156    (!is_null($end_arrow_type))
 
  157        ? $this->_line_properties[
'style'][
'arrow'][
'end'][
'type'] = (
string) $end_arrow_type
 
  159    (!is_null($end_arrow_size))
 
  160        ? $this->_line_properties[
'style'][
'arrow'][
'end'][
'size'] = (
string) $end_arrow_size
 
  173    return $this->_line_properties[
'color'][$parameter];
 
  201        ->_setGlowSize(
$size)
 
  202        ->_setGlowColor($color_value, $color_alpha, $color_type);
 
  214    return $this->_glow_properties[
'color'][$property];
 
  224    return $this->_glow_properties[
'size'];
 
  252    if (!is_null($color)) {
 
  253      $this->_glow_properties[
'color'][
'value'] = (string) $color;
 
  255    if (!is_null($alpha)) {
 
  256      $this->_glow_properties[
'color'][
'alpha'] = $this->
getTrueAlpha((
int) $alpha);
 
  258    if (!is_null(
$type)) {
 
  259      $this->_glow_properties[
'color'][
'type'] = (string) 
$type;
 
  275    return $this->
getLineStyleArrowSize($this->_line_properties[
'style'][
'arrow'][$arrow_selector][
'size'], $property_selector);
 
  291  public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) {
 
  294        ->_setShadowPresetsProperties((
int) $sh_presets)
 
  296            is_null($sh_color_value) ? $this->_shadow_properties[
'color'][
'value'] : $sh_color_value
 
  297            , is_null($sh_color_alpha) ? (
int) $this->_shadow_properties[
'color'][
'alpha']
 
  299            , is_null($sh_color_type) ? $this->_shadow_properties[
'color'][
'type'] : $sh_color_type)
 
  300        ->_setShadowBlur($sh_blur)
 
  301        ->_setShadowAngle($sh_angle)
 
  302        ->_setShadowDistance($sh_distance);
 
  314    $this->_shadow_properties[
'presets'] = $shadow_presets;
 
  330    $base_reference = $reference;
 
  331    foreach ($properties_map as $property_key => $property_val) {
 
  332      if (is_array($property_val)) {
 
  333        if ($reference === NULL) {
 
  334          $reference = & $this->_shadow_properties[$property_key];
 
  336          $reference = & $reference[$property_key];
 
  340        if ($base_reference === NULL) {
 
  341          $this->_shadow_properties[$property_key] = $property_val;
 
  343          $reference[$property_key] = $property_val;
 
  362    if (!is_null($color)) {
 
  363      $this->_shadow_properties[
'color'][
'value'] = (string) $color;
 
  365    if (!is_null($alpha)) {
 
  366      $this->_shadow_properties[
'color'][
'alpha'] = $this->
getTrueAlpha((
int) $alpha);
 
  368    if (!is_null(
$type)) {
 
  369      $this->_shadow_properties[
'color'][
'type'] = (string) 
$type;
 
  384    if ($blur !== NULL) {
 
  416    if ($distance !== NULL) {
 
  443    if (!is_null(
$size)) {
 
  456    return $this->_soft_edges[
'size'];
 
An exception for terminatinating execution or to throw for unit testing.
_activateObject()
Change Object State to True.
getGlowSize()
Get Glow Size.
_setShadowPresetsProperties($shadow_presets)
Set Shadow Presets Properties.
_setShadowAngle($angle)
Set Shadow Angle.
_setShadowBlur($blur)
Set Shadow Blur.
getLineColorProperty($parameter)
Get Line Color Property.
setGlowProperties($size, $color_value=NULL, $color_alpha=NULL, $color_type=NULL)
Set Glow Properties.
getObjectState()
Get Object State.
getLineStyleProperty($elements)
Get Line Style Property.
setLineStyleProperties($line_width=NULL, $compound_type=NULL, $dash_type=NULL, $cap_type=NULL, $join_type=NULL, $head_arrow_type=NULL, $head_arrow_size=NULL, $end_arrow_type=NULL, $end_arrow_size=NULL)
Set Line Color Properties.
setLineColorProperties($value, $alpha=0, $type=self::EXCEL_COLOR_TYPE_STANDARD)
Set Line Color Properties.
getLineStyleArrowParameters($arrow_selector, $property_selector)
Get Line Style Arrow Parameters.
_setGlowSize($size)
Set Glow Size.
setShadowProperties($sh_presets, $sh_color_value=NULL, $sh_color_type=NULL, $sh_color_alpha=NULL, $sh_blur=NULL, $sh_angle=NULL, $sh_distance=NULL)
Set Shadow Properties.
getSoftEdgesSize()
Get Soft Edges Size.
_setShadowDistance($distance)
Set Shadow Distance.
_setGlowColor($color, $alpha, $type)
Set Glow Color.
_setShadowColor($color, $alpha, $type)
Set Shadow Color.
_setShadowProperiesMapValues(array $properties_map, &$reference=NULL)
Set Shadow Properties Values.
getShadowProperty($elements)
Get Shadow Property.
setSoftEdgesSize($size)
Set Soft Edges Size.
getGlowColor($property)
Get Glow Color Property.
getLineStyleArrowSize($array_selector, $array_kay_selector)
getShadowPresetsMap($shadow_presets_option)
getArrayElementsValue($properties, $elements)
setColorProperties($color, $alpha, $type)
getExcelPointsWidth($width)
getExcelPointsAngle($angle)