Editing Operations

www.altova.com Print this Topic Previous Page Up One Level Next page

Home >  User Reference > Mechanisms >

Editing Operations

When XML data is displayed in Authentic View, it is possible to manipulate individual elements using the standard editing operations of cut, copy, and paste. However, not all the XML data elements may be edited. It is therefore necessary to first test whether editing is possible. The mechanism used is as follows: First, check whether the particular editing operation is enabled; if it is, then call the method to perform that editing operation. The only method that does not have a test is the method EditSelectAll, which automatically selects all elements displayed in the document.

 

The following is a list of properties and methods that perform editing operations. Each property returns a boolean value. The methods have no parameter.

 

IsEditUndoEnabled

Authentic.EditUndo

Undo an editing operation

IsEditRedoEnabled

Authentic.EditRedo

Redo an editing operation

IsEditCopyEnabled

Authentic.EditCopy

Copy the selected text to the clipboard

IsEditCutEnabled

Authentic.EditCut

Cut the selected text to the clipboard

IsEditPasteEnabled

Authentic.EditPaste

Paste clipboard text to current cursor position

IsEditClearEnabled

Authentic.EditClear

Clear the selected text from the XML document

 


© 2019 Altova GmbH