DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25272>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25272

[PATCH] FNF thrown formatting test/resources/fop/image/align.fo





------- Additional Comments From [EMAIL PROTECTED]  2003-12-19 17:43 -------
On further examination, the command line application uses FOFileHandler to
read FO from a file but embedded apps can use something like the following:

        File pdfFile = new File( namePart + ".pdf" );

        Driver driver = new Driver();
        Logger logger = new ConsoleLogger( ConsoleLogger.LEVEL_INFO ); 
        //driver.setLogger( logger );
        driver.setRenderer( Driver.RENDER_PDF );
        try {
            driver.setOutputStream( new java.io.FileOutputStream( pdfFile ) );
            Result res = new SAXResult(driver.getContentHandler());
            trans2.transform( xmlSource2, res );
        }

And Driver sets the ContentHandler to an instance of FOTreeBuilder. So I'll need 
to crawl through some more innards to complete a fix.

New Year's resolution:

To learn as much every day, as I did after making yesterday's tactless remark.
WITHOUT being tactless.

Reply via email to