使用ColdFusion创建Excel文件的最佳方法是什么?

时间:2021-02-12 20:26:02

I want to create an Excel file with ColdFusion. Until now, I was saving html and just changing the file extension. However, now I need to create a real excel file.

我想用ColdFusion创建一个Excel文件。到现在为止,我正在保存html并只是更改文件扩展名。但是,现在我需要创建一个真正的excel文件。

Any advice?

Thanks

3 个解决方案

#1


6  

Got ColdFusion 9? It is baked in with the cfspreadhseet tag (and related functions).

得到ColdFusion 9?它使用cfspreadhseet标签(和相关功能)烘焙。

#2


4  

Or else you can use Ben Nadel's POI utility. It's pretty simple. We've been using it for years to make spreadsheets with multiple worksheets.

或者你可以使用Ben Nadel的POI实用程序。这很简单。多年来我们一直在使用它来制作包含多个工作表的电子表格。

http://www.bennadel.com/projects/poi-utility.htm

#3


1  

Depending on the complexity of the sheet you could just generate the XML for a xlsx file in a bunch of nested cfloops. Export a sheet as XML and take a look.

根据工作表的复杂性,您可以在一堆嵌套的cfloops中为xlsx文件生成XML。将工作表导出为XML并查看。

#1


6  

Got ColdFusion 9? It is baked in with the cfspreadhseet tag (and related functions).

得到ColdFusion 9?它使用cfspreadhseet标签(和相关功能)烘焙。

#2


4  

Or else you can use Ben Nadel's POI utility. It's pretty simple. We've been using it for years to make spreadsheets with multiple worksheets.

或者你可以使用Ben Nadel的POI实用程序。这很简单。多年来我们一直在使用它来制作包含多个工作表的电子表格。

http://www.bennadel.com/projects/poi-utility.htm

#3


1  

Depending on the complexity of the sheet you could just generate the XML for a xlsx file in a bunch of nested cfloops. Export a sheet as XML and take a look.

根据工作表的复杂性,您可以在一堆嵌套的cfloops中为xlsx文件生成XML。将工作表导出为XML并查看。