Altova XMLSpy 2024 Professional Edition

Wird ersetzt durch AuthenticRange.IsTextStateApplied

 

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

// instead of:

// Application.ActiveDocument.DocEditView.IsTextStateApplied ("bold");

// use now:

if(Application.ActiveDocument.AuthenticView.Selection.IsTextStateApplied ("bold"))

  MsgBox ("bold on");

else

  MsgBox ("bold off");

 

Deklaration: IsTextStateApplied (elementName als String) als Boolean

 

Beschreibung

Überprüft, ob der Textstatus bereits angewendet wurde. Typische Beispiele für den Parameter elementName sind "strong" und "italic".

 

 

 

© 2017-2023 Altova GmbH