KeyView 23.2

# Display Vector Graphics on UNIX and Linux

Export offers the option of rasterizing vector graphic content from source documents into a variety of graphics formats including JPEG, PNG, WMF, and CGM. This solution is implemented with Windows Graphical Device Interface (GDI) code, and therefore is not portable to other platforms.

The output format of vector graphics is defined by the ``e`OutputVectorGraphicType` member in the KVXMLOptions structure, and the options are enumerated in `KVXMLGraphicType` in `kvxml.h`. See KVXMLOptions and KVXMLGraphicType.

To display vector graphics in presentation, word processing, and spreadsheet files on UNIX and Linux, Export can convert the files directly to JPEG by using a Java program named `kvraster.class`. This program uses the Java Abstract Windowing Toolkit (AWT). Alternatively, rather than rasterizing, Export can output text from vector graphics in SVG format, which works the same as on Windows.

To convert the file

1. If rasterizing, add the location of the JRE to the `PATH` environment variable.

2. Set `eOutputVectorGraphicType` to `KVGFX_JPEG` (for raster output), or `KVGFX_SVG` (for text-only vector output) in the `defunix.ini` template file or directly in the API.

3. Convert the document to XML. The graphics in the document are converted to JPEG or SVG and stored in the output directory.

Copyright 1997-2023 Open Text
Version 23.2 | Last updated March 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.2

Topic Title: Display Vector Graphics on UNIX and Linux