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=13289>.
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=13289

Lines in wrapped blocks are not wrapped correctly

           Summary: Lines in wrapped blocks are not wrapped correctly
           Product: Fop
           Version: 0.20.4
          Platform: All
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In a block with the wrap-option set to 'wrap', long lines that doesn't contain 
any space are not wrapped. They are written in the PDF output file with no 
respect of the block or page limits.

exemple fo file :
<?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 page-width="21cm" page-height="29.7cm" 
master-name="spm0">
                        <fo:region-body region-name="region-body" margin-
bottom="1cm" margin-top="1.5cm"/>
                        <fo:region-before region-name="header" 
precedence="false" extent="4cm"/>
                        <fo:region-after region-name="footer" extent="1cm"/>
                </fo:simple-page-master>
        </fo:layout-master-set>
        <fo:page-sequence master-reference="spm0">
                <fo:flow flow-name="region-body">
                        <fo:block wrap-option="wrap"
                                padding-end="50pt"
                                padding-start="2pt"
                                space-before="6.0pt"
                                margin-right="60pt"
                                margin-left="28.35pt"
                                font-size="10.0pt"
                                font-family="Courier New, Courier"
                                color="black"
                                border-top-width="0.75pt"
                                border-top-style="double"
                                border-top-color="#D3D3D3"
                                border-right-width="0.75pt"
                                border-right-style="double"
                                border-right-color="#D3D3D3"
                                border-left-width="0.75pt"
                                border-left-style="double"
                                border-left-color="#D3D3D3"
                                border-bottom-width="0.75pt"
                                border-bottom-style="double"
                                border-bottom-color="#D3D3D3"
                                background-color="#D5DEE3">
                                <fo:inline white-space-
collapse="false">&lt;object classid="clsid:8AD9C840-044E-11D1-B3E9-
00805F499D93" width="1" height="1" align="baseline" 
codebase="http://java.sun.com/products/plugin/1.3/textToMakeTheLineEvenBiggerTha
nItWasBefore/jinstall-13-win32.cab#Version=1,3,0,0" 
name="xformsApplet"&gt;</fo:inline>
                        </fo:block>
                </fo:flow>
        </fo:page-sequence>
</fo:root>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to