Re: Building fop from source on debian
This should not happen. I looks like an error in the order of the build targets. How did you run the build? Which ant version and which java in which version are you using? Builds on debian are no different from builds on other systems. The ant build specifies the class path, and therefore cannot be thrown off by different versions elsewhere in the system. On Mon, Aug 22, 2011 at 04:16:05PM +0200, Mathieu Malaterre wrote: > Dear all > > I am trying to build fop from source on a debian machine, and I am > getting this odd compilation error: > > BUILD FAILED > /home/mathieu/debian/pkg-java/trunk/fop/fop-1.0/build.xml:374: > java.lang.NullPointerException > > By any chance would anyone knows what is going on ? Searching on > internet it looks like the main difference is the version of qdox used > (debian uses 1.12) while fop seems to be shipped with 1.6.3 > > Reported as: > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638532 Your build errors are not fop bugs, unless proven. No thanks. Simon - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Problem with repeatables,
On 22/08/2011 16:38, Theresa Jayne Forster wrote: Hi Theresa, I may be making a stupid mistake but I can’t see whats the problem, I have the following margin-left="{$bleed + 15}mm" margin-right="{15 + $bleed}mm" column-count="2" column-gap="4mm" z-index="4"/> margin-left="{$bleed + 15}mm" margin-right="{15 + $bleed}mm" column-count="2" column-gap="4mm" z-index="4"/> extent="{$footerHeight + $bleed}mm" z-index="2"/> page-position="first"/> page-position="rest"/> The first page is fine, the second page is fine – except that the margins have not changed with the second page, and are still using the first page margins, What am I doing wrong? It's difficult to tell with just an XSLT snippet. Can you provide the XSL-FO instead? You can use the -foout command line option to get the XSL-FO. The problem should be much easier to spot in the XSL-FO, rather than looking at lots of formulas with unknown values Thanks, Chris Kindest regards Theresa Forster Senior Software Developer - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Building fop from source on debian
Dear all I am trying to build fop from source on a debian machine, and I am getting this odd compilation error: BUILD FAILED /home/mathieu/debian/pkg-java/trunk/fop/fop-1.0/build.xml:374: java.lang.NullPointerException at org.apache.fop.tools.EventProducerCollector.createMethodModel(EventProducerCollector.java:142) at org.apache.fop.tools.EventProducerCollector.processEventProducerInterface(EventProducerCollector.java:130) at org.apache.fop.tools.EventProducerCollector.scanFile(EventProducerCollector.java:100) at org.apache.fop.tools.EventProducerCollectorTask.processFileSets(EventProducerCollectorTask.java:213) at org.apache.fop.tools.EventProducerCollectorTask.execute(EventProducerCollectorTask.java:69) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1360) at org.apache.tools.ant.Project.executeTarget(Project.java:1329) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1212) at org.apache.tools.ant.Main.runBuild(Main.java:801) at org.apache.tools.ant.Main.startAnt(Main.java:218) at org.apache.tools.ant.Main.start(Main.java:180) at org.apache.tools.ant.Main.main(Main.java:269) By any chance would anyone knows what is going on ? Searching on internet it looks like the main difference is the version of qdox used (debian uses 1.12) while fop seems to be shipped with 1.6.3 Thanks Reported as: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638532 -- Mathieu - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: different footer for last page
Thanks for the help, worked great. Could have sworn I had tried moving them, but guess not. -Original Message- From: champagne_chary [mailto:anto...@champers.co.uk] Sent: Friday, August 19, 2011 6:53 PM To: fop-users@xmlgraphics.apache.org Subject: Re: different footer for last page Hello, Not sure if I am right given i am a true beginner with all of this.. however if you change the order and put the last page headers above then it works for me.. the way around that you have it for some reason it doesn't. Regards Furst, Tom wrote: > > Hello, > > I am having problems getting a different footer on the final page of PDFs > I am generating from FOP 1.0. I have the following in my stylesheet: > > > >master-reference="page"/> >master-reference="page-even"/> >page-position="last" master-reference="page-last"/> >page-position="last" master-reference="page-even-last"/> > > > > I have created the simple-page-master for each, page-last and > page-even-last, where I identified the new region-after for each. > > Does FOP support the use of the 'page-position' property? I am getting my > different headers/footers for even odd, just not for the last page. Any > help will be much appreciated. > > Thanks, > > Tom > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -- View this message in context: http://old.nabble.com/different-footer-for-last-page-tp32295614p32299041.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
RE: different footer for last page
That makes perfect sense. FO checks the conditionals in the order listed and stops when it finds the first whose conditions are all satisfied. Generally speaking, you should always put the more specific conditionals before the less specific. Eric Amick Systems Engineer II Legislative Computer Systems > -Original Message- > From: champagne_chary [mailto:anto...@champers.co.uk] > Sent: Friday, August 19, 2011 18:53 > To: fop-users@xmlgraphics.apache.org > Subject: Re: different footer for last page > > > Helo, Not sure if I am right given i am a true beginner with all of > this.. > > however if you change the order and put the last page headers above > then it > works for me.. the way around that you have it for some reason it > doesn't. > > > > >master-reference="page-master-177027616-even-last" odd-or-even="even" > page-position="last"/> >master-reference="page-master-177027616-odd-last" odd-or-even="odd" > page-position="last"/> >master-reference="page-master-177027616-even" odd-or-even="even"/> >master-reference="page-master-177027616-odd" odd-or-even="odd"/> > > > > > > Regards > > > Furst, Tom wrote: > > > > Hello, > > > > I am having problems getting a different footer on the final page of > PDFs > > I am generating from FOP 1.0. I have the following in my stylesheet: > > > > > > > > > master-reference="page"/> > > > master-reference="page-even"/> > > > page-position="last" master-reference="page-last"/> > > > page-position="last" master-reference="page-even-last"/> > > > > > > > > I have created the simple-page-master for each, page-last and > > page-even-last, where I identified the new region-after for each. > > > > Does FOP support the use of the 'page-position' property? I am > getting my > > different headers/footers for even odd, just not for the last page. > Any > > help will be much appreciated. > > > > Thanks, > > > > Tom > > > > > > - > > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > > For additional commands, e-mail: fop-users- > h...@xmlgraphics.apache.org > > > > > > > > -- > View this message in context: http://old.nabble.com/different-footer- > for-last-page-tp32295614p32299041.html > Sent from the FOP - Users mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: fo:marker bleeding issue [fop 0.95 & FOP 1.0]
Hi, Sorry for the delay in responding. As Chris mentioned, there are some limitations. However, you can email me directly to help get you started. Markers are not my favorite subject, but once you get the hang of them you can do some really cool stuff. Phil champagne_chary wrote: > > One line is all it need.. If only I could get to grips with the method > used/ see how xslt is formated to produce given xsl.fo > -- View this message in context: http://old.nabble.com/fo%3Amarker-bleeding-issue--fop-0.95---FOP-1.0--tp29532209p32310558.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org