org.apache.cocoon.formatter
Class FO2PDFFormatter

java.lang.Object
  |
  +--org.apache.cocoon.formatter.AbstractFormatter
        |
        +--org.apache.cocoon.formatter.FO2PDFFormatter

public class FO2PDFFormatter
extends AbstractFormatter

This class wraps around FOP to perform XSL:FO to PDF formatting.

Version:
$Revision: 1.3 $ $Date: 2000/04/04 11:11:16 $
Author:
Stefano Mazzocchi

Fields inherited from class org.apache.cocoon.formatter.AbstractFormatter
doctypePublic, doctypeSystem, encoding, format, indent, lineWidth, MIMEtype, preserveSpace, statusMessage
 
Constructor Summary
FO2PDFFormatter()
           
 
Method Summary
 void format(org.w3c.dom.Document document, java.io.Writer writer, java.util.Dictionary parameters)
          Prints the give document into a page.
 void init(Configurations conf)
          Initialize the class by passing its configurations.
 
Methods inherited from class org.apache.cocoon.formatter.AbstractFormatter
getEncoding, getMIMEType, getStatus
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FO2PDFFormatter

public FO2PDFFormatter()
Method Detail

init

public void init(Configurations conf)
Description copied from interface: Configurable
Initialize the class by passing its configurations.
Overrides:
init in class AbstractFormatter

format

public void format(org.w3c.dom.Document document,
                   java.io.Writer writer,
                   java.util.Dictionary parameters)
            throws java.lang.Exception
Description copied from interface: Formatter
Prints the give document into a page.


Copyright © 1999-2000 Apache Software Foundation. All Rights Reserved.