为什么前四种主题颜色总是混合在一起? [英] Why are the first four theme colors always mixed?

查看:141
本文介绍了为什么前四种主题颜色总是混合在一起?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

打开一个新的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

解决方案

抱歉,我我不确定你的问题是什么。当您重新打开工作簿时,颜色已经混淆了?我无法重现此问题。

请注意,UI中的顺序或颜色不一定必须与theme1.xml中clrScheme集合中主题颜色的顺序一致。


的问候,结果DIVO结果

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

解决方案

Sorry, but I am not sure what you problem is. When you re-open the workbook, the colors have been mixed up? I cannot reproduce this problem.

Please note that the order or the colors in the UI does not necessarily have to correspond the order of theme colors in the clrScheme collection in theme1.xml.

Best regards,
divo


这篇关于为什么前四种主题颜色总是混合在一起?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆