问题描述
打开一个新的Excel文档...在单元格A1,A2,A3和A4中填充前四种主题颜色。 。
保存文件...关闭Excel。
提取文档的样式xml,并注意填充图案的颜色。当你希望A1的填充颜色指向theme = 0 ...和A2指向theme = 1 .. A3 to theme = 2和A4 to theme = 3 ...你会惊讶地发现它们是
A1的填充主题颜色指向1,A2的主题指向0,A3指向3,A4指向2 ...
但是如果在前四个之后使用任何主题颜色,则索引会在样式填充部分中正确保存。
之前是否有人注意到这一点..这是预期的行为吗?如果是,那么原因是什么?
因为无论主题如何都是一致的,这是一个错误吗?
-nk
Open a new Excel document... in cells A1, A2, A3, and A4 fill them with the first four theme colors...
Save the file... Close Excel.
Extract the styles xml of the document, and notice the fill pattern colors. When you expect A1's fill color to point to theme=0... and A2 to theme=1.. A3 to theme = 2 and A4 to theme = 3... you will be surprised to find them as
A1's fill theme color points to 1, A2's theme points to 0, A3 points to 3 and A4 points to 2...
However if you use any theme color after the first four, the indexes are saved correctly in the styles fill part.
Has anyone noticed this before.. is this an intended behaviour? If yes, then what is the reason?
Since this is consistent irrespective of the theme, is this a bug by any chance?
-nk
这篇关于为什么前四种主题颜色总是混合在一起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!