Title: Overflow processing

I am working with a program that generates the following which is processed by fop.
I need to add text overflow to the text area to stop the text overflowing beyond its
enclosing container.

I have tried adding the attribute overflow="hidden" to the enclosing block and block container
and added an fo-inline around the text with that attribute nothing appears to work.

Am I putting the attribute within the wrong containers?

Or does fop not handle overflow

Mike Wilkinson
 
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo = "http://www.w3.org/1999/XSL/Format"
xmlns:svg = "http://www.w3.org/2000/svg">
<fo:layout-master-set>
<fo:simple-page-master master-name = "standard" page-height = "297.0mm" page-width = "210.0mm" margin-top = "0.0mm" margin-bottom = "1.0mm" margin-left = "0.0mm" margin-right = "0.0mm">

<fo:region-before extent = "1mm">
</fo:region-before>
<fo:region-body margin-top = "1mm">
</fo:region-body><fo:region-after extent = "1mm">
</fo:region-after></fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-name = "standard">
<fo:flow flow-name = "xsl-region-body">
<fo:block-container height = "17.6mm" width = "60.5mm" top = "36.8mm" left = "24.2mm" position = "absolute"><fo:block text-align = "start" line-height = "14pt"

font-family = "Times" font-weight = "normal"
font-style = "normal" font-size = "10pt"
color = "#000000">
Text to overflow</fo:block>
</fo:block-container>
<fo:block-container height = "17.6mm" width = "69.0mm" top = "38.3mm"
left = "99.8mm" position = "absolute">
<fo:block text-align = "start" line-height = "14pt" font-family = "Times" font-weight = "normal"
font-style = "normal" font-size = "10pt" color = "#000000">
More Text</fo:block>
</fo:block-container>
<fo:block-container height = "17.1mm" width = "63.5mm" top = "90.6mm"
left = "125.0mm" position = "absolute">
<fo:block text-align = "end" line-height = "14pt"
font-family = "Times" font-weight = "normal"
font-style = "normal" font-size = "10pt"
color = "#000000">
More text</fo:block>
</fo:block-container>
<fo:block-container height = "17.1mm"
width = "59.5mm" top = "101.2mm" left = "28.7mm"
position = "absolute">
<fo:block text-align = "start" line-height = "14pt"
font-family = "Times" font-weight = "normal"
font-style = "normal" font-size = "10pt" color = "#000000">
More text</fo:block>
</fo:block-container>
<fo:block-container height = "19.2mm" width = "78.1mm"
top = "149.0mm" left = "35.3mm" position = "absolute">
<fo:block text-align = "start" line-height = "14pt"
font-family = "Times" font-weight = "normal" font-style = "normal"
font-size = "10pt" color = "#000000">
More text</fo:block>
</fo:block-container>
</fo:flow>
</fo:page-sequence>
</fo:root>

Reply via email to