I appreciate your honest replies. This is for Pascal: > As a workaround, you can try to play with fo:block-container in absolute > position, but you have to cut the flow-text yourself. When you say "cut the flow-text yourself", do you mean that I've to figure out the column breaks and explicitly move the text to the next column(s)? If yes, this is what I'm trying now, which is not impossible, but is close to that as my text has formatting objects embedded in it like say part of the text is BOLD/ITALIC or have different font size.
Glenn, You're right. I had to think about tables now, earlier I had only same number of columns in each row within a page which works fine with the column-count property on page level. Hey guys, I can't wait for XSL-FO 1.1 and can't see any alternative. Can you guys just guide me to accomplish my need; I'm trying to get the exact point where to break the text, so that I can just move the rest of the text to the next column. I'm thinking to use AWT renderer and pick the font metrics by using Rectangle2D and JPEGEncoder, etc. etc. Now, what I'm afraid of is, the co-ordinates I'll generate from this, will it be the same or will be fit for FOP or Can I use some FOP thing that helps me doing this? Thanks. -----Original Message----- From: Glen Mazza [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 13, 2006 7:03 PM To: [email protected] Subject: Re: How to get the text be flowed to the next column Susanta, I think you're a victim of your earlier thread-hijacking, check this post: http://marc.theaimsgroup.com/?l=fop-user&m=115812992904817&w=2 Basically, I believe the reason why you are using tables is because XSL 1.0 does not provided the advanced layout functionality you want with respect to regions and page flow (because it just has fo:simple-page-master), so you are hoping to accomplish with tables what you can't do with pages/regions. Problem is, if the XSL Working group would have defined this layout for tables (which would be an odd use case here), they would probably have first done it for pages/regions anyway. The fo:flow-map/multiple fo:flow of XSL 1.1 (not yet implemented in FOP) might help you, as the link above states; in addition, I think the XSL WG will eventually create an fo:page-master that will also have the advanced layout missing from fo:simple-page-master. Glen Susanta Dash wrote: > Hey guys, > > Are we on the same page yet? OR Am I making any mistake to understand > how to layout this problem OR this feature is missing entirely or in > the build I'm using(0.20.5)? > > Thanks. > On 9/13/06, *Susanta Dash* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Glen, > > Actually i've a paragraph(s) of text, ABC was just an example. > Like in my > previous example i had 2 paragraphs and to be fit in 2 different > rows each. > It's not at all a problem if i have same number of columns in each > row, but > variable column count is an issue. > > Thanks. > > -----Original Message----- > From: Glen Mazza [mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>] > Sent: Wednesday, September 13, 2006 12:03 AM > To: [email protected] > <mailto:[email protected]> > Subject: Re: How to get the text be flowed to the next column > > > Susanta Dash wrote: > > > > > Here is the problem I'm facing while rendering it in FOP. > > I've two rows, first one has 3 columns and the next has 2 > columns. The > > text within these rows need to be flowed to the next column. > > Why wouldn't having one column for each row and letting the text flow > normally solve what you need? What would be lost if you did that? > > > Like for > > example: I've ABC as text, in this scenario I want the text to be > > arranged as A in column1, B in column2 and C in column3. The > same thing > > for the second row. > > Are there spaces between "ABC"? I'm having difficulty > generalizing what > you want. What if you had "The person is in the room" as text--which > words would you want in each column? Also, what justification > would you > want for the text in each column? > > Glen > > > > I tried to arrange the text below, hope it's viewable: > > > > ---------------- > > | A | B | C | > > ---------------- > > | X | Y | > > ---------------- > > > > I also tried to set column-count in <fo:region-body> at page level, > > where i can set either to 2 or 3, which is not helpful. > > > > Suggestions are highly appreciated. > > > > Thanks. > > > > Susant. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
