You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2015/08/07 09:46:55 UTC

svn commit: r1694626 - /xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext

Author: ssteiner
Date: Fri Aug  7 07:46:54 2015
New Revision: 1694626

URL: http://svn.apache.org/r1694626
Log:
API changed

Modified:
    xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext

Modified: xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext
URL: http://svn.apache.org/viewvc/xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext?rev=1694626&r1=1694625&r2=1694626&view=diff
==============================================================================
--- xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext (original)
+++ xmlgraphics/site/trunk/content/fop/trunk/intermediate.mdtext Fri Aug  7 07:46:54 2015
@@ -55,7 +55,7 @@ The second step is to reparse the file u
 The basic pattern to parse the area tree XML format looks like this:
 
     :::java
-    FopFactory fopFactory = FopFactory.newInstance();
+    FopFactory fopFactory = FopFactory.newInstance(new File(".").toURI());
 
     // Setup output
     OutputStream out = new java.io.FileOutputStream(pdffile);
@@ -116,7 +116,7 @@ The second step is to reparse the file u
 The basic pattern to parse the intermediate format looks like this:
 
     :::java
-    FopFactory fopFactory = FopFactory.newInstance();
+    FopFactory fopFactory = FopFactory.newInstance(new File(".").toURI());
 
     // Setup output
     OutputStream out = new java.io.FileOutputStream(pdffile);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org