diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-11-13 10:08:19 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-11-13 10:08:19 +0000 |
commit | a625241b1f303263e20c221b6059082140603867 (patch) | |
tree | 1b93f85fff796eb8e1d90391257c409a203afdee /src/java/org/apache/fop/fo/expr/NumericProperty.java | |
parent | 3c09dd0bd232edd1c8a988dac28f2d9f6124a009 (diff) | |
download | xmlgraphics-fop-a625241b1f303263e20c221b6059082140603867.tar.gz xmlgraphics-fop-a625241b1f303263e20c221b6059082140603867.zip |
Bugzilla #40729:
Support for the rgb-icc() function and for a proprietary cmyk() function (for device CMYK colors only through the PDF renderer so far).
Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com>
Patch slightly modified to comply with our Java conventions, plus some minor editing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@474225 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr/NumericProperty.java')
-rw-r--r-- | src/java/org/apache/fop/fo/expr/NumericProperty.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/expr/NumericProperty.java b/src/java/org/apache/fop/fo/expr/NumericProperty.java index f00b9951c..4c112964d 100644 --- a/src/java/org/apache/fop/fo/expr/NumericProperty.java +++ b/src/java/org/apache/fop/fo/expr/NumericProperty.java @@ -20,6 +20,8 @@ package org.apache.fop.fo.expr; import java.awt.Color; + +import org.apache.fop.apps.FOUserAgent; import org.apache.fop.datatypes.Length; import org.apache.fop.datatypes.PercentBaseContext; import org.apache.fop.datatypes.Numeric; @@ -105,8 +107,8 @@ public class NumericProperty extends Property implements Numeric, Length { return null; } - /** @see org.apache.fop.fo.properties.Property#getColor() */ - public Color getColor() { + /** @see org.apache.fop.fo.properties.Property#getColor(FOUserAgent) */ + public Color getColor(FOUserAgent foUserAgent) { // TODO: try converting to numeric number and then to color return null; } |