PDF Drivers and Configuration

This topic briefly describes driver configuration for several of the tools provided. There's also additional information available in the source code headers for each class in the wwPDF.prg file that contains all of these classes.

Web Connection provides a group of wwPDF classes each of which implements one of the specific drivers or engines. The classes are functionally compatible and the main value of these classes is to provide easy, interchangeable pluggability.

To faciliate this process we recommend that you never hardcode the name of the class but rather use a #DEFINE. Web Connection (in wconnect.h) defines:

#DEFINE WWC_WWPDF wwDistiller

You can override this to match your class in WCONNECT_OVERRIDE.H (or whereever you choose if it's not a Web Connection application). The override looks like this:

#UNDEFINE WWC_WWPDF #DEFINE WWC_WWPDF wwXFRX *#DEFINE WWC_WWPDF wwDistiller *#DEFINE WWC_WWPDF wwGhostScript


  Last Updated: 5/4/2007 | © West Wind Technologies, 2008