You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Dickson Robert <Di...@ag.ny.gov> on 2010/12/22 16:16:24 UTC

Question on MimeConstants

Hello All,
I just downloaded the FOP jar file. Our Project involves Converting XML to PDF...So, while compiling your examples...we found out that

Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out);

Mime-PDF was not defined in MimeConstants.java


Please help with this one....


Thank You,

Dickson Robert
518-402-5404


RE: Question on MimeConstants

Posted by Eric Douglas <ed...@blockhouse.com>.
public interface MimeConstants extends
org.apache.xmlgraphics.util.MimeConstants {

Check out the other class(es).  There's more than one set of
MimeConstants combined here.


________________________________

From: Dickson Robert [mailto:Dickson.Robert@ag.ny.gov] 
Sent: Wednesday, December 22, 2010 10:16 AM
To: 'fop-dev@xmlgraphics.apache.org'
Subject: Question on MimeConstants


Hello All,
I just downloaded the FOP jar file. Our Project involves Converting XML
to PDF...So, while compiling your examples...we found out that 
 
Fop fop = fopFactory.newFop(MimeConstants.MIME_PDF, foUserAgent, out);
 
Mime-PDF was not defined in MimeConstants.java
 
 
Please help with this one....
 
 
Thank You,
 
Dickson Robert
518-402-5404