Re: keep line-breaks in PDF

2002-06-21 Thread J.Pietschmann
Hahn Kurt (CHA) wrote: I'm generating a document from a DB which contains fields of up to 2000 characters In those fields,any line-break is stored, and if I look at my XSL-FO in a text-editor, I see that all the line-breaks are still there. They're of the form: . If process the document through FO

Re: AW: Problem with servlet

2002-06-21 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I made the changes but still getting the same error. It's driving me crazy. ANy help will be greatly appreciated. Usually, WebSphere 3.5 comes with an ancient XML tool set. You have to put Xerces-1.2.3.jar and Xalan-2.0.0.jar into the classpath before the old tools. If you

Re: Problem with javax.xml.transform.Transformer

2002-06-21 Thread J.Pietschmann
Oleg Tkachenko wrote: btw, I'm also having this problem now :( My hosting has been upgraded from tomcat3 to 4.03 and fop stuck. But symptoms are rather bizarre - java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGDocument at com.multiconn.fop.TIFFRendererFactory.newTIFFRenderer(TIFFRendererFactor

Re: Problem with javax.xml.transform.Transformer

2002-06-21 Thread Oleg Tkachenko
J.Pietschmann wrote: Tomcat 4.0.3 has problems with the classloader. If you have to use it, move the FOP jars into the Tomcat lib directory. It is recommended to upgrade to 4.0.4 btw, I'm also having this problem now :( My hosting has been upgraded from tomcat3 to 4.03 and fop stuck. But symptoms

RE: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Anil R. Pinto
Thanks Ryan, it works now !!! In fact when you said that this problem was not there in FOP 0.20.3 I tried that first :-) and it worked. Once I knew it did I went ahead to experiment with FOP 0.20.1 And the fix you suggested worked. So the code, just for reference (to others who may need it at

Re: Problem with javax.xml.transform.Transformer

2002-06-21 Thread J.Pietschmann
FOP Newsgroup (@Basebeans.com) wrote: I can process the first XSL-FO document. But the following XSL-FO documents fail with the same error: ClassNotFound on javax.xml.transform.Transformer. It seems -but I'm not sure yet- that I only have this problem when I process the following documents from a

RE: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Anil R. Pinto
thanks for the prompt help Mehmood, but the same problem still persists. I did make slight changes to the code you sent me though (kept the ByteArrayOutputStream as is but changed the StringReader to a FileReader just for simplicity) before running it. Do you get the error when running the Java

Re: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Ryan.Asleson
I use 0.20.1 also with SAX events. I had to add this to get rid of the null pointer: //Hack fix for FOP bug. Might be unnecessary in FOP 0.20.3. StreamRenderer x = new StreamRenderer(outputStream, pdfDriver.getRenderer()); ((FOTreeBuilder)pdfDriver.getConte

RE: Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Shaikh, Mehmood
Try this. // --- // 1. Get a Source for XML document // --- // a) from string Source strSource = new StreamSource(new StringReader(xmlData)); // --- // 2. Get stylesheet transformer // --- // from file, see above examples for other types of XSL input //TransformerFact

Using Xalan Transformer with FOP Driver problem

2002-06-21 Thread Anil R. Pinto
Hi, I have been using FOP to create PDF files for sometime now. Mostly as embedded code within my Struts Action classes, as mentioned in http://xml.apache.org/fop/embedding.html and it has been working just fine. But this method requires the xml source to exist only as a java.io.File (if I am

Re: degree symbol in pdf

2002-06-21 Thread vakkaraju
Thanks, Chuck, for the reply. I'm sorry, I forgot to mention the fop version we are using, it's 0.20.2. We haven't upgraded to 0.20.3 for the fear of breaking something else. Fortunately i could find some work around to get the degree symbol displayed with 0.20.2, it's strange but it's the follow

Re: FOP build fails

2002-06-21 Thread Ralf Steppacher
I try to build FOP 0.20.3 via the build.bat script on win2k, jdk1.4.0_01 but the the build fails because some xml files can not be found. This *should* be fixed with Fop 0.20.4rc (I would be happy if you could test it) Yes it is. But acutal compilation fails with [javac] Compiling 717 source

Re: Hyphenation

2002-06-21 Thread Ralf Steppacher
Is there a way to enforce TeX's behavior? Not prepackaged. You are invited to hack around in the files in layout/hyphenation. OK, I did: It is all in org.apache.fop.layout.LineArea.java. I altered the hyphenation strategie as follows: If there is a hyphen in a word and the character data before th

Re: AW: Problem with servlet

2002-06-21 Thread Neeru . Bhardwaj
I made the changes but still getting the same error. It's driving me crazy. ANy help will be greatly appreciated. Thanks -Neeru Michael Heinen

Re: Embedded fonts.

2002-06-21 Thread Christian Geisert
[EMAIL PROTECTED] schrieb: Hi all, currently having the folowing minor problem when using fop 0.20.4rc abcdefghijklmnopqrstuvwxyz gives me only one character (part of a scissors) My own embedded font works just fine ... ;-) Is the ZapfDingbatsfont removed or replaced by another ? No, but

RE: performance problem renedering nested fo-tables

2002-06-21 Thread Argyn Kuketayev
I'll try markers, thanks > -Original Message- > From: Chuck Paussa [mailto:[EMAIL PROTECTED] > Sent: Friday, June 21, 2002 12:02 PM > To: [EMAIL PROTECTED] > Subject: Re: performance problem renedering nested fo-tables > > > Argyn, > > In your case it looks like you should investigate

Re: performance problem renedering nested fo-tables

2002-06-21 Thread Chuck Paussa
Argyn, In your case it looks like you should investigate using and to get your page headers. Each level of your table nesting would use a different marker-class-name. The page header can then retrieve the contents of that marker (The contents do not print in the page, are there only to be re

Re: degree symbol in pdf

2002-06-21 Thread Chuck Paussa
[EMAIL PROTECTED] wrote: Hi, I'm unable to get the degree symbol('°') to be displayed properly in the pdf while displaying a temparature value, whereas i get the "cubed" symbol('³') correctly displayed while showing a flow value such as meter cubed per hr. We have been sucessfully using FOP over t

Re: FW: keep-together in a multi-column document

2002-06-21 Thread Chuck Paussa
Thibodeaux, Paul wrote: I'm using FOP to build a multi-column, multipage document that is essentially a "directory" of sorts, with names, addresses, and phone numbers. I'd like to keep all the lines of each entry together in the same column, but "keep-together.within-column" on the parent "block"

MICR Check printing

2002-06-21 Thread Urban, Patrick
Has anyone used FOP -> PDF as a successful solution for MICR check printing?   Patrick

Re: new fopper's question

2002-06-21 Thread Chris Bowditch
Vanessa, the classes in JAR will only be found if you run the batch file/command you quoted when you are in the directory in which fop is installed. Notice that the refs to the JAR files are relative paths, e.g. build\fop.jar etc... Chris From: "Yu, Vanessa" <[EMAIL PROTECTED]> Reply-To: [EMAIL

RE: performance problem renedering nested fo-tables

2002-06-21 Thread Argyn Kuketayev
Do u know any other ways besides nested tables to achieve the same goal? my goal is whenever the nested section brakes at the page end to have continuing headers on the next page. So, Right now for one nested table I've this: fo:table - with one cell - this is for one "root" table, or a chapter

degree symbol in pdf

2002-06-21 Thread vakkaraju
Hi, I'm unable to get the degree symbol('°') to be displayed properly in the pdf while displaying a temparature value, whereas i get the "cubed" symbol('³') correctly displayed while showing a flow value such as meter cubed per hr. We have been sucessfully using FOP over the past six months for

Embedded fonts.

2002-06-21 Thread Sven . Taeymans
Hi all, currently having the folowing minor problem when using fop 0.20.4rc         abcdefghijklmnopqrstuvwxyz fo:inline> gives me only one character (part of a scissors) My own embedded font wo

RE: Problem with javax.xml.transform.Transformer

2002-06-21 Thread Cox, Charlie
tomcat 4.0.3 had some classloading issues, so if it works with 4.0.4, you probably should use it instead. 4.0.4 final is now available. Charlie > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 20, 2002 12:50 AM > To: [EMAIL PROTECTED] > Subje

Re: Problem with servlet

2002-06-21 Thread Neeru . Bhardwaj
No it doesn't. - Neeru Oleg TkachenkoTo:

FW: keep-together in a multi-column document

2002-06-21 Thread Thibodeaux, Paul
> I'm using FOP to build a multi-column, multipage document that is > essentially a "directory" of sorts, with names, addresses, and phone > numbers. > > I'd like to keep all the lines of each entry together in the same column, > but "keep-together.within-column" on the parent "block" doesn't s

Re: Problem with javax.xml.transform.Transformer

2002-06-21 Thread @Basebeans.com
Subject: Re: Problem with javax.xml.transform.Transformer From: "Wim Sandra" <[EMAIL PROTECTED]> === I can process the first XSL-FO document. But the following XSL-FO documents fail with the same error: ClassNotFound on javax.xml.transform.Transformer. It seems -but I'm not sure yet- that I only

Re: some help..

2002-06-21 Thread Jeremias Maerki
Several people have been successful at embedding MathML using some tool that converts MathML to SVG. SVG can be easily embedded in XSL:FO. Have a look into the FOP mailing list archives and search for MathML. http://xml.apache.org/fop/resources.html > Can you please describe me how to embedd equa

AW: Problem with servlet

2002-06-21 Thread Michael Heinen
The problem could be that WebSphere has an old version of xerces in its classpath. Did you change the static classpath of websphere ? Try to delete the old xerces entry in the admin.config file of websphere and add two new entries at the beginning for the fop versions of xerces and xalan. I got it

RE: some help..

2002-06-21 Thread Keiron Liddle
The element for foreign xml is instream-foreign-object. You can put svg or any other xml markup in their. The processor, ie FOP, then needs to have a handler for that xml. Currently it has a handler for batik. The redesigned FOP has an extension that has a handler for mathml that converts the math

Re: One truth about FOP and SVG

2002-06-21 Thread Keiron Liddle
On Thu, 2002-06-20 at 21:31, Darya Said-Akbari wrote: > 1. It should be clear for anyone from the very first > beginning when working with FOP that FOP works fine > when PDF should be the result. > > 2. That it also work fine when you stay in the FO > namespace and create your stylesheets with FO

keep line-breaks in PDF

2002-06-21 Thread Hahn Kurt (CHA)
I'm generating a document from a DB which contains fields of up to 2000 characters In those fields,any line-break is stored, and if I look at my XSL-FO in a text-editor, I see that all the line-breaks are still there. They're of the form: . If process the document through FOP (the contents are dis

RE: performance problem renedering nested fo-tables

2002-06-21 Thread Hahn Kurt (CHA)
Oops. I was testing a document without nested tables: Here are the correct values: PDF (104Kb) : 16 seconds xml (511Kb) : 7 seconds Sorry -Message d'origine- De : Hahn Kurt (CHA) [mailto:[EMAIL PROTECTED] Envoyé : vendredi, 21. juin 2002 08:27 À : '[EMAIL PROTECTED]' Objet : RE: performanc

RE: performance problem renedering nested fo-tables

2002-06-21 Thread Hahn Kurt (CHA)
Hi, I'm generating a very similar document, also with nested tables within a main, one-column table. Here's my values: PDF (144 Kb, about 30-40 pages): 15 seconds just the XML (62 Kb): 7 seconds. I wouldn't say that FOP slows down a lot. But: Maybe it's your browser that's slowing down. I did my t

RE: some help..

2002-06-21 Thread Durai Murugan
Can you please describe me how to embedd equations inside FO style sheet. i render for PDF it doesn't takes MathML markups. As per W3C Draft Specification 15 October 2001 there is no information about incorporating MathML tags inside the FO. This is the main problem with any STM(science,technical

RE: some help..

2002-06-21 Thread Roland Neilands
>can anybody give me description regarding FOP. > like what it is actually and what it does? I presume you've seen the website http://xml.apache.org/fop and you know what XML is. It is an XSL-FO processor. It takes the XSL-FO as input (or generates it first using Xalan/Xerces from XML transformed

some help..

2002-06-21 Thread vinod . nayak
Hi all,   can anybody give me description regarding FOP. like what it is actually and what it does? Vinod Nayak i-flex solutions ltd. Voice: (91)-228 43 00, x 6501 Fax:   (91)-22-843 13[EMAIL PROTECTED]