aboutsummaryrefslogtreecommitdiffstats
path: root/src/documentation/content/xdocs/faq.xml
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-08-25 08:59:27 +0000
committerJeremias Maerki <jeremias@apache.org>2008-08-25 08:59:27 +0000
commit8028c5d93ef0d6d331eb596e9ee914c5e943e7c5 (patch)
treee62967f89f9433064030e417975eaf42f2836908 /src/documentation/content/xdocs/faq.xml
parentc599fec77b6a0f3e3b108ebadeb9109842595dd3 (diff)
downloadxmlgraphics-fop-8028c5d93ef0d6d331eb596e9ee914c5e943e7c5.tar.gz
xmlgraphics-fop-8028c5d93ef0d6d331eb596e9ee914c5e943e7c5.zip
Minor documentation improvements, most notably a comment about keep-together="always".
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@688664 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/documentation/content/xdocs/faq.xml')
-rw-r--r--src/documentation/content/xdocs/faq.xml15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/documentation/content/xdocs/faq.xml b/src/documentation/content/xdocs/faq.xml
index 26a5329cb..ac2693d8b 100644
--- a/src/documentation/content/xdocs/faq.xml
+++ b/src/documentation/content/xdocs/faq.xml
@@ -592,8 +592,10 @@ Check the following:</p>
text flows into adjacent cells/block, obscuring stuff there.</question>
<answer>
<p>
- Clipping as specified by the <code>overflow="hidden"</code> is not yet
- implemented. If you have long words overflowing table cells, try to
+ Since the <code>overflow</code> property doesn't apply to table-cell, you
+ can wrap the cell content in a block-container and specify
+ <code>overflow="hidden"</code> there. Alternatively,
+ if you have long words overflowing table cells, try to
get them hyphenated. Artificial names like product identifications or
long numbers usually aren't hyphenated. You can try special processing
at XSLT level, like
@@ -615,6 +617,15 @@ Check the following:</p>
<link href="http://www.mulberrytech.com/xsl/xsl-list/">XSL list
archive</link> for how to perform these tasks.
</p>
+ <p>
+ If your text is not hyphenated at all and overflows the cell, please check
+ if you've specified <code>keep-together="always"</code> on the table-cell
+ or one of its parent elements. <code>keep-together="always"</code> implicitely
+ also sets <code>keep-together.within-line="always"</code> which forbids FOP
+ to break the text into multiple lines. This is important as FOP supports inline-level
+ keeps since version 0.94. It's a good idea not to use the shorthand
+ <code>keep-together="always"</code> at all!
+ </p>
</answer>
</faq>
<faq id="row-height-constraint">