DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36480>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36480 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #16291|0 |1 is obsolete| | ------- Additional Comments From [EMAIL PROTECTED] 2005-11-12 18:18 ------- Created an attachment (id=16953) --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16953&action=view) [PATCH] Adds simple space support in RTF rendering Fixed: Space support improved in RTF rendering. Was: Space was ignored on empty blocks. Only innermost block spaces was used. Became: Space of emptry blocks a propagated to next block. Space of parent block are propagated to child block. Simple test: <?xml version="1.0"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="only" page-height="11in" page-width="8.5in" margin-top="0.6in" margin-bottom="0.6in" margin-left="0.5in" margin-right="0.5in"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="only"> <fo:flow flow-name="xsl-region-body"> <fo:block>Test started.</fo:block> <fo:block space-before="100pt"> <fo:block> Child block: space-before=100pt </fo:block> Parent block </fo:block> </fo:flow> </fo:page-sequence> </fo:root> Advanced test: <?xml version="1.0"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="only" page-height="11in" page-width="8.5in" margin-top="0.6in" margin-bottom="0.6in" margin-left="0.5in" margin-right="0.5in"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="only"> <fo:flow flow-name="xsl-region-body"> <fo:block space-before="100pt" space-after="50pt" color="red" start-indent="20pt"> Block type 1: first part (color: red, space-before=100pt) <fo:block space-before="10pt" space-after="10pt"></fo:block> <fo:block space-before="10pt" space-after="10pt"> <fo:block space-before="50pt" space-after="10pt" color="black" start-indent="40pt"> Block type 2: first part (color: red, space-before=80pt) <fo:block color="yellow" start-indent="60pt"> Block type 3: (color: yellow) </fo:block> Block type 2: first part (color: red) <fo:block color="blue" start-indent="60pt"> Block type 4: (color: blue) <fo:block space-after="10pt" color="brown" start-indent="80pt"> Block type 5: (color: brown, space-after=30pt) </fo:block> </fo:block> </fo:block> </fo:block> Block type 1: second part (color: red) <fo:block color="green" start-indent="40pt"> Block type 6: (color: green) </fo:block> Block type 1: third part (color: red) <fo:block color="cyan" space-before="20pt" start-indent="40pt"> Block type 7: (space-before=20pt space-after=50pt) </fo:block> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> But when there are more then one instances of RtfTextRun in a container, it's impossible to exchange spacing between these textruns. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
