Flexible object hight and relative positioning
Hi all, I have a text that containes sometimes 1 line, sometimes 2 lines. The object which contains this text is initially defined only 1 line high. Depending on the object definition the text should be cut after the first line or the object should be able to display both lines when converted to pdf. The following object should be placed relative to the first object with a spacing of 1 line, independent if the text contains 1 line or 2 lines. How can I realize this with xsl:fo and fop? Thanks in advance, Eduard. __ Eduard Bachner Consulting ISA Tools GmbH Kupferstr. 36 D-70565 Stuttgart Tel: +49(711)22769-51 Fax: +49(711)22769-29 Email: [EMAIL PROTECTED] WWW: http://www.isa-tools.de Die Liebe ist so unproblematisch wie ein Fahrzeug. Problematisch sind nur die Lenker, die Fahrgäste und die Straße. Franz Kafka - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: bit OT but..streaming PDF to browsers
--- David Frankson [EMAIL PROTECTED] wrote: I get pdfs from servlets to work fine in IE, but I never have overcome the 2 hits per pdf. Is there a solution to this? I've noticed the two hits issue but always assumed it was due to my rubbish proxy configuration. It may be that the first request is hust a head request to determine the datestamp of the response and thus to determine whether or not it can retrieve the file from its cache. (It is presumably seeing that the datestamp is later than the cached version and thus requesting the whole response the second time.) So one possibility is to check for a head request and when you get it to NOT generate the PDF but just output the headers saying that the file would be new if you hadn't just done a head request. This is a bit off topic so learning how to do this is left as an exercise for the reader. Or if you are in London you can pay me to do it for you :-) Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
problem to define a new Driver()
Hi again, when I am trying to define Driver driver = new Driver(); I get the following error: java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGStringList at org.apache.fop.svg.SVGElementMapping.addToBuilder(SVGElementMapping.java:90) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:314) at org.apache.fop.apps.Driver.addElementMapping(Driver.java:326) at org.apache.fop.apps.Driver.setupDefaultMappings(Driver.java:209) at org.apache.fop.apps.Driver.(Driver.java:137) I have imported the following, so I don't know why is there a problem: import org.w3c.dom.svg.*; import org.apache.fop.dom.svg.*; Am I missing something else? Thanks really a lot, and sorry for the newbie questions. Gustavo - 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-07-05/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.19.0-CVS [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 in: ./build/src/codegen/svgelements.xml style: ./src/codegen/propmaker.xsl out: ./build/src/codegen/svgproperties.xml xslt in: ./build/src/codegen/allprops.xml style: ./build/src/codegen/genconst.xsl out: ./build/src/org/apache/fop/fo/properties/Constants.java xslt in: ./build/src/codegen/foproperties.xml style: ./build/src/codegen/properties.xsl out: ./build/src/org/apache/fop/fo/properties/fo_ignore_this.java file:///home/rubys/jakarta/xml-fop/build/src/codegen/properties.xsl; Line 12; Column 14; Do colorkw.xml xslt in: ./build/src/codegen/foproperties.xml style: ./build/src/codegen/propmap.xsl out: ./build/src/org/apache/fop/fo/properties/FOPropertyMapping.java xslt in: ./build/src/codegen/foproperties.xml style: ./build/src/codegen/enumgen.xsl out: ./build/src/org/apache/fop/fo/properties/foenums_ignore_this.java xslt in: ./build/src/codegen/svgproperties.xml style: ./build/src/codegen/properties.xsl out: ./build/src/org/apache/fop/fo/properties/svg_ignore_this.java xslt in: ./build/src/codegen/svgproperties.xml style: ./build/src/codegen/propmap.xsl out: ./build/src/org/apache/fop/fo/properties/SVGPropertyMapping.java xslt in: ./build/src/codegen/svgproperties.xml style: ./build/src/codegen/enumgen.xsl out: ./build/src/org/apache/fop/fo/properties/svgenums_ignore_this.java xslt in: ./build/src/codegen/extproperties.xml style: ./build/src/codegen/properties.xsl out: ./build/src/org/apache/fop/fo/properties/ext_ignore_this.java xslt in: ./build/src/codegen/extproperties.xml style: ./build/src/codegen/propmap.xsl out: ./build/src/org/apache/fop/fo/properties/ExtensionPropertyMapping.java xslt in: ./build/src/codegen/extproperties.xml style: ./build/src/codegen/enumgen.xsl out: ./build/src/org/apache/fop/fo/properties/extenums_ignore_this.java xslt in: ./build/src/codegen/svgelements.xml style: ./build/src/codegen/elements.xsl out: ./build/src/org/apache/fop/svg/ele_ignore_this.java xslt in: ./build/src/codegen/charlist.xml style: ./build/src/codegen/code-point-mapping.xsl out: ./build/src/org/apache/fop/render/pdf/CodePointMapping.java xslt in: ./build/src/codegen/Courier.xml style: ./build/src/codegen/font-file.xsl out: ./build/src/org/apache/fop/render/pdf/fonts/Courier.java xslt in: ./build/src/codegen/Courier-Oblique.xml style: ./build/src/codegen/font-file.xsl out: ./build/src/org/apache/fop/render/pdf/fonts/CourierOblique.java xslt in: ./build/src/codegen/Courier-Bold.xml style: ./build/src/codegen/font-file.xsl out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBold.java xslt in: ./build/src/codegen/Courier-BoldOblique.xml style: ./build/src/codegen/font-file.xsl out: ./build/src/org/apache/fop/render/pdf/fonts/CourierBoldOblique.java xslt in: ./build/src/codegen/Helvetica.xml style:
Re: bit OT but..streaming PDF to browsers
I can't seem to get fop to show me a pdf wit IE 5.5. Am I doing something wrong? This is just for general info - it's working fine with 5.0. Micheál Healy - Original Message - From: Dave Frankson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:43 PM Subject: Re: bit OT but..streaming PDF to browsers Actually it is the sloppy way IE deals with MIME types. At the first hit, IE determines that it can't handle the content type and an external plugin needs to handle the request. So it discards the data after reading the http header and does a second hit passing the entire thing to Acrobat. We are using FOP to generate some reports that take 15 minutes to build, and this is the biggest performance hit. Dave - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 4:08 AM Subject: Re: bit OT but..streaming PDF to browsers --- David Frankson [EMAIL PROTECTED] wrote: I get pdfs from servlets to work fine in IE, but I never have overcome the 2 hits per pdf. Is there a solution to this? I've noticed the two hits issue but always assumed it was due to my rubbish proxy configuration. It may be that the first request is hust a head request to determine the datestamp of the response and thus to determine whether or not it can retrieve the file from its cache. (It is presumably seeing that the datestamp is later than the cached version and thus requesting the whole response the second time.) So one possibility is to check for a head request and when you get it to NOT generate the PDF but just output the headers saying that the file would be new if you hadn't just done a head request. This is a bit off topic so learning how to do this is left as an exercise for the reader. Or if you are in London you can pay me to do it for you :-) Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - 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: bit OT but..streaming PDF to browsers
Hi Dave, Thanks for your help. Unfortunately, I've tried all your suggestions, and the thing still isn't working. I was already flushing the output stream, but wasn't closing it - I'm doing that now. I was setting the content type, and the length, but not the content-disposition - again, I've rectified this. I've even changed the url so that it finishes with .pdf, still no joy. I sent a previous message to the list with details of my set-up. This is from that message (Subject: external-graphic): I'm using Xalan to create my .fo files from XML and XSL, then rendering pdf's using fop (v.0.19). I'm using JDK 1.3. This is all within a servlet. I'm using Apache and Tomcat together as web server and servlet engine. This problem isn't stopping me in my tracks. As I said, it works fine with IE 5.0, but I would like to get it solved. TIA, Micheál - Original Message - From: Dave Frankson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 3:03 PM Subject: Re: bit OT but..streaming PDF to browsers PDFs from a servlet works in all broswers but you have to remember to do all of the following: 1.) Set the headers: response.setContentType(application/pdf); response.addHeader(Content-Disposition, inline; filename=report.pdf); (Also try to structure your URL so that the last few characters are .pdf. This helps some stupid version of IE that you are returing a pdf) 2.) Write out the size of the pdf: response.setContentLength( pdfDoc.length ); 3.) Flush your output stream: out.flush(); out.close(); Dave - Original Message - From: Micheál Healy [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 8:47 AM Subject: Re: bit OT but..streaming PDF to browsers I can't seem to get fop to show me a pdf wit IE 5.5. Am I doing something wrong? This is just for general info - it's working fine with 5.0. Micheál Healy - Original Message - From: Dave Frankson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 2:43 PM Subject: Re: bit OT but..streaming PDF to browsers Actually it is the sloppy way IE deals with MIME types. At the first hit, IE determines that it can't handle the content type and an external plugin needs to handle the request. So it discards the data after reading the http header and does a second hit passing the entire thing to Acrobat. We are using FOP to generate some reports that take 15 minutes to build, and this is the biggest performance hit. Dave - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 4:08 AM Subject: Re: bit OT but..streaming PDF to browsers --- David Frankson [EMAIL PROTECTED] wrote: I get pdfs from servlets to work fine in IE, but I never have overcome the 2 hits per pdf. Is there a solution to this? I've noticed the two hits issue but always assumed it was due to my rubbish proxy configuration. It may be that the first request is hust a head request to determine the datestamp of the response and thus to determine whether or not it can retrieve the file from its cache. (It is presumably seeing that the datestamp is later than the cached version and thus requesting the whole response the second time.) So one possibility is to check for a head request and when you get it to NOT generate the PDF but just output the headers saying that the file would be new if you hadn't just done a head request. This is a bit off topic so learning how to do this is left as an exercise for the reader. Or if you are in London you can pay me to do it for you :-) Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - 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
[Bug 2460] New: - Mulitple boder lines between the colums in a table
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2460 *** shadow/2460 Thu Jul 5 08:57:21 2001 --- shadow/2460.tmp.4151Thu Jul 5 08:57:21 2001 *** *** 0 --- 1,28 + ++ + | Mulitple boder lines between the colums in a table | + ++ + |Bug #: 2460Product: Fop | + | Status: NEW Version: all | + | Resolution:Platform: PC | + | Severity: Critical OS/Version: Other | + | Priority: Other Component: pdf renderer| + ++ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + ++ + | URL: | + ++ + | DESCRIPTION | + I installed FOP 18.1 and tried to create the pdf file for the table.fo that + comes along with the product as an example.. + + the problem is i looked at the out put pdf and found that in page 4 i have a + table in which it has two lines as border between the colums... the reason why + i am asking you this is I created a xsl style sheet for my xml and created a + pdf using your product... I have the above mentioned problem..but using the + same files with Antenna house xsl formatter I am getting the correct output... + + please help me !! + + Ram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: XSLTInputHandler not doing its job??
Title: RE: XSLTInputHandler not doing its job?? Typo, I think FOP can be configured to tolerate *sloppy* XML. -Original Message-From: Williamson, James [mailto:[EMAIL PROTECTED]]Sent: 05 July 2001 17:15To: '[EMAIL PROTECTED]'Subject: RE: XSLTInputHandler not doing its job?? Wolf, That's not valid XML, when it says view source for full doctype it doesn't expect you to take that literally. DOCTYPE's generally take these form: !DOCTYPE docroot PUBLIC "remote_dtd" or !DOCTYPE docroot SYSTEM "local_dtd" or (embedded) !DOCTYPE docroot [ your embedded DTD ] I'm no FOP expert but I'm sure I remember being able to configure FOP to tolerate XML (i.e. HTML) perhaps you could have a look at the source code for the FOP app. Regards, James -Original Message- From: Wolf Gustavo (SGC-EXT) [mailto:[EMAIL PROTECTED]] Sent: 05 July 2001 16:50 To: Fop (E-mail) Subject: XSLTInputHandler not doing its job?? Hi, as I said a few hours ago, I have the following code: InputHandler inputHandler = new XSLTInputHandler(xmlInputSource,xslInputSource); InputSource inputSource = inputHandler.getInputSource(); XMLReader parser = (XMLReader) Class.forName(this.parserClass).newInstance(); parser.setFeature("http://xml.org/sax/features/namespace-prefixes",true); /** * Creates the driver telling it to write the output to a file. */ Driver driver = new Driver(); driver.setRenderer("org.apache.fop.render.pdf.PDFRenderer"); // ERROR IN THE FOLLOWING LINE driver.buildFOTree(parser, inputSource); File test = new File("test.pdf"); driver.setOutputStream(new java.io.FileOutputStream(test)); driver.format(); driver.render(); In the second line, InputSource inputSource is suppossed to be the .fo file after the processing of xmlInputSource by xslInputSource. I am using as xmlInputSource and xslInputSource two files that I took from the chap 15 of the XMLbible (attached). Now, when the program tries to execute "driver.buildFOTree(parser, inputSource);", I get the following msg and Exception: "building formatting object tree WARNING: Unknown formatting object ^PERIODIC_TABLE FOPException: org.xml.sax.SAXException (msg: null)" It seems to me that XSLTInputHandler is not doing its job properly, because of the WARNING. Again, if I run a line command with Fop -xml xmlInputSource -xsl xslInputSource -pdf test.pdf everything is OK, which tells me that there shouldn't be a problem with the input files. Does anyone knows how to cure this? Thanks a lot, Gustavo prueba.xml prueba.xsl **This e-mail (including any documents which may accompany it) containsinformation which is confidential and may also be privileged.It is for the exclusive use of the intended recipient(s).If you are not the intended recipient(s) please note that any form ofdistribution, copying or use of this e-mail or the information in itor attached to it is strictly prohibited and may be unlawful.If you have received this e-mail in error please notify us immediatelyby e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 anddelete the e-mail.Please advise immediately if you or your employer do not consent toInternet E-Mail for messages of this type.Information or opinions in this message that do not relate to thebusiness of Windsor plc and/or subsidiary and/or associated companiesshall be treated as neither given or endorsed by it.** ** This e-mail (including any documents which may accompany it) contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this e-mail or the information in it or attached to it is strictly prohibited and may be unlawful. If you have received this e-mail in error please notify us immediately by e-mail to [EMAIL PROTECTED] or telephone +44 (0)207 940 1200 and delete the e-mail. Please advise immediately if you or your employer do not consent to Internet E-Mail for messages of this type. Information or opinions in this message that do not relate to the business of Windsor plc and/or subsidiary and/or associated companies shall be treated as neither given or endorsed by it. **
[Bug 2463] New: - No of lines per page in a PDF output file
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2463 *** shadow/2463 Thu Jul 5 12:49:25 2001 --- shadow/2463.tmp.6391Thu Jul 5 12:49:25 2001 *** *** 0 --- 1,28 + ++ + | No of lines per page in a PDF output file | + ++ + |Bug #: 2463Product: Fop | + | Status: NEW Version: all | + | Resolution:Platform: PC | + | Severity: Normal OS/Version: Other | + | Priority: Other Component: pdf renderer| + ++ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + ++ + | URL: | + ++ + | DESCRIPTION | + I have created a XSL style sheet for an XML document and using Xalan I created + a FO and I used FOP (18) to create the PDF. + + My out put has only 10 lines per page, It has lot space left unused below the + 10th line... but if I use the same files(xml XSL) in Antenna house's XSL + Formatter..it works fine. + + Please advise if I need to do any kind of special change in my XSL to meet FOP + or Xalan's Requirements. + + Thanks + Ram - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
cvs commit: xml-fop/src/org/apache/fop/fo/flow RowSpanMgr.java
klease 01/07/05 13:05:50 Added: src/org/apache/fop/fo/flow RowSpanMgr.java Log: Helper class for spanning rows Revision ChangesPath 1.1 xml-fop/src/org/apache/fop/fo/flow/RowSpanMgr.java Index: RowSpanMgr.java === /*-- $Id: RowSpanMgr.java,v 1.1 2001/07/05 20:05:49 klease Exp $ -- * Copyright (C) 2001 The Apache Software Foundation. All rights reserved. * For details on use and redistribution please refer to the * LICENSE file included with these sources. */ package org.apache.fop.fo.flow; import org.apache.fop.layout.Area; import java.util.Enumeration; public class RowSpanMgr { class SpanInfo { int cellHeight; int totalRowHeight; int rowsRemaining; //int numCols; // both V and H span TableCell cell; SpanInfo(TableCell cell, int cellHeight, int rowsSpanned) { this.cell = cell; this.cellHeight = cellHeight; this.totalRowHeight = 0; this.rowsRemaining = rowsSpanned; } /** * Return the height remaining in the span. */ int heightRemaining() { int hl = cellHeight - totalRowHeight; return (hl0)? hl : 0; } boolean isInLastRow() { return (rowsRemaining == 1); } boolean finishRow(int rowHeight) { totalRowHeight += rowHeight; if (--rowsRemaining == 0) { if (cell != null) { cell.setRowHeight(totalRowHeight); } return true; } else return false; } } private SpanInfo spanInfo[]; public RowSpanMgr(int numCols) { this.spanInfo = new SpanInfo[numCols]; } public void addRowSpan(TableCell cell, int firstCol, int numCols, int cellHeight, int rowsSpanned) { spanInfo[firstCol-1] = new SpanInfo(cell, cellHeight, rowsSpanned); for (int i=0; i numCols-1; i++) { spanInfo[firstCol+i] = new SpanInfo(null, cellHeight, rowsSpanned); // copy! } } public boolean isSpanned(int colNum) { return (spanInfo[colNum-1] != null); } public TableCell getSpanningCell(int colNum) { if (spanInfo[colNum-1] != null) { return spanInfo[colNum-1].cell; } else return null; } /** Return true if any column has an unfinished vertical span. */ public boolean hasUnfinishedSpans() { for (int i=0; i spanInfo.length; i++) { if (spanInfo[i] != null) return true; } return false; } /** Done with a row. * Any spans with only one row left are done * This means that we can now set the total height for this cell box * Loop over all cells with spans and find number of rows remaining * if rows remaining = 1, set the height on the cell area and * then remove the cell from the list of spanned cells. For other * spans, add the rowHeight to the spanHeight. */ public void finishRow(int rowHeight) { for (int i=0; i spanInfo.length; i++) { if (spanInfo[i] != null spanInfo[i].finishRow(rowHeight)) spanInfo[i] = null; } } /** * If the cell in this column is in the last row of its vertical * span, return the height left. If it's not in the last row, or if * the content height = the content height of the previous rows * of the span, return 0. */ public int getRemainingHeight(int colNum) { if (spanInfo[colNum-1] != null) { return spanInfo[colNum-1].heightRemaining(); } else return 0; } public boolean isInLastRow(int colNum) { if (spanInfo[colNum-1] != null) { return spanInfo[colNum-1].isInLastRow(); } else return false; } } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Addition Font
Hello, I have add the font embbeded in FOP 19.The problem is when we use the font embedded, the size of the PDF file is very big. Is there a way to add the fonts into Fop but not embbed these fonts in the PDF file ? I think Acrobat Writer and Distiller can display many fonts. Thanks for any suggestion ! Nam ___ Do You Yahoo!? -- Pour faire vos courses sur le Net, Yahoo! Shopping : http://fr.shopping.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Can't build latest CVS
Thanks, now if I could only get the text-deco to work across a block like .12 I'd be all set. I was looking at the code and it appears to have been removed when font-variant was added instead. At least looking at the .12 code leads me to believe this. John John H. Wyman 5160 Darry Lane Dublin, OH 43016 (614)-889-0698 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Wyman Genealogy Site http://www.wyman.org Francis Wyman Assoc email List http://groups.yahoo.com/group/FrancisWymanAssoc Wyman Family Genealogy Forum http://genforum.genealogy.com/wyman/ The Wyman Surname Message Board http://www.familyhistory.com/messages/messages.asp?category=surnamefor um=Wyman -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Karen Lease Sent: Thursday, July 05, 2001 4:10 PM To: [EMAIL PROTECTED] Subject: Re: Can't build latest CVS Hi John, Sorry about that. I guess I was a little tired last night when I committed the spanning row stuff and I forgot to add that class which is new. It should be OK now. Regards, Karen John Wyman wrote: I get [javac] Compiling 638 source files to C:\CVSRoot\xml-fop\build\classes [javac] C:\CVSRoot\xml-fop\build\src\org\apache\fop\fo\flow\TableBody.java:40: Class org.apache.fop.fo.flow.RowSpanMgr not found. [javac] RowSpanMgr rowSpanMgr; // manage information about spanning rows Can't find a definition for Row Span Mgr, where is it declared ? John John H. Wyman 5160 Darry Lane Dublin, OH 43016 (614)-889-0698 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] Wyman Genealogy Site http://www.wyman.org Francis Wyman Assoc email List http://groups.yahoo.com/group/FrancisWymanAssoc Wyman Family Genealogy Forum http://genforum.genealogy.com/wyman/ The Wyman Surname Message Board http://www.familyhistory.com/messages/messages.asp?category=surnamef orum=Wyman - 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: bit OT but..streaming PDF to browsers
Thanks so much for the help the ContentDisposition worked like a charm on ie5 5.5sp1 :) cheers Dave David Frankson [EMAIL PROTECTED] on 07/06/2001 03:47:43 AM Please respond to [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc: Subject: Re: bit OT but..streaming PDF to browsers Check the Microsoft Knowledge base for Article ID: Q293336 It explains the idiotic way IE handles MIME types. Dave - Original Message - From: Alex McLintock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 9:07 AM Subject: Re: bit OT but..streaming PDF to browsers --- Dave Frankson [EMAIL PROTECTED] wrote: PDFs from a servlet works in all broswers but you have to remember to do all of the following: 1.) Set the headers: response.setContentType(application/pdf); response.addHeader(Content-Disposition, inline; filename=report.pdf); Your other suggestions I've heard of before - but haven't noticed this one. Does it really work? What browsers support Content-Disposition ? Where can I find out more? Presumably I ought to add it to the FAQ. Cheers Alex = Alex McLintock[EMAIL PROTECTED]Open Source Consultancy in London OpenWeb Analysts Ltd, http://www.OWAL.co.uk/ DR WHO COMPETITION: http://www.diversebooks.com/cgi-bin/caption/captions.cgi?date=200104 Get Your XML T-Shirt t-shirt/ at http://www.inversity.co.uk/ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie - 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]
Font Metric file from PFB file??
hello, how can i generate font metric file from pfb fies which comes with font files.I don't have pfm files.I read that The PFMReader tool does not yet interpret PFB files.Please help me. regards rajiv --- Keiron Liddle [EMAIL PROTECTED] wrote: On Sat, 30 Jun 2001 13:36:24 rajeev nair wrote: hello Keiron, Thanx for ur prompt response. From where i'll get batik.jar file.I downloaded xml-batik and build that.But i couldn't see batik.jar anywhere.I'm still struggling with font addition. please help me. regards rajiv I don't understand what you question is. In what way are you struggling, why do you need batik.jar it should be in the lib directory. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: Font Metric file from PFB file??
how can i generate font metric file from pfb fies which comes with font files.I don't have pfm files.I read that The PFMReader tool does not yet interpret PFB files.Please help me. The PFM is currently the only way. If you have a PFA (which is in a text format) you can quite easily construct the XML font metric file by hand if you bother to consult the Adobe manuals for Postscript Type 1 fonts. But with only a PFB you won't have much luck, I guess. Try to get hold of the corresponding PFM. 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]
AW: problem to run fop within a servlet
In fact, I had this problem, too; It seems that this comes from the fact that tomcat spawns a new cmd window -- and the classpaths aren't set there. So i used tomcat run to open it in the same command window; but that didn't help, too. So what I eventually did was , I used CYGWIN [a bash shell under WIN32] and typed in ./tomcat.sh run then, everthing worked. Gabriel Wurzer ---Gustavo wrote: In order to do that, I use: InputHandler inputHandler = new XSLTInputHandler(xmlInputSource,xslInputSource); InputSource inputSource = inputHandler.getInputSource(); //FAILURE HERE XMLReader parser = inputHandler.getParser(); /** * Creates the driver telling it to write the output file to screen (AWT). */ Driver driver = new Driver(); driver.setRenderer(this.AWTRendererClass); driver.buildFOTree(parser, inputSource); driver.format(); driver.render(); First and second lines run OK. Third line gives an exception: javax.xml.transform.TransformerConfigurationException: Namespace not supported by SAXParser exception.message: null There is in principle no problem with the xmlInputSource and xslInputSource, because when I run fop from the command line: Fop -xml xmlInputSource.xml -xsl xslInputSource.xsl -pdf output.pdf (or option -awt), I get proper results. COuld someone please tell me what am I doing wrong, or what am I missing? Also, are the lines related to the Driver correct? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]