diff options
author | Jeremias Maerki <jeremias@apache.org> | 2006-01-16 08:37:51 +0000 |
---|---|---|
committer | Jeremias Maerki <jeremias@apache.org> | 2006-01-16 08:37:51 +0000 |
commit | 16880724cf1edcf6e3a8b7980f99a070b46753a6 (patch) | |
tree | 6b44ef679020573c57dc418ab5f8059364c143f0 /src/documentation/content/xdocs/faq.xml | |
parent | 2f09d5b1f25f08b7d6bc21d1fa2a3972c2f37e06 (diff) | |
download | xmlgraphics-fop-16880724cf1edcf6e3a8b7980f99a070b46753a6.tar.gz xmlgraphics-fop-16880724cf1edcf6e3a8b7980f99a070b46753a6.zip |
FAQ entry for the "indent inheritance problem".
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@369400 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/faq.xml')
-rw-r--r-- | src/documentation/content/xdocs/faq.xml | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml index 4c5dd8a78..17b3475a3 100644 --- a/src/documentation/content/xdocs/faq.xml +++ b/src/documentation/content/xdocs/faq.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="ISO-8859-1"?> <!-- - Copyright 1999-2005 The Apache Software Foundation + Copyright 1999-2006 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -598,6 +598,25 @@ Check the following:</p> <source><![CDATA[<fo:block hyphenate="true">]]></source> </answer> </faq> + <faq id="indent-inheritance"> + <question>When I use margins, my content in a nested table or block-containers gets indented twice. Is this a bug?</question> + <answer> + <p> + (Applies to version 0.90 and later) + No, although you might easily think so. The problem has to do + with property inheritance of the start-indent and end-indent + properties to which the margin properties are mapped. Apache + FOP strictly adheres to the XSL-FO specification here which many + other commercial FO implementations don't do to better meet end-user + expectations. You can make FOP behave like these if you set + <code>setBreakIndentInheritanceOnReferenceAreaBoundary(true)</code> + on the FOUserAgent. The better way is to reset <code>start-indent</code> + and <code>end-indent</code> to "0pt" on table-body or block-container. + For further details, please consult the + <link href="http://wiki.apache.org/xmlgraphics-fop/IndentInheritance">Wiki page on Indent Inheritance</link>. + </p> + </answer> + </faq> </part> <part id="part-embedding"> <title>Embedding FOP. Using FOP in a servlet.</title> |