用于将 Delphi TDataSet 导出到本机 XLS 的开源组件或单元,无需安装 Excel
您可能知道存在免费且开源的 Delphi 代码,可以将 TDataSet 导出为本机 XLS 格式吗?这个问题之前曾在此处提出过,但我正在寻找免费的解决方案。
正如在 TeeChart.TeeStore.TSeriesDataXLS.SaveToStream 中观察到的那样,编写本机 XLS 导出函数并不是什么火箭科学,但我很难找到现有的解决方案,这肯定会节省一些时间和金钱(对于将在10-20%)。
如果此类导出代码允许更改颜色和文本样式,那将是有益的,但对我个人而言,这并不重要。
Do you possibly know about the existence of a free and open sourced Delphi code to export TDataSet to native XLS format? The question was previously asked here, yet I am looking for a free solution.
As observed in for example TeeChart.TeeStore.TSeriesDataXLS.SaveToStream writing a native XLS export function is not a rocket science, yet I struggle to find an existing solution, which would definitely save some time and money (for commercial component which would be used in 10-20%).
It would be beneficial if such export code would allow color and text style changes, but for me personally it is not crucial.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
oExport - XLSX/ODS 原生 Delphi 导入/导出库
http://www.kluug.at/xlsx-ods-delphi.php
根据 MPL/GPL/LGPL 三重许可证获得许可
版本:MPL 1.1/GPL 2.0/LGPL 2.1
----更新
我认为现在已经商业化了:(
oExport - XLSX/ODS native Delphi import/export library
http://www.kluug.at/xlsx-ods-delphi.php
licensed under a MPL/GPL/LGPL tri-license
Version: MPL 1.1/GPL 2.0/LGPL 2.1
----update
i think it's commercial now :(
尝试smExport。不是免费的,但价格合理,35 欧元/50 欧元(不含/含来源)。他们还有试用版(受可以导出的行数限制)。
此外,它还支持导出为许多其他格式。
give smExport a try. Not free, but reasonably priced with 35€ / 50 € (without/ with source). They also have a trial version (limited by the number of rows you can export).
In addition it supports exports into lots of other formats.
我使用了 Max 的组件mxExport。它是免费的,并且提供源代码。该页面现在处于离线状态 (http://www.maxcomponents.net/),但您可以在以下位置找到组件其他地方:
检查组件:mxExports和mxNativeExcel。
问候。
I have used the components mxExport from Max. It's free and with source code avaible. The page it's now offline (http://www.maxcomponents.net/) but you can find the components in other places:
Check components: mxExports and mxNativeExcel.
Regards.