12 Star 35 Fork 15

Gitee 极速下载 / unioffice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/unidoc/unioffice
克隆/下载
doc.go 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
Todd 提交于 2017-09-19 19:38 . format: add package doc
// Package formula provides formula parsing and evaluation. The lexer is
// implemented with a ragel grammar while the the parser is implemented with
// goyacc. The entire formula grammar is not implemented and not all functions
// are supported yet. For compatibility sake, upon failure to parse or execute a
// formula, gooxml leaves cached formula results blank allowing Excel to compute
// formulas upon load. This is similar to what most other Excel libraries do
// which leave all cached results blank instead of attempting to execute
// formulas.
//
// The unit tests for this package are unique in that we can take advantage of
// "cached" formula results that Excel/LibreOffice write to the sheet. These
// are the computed results of a formula in string form. By comparing these
// values to the value computed by the gooxml evaluation of the formula, adding
// a new test means just adding a new formula to one of the reference sheets
// with Excel. During the unit test, we evaluate the formula and compare it to
// the value that Excel computed. If they're the same, the test passes.
package formula
1
https://gitee.com/mirrors/unioffice.git
git@gitee.com:mirrors/unioffice.git
mirrors
unioffice
unioffice
v0.7.1

搜索帮助