aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps/PSDocumentHandler.java
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-07-02 13:23:46 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-07-02 13:23:46 +0000
commitab426a49d46ec69b80e6accccd537522477df5b3 (patch)
treea4a4550b9d329c7a7eae6a8d00861f373911c081 /src/java/org/apache/fop/render/ps/PSDocumentHandler.java
parentc9f6e74ddf229f879ea7df1b389d6018286ca1aa (diff)
parentf5a033d38f700d70bbf679d87d535b37438c9ebb (diff)
downloadxmlgraphics-fop-ab426a49d46ec69b80e6accccd537522477df5b3.tar.gz
xmlgraphics-fop-ab426a49d46ec69b80e6accccd537522477df5b3.zip
Merged in trunk@1356161
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1356212 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSDocumentHandler.java')
-rw-r--r--src/java/org/apache/fop/render/ps/PSDocumentHandler.java9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java
index 488abd559..d73beb759 100644
--- a/src/java/org/apache/fop/render/ps/PSDocumentHandler.java
+++ b/src/java/org/apache/fop/render/ps/PSDocumentHandler.java
@@ -56,6 +56,7 @@ import org.apache.fop.apps.MimeConstants;
import org.apache.fop.apps.io.TempResourceURIGenerator;
import org.apache.fop.render.intermediate.AbstractBinaryWritingIFDocumentHandler;
import org.apache.fop.render.intermediate.IFContext;
+import org.apache.fop.render.intermediate.IFDocumentHandler;
import org.apache.fop.render.intermediate.IFDocumentHandlerConfigurator;
import org.apache.fop.render.intermediate.IFException;
import org.apache.fop.render.intermediate.IFPainter;
@@ -80,10 +81,10 @@ public class PSDocumentHandler extends AbstractBinaryWritingIFDocumentHandler {
* Utility class which enables all sorts of features that are not directly connected to the
* normal rendering process.
*/
- protected PSRenderingUtil psUtil;
+ private PSRenderingUtil psUtil;
/** The PostScript generator used to output the PostScript */
- protected PSGenerator gen;
+ PSGenerator gen;
/** the temporary file in case of two-pass processing */
private URI tempURI;
@@ -134,6 +135,10 @@ public class PSDocumentHandler extends AbstractBinaryWritingIFDocumentHandler {
return MimeConstants.MIME_POSTSCRIPT;
}
+ PSGenerator getGenerator() {
+ return gen;
+ }
+
/** {@inheritDoc} */
public IFDocumentHandlerConfigurator getConfigurator() {
return new PSRendererConfigurator(getUserAgent(), new PSRendererConfigParser());