5.4. Clipboard utilities
Prev | 5. Status bar | Next

### 5.4. Clipboard utilities

Clicking on this button displays a dialog box showing the exact content of system clipboard.

Clicking on this button with the right mouse button displays a popup menu with the following items:

View Clipboard Content

  Displays a dialog box showing the exact content of system clipboard.

Copy File to Clipboard

  Displays standard File Open dialog box. This dialog box can be used to specify the location of an existing plain text or XML file. The content of the specified file is copied to the system clipboard.

  Edit|Paste Before, Edit|Paste, Edit|Paste After can then be used to paste the content of the clipboard at locations where the grammar constraining current document allows to do so.

Save Clipboard Content to File

  Displays standard File Save dialog box. This dialog box can be used to specify the location of a new plain text or XML file. The content of the system clipboard is saved to the specified file.

  If the content of the clipboard consists in one or several XML nodes, this content is saved unindented and using a private namespace which somewhat limits the usability of the saved file.

#### 5.4.1. Clipboard content

Next to the above button, a read-only text field permanently shows a short description of current clipboard content:

- an element name if a single element has been copied or cut to the clipboard,

- OR `#text` for a text node or for a sequence of characters,

- OR `#comment` for a comment node.

- OR `#processing-instruction` for a processing instruction node,

- OR the number of nodes (between square brackets) if more than one node have been copied or cut to the clipboard . Example "`[5]`" if the five list items of this itemized list have been copied to the clipboard.

### Note

Once you have copied something to the clipboard from an external application, you have to change the ``editing context'' of XXE if you want to make XXE see what has been copied to the clipboard.

That is:

1. Copy some text to the clipboard from an external application.

2. Click on an element other than the one where you want to paste some text.

   Editing context changes and therefore, description `#text` appears in the read-only text field described here.

3. Click inside the element where you want to paste some text.

4. Use Edit|Paste or type Ctrl-V.

Prev | Up | Next
5.3. Status messages | Home | 6. Dialog boxes