diff options
author | Simon Steiner <ssteiner@apache.org> | 2015-02-24 11:23:44 +0000 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2015-02-24 11:23:44 +0000 |
commit | 77e0508bb36a6c5e547857f2bea17e1def2a2abc (patch) | |
tree | 92f26caed0d59eba746b306b69a84e6895e610d8 /src/java/org/apache/fop/render/pdf/PDFRendererOptionsConfig.java | |
parent | c85d08c4b9adbf8135e18ad9c3f94e3469e4e12e (diff) | |
download | xmlgraphics-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.java | 5 |
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); + } } |