Despite Stephan's response, any pointers regarding a possible two-pass workaround is still valuable in case the patch proves insufficient.
I noticed in the list archives that it was once mentioned that attributes not in the fo namespace are passed on to the AT or IF. Is that still correct? In that case, I might just be able to pull off the idea I mentioned in my original e-mail. I'll try it out at work during the week. /F -----Original Message----- From: Stephan Thesing [mailto:thes...@gmx.de] Sent: Sunday, May 01, 2011 11:45 PM To: fop-users@xmlgraphics.apache.org Subject: Re: Change bars Hello, I made a patch for change-bars a while back. See Bugzilla PR 48548 https://issues.apache.org/bugzilla/show_bug.cgi?id=48548 for a patch against /trunk from around March. May or may not apply today. As soon as I get my Linux machine to boot again, I could produce another patch against a more recent /trunk. Best regards Stephan -------- Original-Nachricht -------- > Datum: Sun, 1 May 2011 20:52:39 +0000 > Von: Fredrik Bengtsson <fredrik.bengts...@lemontree.se> > An: "fop-users@xmlgraphics.apache.org" > <fop-users@xmlgraphics.apache.org> > Betreff: Change bars > Hey, > > I'm trying to make a workaround for the lack of change bar support in FOP. > I was thinking about making a two-pass solution that analyzes the area > tree and adds additional content where necessary. I have really modest > needs so maybe that could be workable. > * No nesting, only one class > * Just thin simple black lines, ok if they overlap since that won't > be visible > * Always positioned on the exact same x-position relative to the left > page margin > * Just apply on entire building blocks (such as paragraphs, a title > etc) > > However, that would need some form of tagging in the AT, that is > lifted from the transform stage. That is, ideally I'd like to be able > to add a myns:changed="true" attribute to my input docbook blocks, and > that would result in <block> elements in the AT that are decorated in > such a way that I can pick it up. > > I can't just add a border-left at the fo level though, because the > changed blocks might be part of a variable list or other types of > elements that aren't flush with the left edge. > > Has anybody done something like this? Does it sound silly? Any other > suggestions for workarounds? > > Regards, > /Fredrik > -- Dr.-Ing. Stephan Thesing Elektrastr. 50 81925 München GERMANY NEU: FreePhone - kostenlos mobil telefonieren und surfen! Jetzt informieren: http://www.gmx.net/de/go/freephone --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org