Re: image on every pdf page
you are right my static-content region wasn't big enough. thanks for your help [EMAIL PROTECTED] wrote: I think you want height' and width NOT content-height and content-width on your external-graphic. Make your static-content region-before real big for testing (extent=2in), then trim it down. If the image doesn't fit in the static region it will be blank. I bet the static region is working when it's not showing, you just need to make the region larger because your graphic height and width are not sizeing correctly. I found I had to leave a buffer zone. Other Thoughts: make sure your using a repeatable-page-master of some type (not a single-page-master-reference) in your page-sequence-master. fop-dev-return-10566-jthaemlitz=oreillyauto.com@XML. APACHE.ORG To: [EMAIL PROTECTED] cc: 09/26/01 02:50 PM Subject: Re: image on every pdf page Please respond to fop-dev My code is listed below...the image does not show up in the pdf fo:static-content flow-name=xsl-region-before fo:block fo:external-graphic src=http://localhost:8100/somepic.gif; content-height=3cm content-width=8cm/ /fo:block /fo:static-content If i take out the static -content tag the picture shows up one page [EMAIL PROTECTED] wrote: You need to set up the static content areas (you probably already have region-before and region-after in your simple-page-master). You'll want to put in one of the following in your page-sequence depending on where you want it to show up. static-content flow-name=xsl-region-before (for English TOP area) static-content flow-name=xsl-region-after (for English BOTTOM area) static-content flow-name=xsl-region-start (for English LEFT area) static-content flow-name=xsl-region-end (for English RIGHT area) JohnPT fop-dev-return-10563-jthaemlitz=oreillyauto.com@XML. APACHE.ORG To: [EMAIL PROTECTED] cc: 09/26/01 01:05 PM Subject: image on every pdf page Please respond to fop-dev I have images working .. fo:block fo:external-graphic src=http://localhost:8100/somepic.gif content-height=3cm content-width=8cm/ /fo:block Is there a way so that this image is always on a page when a page break occurs in the pdf file.(kindda like page numbers..) thanks Amit - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Page Breaks
Is there a way to insert a bage break in the pdf that I am trying to generate using a xsl fo tag in my xsl file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Page Breaks
Yes, use the break-before and break-after-properties in your FO file. See section 7.19 of the specs. Carmelo - Original Message - From: Amit [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 27, 2001 10:00 AM Subject: Page Breaks Is there a way to insert a bage break in the pdf that I am trying to generate using a xsl fo tag in my xsl file? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: [PATCH] BasicLink extends Inline the 2nd
The BasicLink does now extend Inline. All makers should only extend FObj.Maker. Removing parts that are yet to be implemented properly should wait until we have a better understanding of how the properties are going to be used. On Fri, 28 Sep 2001 00:17:30 Enrico Schnepel wrote: Hello, About one month ago I've send a patch to extend Basiclink from Inline and not from FObjMixed. There wasn't any reaction. The original email body was: I have the problem that I want to specify other inline related properties than color ( like text-decoration=underline ) to basic-link. These are currently not supported by BasicLink. BasicLink currently extends FObjMixed. I have changed BasicLink to extends Inline and removed double code. This results in visual properties handled by Inline and the LinkSet is set up by BasicLink. I have attached the patch Enrico The patch follows now SNIP Index: src/org/apache/fop/fo/flow/BasicLink.java === RCS file: /home/cvspublic/xml-fop/src/org/apache/fop/fo/flow/BasicLink.java,v retrieving revision 1.8 diff -r1.8 BasicLink.java 23c23 public static class Maker extends FObj.Maker { --- public static class Maker extends Inline.Maker { 44,78d43 // Common Accessibility Properties AccessibilityProps mAccProps = propMgr.getAccessibilityProps(); // Common Aural Properties AuralProps mAurProps = propMgr.getAuralProps(); // Common Border, Padding, and Background Properties BorderAndPadding bap = propMgr.getBorderAndPadding(); BackgroundProps bProps = propMgr.getBackgroundProps(); // Common Margin Properties-Inline MarginInlineProps mProps = propMgr.getMarginInlineProps(); // Common Relative Position Properties RelativePositionProps mRelProps = propMgr.getRelativePositionProps(); // this.properties.get(alignment-adjust); // this.properties.get(alignment-baseline); // this.properties.get(baseline-shift); // this.properties.get(destination-place-offset); // this.properties.get(dominant-baseline); // this.properties.get(external-destination); // this.properties.get(id); // this.properties.get(indicate-destination); // this.properties.get(internal-destination); // this.properties.get(keep-together); // this.properties.get(keep-with-next); // this.properties.get(keep-with-previous); // this.properties.get(line-height); // this.properties.get(line-height-shift-adjustment); // this.properties.get(show-destination); // this.properties.get(target-processing-context); // this.properties.get(target-presentation-context); // this.properties.get(target-stylesheet); SNIP - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
[GUMP] Build Failure - Fop
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2001-09-28/xml-fop.html Buildfile: build.xml init-avail: init-filters-xalan1: init-filters-xalan2: [copy] Copying 1 file to /home/rubys/jakarta/xml-fop/build/src/codegen init: [echo] --- Fop 0.20.1 [1999-2001] prepare: [echo] Preparing the build directories [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/fo/properties [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/render/pdf/fonts [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/src/org/apache/fop/svg [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/conf [mkdir] Created dir: /home/rubys/jakarta/xml-fop/build/classes/hyph [copy] Copying 3 files to /home/rubys/jakarta/xml-fop/build/classes/conf codegen: [echo] Resetting codegen directory [copy] Copying 35 files to /home/rubys/jakarta/xml-fop/build/src/codegen [echo] Generating the java files from xml resources [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/allprops.xml [xslt] style: ./build/src/codegen/genconst.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/Constants.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/properties.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/propmap.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/FOPropertyMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/foproperties.xml [xslt] style: ./build/src/codegen/enumgen.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/foenums_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/properties.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/ext_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/propmap.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/ExtensionPropertyMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/extproperties.xml [xslt] style: ./build/src/codegen/enumgen.xsl [xslt] out: ./build/src/org/apache/fop/fo/properties/extenums_ignore_this.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/charlist.xml [xslt] style: ./build/src/codegen/code-point-mapping.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/CodePointMapping.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/Courier.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-Oblique.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierOblique.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-Bold.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBold.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Courier-BoldOblique.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBoldOblique.java [xslt] [xslt] [xslt] xslt [xslt] in: ./build/src/codegen/Helvetica.xml [xslt] style: ./build/src/codegen/font-file.xsl [xslt] out: ./build/src/org/apache/fop/render/pdf/fonts/Helvetica.java [xslt] [xslt] [xslt] xslt [xslt] in:
Re: Build failure
Late night, and increasingly unreliable memory (this is something for you to look forward to) as evidenced by my thinking I was on 1.3.1. Thanks. Peter Keiron Liddle wrote: Try compiling with jdk1.2 - jdk1.3. Using jdk1.4 won't work. Didn't you mention this before? (late night?) Unfortunately it cannot be changed to compile on both as the VolatileImage class is 1.4 only. On Thu, 27 Sep 2001 16:23:04 Peter B. West wrote: -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest Lord, to whom shall we go? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
how FOP uses fonts
Hi all, I am working On adding arbic fonts to FOP. Do anyone know how FOP uses fonts? should I alter or add some classes? or just configure FOP? any help will be welcome. with regards, adel ___ Send a cool gift with your E-Card http://www.bluemountain.com/giftcenter/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
XSLTInputHandler constructor for InputSources?
Would it cause problems to provide an alternate constructor for XSLTInputHandler ... ? XSLTInputHandler(InputSource xmlsource, InputSource xsltsource) in addition to: XSLTInputHandler(File xmlfile, File xsltfile) I am working with XML which is streamed directly out of a repository, not a file, and could get rid of a bunch of lines of redundant code in my app if I could use FOP's XSLTInputHandler instead. If this makes sense, let me know and I'll be happy to provide a patch. - Rob -- Rob Heittman cluestream ventures | effective information management research, development, analysis and consulting http://www.cluestream.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: XSLTInputHandler constructor for InputSources?
I am in the exact same situation as far as my xml source. I've currently been using a DOM XSLT transform and sending that result to FOP. I built the latest CVS so I could try SAX (since the SAX input is broken in .20.1). But as you'll see below, the times seem about the same. I also don't know what to do about the logger errors in the latest cvs. And finally I really like the way .20.1 shows you where the page breaks are as it reports it's progress back to the program. Is that gone for good? I think keeping the page numbers in rows rather than streaming down the screen makes the console output easier to read for developers. By the way I did a little rough benchmarking on FOP embedded in a servlet. (I'm running on a Weblogic development box - Wintel - P-III - 933). I tried three different methods: a DOM source, a SAX stream from an XSLT transfrom, and the XSLTInputHandler (I serialzed the xml source out to a file). The XSLT transform is pretty simple as the xml-data is already well structured. Interestingly all three took between 50-51 seconds to render a ~5000 line report into a 300k, 200 page PDF document (there were a lot of page breaks). I'm thinking that's not too bad. Especially since in our case I don't think the end user will be able to tell the difference between render time and download time. Do these numbers sound about right? -Matt Rob Heittman wrote: Would it cause problems to provide an alternate constructor for XSLTInputHandler ... ? XSLTInputHandler(InputSource xmlsource, InputSource xsltsource) in addition to: XSLTInputHandler(File xmlfile, File xsltfile) I am working with XML which is streamed directly out of a repository, not a file, and could get rid of a bunch of lines of redundant code in my app if I could use FOP's XSLTInputHandler instead. If this makes sense, let me know and I'll be happy to provide a patch. - Rob -- Rob Heittman cluestream ventures | effective information management research, development, analysis and consulting http://www.cluestream.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]