JSOperation activexobject

Post here questions and problems related to oXygen frameworks/document types.
akheiljain
Posts: 8

JSOperation activexobject

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: 5992

Re: JSOperation activexobject

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: 8

Re: JSOperation activexobject

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: 5992

Re: JSOperation activexobject

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/20.1/ug-editor/topics/addCustomActionHowTo.html

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

Return to “SDK-API, Frameworks - Document Types”

Who is online

Users browsing this forum: No registered users and 0 guests