You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2002/03/21 14:49:06 UTC

DO NOT REPLY [Bug 7323] New: - Content overflow in fo:table-cell if content too long

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7323>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7323

Content overflow in fo:table-cell if content too long

           Summary: Content overflow in fo:table-cell if content too long
           Product: Fop
           Version: 0.20.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: page-master/layout
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: bjoern.martin@gmx.net


If a fo:table-cell contains a single word (consisting only of characters) that does not fit into 
the cell's block area (i.e., it is too long), that word is outputted anyway, overlapping with any 
content on the right side to the cell.

I prepared an example .fo file which demonstrates he 
problem:

<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root 
xmlns:fo="http://www.w3.org/1999/XSL/Format">
  <fo:layout-master-set>
    <fo:simple-
page-master widows="3" orphans="3" margin-right="20mm" margin-left="20mm" margin-
bottom="20mm" margin-top="20mm" page-width="210mm" page-height="297mm" master-name="a4">
      
<fo:region-before extent="10mm"/>
      <fo:region-body margin-bottom="10mm" margin-
top="10mm"/>
      <fo:region-after extent="10mm"/>
    </fo:simple-page-master>
  </fo:layout-
master-set>
  <fo:page-sequence master-reference="a4">
    <fo:flow flow-name="xsl-region-
body">
      <fo:table>
        <fo:table-column column-width="30mm"/>
        <fo:table-column column-
width="140mm"/>
        <fo:table-header border-bottom-width="1pt" border-bottom-
style="solid">
          <fo:table-row>
            <fo:table-cell border-end-style="solid" border-end-
width="1pt">
              <fo:block font-size="10pt" font-weight="bold" margin-left="2pt" margin-
right="2pt">Datum</fo:block>
            </fo:table-cell>
            <fo:table-cell border-end-
style="solid">
              <fo:block font-size="10pt" font-weight="bold" margin-left="2pt" margin-
right="2pt">Massnahme</fo:block>
            </fo:table-cell>
          </fo:table-row>
        </fo:table-
header>
        <fo:table-body>
          <fo:table-row>
            <fo:table-cell border-end-style="solid">
              
<fo:block font-size="10pt" text-align="start" font-weight="normal" padding-before="10pt" 
margin-left="2pt" margin-right="2pt">21.03.2002 13:59:37</fo:block>
            </fo:table-cell>
            
<fo:table-cell inline-progression-dimension="95mm" block-progression-dimension="95mm" 
width="95mm" border-end-style="solid">

              <!-- CRITICAL LINE START -->
              <fo:block font-
size="10pt" text-align="start" font-weight="normal" padding-before="10pt" margin-
left="2pt" margin-
right="2pt">DiesisteinTestobein�berlangeswort�berdenrandhinausgeschriebenwirdodernichtmalschauenwennjagibtseinproblem:)</fo:block>
 
             <!-- CRITICAL LINE END -->
            </fo:table-cell>
          </fo:table-row>
        </fo:table-body>
      
</fo:table>
    </fo:flow>
  </fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org