JSOperation activexobject

Post here questions and problems related to oXygen frameworks/document types.
akheiljain
Posts: 32
Joined: Wed Nov 28, 2018 8:13 pm

JSOperation activexobject

Post by akheiljain »

I am trying to port over customization we had in XMetal to Oxygen, would like suggests on how to tap into ActiveXObject functionality in Oxygen. I have tried the JSOperation Author Actions with no success, I get a ReferenceError for ActiveXObject. How else can this be implemented?
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSOperation activexobject

Post by Radu »

Hi,

As Oxygen is a Java application calling ActiveX components from Oxygen's code is not supported.
What did that previously implemented ActiveX object do?

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
akheiljain
Posts: 32
Joined: Wed Nov 28, 2018 8:13 pm

Re: JSOperation activexobject

Post by akheiljain »

Hi Radu,
The previous implementation with an ActiveXObject, presented a user with a dialog with fields to enter a number and two set of units, one which applied to the number entered and one which was calculated. Units where volume, temperature, weight etc. Guess I will need to rewrite it in Java.

Thanks,
Akheil Jain
Radu
Posts: 9048
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSOperation activexobject

Post by Radu »

Hi Akheil,

Yes. For example you can implement your own Java-based Author operation which uses the Java Swing architecture to show a dialog and use it later from an Author action:

https://www.oxygenxml.com/doc/versions/ ... HowTo.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply