aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2015-02-24 11:23:44 +0000
committerSimon Steiner <ssteiner@apache.org>2015-02-24 11:23:44 +0000
commit77e0508bb36a6c5e547857f2bea17e1def2a2abc (patch)
tree92f26caed0d59eba746b306b69a84e6895e610d8 /src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java
parentc85d08c4b9adbf8135e18ad9c3f94e3469e4e12e (diff)
downloadxmlgraphics-fop-77e0508bb36a6c5e547857f2bea17e1def2a2abc.tar.gz
xmlgraphics-fop-77e0508bb36a6c5e547857f2bea17e1def2a2abc.zip
FOP-2445: Merge PDF Linearization branch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1661887 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java')
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java b/src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java
index 3a1a24339..8124db9f5 100644
--- a/src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java
+++ b/src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java
@@ -31,6 +31,7 @@ import org.apache.fop.pdf.Version;
import static org.apache.fop.render.pdf.PDFRendererOption.DISABLE_SRGB_COLORSPACE;
import static org.apache.fop.render.pdf.PDFRendererOption.FILTER_LIST;
+import static org.apache.fop.render.pdf.PDFRendererOption.LINEARIZATION;
import static org.apache.fop.render.pdf.PDFRendererOption.MERGE_FONTS;
import static org.apache.fop.render.pdf.PDFRendererOption.OUTPUT_PROFILE;
import static org.apache.fop.render.pdf.PDFRendererOption.PDF_A_MODE;
@@ -125,4 +126,8 @@ public final class PDFRendererOptionsConfig {
public Boolean getMergeFontsEnabled() {
return (Boolean)properties.get(MERGE_FONTS);
}
+
+ public Boolean getLinearizationEnabled() {
+ return (Boolean)properties.get(LINEARIZATION);
+ }
}