ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
BIFF5.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
PhpOffice\PhpSpreadsheet\Reader\Xls\Color
;
4
5
class
BIFF5
6
{
7
protected
static
$map
= [
8
0x08 =>
'000000'
,
9
0x09 =>
'FFFFFF'
,
10
0x0A =>
'FF0000'
,
11
0x0B =>
'00FF00'
,
12
0x0C =>
'0000FF'
,
13
0x0D =>
'FFFF00'
,
14
0x0E =>
'FF00FF'
,
15
0x0F =>
'00FFFF'
,
16
0x10 =>
'800000'
,
17
0x11 =>
'008000'
,
18
0x12 =>
'000080'
,
19
0x13 =>
'808000'
,
20
0x14 =>
'800080'
,
21
0x15 =>
'008080'
,
22
0x16 =>
'C0C0C0'
,
23
0x17 =>
'808080'
,
24
0x18 =>
'8080FF'
,
25
0x19 =>
'802060'
,
26
0x1A =>
'FFFFC0'
,
27
0x1B =>
'A0E0F0'
,
28
0x1C =>
'600080'
,
29
0x1D =>
'FF8080'
,
30
0x1E =>
'0080C0'
,
31
0x1F =>
'C0C0FF'
,
32
0x20 =>
'000080'
,
33
0x21 =>
'FF00FF'
,
34
0x22 =>
'FFFF00'
,
35
0x23 =>
'00FFFF'
,
36
0x24 =>
'800080'
,
37
0x25 =>
'800000'
,
38
0x26 =>
'008080'
,
39
0x27 =>
'0000FF'
,
40
0x28 =>
'00CFFF'
,
41
0x29 =>
'69FFFF'
,
42
0x2A =>
'E0FFE0'
,
43
0x2B =>
'FFFF80'
,
44
0x2C =>
'A6CAF0'
,
45
0x2D =>
'DD9CB3'
,
46
0x2E =>
'B38FEE'
,
47
0x2F =>
'E3E3E3'
,
48
0x30 =>
'2A6FF9'
,
49
0x31 =>
'3FB8CD'
,
50
0x32 =>
'488436'
,
51
0x33 =>
'958C41'
,
52
0x34 =>
'8E5E42'
,
53
0x35 =>
'A0627A'
,
54
0x36 =>
'624FAC'
,
55
0x37 =>
'969696'
,
56
0x38 =>
'1D2FBE'
,
57
0x39 =>
'286676'
,
58
0x3A =>
'004500'
,
59
0x3B =>
'453E01'
,
60
0x3C =>
'6A2813'
,
61
0x3D =>
'85396A'
,
62
0x3E =>
'4A3285'
,
63
0x3F =>
'424242'
,
64
];
65
73
public
static
function
lookup
($color)
74
{
75
if
(isset(
self::$map
[$color])) {
76
return
[
'rgb'
=>
self::$map
[$color]];
77
}
78
79
return
[
'rgb'
=>
'000000'
];
80
}
81
}
PhpOffice\PhpSpreadsheet\Reader\Xls\Color
Definition:
BIFF5.php:3
PhpOffice\PhpSpreadsheet\Reader\Xls\Color\BIFF5
Definition:
BIFF5.php:5
PhpOffice\PhpSpreadsheet\Reader\Xls\Color\BIFF5\$map
static $map
Definition:
BIFF5.php:7
php
PhpOffice\PhpSpreadsheet\Reader\Xls\Color\BIFF5\lookup
static static lookup($color)
Map color array from BIFF5 built-in color index.
Definition:
BIFF5.php:73
$map
$map
Definition:
fetch_windows_zones.php:13
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Reader
Xls
Color
BIFF5.php
Generated on Thu Jan 16 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)