diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-10-16 10:42:59 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-10-16 10:42:59 +0000 |
commit | 5c6a77531f85042510f7ef3755c16d825e073673 (patch) | |
tree | a8b179dff0b2e426306b57d297ddcc597f1036ad /src/documentation | |
parent | 8d6ce0fde13d57fac629bc8925c7985dc53b5390 (diff) | |
download | xmlgraphics-fop-5c6a77531f85042510f7ef3755c16d825e073673.tar.gz xmlgraphics-fop-5c6a77531f85042510f7ef3755c16d825e073673.zip |
Improved documentation describing the use of afp:resource-level
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@705204 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation')
-rw-r--r-- | src/documentation/content/xdocs/trunk/output.xml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 3ff94b33b..1aa062a6a 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -730,16 +730,22 @@ out = proc.getOutputStream();]]></source> <title>Foreign Attributes</title> <section id="afp-foreign-attributes-resource"> <title>Resource</title> - <p>The resource foreign attributes provides the ability to control where data object resources (e.g. images) will reside in the AFP output. Example:</p> + <p>The resource foreign attributes provides the ability to name and control where data object resources (e.g. images) + will reside in the AFP output. Example:</p> <source><![CDATA[ <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:afp="http://xmlgraphics.apache.org/fop/extensions/afp"> ... <block> - <fo:external-graphic width="2.0cm" content-width="2.0cm" height="1.8cm" content-height="1.8cm" src="examples/fo/graphics/xml_feather.gif" afp:resource-name="feather" afp:resource-level="external" afp:resource-group-file="resources.afp"/> + <fo:external-graphic width="2.0cm" content-width="2.0cm" height="1.8cm" content-height="1.8cm" + src="examples/fo/graphics/xml_feather.gif" + afp:resource-name="feather" afp:resource-level="external" afp:resource-group-file="resources.afp"/> </block> ]]></source> - <p>The resource-info extension can only occur as foreign attributes of >fo:external-graphic/< and >instream-foreign-object/<.</p> + <p>The resource-level attribute where the resource object will reside in the AFP output datastream. + The possible values for this are "inline", "print-file" and "external". + When "external" is used a resource-group-file attribute must also be specified.</p> + <p>The afp foreign attributes are only used in conjuntion with <fo:external-graphic/> and <instream-foreign-object/>.</p> </section> </section> </section> |