aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/trunk/extensions.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-02-18 15:02:39 +0000
committerJeremias Maerki <jeremias@apache.org>2008-02-18 15:02:39 +0000
commit76ebc1fa40782c2e6e8e91e51a5440cbc15198f2 (patch)
tree3ffe455f4d7965af42a94faa7914b7e7b611ffa6 /src/documentation/content/xdocs/trunk/extensions.xml
parent263b70846b06d2a119d5d253633e5678a9f908bb (diff)
downloadxmlgraphics-fop-76ebc1fa40782c2e6e8e91e51a5440cbc15198f2.tar.gz
xmlgraphics-fop-76ebc1fa40782c2e6e8e91e51a5440cbc15198f2.zip
fop-rgb-icc() function did not make the round-trip which caused an error in the color_1.xml test case (intermediate format tests). Added a unit test to test the parsing and round-trip.
Documented the cmyk() function. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@628775 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/trunk/extensions.xml')
-rw-r--r--src/documentation/content/xdocs/trunk/extensions.xml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/extensions.xml b/src/documentation/content/xdocs/trunk/extensions.xml
index fb3db86fe..483866e61 100644
--- a/src/documentation/content/xdocs/trunk/extensions.xml
+++ b/src/documentation/content/xdocs/trunk/extensions.xml
@@ -210,6 +210,24 @@ to following pages. Here is an example of FO code creating such a table-header:<
supported for PDF, PS and Java2D-based renderers.
</note>
</section>
+ <section id="color-functions">
+ <title>Color functions</title>
+ <p>
+ XSL-FO supports specifying color using the rgb(), rgb-icc() and system-color() functions.
+ Apache FOP provides additional color functions for special use cases. Please note that
+ using these functions compromises the interoperability of an FO document.
+ </p>
+ <section id="color-function-cmyk">
+ <title>cmyk()</title>
+ <p><code>color cmyk(numeric, numeric, numeric, numeric)</code></p>
+ <p>
+ This function will construct a color in device-specific CMYK color space. The numbers
+ must be between 0.0 and 1.0. For output formats that don't support device-specific
+ color space the CMYK value is converted to an sRGB value.
+ </p>
+ </section>
+ </section>
+
</section>
</body>
</document>