On 07.03.2006 20:37:53 Johannes Künsebeck wrote: > Hi, > I try to build a complex design with fop, the design-template can be > seen here : > > http://yucca-net.de/data/gild.pdf > > After toying around with fop, I'm not sure if it is possible to realize > this design with fop. > I got alternating page-masters and the background-design working. > I can format a fo:block with the design for the even page, I can format > a fo:block with the design for the odd page, but I can't specify when to > use which (the problem you can't see in the template is that it must be > possible to put two or more workshops on one page). > > My thoughts so far (not very far): > - use float="inside|outside" (XSL1.1) but that's not supported in fop
Right. That would probably have been the best approach if it were implemented. > - put date and time infos in region-start/end, but how can I synchronize > startpositions with the flow? You can't. Not with multiple workshops on one page. > So my questions are > - Do you think it is possible to realize this with XSLT-FO (& maybe > extensions) Yes, I think so. > - Do you think it is possible to realize this with fop? Not without difficulties. If you can restrict to one workshop per page, it's easy. If you want to have multiple workshops you will probably need to do a detour. Just an idea: Render the text for the individual workshops using a special reduced XSLT using the area tree XML renderer with the latest FOP version. You can then determine the height of each workshop from the generated XML format. Based on that knowledge you can define the distribution of the individual workshops yourself and put one page per page-sequence so you can control yourself whether you have a left or a right page. Then put the time info in a table together with the workshop info, either on the left or right side. I haven't tried but you may be able to emulate side floats using absolutely positioned block-containers with the latest FOP release. > - If yes, what do I have to read, to get it working > thanks in advance, Hann* > * Good luck! Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
