Copy and Paste
Xopus offers copy and paste functionality.
Copy and Pasting from Microsoft Word and similar applications to Xopus
When you want to paste data from Microsoft Word or a similar application, use Ctrl+C to copy and Ctrl+V to paste in Xopus. The Ctrl+V and Ctrl+C shortcuts are system/browser functions. They will paste text/html into Xopus, which Xopus can interpret, to a point, to convert to XML.
Then Xopus reads this XML and uses the configuration roles to match HTML elements to the XML elements that are configured and allowed by the schema.
Copy / Paste browser security
Xopus cannot acces the browser or system clipboard due to security settings of the browser. Therefore the buttons in the toolbar cannot read external clipboards or fire a correct paste event after copying from another source.
Improved functionality
With Xopus 4.2.5 Copy & Paste functionality has been improved in Internet Explorer and Firefox. In Firefox a signed script is used to access the clipboard. This script is loaded via a .jar file. Some HTTP servers may not properly serve this file. Developers should therefore check that the file responds correctly when called from a browser window. You can find the URI using an HTTP debugger (such as Firebug or Fiddler). It should look something like this:
jar:http://localhost/xopus/signed/clipboard.jar!/signed.html?
If the server tells the browser that this file is an untrusted file type, you can add the file type as a trusted type in your server.
Adding a jar file as trusted type in IIS
Right click on the web site and choose "Properties". Go to the "HTTP Headers" tab, and in the bottom you see a section called "MIME Map". Click on the button "File Types" and add the following two types:
-
Extension: jad
-
Content-type: text/vnd.sun.j2me.app-descriptor
and:
-
Extension: jar
-
Content-type: application/java-archive
Copy and Pasting from Xopus to Xopus
When copying and pasting in Xopus, you can either use the buttons in the toolbar, the copy paste options in the alternative mouse click menu, the context bar, and the copy/paste shortcuts.
- Documentation
- › FAQ
- › Copy and Paste
History
| version | event |
|---|---|
| Xopus 4.2.1 | Change. Pasting content from one element to a similar element will replace the element content rather than paste the element. |
| Xopus 4 | Change. Pasting in Firefox and IE now works the same. |
| Xopus 3.1 | Change. Added support for pasting rich text from applications like Microsoft Word. |
| Xopus 3 | Introduction. |