diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-06-02 14:56:17 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-06-02 14:56:17 +0000 |
commit | 62c1b6c60d102e2737c19e58b39b6eccecfdd37e (patch) | |
tree | b25945b3a9a882c53f08812fd13a170dac31f6b5 /src/documentation/content | |
parent | b7afb754ecf4e1d7d242e87cae68499272e827e7 (diff) | |
download | xmlgraphics-fop-62c1b6c60d102e2737c19e58b39b6eccecfdd37e.tar.gz xmlgraphics-fop-62c1b6c60d102e2737c19e58b39b6eccecfdd37e.zip |
Added documentation for the AFP resource foreign attributes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@662452 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content')
-rw-r--r-- | src/documentation/content/xdocs/trunk/output.xml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 46fcddd71..b485cdb21 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -694,6 +694,22 @@ out = proc.getOutputStream();]]></source> </p> </section> </section> + <section id="afp-foreign-attributes"> + <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> + <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"/> + </block> +]]></source> + <p>The resource-info extension can only occur as foreign attributes of >fo:external-graphic/< and >instream-foreign-object/<.</p> + </section> + </section> </section> <section id="rtf"> <title>RTF</title> |