aboutsummaryrefslogtreecommitdiffstats
path: root/examples/embedding
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2009-02-25 11:31:16 +0000
committerJeremias Maerki <jeremias@apache.org>2009-02-25 11:31:16 +0000
commite5071d4577f58761ab2fa73bcfd6595b4c402705 (patch)
tree82d391655645e4b0be1c40f3918a1ece84cd63ca /examples/embedding
parent60779d79a82724645ae5edc98e3b73073a6e016b (diff)
downloadxmlgraphics-fop-e5071d4577f58761ab2fa73bcfd6595b4c402705.tar.gz
xmlgraphics-fop-e5071d4577f58761ab2fa73bcfd6595b4c402705.zip
Forgot to remove the old ";mode=painter" work-around.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@747752 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples/embedding')
-rw-r--r--examples/embedding/java/embedding/intermediate/ExampleConcat.java4
-rw-r--r--examples/embedding/java/embedding/intermediate/ExampleStamp.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/embedding/java/embedding/intermediate/ExampleConcat.java b/examples/embedding/java/embedding/intermediate/ExampleConcat.java
index a5765f49b..6b168f968 100644
--- a/examples/embedding/java/embedding/intermediate/ExampleConcat.java
+++ b/examples/embedding/java/embedding/intermediate/ExampleConcat.java
@@ -92,7 +92,7 @@ public class ExampleConcat {
//Create an instance of the target document handler so the IFSerializer
//can use its font setup
IFDocumentHandler targetHandler = userAgent.getRendererFactory().createDocumentHandler(
- userAgent, MimeConstants.MIME_PDF + ";mode=painter");
+ userAgent, MimeConstants.MIME_PDF);
//Create the IFSerializer to write the intermediate format
IFSerializer ifSerializer = new IFSerializer();
@@ -150,7 +150,7 @@ public class ExampleConcat {
FOUserAgent userAgent = fopFactory.newFOUserAgent();
//Setup target handler
- String mime = MimeConstants.MIME_PDF + ";mode=painter";
+ String mime = MimeConstants.MIME_PDF;
IFDocumentHandler targetHandler = fopFactory.getRendererFactory().createDocumentHandler(
userAgent, mime);
diff --git a/examples/embedding/java/embedding/intermediate/ExampleStamp.java b/examples/embedding/java/embedding/intermediate/ExampleStamp.java
index 860a75401..c5d1a12c5 100644
--- a/examples/embedding/java/embedding/intermediate/ExampleStamp.java
+++ b/examples/embedding/java/embedding/intermediate/ExampleStamp.java
@@ -73,7 +73,7 @@ public class ExampleStamp {
FOUserAgent userAgent = fopFactory.newFOUserAgent();
//Setup target handler
- String mime = MimeConstants.MIME_PDF + ";mode=painter";
+ String mime = MimeConstants.MIME_PDF;
IFDocumentHandler targetHandler = fopFactory.getRendererFactory().createDocumentHandler(
userAgent, mime);