Browse Source

Improved the FAQ by creating a separate entry for the problem about keep-together on table-cell, and the added support for inline keeps in 0.95


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@718557 13f79535-47bb-0310-9956-ffa450edef68
tags/fop-1_0
Vincent Hennebert 15 years ago
parent
commit
d7ce820049
1 changed files with 20 additions and 10 deletions
  1. 20
    10
      src/documentation/content/xdocs/faq.xml

+ 20
- 10
src/documentation/content/xdocs/faq.xml View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
@@ -639,15 +639,25 @@ 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="table-cell-wrap">
<question>The contents of table cells don’t wrap</question>
<answer>
<p>You probably have <code>keep-together="always"</code> set on the table cell. See <link
href="#keep-together">next question</link>.</p>
</answer>
</faq>
<faq id="keep-together">
<question>FOP 0.95 and FOP 0.94 behave differently when <code>keep-together="always"</code>
is set on table cells</question>
<answer>
<p>Support for inline-level keeps has been added in FOP 0.95, and setting
<code>keep-together="always"</code> also implicitly sets
<code>keep-together.within-line="always"</code>, which forbids FOP
to break the text into multiple lines. Set
<code>keep-together.within-column="always"</code> on table-cell instead. 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">

Loading…
Cancel
Save