如何从剪贴板中提取第三方应用程序中的幻灯片数据 [英] How to extract Slide data in 3rd part application from clipboard

查看:100
本文介绍了如何从剪贴板中提取第三方应用程序中的幻灯片数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要能够从PowerPoint复制/粘贴或拖放到另一个应用程序(C#WPF)。在我的OnDrop方法中,DragEventArgs数据具有以下格式:

I need to be able to copy/paste or drag/drop from PowerPoint into another application (C# WPF). In my OnDrop method the DragEventArgs Data has these formats:

        [0]鸟;   " Preferred DropEffect"     string

         [1]鸟;   " InShellDragLoop"     string

         [2]鸟;   "PowerPoint 12.0内部幻灯片"     string

         [3]鸟;   " ActiveClipBoard"     string

         [4]鸟;   "PowerPoint 14.0幻灯片包"     string

         [5]鸟;   " Embedded Object"     string

         [6]鸟;   " Link Source"     string

         [7]鸟;   " Object Descriptor"     string

         [8]鸟;   "链接源描述符"     string

         [9]鸟;   " PNG"     string

         [10]鸟;   " JFIF"     string

         [11]鸟;   " GIF"     string

         [12]鸟;   "位图"     string

         [13]鸟;   " System.Drawing.Bitmap"     string

         [14]鸟;   " System.Windows.Media.Imaging.BitmapSource"     string

         [15]鸟;   " EnhancedMetafile"     string

         [16]鸟;   " System.Drawing.Imaging.Metafile"     string

         [17]鸟;   " METAFILEPICT"     string

         [18]鸟;   "PowerPoint 12.0内部主题"     string

         [19]鸟;   "PowerPoint 12.0内部配色方案"     string

        [0]    "Preferred DropEffect"    string
        [1]    "InShellDragLoop"    string
        [2]    "PowerPoint 12.0 Internal Slides"    string
        [3]    "ActiveClipBoard"    string
        [4]    "PowerPoint 14.0 Slides Package"    string
        [5]    "Embedded Object"    string
        [6]    "Link Source"    string
        [7]    "Object Descriptor"    string
        [8]    "Link Source Descriptor"    string
        [9]    "PNG"    string
        [10]    "JFIF"    string
        [11]    "GIF"    string
        [12]    "Bitmap"    string
        [13]    "System.Drawing.Bitmap"    string
        [14]    "System.Windows.Media.Imaging.BitmapSource"    string
        [15]    "EnhancedMetafile"    string
        [16]    "System.Drawing.Imaging.Metafile"    string
        [17]    "MetaFilePict"    string
        [18]    "PowerPoint 12.0 Internal Theme"    string
        [19]    "PowerPoint 12.0 Internal Color Scheme"    string

"PowerPoint 14.0幻灯片包"是一个字节数组......可以转换成幻灯片吗?

The "PowerPoint 14.0 Slides Package" is a byte array... can this be converted into Slides?

如果不是我怎么去获取高分辨率图像+幻灯片来自拖放的文字?

If not how would I go about getting high-resolution images + slide text from a drag/drop?

[原帖发布在这里:http://answers.microsoft.com/en-us/office/forum/office_2013_release-powerpoint/how-to-extract -slide-data-in-3rd-part-application / a0b5ed64-eb77-49bb-bf44-e0732e23a5eb]

[Originally posted here: http://answers.microsoft.com/en-us/office/forum/office_2013_release-powerpoint/how-to-extract-slide-data-in-3rd-part-application/a0b5ed64-eb77-49bb-bf44-e0732e23a5eb]

推荐答案

嗨Nick Ericson ,

Hi Nick Ericson,

据我研究,剪贴板支持自定义剪贴板格式注册,PowerPoint应用程序应注册
PowerPoint 14.0幻灯片包。但是我没有找到关于这种格式的文件。

As far as I researched, the clipboard supports custom clipboard formats register, PowerPoint 14.0 Slides Package should be registered by the PowerPoint application. However I havn't found the document about this format.

我试图让一些高级工程师参与这个问题,这需要一些时间。非常感谢您的耐心。

I'm trying to involve some senior engineers into this issue and it will take some time. Your patience will be greatly appreciated.

很抱歉给您带来不便,祝您有愉快的一天!

Sorry for any inconvenience and have a nice day!

关心& Fei

Regards & Fei


这篇关于如何从剪贴板中提取第三方应用程序中的幻灯片数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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