Excel中的XML US preadsheet - 是它可以嵌入图像? [英] Excel xml spreadsheet - is it possible to embed images?

查看:179
本文介绍了Excel中的XML US preadsheet - 是它可以嵌入图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将数据从一个Web应用程序导出到Excel中,但有一个要求,包括该公司的徽标上的S preadsheet顶部。我的正常创建的Excel的方法是创建为preadsheet在Excel中,并将其保存为XML US preadsheet(Excel 2003中)。这使我能够建立在code中的XML。

I'm trying to export data from a web app into excel, but there is a request to include the company's logo at the top of the spreadsheet. My normal method of creating the excel is to create a spreadsheet in excel and save it as an Xml Spreadsheet (Excel 2003). This allows me to build up the xml in code.

然而,当试图在Excel工作表保存为XML工作我得到警告说,图像将会丢失。

However, when attempting to save the excel worksheet as an xml worksheet I get warned that the image will be lost.

那么,是不是可以从我的应用程序中嵌入的图像?我试过的base64,但没有奏效。

So, is it possible to embed an image from my application? I tried base64, but that didn't work.

<数据SS:TYPE =Base64的> base64string这里...< /数据> 是无效的。

HTML不是PTED无论是跨$ P $。这可能吗?

Html isn't interpreted either. Is this possible?

Excel 2003中+是目标。

Excel 2003 + is the target.

推荐答案

我试图做同样的出口。 而我坚持得解决这个问题。 但我有个坏消息,因为MSDN描述的此处,唯一的SS:类型可能是:

I'm trying do the same export. And I'm stuck solving this problem too. But I've bad news, as MSDN describes here , the only ss:Type possible are:

Enumeration—Number, DateTime, Boolean, String, and Error

如果您可以打开的.xls可能该解决方案帮助您: 的http://polymathprogrammer.com/2010/11/10/how-to-insert-multiple-images-in-excel-open-xml/

If you can open the .xls might this solution help you: http://polymathprogrammer.com/2010/11/10/how-to-insert-multiple-images-in-excel-open-xml/

不幸的是,对我来说我还是无解。

Unfortunately, for me I still with no solution.

这篇关于Excel中的XML US preadsheet - 是它可以嵌入图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆