芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/public_html/cepali/lib/phpexcel/PHPExcel/Chart/Properties.php
(string) $type, 'value' => (string) $color, 'alpha' => (string) $this->getTrueAlpha($alpha) ); } protected function getLineStyleArrowSize($array_selector, $array_kay_selector) { $sizes = array( 1 => array('w' => 'sm', 'len' => 'sm'), 2 => array('w' => 'sm', 'len' => 'med'), 3 => array('w' => 'sm', 'len' => 'lg'), 4 => array('w' => 'med', 'len' => 'sm'), 5 => array('w' => 'med', 'len' => 'med'), 6 => array('w' => 'med', 'len' => 'lg'), 7 => array('w' => 'lg', 'len' => 'sm'), 8 => array('w' => 'lg', 'len' => 'med'), 9 => array('w' => 'lg', 'len' => 'lg') ); return $sizes[$array_selector][$array_kay_selector]; } protected function getShadowPresetsMap($shadow_presets_option) { $presets_options = array( //OUTER 1 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '2700000', 'algn' => 'tl', 'rotWithShape' => '0' ), 2 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '5400000', 'algn' => 't', 'rotWithShape' => '0' ), 3 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '8100000', 'algn' => 'tr', 'rotWithShape' => '0' ), 4 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'algn' => 'l', 'rotWithShape' => '0' ), 5 => array( 'effect' => 'outerShdw', 'size' => array( 'sx' => '102000', 'sy' => '102000' ) , 'blur' => '63500', 'distance' => '38100', 'algn' => 'ctr', 'rotWithShape' => '0' ), 6 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '10800000', 'algn' => 'r', 'rotWithShape' => '0' ), 7 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '18900000', 'algn' => 'bl', 'rotWithShape' => '0' ), 8 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '16200000', 'rotWithShape' => '0' ), 9 => array( 'effect' => 'outerShdw', 'blur' => '50800', 'distance' => '38100', 'direction' => '13500000', 'algn' => 'br', 'rotWithShape' => '0' ), //INNER 10 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '2700000', ), 11 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '5400000', ), 12 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '8100000', ), 13 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', ), 14 => array( 'effect' => 'innerShdw', 'blur' => '114300', ), 15 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '10800000', ), 16 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '18900000', ), 17 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '16200000', ), 18 => array( 'effect' => 'innerShdw', 'blur' => '63500', 'distance' => '50800', 'direction' => '13500000', ), //perspective 19 => array( 'effect' => 'outerShdw', 'blur' => '152400', 'distance' => '317500', 'size' => array( 'sx' => '90000', 'sy' => '-19000', ), 'direction' => '5400000', 'rotWithShape' => '0', ), 20 => array( 'effect' => 'outerShdw', 'blur' => '76200', 'direction' => '18900000', 'size' => array( 'sy' => '23000', 'kx' => '-1200000', ), 'algn' => 'bl', 'rotWithShape' => '0', ), 21 => array( 'effect' => 'outerShdw', 'blur' => '76200', 'direction' => '13500000', 'size' => array( 'sy' => '23000', 'kx' => '1200000', ), 'algn' => 'br', 'rotWithShape' => '0', ), 22 => array( 'effect' => 'outerShdw', 'blur' => '76200', 'distance' => '12700', 'direction' => '2700000', 'size' => array( 'sy' => '-23000', 'kx' => '-800400', ), 'algn' => 'bl', 'rotWithShape' => '0', ), 23 => array( 'effect' => 'outerShdw', 'blur' => '76200', 'distance' => '12700', 'direction' => '8100000', 'size' => array( 'sy' => '-23000', 'kx' => '800400', ), 'algn' => 'br', 'rotWithShape' => '0', ), ); return $presets_options[$shadow_presets_option]; } protected function getArrayElementsValue($properties, $elements) { $reference = & $properties; if (!is_array($elements)) { return $reference[$elements]; } else { foreach ($elements as $keys) { $reference = & $reference[$keys]; } return $reference; } return $this; } }