From 879e33c0429f91fd9d6734b7d00410b71afbfa1d Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 5 Feb 2009 10:40:52 +0000 Subject: AFP Output: Added a configuration option to override the resource level defaults in the code. The chosen defaults in code may not always be the best. For example, a user reported that they can't use print-level images for some reason and it is not possible to switch on inlining for background images. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@741068 13f79535-47bb-0310-9956-ffa450edef68 --- src/documentation/content/xdocs/trunk/output.xml | 26 ++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) (limited to 'src/documentation/content/xdocs') diff --git a/src/documentation/content/xdocs/trunk/output.xml b/src/documentation/content/xdocs/trunk/output.xml index 1962800e0..83e730de9 100644 --- a/src/documentation/content/xdocs/trunk/output.xml +++ b/src/documentation/content/xdocs/trunk/output.xml @@ -657,6 +657,26 @@ out = proc.getOutputStream();]]> ]]> Be careful when using this option not to overwrite existing resource files from previous rendering runs. +
+ Resource Level Defaults +

+ By default, bitmap image objects (or page segments derived from them) are put in the + print-file-level resource group and GOCA graphics are inlined for compatibility with + the AFP Workbench tool. +

+

+ It is possible to override these defaults, either per image (see the + afp:resource-level + extension attribute below) or by specifying different defaults in the configuration: +

+ ]]> +

+ "goca" refers to GOCA graphics and "bitmap" refers to IOCA images. The possible values + for the attributes are "inline" and "print-file". In the future, + additional possibilities may be added. +

+
Extensions @@ -772,8 +792,10 @@ out = proc.getOutputStream();]]> ]]>

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 no resource-level attribute is provided, resources are by default placed at "print-file" level. - When "external" is used a resource-group-file attribute must also be specified.

+ When "external" is used a resource-group-file attribute must also be specified. + Please refer to the Resource Level Defaults + above to see what is used if the resource-level attribute is not specified. +

-- cgit v1.2.3