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 "Carsten Pfeiffer (Jira)" <ji...@apache.org> on 2022/06/08 07:17:00 UTC

[jira] [Updated] (FOP-1421) [PATCH] wrap-option="wrap" doesn't work

     [ https://issues.apache.org/jira/browse/FOP-1421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Pfeiffer updated FOP-1421:
----------------------------------
    Attachment: FOP-1421-2022-08-06.patch

> [PATCH] wrap-option="wrap" doesn't work
> ---------------------------------------
>
>                 Key: FOP-1421
>                 URL: https://issues.apache.org/jira/browse/FOP-1421
>             Project: FOP
>          Issue Type: Bug
>          Components: renderer/pdf
>    Affects Versions: 2.5
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Wolfgang  Flohr
>         Attachments: FOP-1421-2022-08-06.patch, Testcase_Result.pdf, Testcase_Table.fo, Wrap_PDF.txt, b43474.fo, b43474.fo, bugzilla43474.patch, bugzilla43474.patch, test.out.pdf, test.out.pdf, wrap-option.fo
>
>
> Running the following FO example with version 0.93 and 0.94 will produce a PDF
> document containing a table with some text. The text will not break as expected
> and violates the table boundary.
> <?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">&lt;object
> classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="1" height="1"
> align="baseline"
> codebase="http://java.sun.comproductsplugin13textToMakeTheLineEvenBiggerThanItWasBeforejinstall13win32cab#Version=1,3,0,0"
> name="xformsApplet"&gt;
> 			</fo:block>
> 		</fo:flow>
> 	</fo:page-sequence>
> </fo:root>



--
This message was sent by Atlassian Jira
(v8.20.7#820007)