有哪些基于 Open XML SDK 构建的框架?
由于 Open XML SDK 仅提供强类型类,因此创建和操作 Open XML 文档并不需要真正费力。是否有任何基于 Open XML SDK 构建的框架可以完成框架应该做的事情:添加新的抽象层并实际上隐藏较低层的细节?
到目前为止,我知道一个库,但我想知道是否还有更多库:
- ClosedXML - The easy way to OpenXML (一个可以轻松创建 Excel 文档的库,无需处理 XML 文档的麻烦)
Since the Open XML SDK only provides strongly typed classes it does not really take pain of creating and manipulating Open XML documents. Are there any frameworks built upon the Open XML SDK that do what a framework is supposed to do: adding a new layer of abstraction and actually hiding the details of the lower layers?
So far I know one library but I'm wondering if there are some more:
- ClosedXML - The easy way to OpenXML (A library for easily creating Excel documents without dealing with the hassles of XML Documents)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Open XML SDK 已经是现有 System.IO.Packaging API 的抽象层,您过去就是通过访问和编写实际 XML 来创建和操作 Open XML 文档的。现在,Open XML SDK 比旧方法好很多,但仍然需要大量的底层 XML 知识才能使用此 SDK。
综上所述,有一个基于
System.IO.Packaging
API 构建的 Excel 文档,名为 ExcelPackage 提供了您正在寻找的抽象层,并且更容易构造类和方法来制作实际的 Excel 2007 电子表格。我不倾向于寻找很多框架,因为我需要编写的定制 Open XML SDK 代码通常无法从第三方框架获得。
The Open XML SDK is already a layer of abstraction over the existing
System.IO.Packaging
API, which was how you used to create and manipulate Open XML documents by accessing and writing the actual XML. Now the Open XML SDK is a ton better than the old way, but it still requires a good amount of knowledge of the underlying XML in order to use this SDK.With all of that said there is one built on the
System.IO.Packaging
API for Excel documents called ExcelPackage that provides the layer of abstraction you are looking for with easier to construct classes and methods to make an actual Excel 2007 spreadsheet.I don't tend to look for many frameworks since the customized Open XML SDK code I need to write I normally can't get from a third party framework.