Hi everyone,

I'm using this example

I generate a pdf file from a XSLT and XML file and this works, but I need to
generate a RTF file too.

I added this method to the source file:

*private void sendRTF(byte[] content, HttpServletResponse response) throws
IOException {
        //Send the result back to the client

and I changed this code line
*Fop fop = fopFactory.newFop(MimeConstants.MIME_RTF, foUserAgent, out);*

I don't know if this forms is right, because when I run the example my
output file is a unknow file and I need to save it like a ".rtf" and this is
unformatted file and the PDF file works fine.

Do you know if this method is right or do You have a example?


View this message in context: 
Sent from the FOP - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org

Reply via email to