I no longer get the AbstractMethodError when trying to extend FOP but...

2002-11-21 Thread Raffi Simon
WHen I downloaded the FOP I took both fop-0.20.4-src.tar.gz and fop-0.20.4rc-src.tar.gz which is the best to use as FOP. the one with the RC was the one giving me problems. -RaMSN 8 helps ELIMINATE E-MAIL VIRUSES. Get 2 months FREE*. --

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
cancel that I think I found it.Add photos to your messages with MSN 8. Get 2 months FREE*. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
I have attached my ExtElementMapping file and I also rebuilt FOP with debugging turned on this is the error I get:   C:\apps\fop-0.20.4>fop c:\test.fo -pdf c:\test.pdf C:\apps\fop-0.20.4>java -cp build\fop.jar;build\test.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0.1.jar;lib\xml-ap

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Jeremias Maerki
AbstractMethodError means that a method on a class is called that is abstract. Compare your implementation with org.apache.fop.svg.SVGElementMapping. addToBuilder is just plain public and that's how it should be. Going to bed now...back in 9 hours. On 21.11.2002 22:51:38 Raffi Simon wrote: > as a

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
as a test, I took the ExtensionElementMapping.java file that comes with the sourse files and I added a system.out.println to the code and compiled it and placed it in the classpath, I still get the same exception. I do not think this has to do with my implementation. -RafAdd photos to your e-mail

Re: blank screen in browser

2002-11-21 Thread Thorsten Scherler
I am not 100% sure I have understood it or not, but maybe that's the problem of the IE. I read some postings about IE having trouble with PDF, but can't remember where. Savino, Matt C wrote: Not necessarily. If only a few people's browsers are actually sending a second request through to the ser

Re: AbstractMethodError when trying to extend FOP

2002-11-21 Thread Jeremias Maerki
Turn on debug info in the build.xml and recompile FOP. Having line numbers will make it a lot easier for you to track down the problem. Looking at the source of Driver I guess you don't have a method addToBuilder(FOTreeBuilder) in your ElementMapping implementation. On 21.11.2002 22:25:24 Raffi Si

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Not necessarily. If only a few people's browsers are actually sending a second request through to the servlet you might only see an error then. (Say if you were storing the byte-stream in the user session for some reason, but then deleting it after the first hit to the servlet, it would return and

AbstractMethodError when trying to extend FOP

2002-11-21 Thread Raffi Simon
I follow the directions to extend FOP, I created a jar file with my classes and place a org.apache.fop.fo.ElementMapping file in the jar and when I run the FOP with my custom element I get the following. [INFO] FOP 0.20.4rcException in thread "main" java.lang.AbstractMethodError    at org.apac

Re: blank screen in browser

2002-11-21 Thread Thorsten Scherler
But he wrote: 1% or so of my user population > cannot get the pdf Cox, Charlie wrote: could an exception be occurring that prevents anything from being written to the output stream? This would cause a blank screen. Check your server's log files. then I guess it would be 100% Charlie -Original

RE: blank screen in browser

2002-11-21 Thread Cox, Charlie
could an exception be occurring that prevents anything from being written to the output stream? This would cause a blank screen. Check your server's log files. Charlie > -Original Message- > From: Zahigian, Mike [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 21, 2002 1:59 PM > To: '

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Oh yeah, putting '...&dummy=.pdf' at the end of your query string also seems to help sometimes. > -Original Message- > From: Thorsten Scherler [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 21, 2002 12:24 PM > To: [EMAIL PROTECTED] > Subject: Re: blank screen in browser > > > It ha

Re: blank screen in browser

2002-11-21 Thread Thorsten Scherler
It happends a couple of times to me to. I always installed the Acrobat again and then it was alright. I am now using Mozilla http://ftp.mozilla.org/pub/mozilla/releases/mozilla1.2b/mozilla-win32-1.2b-installer.exe and now I don't have that problem anymore. You can download the page and then view

RE: blank screen in browser

2002-11-21 Thread Savino, Matt C
Check to see if there's anything different about their internet settings or IE build than the other 99%. Look behind the scenes to see if your servlet is being called twice. It sounds like it could be some quirky caching behvior on just those browsers. Even the newest versions of IE call the PDF

RE: blank screen in browser

2002-11-21 Thread Zahigian, Mike
As far as I can tell all users are on IE 5.x to 6.x MZ -Original Message- From: Thorsten Scherler [mailto:[EMAIL PROTECTED] Sent: Thursday, November 21, 2002 11:36 AM To: [EMAIL PROTECTED] Subject: Re: blank screen in browser What browser use this 1%? Not all browser support adope read

Re: blank screen in browser

2002-11-21 Thread Thorsten Scherler
What browser use this 1%? Not all browser support adope reader as a plugin! Zahigian, Mike wrote: I am using FOP embedded in a Servlet. Users trigger the servlet by clicking a button on a web page. The servlet then takes the response and performs a transformation and renders to pdf. The browser

blank screen in browser

2002-11-21 Thread Zahigian, Mike
I am using FOP embedded in a Servlet. Users trigger the servlet by clicking a button on a web page. The servlet then takes the response and performs a transformation and renders to pdf. The browser pops up a new window and displays the pdf output. 1% or so of my user population cannot get the p

How to make an element disappear completely?

2002-11-21 Thread Matthias Brunner
Hello, I am trying to get pagination information back into the source document. (see http://marc.theaimsgroup.com/?l=fop-user&m=103227363003594&w=2) It seems that there is no other opportunity than relying on an ugly hack. I intend to scan the Area Tree output in order to see where page break

Re: [Wyonacms-users] XOpus

2002-11-21 Thread Thorsten Scherler
This is an open appeal to the XML Open Source Community. Please support this appeal to keep an Open Source Project alive! How can we keep the following project Open Source? Please post this message to people who may help! "Xopus is a browser based in-place wysiwyg XML editor. Xopus allows user

RE: trying to extend FOP to handle Barcodes

2002-11-21 Thread Raffi Simon
thank you Jason, I have found a servlet that does the same, but I can not convert the image in the pcl output file. I need the image to be in the pcl output file to send to the printer. Thank you. -RafTired of spam? Get advanced junk mail protection with MSN 8. ---

Re: break line

2002-11-21 Thread xavier gibouin
In fact   myxsl:fo is :   linefeed-treatment="preserve">               XX YYY   __    Identifiant :   and XXX doesn't appear after break lines   (i can't do differently because this xsl com

Re: break line

2002-11-21 Thread Oleg Tkachenko
xavier gibouin wrote: I already try this but it works only if a put a charachter somewhere. If a put anything, it doesn't work Hmmm, try again, I just checked it in fop-0.20.4 - the following produces bordered square. How do you run it? Make sure any parser/xslt processor, like msxml doesn't

Re: break line

2002-11-21 Thread xavier gibouin
I already try this but it works only if a put a charachter somewhere.   If a put anything, it doesn't work     Xavier GibouinAxonieEspace Mercoeur8, rue Mercoeur44000 Nantes02.40.48.53.23[EMAIL PROTECTED] - Original Message - From: Oleg Tkachenko To: [EMAIL PROTECTED]

Re: Upgrading to 0.20.4 problems

2002-11-21 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: [ERROR]: Failed to read font metrics file /C:/JavaProject/Klient/classes/jORManClient/Reports/Metrics/arial.xml : Invalid InputSource. Sounds like bug #10287, see http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10287. The above URI is too xerces-specific, other parsers re

Re: Latest Version of FOP does not work with my fo-File

2002-11-21 Thread Oleg Tkachenko
Christian wrote: I pulled the latest version of FOP (20021118112325) off of CVS and was able to build it just fine. But when I run fop from the command line with "bash fop.sh -d myfo.fo new.pdf" FOP hangs and I get the following debug messages: ++

Re: XSL Element testing whether empty, or not!

2002-11-21 Thread Oleg Tkachenko
Scherler, Thorsten wrote: I want to have the word Department in front of the value as soon as the is not empty. I figured out that the string-length(./department/text()) is 19 as soon . If is not empty is > 19. So I have written the following xsl (knowing that is a work around but not a solutio

Re: keep-with-next problem

2002-11-21 Thread Oleg Tkachenko
Morten Isaksen wrote: I have a table cell that spans multiple pages. Inside this table cell I would like to use the keep-with-next on a block to make sure this block and the next block is at the same page. FOP does not seem to care about this. The two blocks sometimes appears on different pages. Do

Re: break line

2002-11-21 Thread Oleg Tkachenko
xavier gibouin wrote: i would like to build a block with only break line : but break line doensn't appear in the pdf (attributewrap-option is not yet implemented / i try to put white-space ) Try this one Note: linefeed-treatment is not implemented yet, but wh

Re: FOP goes into infinite loop on one server, but works fine on another

2002-11-21 Thread Oleg Tkachenko
[EMAIL PROTECTED] wrote: I was wondering if anyone has encountered fop working fine on one server, but goes into an infinite loop on another. Not really. Should be some difference between them, try to find it out. Narrowing the culprit down, it seems like it is doing this when rendering a graphic.

Re: unsubscribe me

2002-11-21 Thread Oleg Tkachenko
Victor Mote wrote: It looks like my last message has the new footer with this information in it. Finally we got it! No more "unsubscribe me, please" (?). -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscr

RE: trying to extend FOP to handle Barcodes

2002-11-21 Thread FOP Mailing List
Raffi, I have a servlet that i wrote which takes as parameters a string to encode as a barcode, the barcode type, and the size in pixes you want the barcode to be. It returns a GIF image. Jason - To unsubscribe, e-mail: [E

XSL Element testing whether empty, or not!

2002-11-21 Thread Scherler, Thorsten
Hello group, newbie question: How can you test whether a Element contain information or not? I mean something like the DB command "is not Null" // "is null". Example: data.xml case 1) Elektro case 2) I want to have the word Department in front of the value as soon as the is not empty. I fig

keep-with-next problem

2002-11-21 Thread Morten Isaksen
Hi! I have a table cell that spans multiple pages. Inside this table cell I would like to use the keep-with-next on a block to make sure this block and the next block is at the same page. FOP does not seem to care about this. The two blocks sometimes appears on different pages. Does FOP support

Upgrading to 0.20.4 problems

2002-11-21 Thread Jiri_Nejedly
I am trying to upgrade version 0.20.3. to 0.20.4 , but have problems. If I try run FOP.BAT , everything is OK, the problem is in servlet. The error java.lang.NullPointerException int org.apache.fop.render.pdf.fonts.LazyFont.getAscender(int) int org.apache.fop.layout.FontState.getAscender() void

break line

2002-11-21 Thread xavier gibouin
Hi   i would like to build a block with only break line :           but break line doensn't appear in the pdf (attributewrap-option is not yet implemented / i try to put white-space )   is anyone have a solution ?,   thanks a lot Xavier GibouinAxonieEspace Mercoeur8, rue Mercoeur44000 Nan

Re: trying to extend FOP to handle Barcodes

2002-11-21 Thread Jeremias Maerki
I haven't done this before you I can try to give you some pointers: 1. Have a look at this page: http://xml.apache.org/fop/extensions.html 2. I'd implement your extension as fo:instream-foreign-object, like SVG is implemented. Example: http://mybarcodeext";>12345

Latest Version of FOP does not work with my fo-File

2002-11-21 Thread Christian
Hi all. I pulled the latest version of FOP (20021118112325) off of CVS and was able to build it just fine. But when I run fop from the command line with "bash fop.sh -d myfo.fo new.pdf" FOP hangs and I get the following debug messages: [EMAIL

Re: Converting FOP to HTML

2002-11-21 Thread Bertrand Delacretaz
On Thursday 21 November 2002 03:14, Anton Hughes wrote: >. . . > Take a look at apache cocoon http://xml.apache.org/cocoon/index.html The Cocoon HTML/PDF howto at http://xml.apache.org/cocoon/howto/howto-html-pdf-publishing.html might be a good starting point to get an overview of how HTML+PDF pub

RE: Converting FOP to HTML

2002-11-21 Thread Philip Fennell
Vlad wrote: > I have created a program that converts a set of FOP templates to PDF > documents. Now I would > like to enhance this program, and add the capability to also transform these > templates into > HTML pages. Can this be done? Using XSLT to convert the FOP documents to HTML would be yo

Re: fo:external-graphic problem when using HTTPS -

2002-11-21 Thread Johan Åbrandt
Hi Phillip, Thanks for the answere, and if I controlled the deployment environment I might do something like what you suggest. In this case I dont want to suggest anything that means installing additional software. Maintenance is expensive =). Also, I really prefer to have all resources needed b

AW: unsubscribe me

2002-11-21 Thread Harald Meyer
Sébastien Aperghis-Tramoni wrote > This information is in the header of each and every message that > goes through this list: > > List-Help: > List-Unsubscribe: > List-Post: Nice but who reads the header information?

RE: Compiling to native code

2002-11-21 Thread Bernard D'Have
may be batik.jar not in the classpath or web-inf/lib Bernard > -Original Message- > From: Oleg Tkachenko [mailto:[EMAIL PROTECTED] > Sent: 20 November, 2002 13:00 > To: [EMAIL PROTECTED] > Subject: Re: Compiling to native code > > > anil wrote: > > > Iam unable to instantiate Driver cl

Re: fo:external-graphic problem when using HTTPS - EntityResolver?

2002-11-21 Thread Phillip Rhodes
I have a weird and crazy idea that may help you Why don't you install a local apache server with mod_proxy. You can configure mod_proxy so that it can tunnel into https from your http connection. 1) It's very fast, all my browsing is through a proxy server 2) You can secure your local apach

trying to extend FOP to handle Barcodes

2002-11-21 Thread Raffi Simon
Hi all, I am trying to add a new element called barcode ( ) to the PCL rendering FOP. I would like to be able to insert this into a table or block and have the parser to attach the correct pcl command that i will define, whenever it sees this element. For example if I do this: 12345 I would lik

RE: Converting FOP to HTML

2002-11-21 Thread Anton Hughes
Hi Vladimir Take a look at apache cocoon http://xml.apache.org/cocoon/index.html Anton -Original Message- From: Vladimir Sneblic [mailto:[EMAIL PROTECTED] Sent: Thursday, November 21, 2002 3:10 PM To: [EMAIL PROTECTED] Subject: Converting FOP to HTML Hi, I have created a program that

Converting FOP to HTML

2002-11-21 Thread Vladimir Sneblic
Hi, I have created a program that converts a set of FOP templates to PDF documents. Now I would like to enhance this program, and add the capability to also transform these templates into HTML pages. Can this be done? I have checked the FOP website but HTML is not on the list of supported form

FOP goes into infinite loop on one server, but works fine on another

2002-11-21 Thread edward . jun
Hi, I was wondering if anyone has encountered fop working fine on one server, but goes into an infinite loop on another. Narrowing the culprit down, it seems like it is doing this when rendering a graphic. I am going from fo -> ps, and it seems to have trouble rendering eps images on one server,

Re: unsubscribe me

2002-11-21 Thread Sébastien Aperghis-Tramoni
On Wednesday, November 20, 2002, at 06:55 PM, Nicola Ken Barozzi wrote: Oleg Tkachenko wrote: Rodolphe VAGNER wrote: unsubscribe Send a mail to [EMAIL PROTECTED] to unsubscribe. Usually other mailing lists have this info appended to teh messages automatically, maybe it could help a bit. This info