办公室剪贴板格式 [英] Office clipboard format

查看:133
本文介绍了办公室剪贴板格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我从Excel(2007)复制图形并在另一个Office应用程序中选择选择性粘贴",则会看到称为"Microsoft Office图形对象"的剪贴板格式,该格式允许与增强型图元文件进行不同的自定义.如何从我自己的(C ++)应用程序中创建这样的剪贴板对象,使其从Office应用程序中获得一流的待遇?

If I copy a graph from Excel (2007) and choose Paste Special in another Office app, I see a clipboard format called "Microsoft Office Graphic Object", which allows different customizations than Enhanced Metafiles. How do I create such a clipboard object from my own (C++) app so it gets the first-class treatment from Office app?

像在Office应用程序中那样链接图表数据并不重要-我只想提供另一个图形导出选项.

It's not so important that the chart data be linked like it is within Office apps -- I just want to offer another graph export option.

ClipSpy报告几种二进制格式,包括"Excel 2007 Internal Shape","Embed Source"和"Art :: GVML ClipFormat".我猜这些是私有的,但如果有人知道文档,请告诉我.

ClipSpy reports several binary formats including "Excel 2007 Internal Shape", "Embed Source" and "Art::GVML ClipFormat". I guess these are proprietary and private, but in case anyone knows of docs, please let me know.

推荐答案

如果您保存数据(使用首选的zip程序.

Its actually a zip file (the data begins with PK), if you save the data (using ClipSpy) you be able to open it with your preferred zip program.

向内戳,您发现数据是一种开放的XML格式不太神秘.

Poke inside and you find out that the data is an open XML format which is not too cryptic.

这篇关于办公室剪贴板格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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