Subversion Repositories bacoAlunos

Compare Revisions

Ignore whitespace Rev 1353 → Rev 1549

/branches/v3/impl/src/java/jomm/utils/PdfUtils.java
80,10 → 80,11
static FOUserAgent foUserAgent = fopFactory.newFOUserAgent();
// configure foUserAgent as desired
 
 
public static void createPdfFromXml(Source xmlFile, String xslFile, OutputStream pdfFile, Map<String, Object> params) throws IOException, FOPException, TransformerException {
// configure fopFactory as desired
 
 
// Setup output
OutputStream out = new BufferedOutputStream(pdfFile);