Altova XMLSpy 2025 Professional Edition 

Superseded by AuthenticRange.Paste

 

The Paste method of AuthenticRange allows to delete any range of the document, not only the current UI selection.

 

// ----- javascript sample -----

// instead of:

// Application.ActiveDocument.DocEditView.EditPaste();

// use now:

if (! Application.ActiveDocument.AuthenticView.Selection.Paste())

   MsgBox ("Error: can't paste to current selection");

 

Declaration: EditPaste

 

Description

Pastes the content from the clipboard into the document.

 

 

 

© 2018-2024 Altova GmbH