JSOperation activexobject

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

JSOperation activexobject

Post by akheiljain » Wed Feb 13, 2019 9:46 pm

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: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSOperation activexobject

Post by Radu » Thu Feb 14, 2019 8:25 am

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: 18
Joined: Wed Nov 28, 2018 8:13 pm

Re: JSOperation activexobject

Post by akheiljain » Thu Feb 14, 2019 11:05 pm

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: 6335
Joined: Fri Jul 09, 2004 5:18 pm

Re: JSOperation activexobject

Post by Radu » Fri Feb 15, 2019 8:06 am

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