Re: Build problems... please help/advise...
Hi, I'm new to FOP, just joined the mailing list and I'm not sure what exactly is going on so I'd *really* appreciate it if someone could explain how to build FOP from the latest src (if it is even possible). I've been unable to build FOP from the src archive as of 3/11. A couple of the error messages I get are: I just did a build and it seems fine. The problem appears to be the version of batik that you have in the classpath. The batik javadocs you are refering to below are from june and are probably outdated. Make sure you are using the version of batik from cvs and there is no other batik in the classpath. [javac] /Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/image/ analyser/SVGReader.java:204: Method createSVGDocument(java.lang.String, java.io.InputStream) not found in class org.apache.batik.dom.svg.SAXSVGDocumentFactory [javac] SVGDocument doc = (SVGDocument) factory.createSVGDocument(uri, fis); [javac] /Users/bkylberg/Projects/xml-fop/src/java/org/apache/fop/render/ps/ PSTextPainter.java:93: class org.apache.fop.render.ps.PSTextPainter must be declared abstract. It does not define java.awt.geom.Rectangle2D getBounds(org.apache.batik.gvt.TextNode) from interface org.apache.batik.gvt.TextPainter. and so on until the build fails... The first error can be corrected by calling createDocument instead of createSVGDocument. createSVGDocument is an undefined API on SAXSVGDocumentFactory so I'm not sure how anyone has been able to compile this (ref: http://xml.apache.org/batik/javadoc/org/apache/batik/dom/svg/ SAXSVGDocumentFactory.html ). The second error is due to the fact that PSTextPainter claims to implement TextPainter (ref: http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/ TextPainter.html ) but is in fact missing API implementations, among which getBounds is one. In fact I believe the implementation of PSTextPainter.getOutline(TextNode node) is altogether wrong insofar as PROXY_PAINTER isa StrokingTextPainter whose getOutline method takes a TextNode *and* a boolean (ref: http://xml.apache.org/batik/javadoc/org/apache/batik/gvt/renderer/ StrokingTextPainter.html ). According to the mailing list archives PSTextPainter was recently submitted and added to the repository (ref: http://marc.theaimsgroup.com/?l=fop-devm=104737262930539w=2 and http://marc.theaimsgroup.com/?l=fop-devm=104735385419249w=2 ). Perhaps everyone is using a different version of Java than I am ;-) but if not, then I'm wondering how anyone is able to build FOP given these defects? Am I the only one whose tried to build FOP from scratch in the past 2 days? Any advice would be greatly appreciated. -- Bob - 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: Build problems... please help/advise...
Keiron, Great! Thanks for the recommendation... indeed I had an older version of Batik sneaking into the build; tricky jars :-) In case anyone has this trouble in the future, I was able to figure out which jar was being loaded by editing the build.xml file line 401 from: javac destdir=${build.dest} debug=${debug} deprecation=${deprecation} optimize=${optimize}> to be: javac verbose=true destdir=${build.dest} debug=${debug} deprecation=${deprecation} optimize=${optimize}> Now, the compile is going through but I'm hanging on SerializeHyphPattern (here's the dump...): compile-src: [echo] Compiling the sources [javac] Compiling 7 source files to /Users/bkylberg/Projects/xml-fop/build/classes compile-jimi: compile-jai: compile-jce: compile: hyphenation: BUILD FAILED file:/Users/bkylberg/Projects/xml-fop/build.xml:446: taskdef class org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found I noticed that Sam Ruby had a similar problem and Jeremias apparently corrected it; but I'm not sure how. Any recommendations? -- Bob On Thursday, March 13, 2003, at 06:40 PM, Keiron Liddle wrote: Hi, I'm new to FOP, just joined the mailing list and I'm not sure what exactly is going on so I'd *really* appreciate it if someone could explain how to build FOP from the latest src (if it is even possible). I've been unable to build FOP from the src archive as of 3/11. A couple of the error messages I get are: I just did a build and it seems fine. The problem appears to be the version of batik that you have in the classpath. The batik javadocs you are refering to below are from june and are probably outdated. Make sure you are using the version of batik from cvs and there is no other batik in the classpath.
Re: Build problems... please help/advise...
(Comments inline) On 14.03.2003 07:05:08 Robert Kylberg wrote: Keiron, Great! Thanks for the recommendation... indeed I had an older version of Batik sneaking into the build; tricky jars :-) In case anyone has this trouble in the future, I was able to figure out which jar was being loaded by editing the build.xml file line 401 from: javac destdir=${build.dest} debug=${debug} deprecation=${deprecation} optimize=${optimize} to be: javac verbose=true destdir=${build.dest} debug=${debug} deprecation=${deprecation} optimize=${optimize} You can get that easier by specifying build -verbose on the command line. No modification of the build.xml necessary. Now, the compile is going through but I'm hanging on SerializeHyphPattern (here's the dump...): compile-src: [echo] Compiling the sources [javac] Compiling 7 source files to /Users/bkylberg/Projects/xml-fop/build/classes compile-jimi: compile-jai: compile-jce: compile: hyphenation: BUILD FAILED file:/Users/bkylberg/Projects/xml-fop/build.xml:446: taskdef class org.apache.fop.tools.anttasks.SerializeHyphPattern cannot be found I noticed that Sam Ruby had a similar problem and Jeremias apparently corrected it; but I'm not sure how. Any recommendations? :-) I wasn't really Sam Ruby who had a problem, it was Gump (http://jakarta.apache.org/gump) that had problems and it was Gump that sent a nag mail to the mailing list notifying us of a build problem. The problem is probably unrelated to what you're experiencing. Are you using Ant 1.4 or older? Maybe it's because of that. Anyway, if you don't have anything in your CLASSPATH environment variable (which is usually a bad idea) and are using the build.bat script we supply you shouldn't have any problems building FOP. If you have problems building it's usually a good idea to try build clean followed by build to force a full rebuild. The above seems to be a partial build. Good luck. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Duplex printing problem. Please help.
Hi. I have problem with printing on duplex printer HP LaserJet IIISi. Report have 2 pages. If I am printing simplex - Ok. But if I am trying to print duplex only one side is printing, but printer flipping the page and indicate that it is duplex printing. The second page is going to another page, like simplex printing. I did check, there are only 2 pages, nothing between. This is page declaration: fo:layout-master-set fo:simple-page-master master-name=first page-height=27cm page-width=21cm margin-top=0.5cm margin-bottom=0.5cm margin-left=2cm margin-right=1cm /fo:simple-page-master /fo:layout-master-set Using FOP 0.20.3. Printing from AWT preview window. Sincerely yours, Ivan Latysh. [EMAIL PROTECTED] http://ivan.yourmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Sorry that I am askin here, but I couldn't find solution over the net. Please help.
Hi All. Question about my template. I am trying to create a new page for each customerrecord. And I am getting an exception that flow mast have child block. Please help me a little or point me somewhere on the web to get it working. fo:layout-master-set fo:simple-page-master master-name=engl1 /fo:simple-page-master /fo:layout-master-set fo:page-sequence master-reference=engl1 fo:flow flow-name=xsl-region-body xsl:apply-templates/ /fo:flow /fo:page-sequence xsl:template match=customer/record/ /xsl:template Actually I have xml file with this kind og structure: cutomer record titlea/title /record record titleb/title /record /customer Sincerely yours, Ivan Latysh. [EMAIL PROTECTED] http://ivan.yourmail.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Please help, even if it's just a reply that it can't be done
Scott Moore [EMAIL PROTECTED] wrote: I cross-posted this several days ago and didn't get a single reply. Before i get to the meat, a net.cop note: Use meaningful subjects, don't mention crossposting (even if it is justified in the first place), don't bother the gurus in the dev lists, there are user lists. Is the problem in my XSL-FO? Is the problem in my SVG? Is the problem with Batik? Is the problem with FOP? Well, ultimately the problem is caused by a somewhat unlucky choice of the SVG standards group... An I/O error occured while processing the URI 'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle The url(#PurpleToWhite) in your circle element is a relative URL which was resolved to the absolute URL in the error message above, which, as it apparently represents a directory, is not a good source for SVG gradients. The reason why you got the absolute URL above depends on how you invoked FOP and perhaps a few other circumstances. In any case it has to point to a valid SVG file (or at least XML). This may be somewhat problematic as you probably generate the SVG inline in the FO tree. You could try 1. Have a separate SVG file and use it with fo:external-graphics 2. Have a separate SVG which contains only the gradient (and perhaps other SVG stuff you want to reference) and point an absolute URL to it: fill=url(file:///c:/refstuff/grad.svg#PurpleToWhite) 3. Same as above but use a relative URL fill=url(grad.svg#PurpleToWhite) This may be easier to deploy. Put the file in D:/Projects/Dev. 4. Let the URL refer to some location where the gradient could be retrieved, for example if the SVG code is embedded in your XSL, try fill=url(my.xsl#PurpleToWhite). Don't know whether this works, or whether this is even supposed to work. Expect a performance hit in all cases. Ultimately, both FOP and especially Batik should be fixed to make your code work as expected, but this will not only take some time but also some efford by a standard committee in order to make the semantics of this kind of references in embedded SVG clearer. HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Please help, even if it's just a reply that it can't be done
Scott Moore [EMAIL PROTECTED] wrote: Sorry about the subject line, but my previous subject SVG Problem with FOP got no replies. I read it but had real work to do. However, it still can't locate the gradient definition. It gives the following error An I/O error occured while processing the URL 'file:C:/Projects/Dev/Gradient.svg#PurpleToWhite' Try an absolute URL, with emphasis to the triple slash, as this is the correct form for file URLs. file:///C:/Projects/Dev/Gradient.svg#PurpleToWhite Check the location carefully. If this succeeds, you could try to set the baseDir configuration parameter to file:///C:/Projects/Dev/, search the FOP doc for how to do this (presumably in the userconfig.xml). The exception generated by Batik now identifies the correct file, but still can't seem to locate the gradient definition. The I/O-Error seems to indicate the generic problem of not getting some or all of the content of the file. Changing the content wont fix this. You may have to experiment a bit. For example, try access a small GIF from this directory as fo:external-graphic. If FOP gets an error with the GIF file, it's the directory or the URL syntax or something more general. If the GIF shows up, it's your SVG file, perhaps you should check well-formedness or SVG-validity or whatever. I really can't help much further, you'll have to solve the problem for yourself. HTH J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please help, even if it's just a reply that it can't be done
I cross-posted this several days ago and didn't get a single reply. If someone could please let me know what the problem is, I would greatly appreciate it. Even if it means that my SVG cannot use defs in FOP. Is the problem in my XSL-FO? Is the problem in my SVG? Is the problem with Batik? Is the problem with FOP? I figure it's got to be one of the above. Thanks very much, Scott PS. What version of Batik comes with FOP 0.20.3rc? - Original Message - From: Scott Moore To: FOP User Sent: Friday, January 25, 2002 10:43 AM Subject: SVG Problem with FOP I'm trying to embed the following SVG into my XSL-FO and run it thru FOP (0.20.3rc). Although the SVG looks fine using Adobe's SVG viewer and Batik's viewer, I get an error (below) from FOP. Apparently, it doesn't like the url() reference to the radialGradient. How can I get this to work? Thanks for any help, Scott svg width=3.5in height=1in viewBox=0 0 680 200 xmlns= http://www.w3.org/2000/svg http://www.w3.org/2000/svg preserveAspectRatio=none g defs radialGradient id=PurpleToWhite gradientUnits=objectBoundingBox cx=.5 cy=.5 r=.5 stop offset=5% stop-color=white/ stop offset=100% stop-color=rgb(100,0,100)/ /radialGradient /defs rect fill=black stroke=black x=0 y=0 width=680 height=200/ circle r=80 cx=270 cy=100 fill=url(#PurpleToWhite)/ text font-family=Times font-size=135pt x=213 y=160 fill=whiteD/text /g /svg An I/O error occured while processing the URI 'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle org.apache.batik.bridge.BridgeException: file:D:/Projects/Dev/:-1 An I/O error occured while processing the URI 'file:D:/Projects/Dev/#PurpleToWhite' specified on the element circle at org.apache.batik.bridge.BridgeContext.getReferencedElement(Unknown So urce) at org.apache.batik.bridge.PaintServer.convertURIPaint(Unknown Source) at org.apache.batik.bridge.PaintServer.convertPaint(Unknown Source) at org.apache.batik.bridge.PaintServer.convertFillPaint(Unknown Source) at org.apache.batik.bridge.PaintServer.convertFillAndStroke(Unknown Sour ce) at org.apache.batik.bridge.SVGShapeElementBridge.createShapePainter(Unkn own Source) at org.apache.batik.bridge.SVGShapeElementBridge.buildGraphicsNode(Unkno wn Source) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown Source) at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source) at org.apache.batik.bridge.GVTBuilder.build(Unknown Source) at org.apache.fop.render.pdf.PDFRenderer.renderSVGDocument(PDFRenderer.j ava:413) at org.apache.fop.render.pdf.PDFRenderer.renderSVGArea(PDFRenderer.java: 382) at org.apache.fop.svg.SVGArea.render(SVGArea.java:58) at org.apache.fop.render.pdf.PDFRenderer.renderForeignObjectArea(PDFRend erer.java:366) at org.apache.fop.layout.inline.ForeignObjectArea.render(ForeignObjectAr ea.java:50) at org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRendere r.java:223) at org.apache.fop.layout.LineArea.render(LineArea.java:163) at org.apache.fop.render.AbstractRenderer.renderBlockArea(AbstractRender er.java:192) at org.apache.fop.layout.BlockArea.render(BlockArea.java:82) at org.apache.fop.render.AbstractRenderer.renderAreaContainer(AbstractRe nderer.java:158) at org.apache.fop.render.pdf.PDFRenderer.renderPage(PDFRenderer.java:735 ) at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:700) at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:217) at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81) at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:30 7) at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:200) at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:182) at org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:463) at org.apache.fop.apps.Driver.render(Driver.java:481) at org.apache.fop.apps.Driver.render(Driver.java:501) at org.apache.fop.apps.Driver.run(Driver.java:552) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Help with footer only on first page - please help
At 8:50 am +0200 25/1/02, [EMAIL PROTECTED] wrote: Hi all, Could someone please help me with the correct way to implement a footer only on the first page? I believe that you need to establish two sequences of master pages, and use one (which has the footer) on the first page, and the other for the remainder. This might be an FAQ. You can certinly find helpful info on the web exempli gratia URL: http://www.dpawson.co.uk/xsl/sect3/headers.html Ben - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Please help...
At 9:15 am + 23/1/02, Nick Winger wrote: hi ! i have three questions using fop ( with tables ): 1. i want to generate a pdf dynamically using java. now first i write a dynamically fo file (formatted objects): on the pages there is always a text ( form start to the middle of the page) and below ( the other half os the page) an image: now when i write the text in java: how can i recognize when i reach the half of the page ? should i divide the half page points with the font-height and count the rows ? I don't think that FOP can do this. Would you get what you wanted if you put the image in a footer. I doubt that counting the rows is the way to go. 2. is it possible to have two different font-sizes in one column of a table? Yes. 3. can i turn the bottom cell line (border) of a cell off ? I don't know. Ben. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: Please help...
how do i get an image in the footer ? how is the footer and header adressed ? thanks nick -Ursprüngliche Nachricht- Von: ewitness - Ben Fowler [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 28. Januar 2002 14:21 An: [EMAIL PROTECTED] Betreff: Re: Please help... At 9:15 am + 23/1/02, Nick Winger wrote: hi ! i have three questions using fop ( with tables ): 1. i want to generate a pdf dynamically using java. now first i write a dynamically fo file (formatted objects): on the pages there is always a text ( form start to the middle of the page) and below ( the other half os the page) an image: now when i write the text in java: how can i recognize when i reach the half of the page ? should i divide the half page points with the font-height and count the rows ? I don't think that FOP can do this. Would you get what you wanted if you put the image in a footer. I doubt that counting the rows is the way to go. 2. is it possible to have two different font-sizes in one column of a table? Yes. 3. can i turn the bottom cell line (border) of a cell off ? I don't know. Ben. - 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: Please help...
fo:static-content flow-name=xsl-region-after fo:block start-indent=12.5cm fo:external-graphic src=lang.jpg/ /fo:block /fo:static-content -Original Message- From: Nick Winger [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:26 PM To: [EMAIL PROTECTED] Subject: AW: Please help... how do i get an image in the footer ? how is the footer and header adressed ? thanks nick -Ursprüngliche Nachricht- Von: ewitness - Ben Fowler [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 28. Januar 2002 14:21 An: [EMAIL PROTECTED] Betreff: Re: Please help... At 9:15 am + 23/1/02, Nick Winger wrote: hi ! i have three questions using fop ( with tables ): 1. i want to generate a pdf dynamically using java. now first i write a dynamically fo file (formatted objects): on the pages there is always a text ( form start to the middle of the page) and below ( the other half os the page) an image: now when i write the text in java: how can i recognize when i reach the half of the page ? should i divide the half page points with the font-height and count the rows ? I don't think that FOP can do this. Would you get what you wanted if you put the image in a footer. I doubt that counting the rows is the way to go. 2. is it possible to have two different font-sizes in one column of a table? Yes. 3. can i turn the bottom cell line (border) of a cell off ? I don't know. Ben. - 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]
Re: AW: Please help...
hi there, for an image use this: fo:external-graphic src=file:D:/data/jochen/images/Devachan2.jpg/ footer you can access like this: (i use it successfully) fo:static-content flow-name=xsl-region-after fo:block fo:footnote fo:inline fo:block font-size=10pt font-family=Arialn xsl:text___/xsl:text /fo:block /fo:inline fo:inline fo:block font-size=10pt font-family=Arialn line-height=14pt fo:inline vertical-align=super1/fo:inline fo:inline font-size=10pt font-family=Arialn line-height=14pt Enkel schriftelijke reacties kunnen in aanmerking genomen worden./fo:inline /fo:block /fo:inline fo:inline font-size=10pt font-family=Arialn line-height=5pt vertical-align=super xsl:text __ /xsl:text /fo:inline fo:footnote-body fo:block font-size=10pt font-family=Arialn line-height=11pt fo:table fo:table-column column-width=8.5cm/ fo:table-column column-width=8.5cm/ fo:table-body fo:table-row fo:table-cell fo:block xsl:text/ /fo:block /fo:table-cell fo:table-cell fo:block xsl:text/ /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell fo:block text-align=start font-size=10pt font-family=Arialn xsl:textKBC Securities N.V./xsl:text /fo:block /fo:table-cell fo:table-cell fo:block text-align=end font-size=10pt font-family=Arialn xsl:textBTW BE-437.060.521/xsl:text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell fo:block text-align=start font-size=10pt font-family=Arialn xsl:textHavenlaan 12/xsl:text /fo:block /fo:table-cell fo:table-cell fo:block text-align=end font-size=10pt font-family=Arialn xsl:textHandelsregister 626.457/xsl:text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell fo:block text-align=start font-size=10pt font-family=Arialn xsl:textB-1080 Brussel/xsl:text /fo:block /fo:table-cell fo:table-cell fo:block text-align=end font-size=10pt font-family=Arialn xsl:textRekening KBC Bank 409-6547401-42/ xsl:text /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell fo:block text-align=start font-size=10pt font-family=Arialn xsl:text/ /fo:block /fo:table-cell fo:table-cell fo:block text-align=end font-size=10pt font-family=Arialn xsl:textOnze referte : /xsl:text xsl:value-of select=//Referte/ /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:block /fo:footnote-body /fo:footnote /fo:block /fo:static-content Jochen Maes EDP departement Programmeur KBC-Securities Havenlaan 16 1080 Brussel Tel : 02/429.96.81 Fax : 02/429.17.48 E-mail : [EMAIL PROTECTED] ** This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. You must
Help with footer only on first page - please help
Hi all, Could someone please help me with the correct way to implement a footer only on the first page? Thanx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please help with params - please help
Ok guys, what i really need help with is sending params thru to my XSL sheet, basically, it would be great if someone could please help me with how to use params in XSLT. What i need is some external data to be written on a PDF page, basically a fax cover sheet. The process just before the XSL transform has 2 bits of data that I need to print on the sheet. How can I get it so that I can retrieve them and print the data? Thanx ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** . ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: How to rotate text 90 degrees using fop, please help me???
On 2002.01.10 08:57 Manuel Moons wrote: I want the text to go from the bottom of the page to the top. But if it goes the other way around I can live with it. Can you tell me how you did it using svg:text, because I've also tried it but it seemed that fop could not handle the svg inside the xsl:fo document. So how do I put an svg into my xsl:fo? You could always look at the examples. Then you can use almost any type of svg in your document. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: please help...PCL renderer not formatting properly
ok, i did all that and got the cvs but now neither the pdf or pcl is being rendered. I dont get any errors, no warnings, nothing, it just renders 0 pages and exits normally, any ideas? -Original Message- From: Art Welch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 7:10 PM To: '[EMAIL PROTECTED]' Subject: RE: please help...PCL renderer not formatting properly This was a known problem. I believe that a fix has been committed to CVS, but I do not think that it has been incorporated into a distribution. There was talk of another distribution (last I heard it was planned for early in the new year). The fix should be in CVS, so if you can build from CVS you should be able to get the tables to work correctly. Art -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 6:10 AM To: [EMAIL PROTECTED] Subject: please help...PCL renderer not formatting properly Has anyone else had any problems with the PCL renderer not formatting tables and borders correctly? In PDF the render works great, but as soon as i take the same .FO doc and try transform to PCL, it messes up the borders on my tables...any ideas? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.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] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: please help...PCL renderer not formatting properly
does anyone know if a patch or fix has been made for the pcl problem? -Original Message- From: Art Welch [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 7:10 PM To: '[EMAIL PROTECTED]' Subject: RE: please help...PCL renderer not formatting properly This was a known problem. I believe that a fix has been committed to CVS, but I do not think that it has been incorporated into a distribution. There was talk of another distribution (last I heard it was planned for early in the new year). The fix should be in CVS, so if you can build from CVS you should be able to get the tables to work correctly. Art -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 6:10 AM To: [EMAIL PROTECTED] Subject: please help...PCL renderer not formatting properly Has anyone else had any problems with the PCL renderer not formatting tables and borders correctly? In PDF the render works great, but as soon as i take the same .FO doc and try transform to PCL, it messes up the borders on my tables...any ideas? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.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] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: please help...PCL renderer not formatting properly
You have to make sure you check out with tag fop-0_20_2-maintain. The version you got is the one where the redesign is in progress. On Wed, 9 Jan 2002 11:06:28 +0200 Dudley.Butt wrote: ok, i did all that and got the cvs but now neither the pdf or pcl is being rendered. I dont get any errors, no warnings, nothing, it just renders 0 pages and exits normally, any ideas? Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: please help...PCL renderer not formatting properly
hh ok, now that makes sense, great stuff my friends, thanx for the help! -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:01 PM To: [EMAIL PROTECTED] Subject: Re: please help...PCL renderer not formatting properly You have to make sure you check out with tag fop-0_20_2-maintain. The version you got is the one where the redesign is in progress. On Wed, 9 Jan 2002 11:06:28 +0200 Dudley.Butt wrote: ok, i did all that and got the cvs but now neither the pdf or pcl is being rendered. I dont get any errors, no warnings, nothing, it just renders 0 pages and exits normally, any ideas? Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: please help...PCL renderer not formatting properly
ok, now we're going into something that i've never done before, i've had a look and i see cvs is on linux, could u guys please assist me with the checkout command to get this maintainance version with the tag fop-0_20_2-maintain? Thanx, i would really appreciate it! -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:01 PM To: [EMAIL PROTECTED] Subject: Re: please help...PCL renderer not formatting properly You have to make sure you check out with tag fop-0_20_2-maintain. The version you got is the one where the redesign is in progress. On Wed, 9 Jan 2002 11:06:28 +0200 Dudley.Butt wrote: ok, i did all that and got the cvs but now neither the pdf or pcl is being rendered. I dont get any errors, no warnings, nothing, it just renders 0 pages and exits normally, any ideas? Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] fop-0_20_2-maintainPostfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch - 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: please help...PCL renderer not formatting properly
Not sure, since I use WinCVS, but probably it is: -r fop-0_20_2-maintain At least that's what WinCVS is telling me. On Wed, 9 Jan 2002 14:15:57 +0200 Dudley.Butt wrote: ok, now we're going into something that i've never done before, i've had a look and i see cvs is on linux, could u guys please assist me with the checkout command to get this maintainance version with the tag fop-0_20_2-maintain? Thanx, i would really appreciate it! -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 09, 2002 12:01 PM To: [EMAIL PROTECTED] Subject: Re: please help...PCL renderer not formatting properly You have to make sure you check out with tag fop-0_20_2-maintain. The version you got is the one where the redesign is in progress. On Wed, 9 Jan 2002 11:06:28 +0200 Dudley.Butt wrote: ok, i did all that and got the cvs but now neither the pdf or pcl is being rendered. I dont get any errors, no warnings, nothing, it just renders 0 pages and exits normally, any ideas? Cheers, Jeremias Märki mailto:[EMAIL PROTECTED] OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
How to rotate text 90 degrees using fop, please help me???
Does anyone know how I can rotate text 90 degrees, so that it appears vertically. I have used reference-orientation but this is not supported by fop. I also tried embedding SVG but this also was refused by fop, both worked fine in Antenna XSL-formatter though. Can anybody please help me??? Greetings Manuel _ Download MSN Explorer gratis van http://explorer.msn.nl/intl.asp. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: How to rotate text 90 degrees using fop, please help me???
--- Manuel Moons [EMAIL PROTECTED] wrote: Does anyone know how I can rotate text 90 degrees, so that it appears vertically. I have used reference-orientation but this is not supported by fop. I also tried embedding SVG but this also was refused by fop, both worked fine in Antenna XSL-formatter though. You need to be a bit more specific. Do you need the letters to appear the right way up but immediately below one another or should the letters be on their side. If the latter should they go down the page or up the page? I have had this working fine by using SVG text. (I was using it for the axes of an SVG chart) but this was six months ago. I remember looking into this and seeing that the relevant XSL:FO functionality wasn't implemented in FOP but this was a long time ago. Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ --- SF and Computing Book News and Reviews: http://news.diversebooks.com/ Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ COMPETITION : http://news.diversebooks.com/article.pl?sid=01/10/08/1947255 __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: How to rotate text 90 degrees using fop, please help me???
In fact, I'm using Fop 0.20.1 and reference-orientation or direction are not implemented (yet, they say!!) Well, I am also looking for an answer, but unluckily. If someone discover something, make me know... Salve - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 09, 2002 5:24 PM Subject: Re: How to rotate text 90 degrees using fop, please help me??? --- Manuel Moons [EMAIL PROTECTED] wrote: Does anyone know how I can rotate text 90 degrees, so that it appears vertically. I have used reference-orientation but this is not supported by fop. I also tried embedding SVG but this also was refused by fop, both worked fine in Antenna XSL-formatter though. You need to be a bit more specific. Do you need the letters to appear the right way up but immediately below one another or should the letters be on their side. If the latter should they go down the page or up the page? I have had this working fine by using SVG text. (I was using it for the axes of an SVG chart) but this was six months ago. I remember looking into this and seeing that the relevant XSL:FO functionality wasn't implemented in FOP but this was a long time ago. Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ --- SF and Computing Book News and Reviews: http://news.diversebooks.com/ Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ COMPETITION : http://news.diversebooks.com/article.pl?sid=01/10/08/1947255 __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.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]
please help...PCL renderer not formatting properly
Has anyone else had any problems with the PCL renderer not formatting tables and borders correctly? In PDF the render works great, but as soon as i take the same .FO doc and try transform to PCL, it messes up the borders on my tables...any ideas? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: please help...PCL renderer not formatting properly
This was a known problem. I believe that a fix has been committed to CVS, but I do not think that it has been incorporated into a distribution. There was talk of another distribution (last I heard it was planned for early in the new year). The fix should be in CVS, so if you can build from CVS you should be able to get the tables to work correctly. Art -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 08, 2002 6:10 AM To: [EMAIL PROTECTED] Subject: please help...PCL renderer not formatting properly Has anyone else had any problems with the PCL renderer not formatting tables and borders correctly? In PDF the render works great, but as soon as i take the same .FO doc and try transform to PCL, it messes up the borders on my tables...any ideas? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.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]
Flow of tables please help PLEEEAAASSEE
Howzit guys... I really need some advice here please guys...PLEAAASSSE What i have is this.. I have 3 tables amongst other items on my page. The rest of the stuff on my page is 100%, its just these three tables. table table table At the moment theyr'e being stacked under each other. what i need is for them to be placed next to each other from left to right. So what i want is this table table table any ideas?? thanx ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Flow of tables please help PLEEEAAASSEE
Put the tables in a table. --- Paul Smith I have 3 tables amongst other items on my page. The rest of the stuff on my page is 100%, its just these three tables. table table table At the moment theyr'e being stacked under each other. what i need is for them to be placed next to each other from left to right. So what i want is this table table table *** DISCLAIMER: The information contained in this email is confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the information in it by any other person is not authorised. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Flow of tables please help PLEEEAAASSEE
How ? Claus Smith, Paul paul_smith@uk To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] .appl.net cc: Subject: RE: Flow of tables please help PLEEEAAASSEE 11-12-2001 12:17 Please respond to fop-dev Put the tables in a table. --- Paul Smith I have 3 tables amongst other items on my page. The rest of the stuff on my page is 100%, its just these three tables. table table table At the moment theyr'e being stacked under each other. what i need is for them to be placed next to each other from left to right. So what i want is this table table table *** DISCLAIMER: The information contained in this email is confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the information in it by any other person is not authorised. - 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: Flow of tables please help PLEEEAAASSEE
How ? Something along the lines of: fo:table fo:table-column column-width=100.0pt/ fo:table-column column-width=100.0pt/ fo:table-body fo:table-row fo:table-cell fo:table fo:table-column column-width=100.0pt/ fo:table-body fo:table-row fo:table-cell fo:blockOne/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:table-cell fo:table-cell fo:table fo:table-column column-width=100pt/ fo:table-body fo:table-row fo:table-cell fo:blockTwo/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table /fo:table-cell /fo:table-row /fo:table-body /fo:table Hope that helps --- Paul Smith *** DISCLAIMER: The information contained in this email is confidential and is intended solely for the use of the named addressee. Access, copying or re-use of the information in it by any other person is not authorised. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Flow of tables please help PLEEEAAASSEE
Title: RE: Flow of tables please help PLEEEAAASSEE Hi, putting tables in a table... How? Never programmed HTML? BTW: column widths using percantages is not implemented yet... is it comming with the next version or is it already in the CVS? Jens
RE: Flow of tables please help PLEEEAAASSEE
thanx for all the help, thanx i got it right at last!! yip i really appreciate it thanx again -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 11:57 AM To: [EMAIL PROTECTED] Subject: Flow of tables please help PLEEEAAASSEE Howzit guys... I really need some advice here please guys...PLEAAASSSE What i have is this.. I have 3 tables amongst other items on my page. The rest of the stuff on my page is 100%, its just these three tables. table table table At the moment theyr'e being stacked under each other. what i need is for them to be placed next to each other from left to right. So what i want is this table table table any ideas?? thanx ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.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]
This is a question for FOP users, please help
Hi all you fo dudes: Please need some assistance on how to programatically get a fo doc to render to pdf. I got it working using the code below, but i want to specify another userconfig file...how can i do this without doing it command line...anyone got any examples or maybe someone has done it already? Thanx //Driver driver = new Driver(); //driver.setRenderer(Driver.RENDER_PDF); //driver.setInputSource(new InputSource(OLIFE_FO)); //driver.setOutputStream(new FileOutputStream(OLIFE_PDF)); //driver.run(); ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: This is a question for FOP users, please help
[EMAIL PROTECTED] wrote: Hi all you fo dudes: Please need some assistance on how to programatically get a fo doc to render to pdf. I got it working using the code below, but i want to specify another userconfig file...how can i do this without doing it command line...anyone got any examples or maybe someone has done it already? Thanx //Driver driver = new Driver(); //driver.setRenderer(Driver.RENDER_PDF); //driver.setInputSource(new InputSource(OLIFE_FO)); //driver.setOutputStream(new FileOutputStream(OLIFE_PDF)); //driver.run(); options = new Options(java.io.File); Ulrich -- Ulrich Mayring DENIC eG, Systementwicklung - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please help me to solve strange space problem in fo:block
Hi I am generating a simple document with fixed font family. If the fo:block contains the new line( with the space collapsed), then the next line in PDF is shifted by one character length to the right. FO: fo:page-sequence master-name=simplePM fo:flow flow-name=xsl-region-body fo:block font-family=Courier white-space-collapse=falseThis is a simple fo block. Hello World/fo:block fo:block font-family=Courier wrap-option=no-wrap white-space-collapse=falseThis is a simple fo block. Hello World/fo:block /fo:flow Please look at the attachments for details of FO and PDF. Is it a bug? Or am I writing the invalid XSL FO? Please somebody can look at it. block.pdf block.fo Thanks Mahendar This message is confidential and may also be legally privileged. If you are not the intended recipient, please notify us immediately. You should not copy it or use it for any purpose, nor disclose it's contents to any other person. The views and opinions expressed in this e-mail message are the author's own and may not reflect the views and opinions of Wilco International. block.pdf Description: Binary data block.fo Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: FOP WARNING - Please Help!
I downloaded and built the latest CVS. When I tried to use the XSLTInputHandler, my error switched from the weird one I was getting to yet another null pointer exception. That got me thinking maybe I should just try doing the simplest transform of all time and see if it isn't something with my stylesheet. Anyway the problem was I only had the xsl namespace defined in my stylesheet root element and not the fo namespace. xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:fo=http://www.w3.org/1999/XSL/Format; (missing) I probably should have known this. I think someone even mentioned it, but I wasn't sure what they were talking about. Anyway, the good news is that after three days of fiddling I feel like I know FOP pretty well. I also have a much better grasp of SAX and DOM. Again, thanks for all your help. You probably haven't heard the last of me. -Matt Savino -Original Message- From: Beer, Christian [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 25, 2001 11:32 PM To: '[EMAIL PROTECTED]' Subject: AW: FOP WARNING - Please Help! I had the same problem with the 0.20.1 release. Try using the actual cvs version. There it works! Christian -Ursprüngliche Nachricht- Von: Savino, Matt C [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 26. September 2001 01:37 An: '[EMAIL PROTECTED]' Betreff: RE: FOP WARNING - Please Help! (I just realize this message might be pretty hard to read, so I added at the beginning and end of code and error blocks.) Shkuro, I have tried to replicate your solution and I still get strange errors. Here is the error I get: D:\Precision\RV40_Working\pvhjava FOtoPDF building formatting object tree building formatting object tree javax.xml.transform.TransformerException at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1212) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java: 479) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java: 1118) at FOtoPDF.applyFop(FOtoPDF.java:143) at FOtoPDF.main(FOtoPDF.java:41) - java.lang.NullPointerException at org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:167) at org.apache.xalan.transformer.QueuedStartDocument.flush(QueuedStartDocument.j ava:108) at org.apache.xalan.transformer.ResultTreeHandler.flushPending(ResultTreeHandle r.java:758) at org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTreeHandle r.java:245) at org.apache.xalan.transformer.ResultTreeHandler.startElement(ResultTreeHandle r.java:209) at org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java: 704) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2154) at org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform erImpl.java:2097) at org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer Impl.java:2029) at org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j ava:1189) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java: 479) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java: 1118) at FOtoPDF.applyFop(FOtoPDF.java:143) at FOtoPDF.main(FOtoPDF.java:41) It looks like maybe it's trying to build the formatting tree twice? Here is my code: DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInstance(); dFactory.setNamespaceAware(true); DocumentBuilder dBuilder = dFactory.newDocumentBuilder(); org.w3c.dom.Document xmlDoc = dBuilder.parse(xmlFilename); DOMSource xmlDomSource = new DOMSource(xmlDoc); org.w3c.dom.Document xslDoc = dBuilder.parse(xslFilename); DOMSource xslDomSource = new DOMSource(xslDoc); TransformerFactory tFactory = TransformerFactory.newInstance(); javax.xml.transform.Templates templates = tFactory.newTemplates(xslDomSource); Transformer transformer = templates.newTransformer(); org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); driver.setErrorDump(true); driver.setRenderer(driver.RENDER_PDF); driver.setOutputStream(new FileOutputStream(pdfFilename)); javax.xml.transform.sax.SAXResult saxResult = new javax.xml.transform.sax.SAXResult( driver.getContentHandler() ); transformer.transform(xmlDomSource, saxResult); Someone also said this may be fixed in the latest CVS. I downloaded Fop-0.20.1-src.tar.gz on 9/17/01. Is there something more recent? I only ask because my ridiculous company still hasn't restored our internet access since Nimda. I would also be happy if I could get render(dom) working when applied
FOP PCL Rendering - Please help!
Hello, I am trying to render a document using FOP - PCL. I am seeing a few issues though: 1) I have a little image in GIF format that I am rendering in the page - it comes all distroted and blurry - do I have to change it to another format? 2) I get errors in the log file from my app, such as WARNING: Number of cell columns under table-row not equal to number of table-columns repeated six or so times. The formatting of the printout looks a bit off (it seems to be missing a few spaces at the top ) but this looks fine when rendered as a PDF. Are there any good guidelines folks have for a stylesheet that would be used to render PCL vs PDF? 3) Finally, does anyone know what level of PCL is actually being generated? I want to make sure this will work and be interpretted on as many HP printers as possible - the two that I have tried it on have the above issues of blurry images and header spacing. I'd really appreciate anyone willing to help! Thanks very much, Tony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: please help!!!
Hi Eric, Sorry if no one has answered your plea before now. Unfortunately (or perhaps fortunately?) I don't have any problem with the example you sent. I'm using the latest CVS, but if you are using an earlier version of FOP, you probably should try with the latest release which is 0.20.1. I've attached the PDF I generated, using a simple A4 size page master. I assume this is the result you want? It's true that the overflow property isn't implemented yet in FOP, but Yyou shouldn't need to use it here, since the text is just wrapping normally in the table cell. Overflow is really meant for flow objects which won't fit at all on the page and should be clipped. An example would be a large graphic. eric.deandrea wrote: I have a table with 4 columns. One of the cells has text in it that is bigger than the size of the column and the text is over-writing the text in the following cell. How do I stop this? I have this: fo:table fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-body fo:table-row fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 1 that will over-write the text in cell 2. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 2. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 3. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 4. /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table -Eric Eric Deandrea Software Engineer (978) 698-6351 Inforonics, Inc. [EMAIL PROTECTED] 30 Porter Rd. Littleton, MA 01460 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] ericbug.pdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
please help!!!
I have a table with 4 columns. One of the cells has text in it that is bigger than the size of the column and the text is over-writing the text in the following cell. How do I stop this? I have this: fo:table fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-column column-width=2.625in/ fo:table-body fo:table-row fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 1 that will over-write the text in cell 2. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 2. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 3. /fo:block /fo:table-cell fo:table-cell fo:block text-align=start font-size=10pt line-height=14pt overflow=hidden wrap-option=wrap This is some text in cell 4. /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table -Eric Eric Deandrea Software Engineer (978) 698-6351 Inforonics, Inc. [EMAIL PROTECTED] 30 Porter Rd. Littleton, MA 01460 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Please help with block breaks
I implore any member of this list to give me an answer to my question. Does keep-with-next, keep-with-previous, keep-together or keep-together.within-page work with blocks or list-blocks? If so, how should it be implemented? I have a series of 4 list blocks, like the one below, inside a parent block. I would like all four list blocks within the block to be on the same page; if they cannot fit, I want the entire block to move to the next page. Is this possible? Would someone, please, tell me how I can do this. (I hope you sense the desperation in my email, because I am truly losing my mind over this one.) fo:block font-size=10pt font-weight=normal keep-together.within-page=always fo:list-block space-before.optimum=4pt provisional-distance-between-starts=80pt provisional-label-separation=0pt keep-together.within-page=always fo:list-item vertical-align=middle fo:list-item-label keep-with-next=always fo:block line-height=12pt keep-with-next=alwaysAbstract:/fo:block /fo:list-item-label fo:list-item-body keep-with-previous=always fo:block font-size=10pt line-height=12pt keep-with-previous=always xsl:apply-templates select=Abstract/ /fo:block /fo:list-item /fo:list-block . . . /fo:block Thank you, Heidi Gerken KM Objects 2200 Clarendon Blvd., Suite 1401 Arlington, VA 22201 703.841.4284 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Please help with block breaks
Unfortunately I do not think any of the keep-* attributes work. At least not as of FOP 0.18.1 if you read the page: http://xml.apache.org/fop/implemented.html the only keep-* attribute listed is keep-with-next and it has (broken) next to it. I have also tried these using the keep-* tags with no success. I hope someone can back me up or prove me wrong on this. -Eric Dalquist - Original Message - From: Heidi Gerken [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 20, 2001 2:58 PM Subject: Please help with block breaks I implore any member of this list to give me an answer to my question. Does keep-with-next, keep-with-previous, keep-together or keep-together.within-page work with blocks or list-blocks? If so, how should it be implemented? I have a series of 4 list blocks, like the one below, inside a parent block. I would like all four list blocks within the block to be on the same page; if they cannot fit, I want the entire block to move to the next page. Is this possible? Would someone, please, tell me how I can do this. (I hope you sense the desperation in my email, because I am truly losing my mind over this one.) fo:block font-size=10pt font-weight=normal keep-together.within-page=always fo:list-block space-before.optimum=4pt provisional-distance-between-starts=80pt provisional-label-separation=0pt keep-together.within-page=always fo:list-item vertical-align=middle fo:list-item-label keep-with-next=always fo:block line-height=12pt keep-with-next=alwaysAbstract:/fo:block /fo:list-item-label fo:list-item-body keep-with-previous=always fo:block font-size=10pt line-height=12pt keep-with-previous=always xsl:apply-templates select=Abstract/ /fo:block /fo:list-item /fo:list-block . . . /fo:block Thank you, Heidi Gerken KM Objects 2200 Clarendon Blvd., Suite 1401 Arlington, VA 22201 703.841.4284 [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]