mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-29 00:36:02 +03:00
Bugfix: Work item 17199 - Indexed colors should be consistent with Excel and start from 1 (current indexing of the default palette array starts at 0)
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@85260 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
0b515ff07d
commit
a22e46f328
@ -369,62 +369,62 @@ class PHPExcel_Style_Color implements PHPExcel_IComparable
|
|||||||
// Indexed colors
|
// Indexed colors
|
||||||
if (is_null(self::$_indexedColors)) {
|
if (is_null(self::$_indexedColors)) {
|
||||||
self::$_indexedColors = array(
|
self::$_indexedColors = array(
|
||||||
'00000000', // System Colour #1 - Black
|
1 => '00000000', // System Colour #1 - Black
|
||||||
'00FFFFFF', // System Colour #2 - White
|
2 => '00FFFFFF', // System Colour #2 - White
|
||||||
'00FF0000', // System Colour #3 - Red
|
3 => '00FF0000', // System Colour #3 - Red
|
||||||
'0000FF00', // System Colour #4 - Green
|
4 => '0000FF00', // System Colour #4 - Green
|
||||||
'000000FF', // System Colour #5 - Blue
|
5 => '000000FF', // System Colour #5 - Blue
|
||||||
'00FFFF00', // System Colour #6 - Yellow
|
6 => '00FFFF00', // System Colour #6 - Yellow
|
||||||
'00FF00FF', // System Colour #7- Magenta
|
7 => '00FF00FF', // System Colour #7- Magenta
|
||||||
'0000FFFF', // System Colour #8- Cyan
|
8 => '0000FFFF', // System Colour #8- Cyan
|
||||||
'00800000', // Standard Colour #9
|
9 => '00800000', // Standard Colour #9
|
||||||
'00008000', // Standard Colour #10
|
10 => '00008000', // Standard Colour #10
|
||||||
'00000080', // Standard Colour #11
|
11 => '00000080', // Standard Colour #11
|
||||||
'00808000', // Standard Colour #12
|
12 => '00808000', // Standard Colour #12
|
||||||
'00800080', // Standard Colour #13
|
13 => '00800080', // Standard Colour #13
|
||||||
'00008080', // Standard Colour #14
|
14 => '00008080', // Standard Colour #14
|
||||||
'00C0C0C0', // Standard Colour #15
|
15 => '00C0C0C0', // Standard Colour #15
|
||||||
'00808080', // Standard Colour #16
|
16 => '00808080', // Standard Colour #16
|
||||||
'009999FF', // Chart Fill Colour #17
|
17 => '009999FF', // Chart Fill Colour #17
|
||||||
'00993366', // Chart Fill Colour #18
|
18 => '00993366', // Chart Fill Colour #18
|
||||||
'00FFFFCC', // Chart Fill Colour #19
|
19 => '00FFFFCC', // Chart Fill Colour #19
|
||||||
'00CCFFFF', // Chart Fill Colour #20
|
20 => '00CCFFFF', // Chart Fill Colour #20
|
||||||
'00660066', // Chart Fill Colour #21
|
21 => '00660066', // Chart Fill Colour #21
|
||||||
'00FF8080', // Chart Fill Colour #22
|
22 => '00FF8080', // Chart Fill Colour #22
|
||||||
'000066CC', // Chart Fill Colour #23
|
23 => '000066CC', // Chart Fill Colour #23
|
||||||
'00CCCCFF', // Chart Fill Colour #24
|
24 => '00CCCCFF', // Chart Fill Colour #24
|
||||||
'00000080', // Chart Line Colour #25
|
25 => '00000080', // Chart Line Colour #25
|
||||||
'00FF00FF', // Chart Line Colour #26
|
26 => '00FF00FF', // Chart Line Colour #26
|
||||||
'00FFFF00', // Chart Line Colour #27
|
27 => '00FFFF00', // Chart Line Colour #27
|
||||||
'0000FFFF', // Chart Line Colour #28
|
28 => '0000FFFF', // Chart Line Colour #28
|
||||||
'00800080', // Chart Line Colour #29
|
29 => '00800080', // Chart Line Colour #29
|
||||||
'00800000', // Chart Line Colour #30
|
30 => '00800000', // Chart Line Colour #30
|
||||||
'00008080', // Chart Line Colour #31
|
31 => '00008080', // Chart Line Colour #31
|
||||||
'000000FF', // Chart Line Colour #32
|
32 => '000000FF', // Chart Line Colour #32
|
||||||
'0000CCFF', // Standard Colour #33
|
33 => '0000CCFF', // Standard Colour #33
|
||||||
'00CCFFFF', // Standard Colour #34
|
34 => '00CCFFFF', // Standard Colour #34
|
||||||
'00CCFFCC', // Standard Colour #35
|
35 => '00CCFFCC', // Standard Colour #35
|
||||||
'00FFFF99', // Standard Colour #36
|
36 => '00FFFF99', // Standard Colour #36
|
||||||
'0099CCFF', // Standard Colour #37
|
37 => '0099CCFF', // Standard Colour #37
|
||||||
'00FF99CC', // Standard Colour #38
|
38 => '00FF99CC', // Standard Colour #38
|
||||||
'00CC99FF', // Standard Colour #39
|
39 => '00CC99FF', // Standard Colour #39
|
||||||
'00FFCC99', // Standard Colour #40
|
40 => '00FFCC99', // Standard Colour #40
|
||||||
'003366FF', // Standard Colour #41
|
41 => '003366FF', // Standard Colour #41
|
||||||
'0033CCCC', // Standard Colour #42
|
42 => '0033CCCC', // Standard Colour #42
|
||||||
'0099CC00', // Standard Colour #43
|
43 => '0099CC00', // Standard Colour #43
|
||||||
'00FFCC00', // Standard Colour #44
|
44 => '00FFCC00', // Standard Colour #44
|
||||||
'00FF9900', // Standard Colour #45
|
45 => '00FF9900', // Standard Colour #45
|
||||||
'00FF6600', // Standard Colour #46
|
46 => '00FF6600', // Standard Colour #46
|
||||||
'00666699', // Standard Colour #47
|
47 => '00666699', // Standard Colour #47
|
||||||
'00969696', // Standard Colour #48
|
48 => '00969696', // Standard Colour #48
|
||||||
'00003366', // Standard Colour #49
|
49 => '00003366', // Standard Colour #49
|
||||||
'00339966', // Standard Colour #50
|
50 => '00339966', // Standard Colour #50
|
||||||
'00003300', // Standard Colour #51
|
51 => '00003300', // Standard Colour #51
|
||||||
'00333300', // Standard Colour #52
|
52 => '00333300', // Standard Colour #52
|
||||||
'00993300', // Standard Colour #53
|
53 => '00993300', // Standard Colour #53
|
||||||
'00993366', // Standard Colour #54
|
54 => '00993366', // Standard Colour #54
|
||||||
'00333399', // Standard Colour #55
|
55 => '00333399', // Standard Colour #55
|
||||||
'00333333' // Standard Colour #56
|
56 => '00333333' // Standard Colour #56
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -51,6 +51,7 @@ Fixed in SVN:
|
|||||||
- Bugfix: (mkopinsky) Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode
|
- Bugfix: (mkopinsky) Work item 16266 - PHPExcel_Style::applyFromArray() returns null rather than style object in advanced mode
|
||||||
- Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
|
- Bugfix: (fauvel) Work item 16958 - Cell::getFormattedValue returns RichText object instead of string
|
||||||
- Bugfix: (MBaker) Work item 17166 - Indexed colors do not refer to Excel's indexed colors?
|
- Bugfix: (MBaker) Work item 17166 - Indexed colors do not refer to Excel's indexed colors?
|
||||||
|
- Bugfix: (MBaker) Work item 17199 - Indexed colors should be consistent with Excel and start from 1 (current index starts at 0)
|
||||||
- General: (MBaker) Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)
|
- General: (MBaker) Work item 15405 - Two easy to fix Issues concerning PHPExcel_Token_Stack (l10n/UC)
|
||||||
- General: (MBaker) Work item 15461 - Locale file paths not fit for windows
|
- General: (MBaker) Work item 15461 - Locale file paths not fit for windows
|
||||||
- General: (MBaker) Work item 16643 - Add file directory as a cache option for cache_to_discISAM
|
- General: (MBaker) Work item 16643 - Add file directory as a cache option for cache_to_discISAM
|
||||||
@ -75,7 +76,7 @@ Fixed in SVN:
|
|||||||
- Feature: (MBaker) Added support for cell comments in the OOCalc, Gnumeric and Excel2003XML Readers, and in the Excel5 Reader
|
- Feature: (MBaker) Added support for cell comments in the OOCalc, Gnumeric and Excel2003XML Readers, and in the Excel5 Reader
|
||||||
- Feature: (MBaker) Improved toFormattedString() handling for Currency and Accounting formats to render currency symbols
|
- Feature: (MBaker) Improved toFormattedString() handling for Currency and Accounting formats to render currency symbols
|
||||||
- Feature: (MBaker) Work Item 2346 - Implement more Excel calculation functions
|
- Feature: (MBaker) Work Item 2346 - Implement more Excel calculation functions
|
||||||
- Implemented the DAVERAGE(), DCOUNT(), DCOUNTA(), DGET(), DMAX(), DMIN(), DPRODUCT(), DSTDEV(), DSTDEVP(), DSUM(), DVAR() and DVARP() Database functions
|
Implemented the DAVERAGE(), DCOUNT(), DCOUNTA(), DGET(), DMAX(), DMIN(), DPRODUCT(), DSTDEV(), DSTDEVP(), DSUM(), DVAR() and DVARP() Database functions
|
||||||
- Bugfix: (MBaker) Work item 14888 - Simple =IF() formula disappears
|
- Bugfix: (MBaker) Work item 14888 - Simple =IF() formula disappears
|
||||||
- Bugfix: (MBaker) Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X
|
- Bugfix: (MBaker) Work item 14898 - PHP Warning: preg_match(): Compilation failed: PCRE does not support \\L, \\l, \\N, \\P, \\p, \\U, \\u, or \\X
|
||||||
- Bugfix: (MBaker) Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007
|
- Bugfix: (MBaker) Work item 14901 - VLOOKUP choking on parameters in PHPExcel.1.7.5/PHPExcel_Writer_Excel2007
|
||||||
|
Loading…
Reference in New Issue
Block a user