You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2008/10/16 12:43:00 UTC
svn commit: r705204 -
/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml
Author: acumiskey
Date: Thu Oct 16 03:42:59 2008
New Revision: 705204
URL: http://svn.apache.org/viewvc?rev=705204&view=rev
Log:
Improved documentation describing the use of afp:resource-level
Modified:
xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml
Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml?rev=705204&r1=705203&r2=705204&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/documentation/content/xdocs/trunk/output.xml Thu Oct 16 03:42:59 2008
@@ -730,16 +730,22 @@
<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>
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org