HTML Administration

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

HTML Administration

ADMINISTRATION

 

The vpxPrint HTML option needs some files to create a valid WEB export.

 

All HTML files are located in the models subdirectory of the current directory. The models subdirectory is mandatory.

 

models subdirectory contains the files :

1x1.gif

prev.jpg

next.jpg

first.jpg

last.jpg

print.jpg

xprnav.htm

these files are mandatory.

 

vpxPrint adds a navigation bar as header of each page. This navigation bar is an HTML frame called xprnav.htm

 

You can customize the navigation bar to meet your requirements but you must keep the <<4GL>> flag. This indicates to vpxPrint the location where page names and count are to be inserted.

 

Standard 'xprnav.htm' template:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title>vpxPrint HTML driver</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<script language="JavaScript" type="text/javascript">

<!--

var i

var maxPages

var baseName

i = 1;

// Please don't discard the following statement

<<4GL>>

 

function gotoUrl()

… …

 

 

The jpg files are the standard icons for the navigation bar. You can substitute your own icons.

 

When generating the HTML site, vpxPrint creates a HTML header for the report file. The name of this file is the basic name of your vpxPrint file.

 

For example, if your vpxPrint output is :

 C:\mydirectory\myFile.xpr

Then the main resulting HTML output file will be :

 <value of the HTML-DIR>\myFile.htm

 

Each page in the output generates his own HTML page:

 <value of the HTML-DIR>\myFilepage#.htm

 

… and his own images subdirectory:

 <value of the HTML-DIR>\myFilepage#_files

 

The *.jpg and gif files are exported in the <value of the HTML-DIR> directory. Be aware that these files do not confict with your own files. In this case, select a different HTML-dir to output your HTML pages.

 

OTHER CONSIDERATIONS:

Fonts width are different within a text editor or browsers. You can experiment differences between screen and printouts. To reduce these side effects, leave some extra spaces between columns.

Due to some bugs in browsers to display gradient backgrounds, don't use this option for HTML pages.

Oriented texts are not supported in the HTML option.