aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/print/PageableRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/print/PageableRenderer.java')
-rw-r--r--src/java/org/apache/fop/render/print/PageableRenderer.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/print/PageableRenderer.java b/src/java/org/apache/fop/render/print/PageableRenderer.java
index 01a60646b..89ab98071 100644
--- a/src/java/org/apache/fop/render/print/PageableRenderer.java
+++ b/src/java/org/apache/fop/render/print/PageableRenderer.java
@@ -29,6 +29,7 @@ import java.util.Map;
import org.apache.fop.apps.FOPException;
import org.apache.fop.apps.FOUserAgent;
+import org.apache.fop.apps.MimeConstants;
import org.apache.fop.area.PageViewport;
import org.apache.fop.render.java2d.Java2DRenderer;
@@ -76,6 +77,11 @@ public class PageableRenderer extends Java2DRenderer implements Pageable {
}
/** {@inheritDoc} */
+ public String getMimeType() {
+ return MimeConstants.MIME_FOP_PRINT;
+ }
+
+ /** {@inheritDoc} */
public void setUserAgent(FOUserAgent agent) {
super.setUserAgent(agent);