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. The Template Wizard sample program is an example of a Visual Basic program that does allow the user to control some of the output options by using template files. You can use the sample documents in the directory install
\testdocs
to experiment with converting different file formats.
To launch the sample program, select Export Demo from Start > Programs > Autonomy > Export SDK >
Export Demo: Launching
HTML conversion using HTML Export is available in Export Demo if you have HTML Export installed. If you do not have HTML Export installed, the HTML button is unavailable.
If
The default location for source files is the install\testdocs
directory.
The default location for output files is the install\xmlexport\programs\tempout
directory.
If
To change the default directories for the source and output files
Select Options > Set Directories.
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 XML.
Click Change. The Current Locations fields are updated with the new selection.
Follow the same procedure for the other file types. When you are finished, click OK.
With
Export Demo provides an option to generate output with verbose markup and without images.
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.
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. Click XML in the Convert file to pane.
To convert files in a directory
Select Options > Convert > Entire directory.
Click HTML in the Convert directory to pane.
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.
|