将Excel 2003 XML文件转换为Excel 2003 XLS格式

时间:2022-01-03 10:31:35

Is there a way to convert Excel 2003 XML file to Excel 2003 XLS format with Java? Or at least any open source framework that can do this?

有没有办法使用Java将Excel 2003 XML文件转换为Excel 2003 XLS格式?或者至少任何可以做到这一点的开源框架?

Thanks, Matthew Huang

谢谢,马修黄

2 个解决方案

#1


2  

I follow this market because my company has an Excel compatible spreadsheet component for .NET and I used to work for Actuate and led the development of Formula One for Java / e.Spreadsheet for 10+ years. The only product I am aware of that might do it is Aspose.Cells - they are a competitor of mine in .NET so I definitely have nothing to gain by mentioning them.

我跟随这个市场,因为我的公司有一个Excel兼容的Excel电子表格组件,我曾经为Actuate工作,并领导开发一级方程式Java / e.Spreadsheet 10年以上。我所知道的唯一可能是Aspose.Cells的产品 - 它们是.NET的竞争对手,所以我提到它们肯定没有任何好处。

There are a number of free and non-free products for Java and .NET that will read and write xlsx and xls workbooks and some of these products convert between the two, including SpreadsheetGear for .NET which my company sells. Aspose is the only one I am aware of which supports the Excel 2003 SpreadsheetML file format (I have no idea how good their Excel 2003 SpreadsheetML support is).

Java和.NET有许多免费和非免费产品可以读写xlsx和xls工作簿,其中一些产品可以在两者之间进行转换,包括我公司销售的SpreadsheetGear for .NET。 Aspose是我所知道的唯一一个支持Excel 2003 SpreadsheetML文件格式的人(我不知道他们的Excel 2003 SpreadsheetML支持有多好)。

One thing to consider is the fact that the Excel 2003 SpreadsheetML format is a dead end format and it is also an incomplete format. The preferred format going forward is the Excel 2007 Open XML (xlsx) format which is gaining widespread support and which you can learn about at openxmldeveloper.org. Of course, if you have files in the old format that you have to deal with, that does you no good.

需要考虑的一件事是Excel 2003 SpreadsheetML格式是一种死胡同格式,它也是一种不完整的格式。未来的首选格式是Excel 2007 Open XML(xlsx)格式,该格式获得了广泛支持,您可以在openxmldeveloper.org上了解该格式。当然,如果您有旧格式的文件需要处理,那对您没有好处。

Disclaimer: I own SpreadsheetGear LLC

免责声明:我拥有SpreadsheetGear LLC

#2


1  

You could use COM Automation to command excel from your Java app if you're on windows.

如果您在Windows上,可以使用COM Automation从Java应用程序中命令excel。

#1


2  

I follow this market because my company has an Excel compatible spreadsheet component for .NET and I used to work for Actuate and led the development of Formula One for Java / e.Spreadsheet for 10+ years. The only product I am aware of that might do it is Aspose.Cells - they are a competitor of mine in .NET so I definitely have nothing to gain by mentioning them.

我跟随这个市场,因为我的公司有一个Excel兼容的Excel电子表格组件,我曾经为Actuate工作,并领导开发一级方程式Java / e.Spreadsheet 10年以上。我所知道的唯一可能是Aspose.Cells的产品 - 它们是.NET的竞争对手,所以我提到它们肯定没有任何好处。

There are a number of free and non-free products for Java and .NET that will read and write xlsx and xls workbooks and some of these products convert between the two, including SpreadsheetGear for .NET which my company sells. Aspose is the only one I am aware of which supports the Excel 2003 SpreadsheetML file format (I have no idea how good their Excel 2003 SpreadsheetML support is).

Java和.NET有许多免费和非免费产品可以读写xlsx和xls工作簿,其中一些产品可以在两者之间进行转换,包括我公司销售的SpreadsheetGear for .NET。 Aspose是我所知道的唯一一个支持Excel 2003 SpreadsheetML文件格式的人(我不知道他们的Excel 2003 SpreadsheetML支持有多好)。

One thing to consider is the fact that the Excel 2003 SpreadsheetML format is a dead end format and it is also an incomplete format. The preferred format going forward is the Excel 2007 Open XML (xlsx) format which is gaining widespread support and which you can learn about at openxmldeveloper.org. Of course, if you have files in the old format that you have to deal with, that does you no good.

需要考虑的一件事是Excel 2003 SpreadsheetML格式是一种死胡同格式,它也是一种不完整的格式。未来的首选格式是Excel 2007 Open XML(xlsx)格式,该格式获得了广泛支持,您可以在openxmldeveloper.org上了解该格式。当然,如果您有旧格式的文件需要处理,那对您没有好处。

Disclaimer: I own SpreadsheetGear LLC

免责声明:我拥有SpreadsheetGear LLC

#2


1  

You could use COM Automation to command excel from your Java app if you're on windows.

如果您在Windows上,可以使用COM Automation从Java应用程序中命令excel。