Clipboard
TX Text Control integrates powerful, unique clipboard features that enable users to paste content from client applications such as MS Word.
This demo uses the MVC version of TXTextControl.Web included in TX Text Control .NET Server for ASP.NET. The functionality is compatible across all supported platforms.
Version 32.0 SP4
You can copy and paste content from MS Word into TX Text Control without losing features. Document elements such as headers and footers, text frames and even merge fields are maintained.
Two Clipboards
TX Text Control provides two clipboards the local and the server clipboard. The reason is quite simple: Browsers are very limited and restrictive when it comes to client clipboard access for security reasons.
-
Local Clipboard
If the Local Clipboard is activated (ribbon bar button or via JavaScript), you can copy and paste content from your local machine to TX Text Control. Accepted formats are RTF, HTML, plain text and images. Other than HTML-based editors, TX Text Control is rendering the rich text format (RTF) directly without converting content to HTML. This maintains sophisticated formatting and features. -
Server Clipboard
If the Local Clipboard is deactivated, the Server Clipboard is automatically active. The server clipboard is an internal clipboard that handles all features of TX Text Control. It is using another clipboard stack and can be used for internal clipboard actions.
By default, the Local Clipboard is activated. Copy and paste content from MS Word to TX Text Control and see the results. If the Local Clipboard is activated, monitor the demo clipboard progress bar that uses the clipboard JavaScript events of TX Text Control to show whether the clipboard is ready for a copy action or not.
Content is ready for Copy. Use CTRL-C to copy selected content. | |
Content is being prepared for Copy. Wait until you see the green bar before copying the selected content. |
Sample Source Code
No code required.
No code required.
© 2024 Copyright Text Control GmbH and Text Control, LLC. All rights reserved. We ♥ documents.