4 require_once
'testDataFileIterator.php';
11 if (!
defined(
'PHPEXCEL_ROOT')) {
12 define(
'PHPEXCEL_ROOT', APPLICATION_PATH .
'/');
14 require_once(PHPEXCEL_ROOT .
'PHPExcel/Autoloader.php');
21 $result = call_user_func(
array(
'PHPExcel_Shared_Font',
'getAutoSizeMethod'));
22 $this->assertEquals($expectedResult,
$result);
27 $autosizeMethodValues =
array(
32 foreach($autosizeMethodValues as $autosizeMethodValue) {
33 $result = call_user_func(
array(
'PHPExcel_Shared_Font',
'setAutoSizeMethod'),$autosizeMethodValue);
40 $unsupportedAutosizeMethod =
'guess';
42 $result = call_user_func(
array(
'PHPExcel_Shared_Font',
'setAutoSizeMethod'),$unsupportedAutosizeMethod);
51 $args = func_get_args();
52 $expectedResult = array_pop($args);
53 $result = call_user_func_array(
array(
'PHPExcel_Shared_Font',
'fontSizeToPixels'),$args);
54 $this->assertEquals($expectedResult,
$result);
67 $args = func_get_args();
68 $expectedResult = array_pop($args);
69 $result = call_user_func_array(
array(
'PHPExcel_Shared_Font',
'inchSizeToPixels'),$args);
70 $this->assertEquals($expectedResult,
$result);
83 $args = func_get_args();
84 $expectedResult = array_pop($args);
85 $result = call_user_func_array(
array(
'PHPExcel_Shared_Font',
'centimeterSizeToPixels'),$args);
86 $this->assertEquals($expectedResult,
$result);
const AUTOSIZE_METHOD_APPROX
providerCentimeterSizeToPixels()
testFontSizeToPixels()
providerFontSizeToPixels
providerInchSizeToPixels()
const AUTOSIZE_METHOD_EXACT
Create styles array
The data for the language used.
providerFontSizeToPixels()
testSetAutoSizeMethodWithInvalidValue()
testInchSizeToPixels()
providerInchSizeToPixels
defined( 'APPLICATION_ENV')||define( 'APPLICATION_ENV'
testCentimeterSizeToPixels()
providerCentimeterSizeToPixels