]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Added missing OutputStream parameter to one of the examples.
authorJeremias Maerki <jeremias@apache.org>
Thu, 30 Mar 2006 06:40:19 +0000 (06:40 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 30 Mar 2006 06:40:19 +0000 (06:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@390006 13f79535-47bb-0310-9956-ffa450edef68

src/documentation/content/xdocs/trunk/embedding.xml

index db41a7998204a261941c57ee7ce6c8e27ea17714..98f1518a427b183432a2a1f15ad133c95fd40077 100644 (file)
@@ -346,7 +346,7 @@ try {
       <source><![CDATA[
   FopFactory fopFactory = FopFactory.newInstance(); //Reuse the FopFactory if possible!
   FOUserAgent userAgent = fopFactory.newFOUserAgent();
-  Fop fop = fopFactory.newFop(MimeConstants.MIME_POSTSCRIPT, userAgent);]]></source>
+  Fop fop = fopFactory.newFop(MimeConstants.MIME_POSTSCRIPT, userAgent, out);]]></source>
       <p>
         You can do all sorts of things on the user agent:
       </p>