RE: Implementing Change bars

2013-06-20 Thread Bonekrusher
try this... http://www.w3.org/1999/XSL/Transform"; xmlns:r="http://nwalsh.com/xmlns/extreme2006/recipes/"; xmlns="http://www.w3.org/1999/xhtml"; xmlns:fn="http://www.w3.org/2005/xpath-functions"; xmlns:fo="http://www.w3.org/1999/XSL/Format"; version="1.0"> http://www.w3.or

RE: Implementing Change bars

2013-06-20 Thread drevivo
using start-indent or end-indent on the fo:block has the same result as using margin using padding does not work either the padding-left / padding-right has no effect on the text Thanks,David -- View this message in context: http://apache-fop.1065347.n

RE: Implementing Change bars

2013-06-20 Thread Bonekrusher
Dont use margins, use start-indent or end-indent on the fo:block instead of margin. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Change-bars-tp16058p38770.html Sent from the FOP - Users mailing list archive at Nabble.com. ---

RE: Implementing Change bars

2013-06-20 Thread drevivo
Hi, your sample works because you removed the left and right margin from the "note" fo:block. I need this margin. The layout for a note and many other elements need to be indented. any suggestions? David -- View this message in context: http://apache-fop.

RE: Implementing Change bars

2013-06-20 Thread Bonekrusher
See below. The key is how you set up your page layout. text with revbar text in a note No revbar text in a note with revbar no rev bar xslt: http://www.w3.org/1999/XSL/Transform"; xmlns:r="http://nwalsh.com/xmlns/extreme2006/rec

RE: Implementing Change bars

2013-06-20 Thread drevivo
here is a simplified fully functioning xml and xsl. ThanksDavid xml text with revbar text in a note No revbar text in a note with revbar xsl http://www.w3.org/1999/XSL/Transform"; xmlns:r="http://nwalsh.com/xmlns/extreme2006/recipes/"; x

RE: Implementing Change bars

2013-06-19 Thread Bonekrusher
Hi David, I would need to see a sample of the xml as well as the xslt to help more. But basically you need to use XSLT axes http://www.w3schools.com/xpath/xpath_axes.asp to test node conditions. -- View this message in context: http://apache-f

RE: Implementing Change bars

2013-06-19 Thread drevivo
I am sorry, i did not understand. if I put the rev.bar template on the note how would I check when the first p in the note does not need a rev bar and the second does.if my understanding of xslt is correct, in this sample the code would only get to the note template 1 time. my expected result ne

RE: Implementing Change bars

2013-06-19 Thread Bonekrusher
Hi David, Remember you are using XSLT. You can wrap the rev.bar template call in a choose/if statement and check if a condition is met to apply the template rev.bar. e.g. if child::p/@change='true' -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Cha

RE: Implementing Change bars

2013-06-19 Thread drevivo
But the note template does not need a revbar only the second P needs the revbar David -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Change-bars-tp16058p38736.html Sent from the FOP - Users mailing list archive at Nabb

RE: Implementing Change bars

2013-06-19 Thread Bonekrusher
Note sure if this work, but try calling on the the note template. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Change-bars-tp16058p38735.html Sent from the FOP - Users mailing list archive at Nabble.com. --

RE: Implementing Change bars

2013-06-19 Thread drevivo
create a template match for "note/p" Thanks,David Date: Tue, 18 Jun 2013 07:33:37 -0700 From: ml-node+s1065347n38720...@n5.nabble.com To: drev...@hotmail.com Subject: RE: Implementing Change bars the outer most fo:block... If should work with alternating page margins. My odd pa

RE: Implementing Change bars

2013-06-18 Thread Bonekrusher
the outer most fo:block... If should work with alternating page margins. My odd pages have a 1 inch margin on the left and my even has a 1in margin on the right and it works. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Change-bars-tp16058p38720.html

RE: Implementing Change bars

2013-06-18 Thread drevivo
From: ml-node+s1065347n38718...@n5.nabble.com To: drev...@hotmail.com Subject: Re: Implementing Change bars I have been able to use the following with XSLT to render change bars with much success: . black

Re: Implementing Change bars

2013-06-18 Thread Bonekrusher
I have been able to use the following with XSLT to render change bars with much success: . black white white solid

Re: Implementing Change bars

2013-06-18 Thread drevivo
Hi Stephan, I wanted to know if this feature was checked in. Thanks, David -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Implementing-Change-bars-tp16058p38717.html Sent from the FOP - Users mailing list archive at Nabble.com. --

Re: Implementing Change bars

2009-09-02 Thread Stephan Thesing
Hello, just a short status / question update. I have added the fo:change-bar-begin/end elements with their properties. Validation is also implemented, but: - In contrast to the other fo: elements, the change-bar-* elements are allowed to occur everywhere, as long as they have an fo:flo

Re: Implementing Change bars

2009-08-21 Thread Andreas Delmelle
On 21 Aug 2009, at 11:32, Vincent Hennebert wrote: Hi Vincent Sorry, I thought you didn’t see that part. Well it’s pretty clear to me then. Just generate empty areas with a border-end. That indeed seems the most straightforward way to get it implemented with as little effort as possible.

Re: Implementing Change bars

2009-08-21 Thread Vincent Hennebert
Andreas Delmelle wrote: > On 20 Aug 2009, at 12:25, Vincent Hennebert wrote: > >> Andreas Delmelle wrote: >> >>> No real areas need to be generated, IIC. At most dummy areas, since the >>> change bars are actually no more than additional borders. I wonder if we >>> could get away with partial bor

Re: Implementing Change bars

2009-08-20 Thread Andreas Delmelle
On 20 Aug 2009, at 12:25, Vincent Hennebert wrote: Andreas Delmelle wrote: No real areas need to be generated, IIC. At most dummy areas, since the change bars are actually no more than additional borders. I wonder if we could get away with partial border painting on the existing flow- area

Re: Implementing Change bars

2009-08-20 Thread Vincent Hennebert
Hi, Andreas Delmelle wrote: > No real areas need to be generated, IIC. At most dummy areas, since the > change bars are actually no more than additional borders. I wonder if we > could get away with partial border painting on the existing flow-area(?) In the description of the fo:page-sequence o

Re: Implementing Change bars

2009-08-19 Thread Andreas Delmelle
On 14 Aug 2009, at 08:53, Stephan Thesing wrote: Hi Stephan, Has anybody started to integrated support for the 1.1 fo:begin/end-change-bar elements into FOP? Not really, but I did have a closer look at some of the requirements in the XSL-FO Rec. a while ago, and in my local sandbox, I seem

Re: Implementing Change bars

2009-08-17 Thread Jean-François El Fouly
We're very interested in this feature ! We've emulated this feature with tables and borders so far but it is a much less-than-perfect solution. So we would be glad to discuss it (in the dev list ?) and are certainly willing to help test it. (Nevertheless, the little time I have to devote to

Re: Implementing Change bars

2009-08-17 Thread Jean-François El Fouly
We're very interested in this feature ! We've emulated this feature with tables and borders so far but it is a much less-than-perfect solution. So we would be glad to discuss it (in the dev list ?) and are certainly willing to help test it. (Nevertheless, the little time I have to devote to

Re: Implementing Change bars

2009-08-14 Thread Vincent Hennebert
Hi Stephan, Welcome! You should subscribe to the fop-dev mailing list if you haven’t already. http://xmlgraphics.apache.org/fop/dev/index.html#mail-fop-dev Any implementation details shall be discussed there. The following page may be helpful to set up your development environment: http://wiki.a

Re: Implementing Change bars

2009-08-14 Thread Jeremias Maerki
Hi Stephan, to my knowledge there's noone currently working on that. If you look in the archives, you'll see that there's precious little discussion about change bars: http://fop-dev.markmail.org/search/?q=%22change%20bars%22 I haven't looked into change bars, yet, so I can't really offer any advi