History | Edit

Oxygen XML Editor offers a few add-ons that provide experimental support for CGM 1.0 images. To allow the rendering of CGM images in Author mode, follow this procedure:

  1. Go to Help > Install new add-ons to open an add-on selection dialog box.
  2. Enter or paste http://www.oxygenxml.com/InstData/Addons/default/updateSite.xml in the Show add-ons from field or select it from the drop-down menu.
  3. Select the Oxygen CGM support add-on and click Next.
  4. Select the I accept all terms of the end user license agreement option and click Finish.
  5. Restart the application.

    Result: You should be able to see CGM images in Author mode.

Alternate Method for ISOView Active X Component

Restriction: This support will only work on 32 bit versions of Oxygen XML Editor.

If you already have the ISOView Active X component for Internet Explorer installed, you may want to use it to render CGM images instead of the components provided in the plugin described above.

To use your existing ISOView Active X component to render CCM images, follow these steps:
  1. Go to Help > Install new add-ons to open an add-on selection dialog box.
  2. Enter or paste http://www.oxygenxml.com/InstData/Addons/default/updateSite.xml in the Show add-ons from field or select it from the drop-down menu.
  3. Select CGM Form control (Active X-based) plugin and click Next.
  4. Select the I accept all terms of the end user license agreement option and click Finish.
  5. Restart the application.
  6. The CGM Form Control plugin automatically renders CGM files in DITA, DocBook, and XHTML, so for those frameworks, this step is not necessary. For other frameworks, modify your CSS according to your particular framework.
    If you have an XML:
    <image href="MyCGMFile.cgm"/>
    You need a CSS rule like this:
    image[href$=".cgm"],
    image[href$=".CGM"]{
        content: oxy_editor(
            saHeavyFormControlClassName , "com.oxygenxml.activex.fctrl.ActiveXFormControl", 
            href, oxy_url(oxy_base-uri() , attr(href)));
    } 
    You should be able to see CGM images in Author mode.