简体   繁体   English

如何使用JXL API将对象插入单元格

[英]how to insert an object into a cell using JXL api

how to insert an object into a cell using JXL (Java Excel API) api.. 如何使用JXL(Java Excel API)API将对象插入单元格中。

I have a file which is not image.. I want to insert it into a cell of an Excel sheet.. 我有一个不是图像的文件。我想将其插入Excel工作表的单元格中。

how can I achieve this?? 我该如何实现? please help... 请帮忙...

Have a look at this tutorial . 看一下本教程 It doesn't answer how to store generic objects in a cell, but I very much doubt excel can handle untyped data anyway. 它没有回答如何在单元格中存储通用对象,但是我非常怀疑excel仍然可以处理未类型化的数据。 You must know what kind of object it is, and hope JXL has the appropriate binding. 您必须知道它是哪种对象,并希望JXL具有适当的绑定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM