IBM®
Skip to main content
    United States change      Terms of use
 
 
Select a scope:    
     Home      Products      Services & industry solutions      Support & downloads      My account     
alphaWorks  >  Eclipse technology  >  

IBM Container for ActiveX Documents - Eclipse Version

A technology that enables better integration of Lotus SmartSuite and Microsoft Office documents within the Eclipse platform.


Date Posted: April 28, 2006
OverviewRequirements Download FAQs Forum Reviews

What is IBM Container for ActiveX Documents - Eclipse Version?

The Standard Widget Toolkit (SWT), a part of Eclipse Workbench, has its own standard ActiveX container. However, while holding and interacting with ActiveX documents, it gives sizing errors. This container is also rigid, insecure, and inextensible. In addition, since the complete event-handling mechanism is coded in Java™, there are frequent context switches between native and Java run time that cause performance problems.

IBM Container for ActiveX Documents (Eclipse Version) resolves these problems by providing a custom SWT component written on top of Microsoft Foundation Library (MFC), which comes with any standard version of Microsoft Windows. This approach provides direct control to entire ActiveX document container interfaces that can be customized for specific functional and security requirements. This technology also includes an extensible component that improves the options for integration, performance, and security.

Any application, whether an address book, email reader, or a document viewer, that must support Lotus SmartSuite and Microsoft Office documents could benefit from this technology.

How does it work?

IBM Container for ActiveX Documents (Eclipse Version) has a custom SWT widget. The custom widget is partially implemented in Java; however, the bulk of its functionality is delegated to its native C++ implementation using JNI. The native portion wraps around an MFC container, which hosts the ActiveX document object.

All communications, such as load, activate, deactivate, save, etc., with the ActiveX document object is handled through MFC. The MFC container also handles most of the ActiveX events within itself. Thus is minimized the switching of context from native to Java Virtual Machine.


About the technology author(s):

Sachin O. Agrawal Sachin O. Agrawal is a staff software engineer at IBM Software Labs in India. He has worked extensively in C++ for several years, researching the C++ object models of various compilers.

View screenshots:
A sample Lotus 123 spreadsheet containing scripts.

Download now Download now

Related technologies

For platform(s):
Windows

For topics:
Eclipse, Java technology, Standard Widget Toolkit (SWT)


 

    About IBM Privacy Contact