The easiest way to get started with Export is to become familiar with its capabilities through the Visual Basic sample program, Export Demo. The source code for the program is in the directory install\xmlexport\programs\ExportDemo
, where install
is the path name of the Export installation directory. Export Demo is for Windows only, and requires Internet Explorer 4.01 with Service Pack 1 or higher.
The output options that control the look of the output files are predefined in Export Demo and cannot be changed in the user interface. Export Demo uses a small sample of the options available in the Export API.
To launch the sample program, select Export Demo from Start | Programs | Autonomy | Export SDK | XML Export. The following dialog appears:
Export Demo: Launching
If
The default location for source files is the directory install
\testdocs
.
The default location for output files is the directory install\xmlexport\programs\tempout
.
If
To change the default directories for the source and output files
Select Options | Set Directories. The following dialog appears:
Export Demo: Setting Directories
From the tree view, select the drive letter and directory for the source or output files.
In Change Location, select which files are stored in the directory, either Source or
Click Change. The Current Locations fields are updated with the new selection.
Follow the same procedure for the other file types.
With XMLConfig()
function. Export Demo demonstrates this function, and allows you to:
Export Demo provides an option to generate output with verbose markup and without images. For more information, see KVXMLConfig().
To specify that images are suppressed in the XML output, select Options | XML Config | Suppress Images.
Export Demo provides an option to include position information in the markup generated for a PDF document. For more information, see KVXMLConfig().
To specify that PDF position information be included in the XML output, select Options | XML Config | Enable Position Token.
To convert a single file
Select Options | Convert | Single file.
Select the document from the file list, and then click
To convert files in a directory
Select Options | Convert | Entire directory.
Click
To view a converted file, double-click the output file in the Output Files pane, or select the output file, and then click View. The converted file is displayed in the view pane:
Export Demo: Converting Files
To view the original document, select the document from the file list, and then click Open. If you have an application on your system associated with the file, the file is displayed in that application.
To delete output files, select the file in the Output Files pane and click Delete.
|