DO NOT REPLY [Bug 24195] New: - [PATCH] RTF: added support for nested blocks, inlines and several text attributes
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=24195. 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=24195 [PATCH] RTF: added support for nested blocks, inlines and several text attributes Summary: [PATCH] RTF: added support for nested blocks, inlines and several text attributes Product: Fop Version: all Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hello, i'd like to submit the attached patch and modules. They add support for blocks (also nested), inlines (also nested), underlined, italic, space-before/-after. Sorry, this is a quite large patch. I could not keep it small. Thanks and kind regards Peter Herweg
DO NOT REPLY [Bug 24195] - [PATCH] RTF: added support for nested blocks, inlines and several text attributes
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=24195. 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=24195 [PATCH] RTF: added support for nested blocks, inlines and several text attributes --- Additional Comments From [EMAIL PROTECTED] 2003-10-28 23:04 --- Created an attachment (id=8788) patch file
DO NOT REPLY [Bug 24195] - [PATCH] RTF: added support for nested blocks, inlines and several text attributes
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=24195. 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=24195 [PATCH] RTF: added support for nested blocks, inlines and several text attributes --- Additional Comments From [EMAIL PROTECTED] 2003-10-28 23:05 --- Created an attachment (id=8790) new module (to be placed into org.apache.fop.rtf.rtflib.rtfdoc)
DO NOT REPLY [Bug 24195] - [PATCH] RTF: added support for nested blocks, inlines and several text attributes
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=24195. 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=24195 [PATCH] RTF: added support for nested blocks, inlines and several text attributes --- Additional Comments From [EMAIL PROTECTED] 2003-10-28 23:06 --- Created an attachment (id=8792) new module (to be placed into org.apache.fop.rtf.renderer)
DO NOT REPLY [Bug 17889] New: - external images in blocks that contain nested blocks are repeated
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=17889. 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=17889 external images in blocks that contain nested blocks are repeated Summary: external images in blocks that contain nested blocks are repeated Product: Fop Version: 0.20.5 Platform: PC OS/Version: Other Status: NEW Severity: Major Priority: Other Component: page-master/layout AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] A structure like this: fo:block fo:external-graphic/ fo:block Foo /fo:block fo:block Bar /fo:block /fo:block Produces output like this: *image* Foo *image* Bar *image* - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
DO NOT REPLY [Bug 17889] - external images in blocks that contain nested blocks are repeated
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=17889. 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=17889 external images in blocks that contain nested blocks are repeated [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2003-03-11 21:54 --- *** This bug has been marked as a duplicate of 17472 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
BUG: absoulte-position=auto in nested blocks
Hi Colin, in your example you forget to write the fo:page-master-reference ... BTW this example breaks FOP and I think is a bug ... ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin-bottom=10mm margin-right=10mm margin-left=10mm margin-top=10mm page-width=210mm page-height=297mm master-name=PortraitA4 fo:region-body margin-bottom=10mm margin-right=10mm margin-left=10mm margin-top=10mm/ /fo:simple-page-master fo:page-sequence-master master-name=test fo:single-page-master-reference master-name=PortraitA4/ /fo:page-sequence-master /fo:layout-master-set fo:page-sequence master-name=PortraitA4 fo:flow flow-name=xsl-region-body fo:blockThis is the first unpositioned block inside the flow fo:block absoulute-position=auto background-color=blue top=5mm left=5mm height=10mm width=45mm fo:blockinside/fo:block /fo:block-container /fo:block fo:blockThis is the second unpositioned block inside the flow/fo:block /fo:flow /fo:page-sequence /fo:root Fabio -Original Message- From: Colin Savage [mailto:[EMAIL PROTECTED]] Sent: 07 September 2001 16:43 To: [EMAIL PROTECTED] Subject: RE: block-container with block Here is the fo I am working with ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master margin-bottom=10mm margin-right=10mm margin-left=10mm margin-top=10mm page-width=210mm page-height=297mm master-name=PortraitA4 fo:region-body margin-bottom=10mm margin-right=10mm margin-left=10mm margin-top=10mm/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-name=PortraitA4 fo:flow flow-name=xsl-region-body fo:block line-height=30mm fo:block-container absolute-position=auto background-color=blue top=5mm left=5mm height=10mm width=45mm fo:blockinside/fo:block /fo:block-container /fo:block /fo:flow /fo:page-sequence /fo:root Q1. Is this valid? and should it produce the result i am looking for? block inside region-body -- |\ | | \5mm x 5mm | | \___ | | |inside | | | |___| | || || If I run this through fop 0.20.1, it falls over, because BlockContainer is expecting an AreaContainer object that it can use to get X and Y coords. By modifying that code to use the Area object instead of the AreaContainer when the parent is a BlockArea it doesn't fall over anymore but I can only get a thin blue line at the top of the block. Unfortunately I don't really have a clue about Java other than the basics, so I don't understand how these blocks and containers are positioned. Colin. -Original Message- From: Giannetti, Fabio [mailto:[EMAIL PROTECTED]] Sent: 07 September 2001 05:12 To: '[EMAIL PROTECTED]' Subject: RE: block-container with block Hi Colin, yes, you can have a block-container that is not absolute positioned if you specify absolute-positioning=auto it will automatically considered like to be relative-positioned. There is a substantial difference between a block with relative position and a block-container with abs-pos=auto and is related to the kind of generate areas ... the block will generate a normal flow area and the block-container a static one, so if you specify also a size the content will be truncated if it is too long. Back to the block case if the content is too long will flow into a new page starting from the beginning of the region body. It sounds clear ? I hope so ... Fabio - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: nested blocks
Hi Koen, I know it seems strange, but the FOP behavior here is actually correct. The XSL CR says that the indents are with respect to the nearest reference-area. A block fo isn't a reference area. So if you want the blocks to look nested, you have to put more indent on the inner one. Regards, Karen Lease [EMAIL PROTECTED] wrote: Hello, In the fragmant below i have two nested blocks. if I process the file with XEP the second block has a left margin of 1in relative to the margin of the outer block (so 2 inch in total). if I process this with FOP both blocks have the same margin of 1 inch (so they do not really seem to nest). Does anybody know how to get the XEP behaviour with FOP, to make nested blocks behave as nested? Kind regards, Koen Handekyn -- ?xml version=1.0 encoding=UTF-8? fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=my-page fo:region-body margin-left=1in margin-top=1in margin-right=1in margin-bottom=1in/ /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-name=my-page fo:flow flow-name=xsl-region-body fo:block margin-left=1in This is an example of two nested blocks. This flows in the outer block. fo:block margin-left=1in And this is the nested block. /fo:block /fo:block /fo:flow /fo:page-sequence /fo:root - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]