Altova XMLSpy 2024 Enterprise Edition

Superseded by AuthenticRange.SelectNext


AuthenticRange now supports a wide range of element navigation methods based on document elements like characters, words, tags and many more. Selecting the next paragraph is just one of them, and navigation is not necessarily bound to the current UI selection.


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

// instead of:

// Application.ActiveDocument.DocEditView.SelectionMoveTabOrder(true, true);

// use now:

Application.ActiveDocument.AuthenticView.Selection.SelectNext (spyAuthenticParagraph).Select();

// to append a row to a table use AuthenticRange.AppendRow


Declaration: SelectionMoveTabOrder (bForward as Boolean, bTag as Boolean)



SelectionMoveTabOrder() moves the current selection forwards or backwards.


If bTag is false and the current selection is at the last cell of a table a new line will be added.




© 2018-2024 Altova GmbH