gpt4 book ai didi

openxml - 公式元素中的 t ="shared"是什么意思?

转载 作者:行者123 更新时间:2023-12-04 03:52:15 26 4
gpt4 key购买 nike

检查 XLSX 文件中的单元格元素时,我发现以下公式元素:

<f t="shared" si="0"/>

这样的公式元素是什么意思?

最佳答案

ECMA-376第 1 部分第 18.3.1.40 节说:

The possible values for the t attribute are defined by the simple type ST_CellFormulaType, and are as follows:


...
shared (Shared formula)
...

Shared formula. If a cell contains the same formula as another cell, the "shared" value can be used for the t attribute and the si attribute can be used to refer to the cell containing the formula. Two formulas are considered to be the same when their respective representations in R1C1-reference notation, are the same.



基本上它是一种节省空间的优化。对于解析/修改文件的任何人来说,这肯定是一种痛苦。

关于openxml - 公式元素中的 t ="shared"是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18362112/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com