This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
可转换剪贴板格式
Microsoft Windows 原生支持不同的剪贴板格式。复制和粘贴剪贴板内容时,Windows 将自动尝试将剪贴板数据转换为其他兼容的剪贴板格式,从而更轻松地将内容粘贴到不同的应用程序中。
当数据格式发布到剪贴板时,Windows 将自动添加其他格式,这些格式可以通过转换最初发布的任何格式来获得,以增加成功粘贴到其他应用程序的可能性。
然后,如果目标应用程序请求源无法直接提供的格式,Windows 将自动将剪贴板数据从一种格式转换为另一种格式。
例如,从字处理器复制格式化文本时,Windows 将向请求应用程序提供其他格式,例如纯文本以及最初发布的格式化文本。
再举一个例子,如果剪贴板数据包含 CF_TEXT 剪贴板格式的纯文本数据,并且粘贴数据的应用程序请求 CF_UNICODETEXT 格式的 Unicode 文本,Windows 将在粘贴过程中自动转换剪贴板数据。
注意:
在某些转换中,信息可能会丢失,例如在将富文本自动转换为纯文本时。
| 剪贴板格式 | 说明 |
|---|---|
| CF_TEXT
|
CF_TEXT |
| CF_OEMTEXT | |
| CF_UNICODETEXT | |
| CF_LOCALE | |
| CF_BITMAP
|
CF_BITMAP |
| CF_DIB | |
| CF_DIBV5 | |
| CF_METAFILEPICT
|
CF_METAFILEPICT |
| CF_ENHMETAFILE | |
| CF_OEMTEXT
|
CF_TEXT |
| CF_OEMTEXT | |
| CF_UNICODETEXT | |
| CF_LOCALE | |
| CF_DIB
|
CF_BITMAP |
| CF_DIB | |
| CF_DIBV5 | |
| CF_UNICODETEXT
|
CF_TEXT |
| CF_OEMTEXT | |
| CF_UNICODETEXT | |
| CF_LOCALE | |
| CF_ENHMETAFILE
|
CF_METAFILEPICT |
| CF_ENHMETAFILE | |
| CF_DIBV5
|
CF_BITMAP |
| CF_DIB | |
| CF_DIBV5 |
注意:
剪贴板格式转换取决于 Windows 操作系统,此表可能会在未来的操作系统版本中更改。
重要的是要了解,Windows 剪贴板系统并非在所有格式之间自由转换。自动转换仅限于少数核心类型,主要是在不同的文本编码和位图变体之间。
对于大多数其他格式,当源应用程序一次将多种格式放置到剪贴板上时,即可实现兼容性。例如,当您从 Excel 复制图表时,它可能会将数据作为 Office 绘图形状 (CFX_OfficeDrawingShape)、增强型图元文件 (CF_ENHMETAFILE) 和简单位图 (CF_DIB) 放置。这不是剪贴板的转换,而是源应用程序为不同的粘贴场景提供多种表示形式。
剪贴板格式控制和可转换格式
在设计剪贴板格式控制策略和跨会话剪贴板配置时,应考虑可转换格式。例如,如果您想明确允许仅将基于文本的内容从客户端复制到剪贴板,则必须将所有基于文本的格式添加到“会话剪贴板写入允许的格式”策略中。在此示例中,您必须将以下格式添加到策略中:
CF_TEXT
CF_UNICODETEXT
CF_DSPTEXT
CF_LOCALE
CF_OEMTEXT
同样,如果您想在将这些类型的数据从一个会话复制到另一个会话时,通过跨会话传输所有文件格式,则需要将所有文件剪贴板格式添加到 CrossSessionFormats 配置中:
CFX_FILES
CFX_HFDROP
共享
共享
在本文中
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.