com.aurigalogic.aurigadoc.core
Class PDFConverter

java.lang.Object
  |
  +--com.aurigalogic.aurigadoc.core.BaseConverter
        |
        +--com.aurigalogic.aurigadoc.core.FOConverter
              |
              +--com.aurigalogic.aurigadoc.core.PDFConverter
All Implemented Interfaces:
ADConverter
Direct Known Subclasses:
PSConverter

public class PDFConverter
extends FOConverter

This class is used for converting AurigaDoc document to pdf.

Version:
$Revision: 1.7 $ $Date: 2003/09/09 15:51:20 $
Author:
Khurshidali Shaikh

Field Summary
 
Fields inherited from class com.aurigalogic.aurigadoc.core.BaseConverter
AURIGADOC_HOME, inputFile, logger, OUTPUT_HTML, OUTPUT_TEXT, OUTPUT_XML, outputFile, parameters, props, XML2AWT, XML2CHMHHC, XML2CHMHHP, XML2DHTMLFRAMESET, XML2DHTMLNAV, XML2FO, XML2HTML, XML2JHELPHS, XML2JHELPMAP, XML2JHELPTOC, XML2MAN, XML2MHTML, XML2OHJHS, XML2OHJMAP, XML2OHJTOC, XML2PDF, XML2PS, XML2RTF, XSL
 
Constructor Summary
PDFConverter()
           
 
Method Summary
 void convert()
          Main method which does the conversion.
protected  void convertUsingFOP(int renderer, java.lang.String xslFileUrl, java.io.OutputStream outStream)
          Convert the input file to output stream using the given xslFile and the renderer.
 
Methods inherited from class com.aurigalogic.aurigadoc.core.FOConverter
createFO
 
Methods inherited from class com.aurigalogic.aurigadoc.core.BaseConverter
convert, copyFiles, doTransform, getDefaultXSLUrl, getParameter, getProperty, getXSLForKey, logDebug, logError, logInfo, logWarning, setHome, setInputFile, setLogger, setOutputFile, setParameters, setTransformerParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFConverter

public PDFConverter()
Method Detail

convert

public void convert()
             throws java.lang.Exception
Main method which does the conversion.

Specified by:
convert in interface ADConverter
Overrides:
convert in class FOConverter
Throws:
java.lang.Exception - in case of error

convertUsingFOP

protected void convertUsingFOP(int renderer,
                               java.lang.String xslFileUrl,
                               java.io.OutputStream outStream)
                        throws java.lang.Exception
Convert the input file to output stream using the given xslFile and the renderer.

Parameters:
renderer - the fop renderer to use
xslFileUrl - the xsl file url
outStream - the output stream
Throws:
java.lang.Exception - in case of error


Copyright © 2000, 2003 Auriga Logic Pvt. Ltd. All Rights Reserved.