Re: just a thought

2002-08-13 Thread Joerg Pietschmann
Oleg Tkachenko wrote It's probably not too late to consider some trivial optimization of fo tree in redesign code. In a typical fo document probably about 30% of elements have no children or have only one child (text node usually), so instead of eager protected ArrayList children = new

RE: just a thought

2002-08-13 Thread RamanaJV
HI devs, Can we directly say Driver.render(Document). It gives me the following error. I'm sure the document is good. Any help? [ERROR]: Logger not set [INFO]: building formatting object tree java.lang.NullPointerException at

Rendering document directly

2002-08-13 Thread RamanaJV
HI devs, Can we directly say Driver.render(Document). It gives me the following error. I'm sure the document is good. Any help? [ERROR]: Logger not set [INFO]: building formatting object tree java.lang.NullPointerException at

fop documentation

2002-08-13 Thread m . schaeffler
Hi FOP-Developer, I'm trying to get familar with the fop implementation (0.20.4). Especially with the algorithm to calculate the width and height needed to display text. Is their any more documentation (such as UML diagrams or further describtions wich class/package is doing what and how) for

Problem in Embedding FOP in servlet

2002-08-13 Thread ssimha
Hi friends, I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my servlet... written a servlet to generate PDF file making use of XML and XSL files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy whole context to tomcat3.2.2 and above versions

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread Jamal Mohamed A Abdul Sathar
check out ur xsl file is correct or in servlet did u pass xml and xsl file into XSLTInputhandler try out this and reply From: ssimha [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Problem in Embedding FOP in servlet Date: Tue, 13 Aug 2002 15:44:19 +0530 Hi

[GUMP] Build Failure - xml-fop

2002-08-13 Thread Sam Ruby
This email is autogenerated from the output from: http://jakarta.apache.org/builds/gump/2002-08-13/xml-fop.html Buildfile: build.xml Caught exception (org.apache.tools.ant.BuildException)

How to Call FOP thro Java Application?

2002-08-13 Thread Amerin Szulr
Hi When i tried to execute the below "produce.java" , i'm getting the below mentioned compilation err. C:\FOP\fop-0.20.3javac produce.javaproduce.java:15: cannot resolve symbolsymbol : class Loggerlocation: class produce Logger log = null; ^produce.java:17: cannot resolve symbolsymbol : class

RE: just a thought

2002-08-13 Thread Arved Sandstrom
-Original Message- From: Joerg Pietschmann [mailto:[EMAIL PROTECTED]] Sent: August 13, 2002 4:53 AM To: FOP Dev Subject: Re: just a thought Oleg Tkachenko wrote [ Snipped Oleg's proposal ] I thought I posted this two weeks ago. I made some measurements with the FOP examples and

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread ssimha
thanks for the reply... yeah... my xsl file is fine and passing xml xsl file into XSLTInputhandler.. My servlet works fine with FOP(0.20.4 version 13-Jun-2002) and tomcat3.1 BUT throws error while I put the same context into tomcat3.2.2(as my whole application is running on tomcat3.2.2) I

Re: just a thought

2002-08-13 Thread Oleg Tkachenko
Joerg Pietschmann wrote: I thought I posted this two weeks ago. Sorry Joerg, I have missed your post. I made some measurements with the FOP examples and a few other FO files an get roughly the following statistics: 45% no child (mostly text nodes, but also fo:page-number and fo:region-*)

RE: help!!!

2002-08-13 Thread Rhett Aultman
Rewriting FOP in C++ is not impossible, though it may be quite difficult. I'm really not sure what the rest of your questions are, but I'd say it's going to take you quite a while to complete a project like that, and if your boss is telling you and you alone to rewrite FOP in C++, and you are

Re: Problem in Embedding FOP in servlet

2002-08-13 Thread Oleg Tkachenko
ssimha wrote: I'm facing a problem in embedding FOP(0.20.4 version 13-Jun-2002) into my servlet... written a servlet to generate PDF file making use of XML and XSL files. It's works fine... when this servlet runs on tomcat3.1. BUT if I copy whole context to tomcat3.2.2 and above

Re: How to Call FOP thro Java Application?

2002-08-13 Thread Oleg Tkachenko
Amerin Szulr wrote: When i tried to execute the below produce.java , i'm getting the below mentioned compilation err. C:\FOP\fop-0.20.3javac produce.java produce.java:15: cannot resolve symbol symbol : class Logger location: class produce Logger log = null; ^

Re: Rendering document directly

2002-08-13 Thread Oleg Tkachenko
RamanaJV wrote: Can we directly say Driver.render(Document). It gives me the following error. I'm sure the document is good. Any help? Show us your code. -- Oleg Tkachenko Multiconn International, Israel - To

Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh
Hello, IvanLatysh! You wrote to [EMAIL PROTECTED] on Mon, 12 Aug 2002 10:56:57 -0400: I Hi. I I have problem with printing on duplex printer HP LaserJet IIISi. I Report have 2 pages. I If I am printing simplex - Ok. I But if I am trying to print duplex only one side is printing, but I

RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV
Even I'm also troubled with the same problem. Cannot print in duplex mode. I have even tried the new print services API in 1.4, but unsuccessful. Is it possible to do it through FOP? Ramana. -Original Message- From: IvanLatysh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002

Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV
I don't whether this question is relevant here or not. But, I expect some answer from the experts in this group. Has any body successful in duplex printing through Java? If so, can u please post the code. If not, Is the new Java print service API buggy? Thanks Ramana.

Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh
Hello, RamanaJV! You wrote to [EMAIL PROTECTED] on Tue, 13 Aug 2002 18:59:30 +0530: R I don't whether this question is relevant here or not. But, I expect R some answer from the experts in this group. I am shure that this questions are relevant to this group. Because problems with FOP not with

Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread Oleg Tkachenko
RamanaJV wrote: Even I'm also troubled with the same problem. Cannot print in duplex mode. I have even tried the new print services API in 1.4, but unsuccessful. Is it possible to do it through FOP? I doubt the problem has something to do with fop, are you sure you can duplex print from

RE: Duplex print problem. Does someone could help ???

2002-08-13 Thread RamanaJV
IvanLatysh, Did u try printing someother document throgh 1.4 print API? Are u able to do? I didn't try duplex printing, but tried to execute the PrintPS.java example supplied in the examples. But, I couldn't print the PostScript file. Even there is no printer tray available.

Re: How to Call FOP thro Java Application?

2002-08-13 Thread Amerin Szulr
u mean avalon-framwork-4.0.jar, its already in the path. I'm using fop-0.20.3.and able to generate pdf giving xsl and xml as input,. wht could be the problem while calling thro Java Application, anysuggestions ? Oleg Tkachenko <[EMAIL PROTECTED]>wrote: Amerin Szulr wrote: When i tried to execute

Re: How to Call FOP thro Java Application?

2002-08-13 Thread IvanLatysh
Hello, Amerin! You wrote to [EMAIL PROTECTED] on Tue, 13 Aug 2002 07:44:48 -0700 (PDT): C:\FOP\fop-0.20.3javac produce.java produce.java:15: cannot resolve symbol symbol : class Logger location: class produce Logger log = null; ^ produce.java:17: cannot resolve symbol symbol : class

Re: Duplex print problem. Does someone could help ???

2002-08-13 Thread IvanLatysh
Hello, RamanaJV! You wrote to [EMAIL PROTECTED] on Tue, 13 Aug 2002 19:22:26 +0530: R IvanLatysh, R Did u try printing someother document throgh 1.4 print API? Are u R able to do? I have a problem printing even with 1.4 API. But I found one interesting bug report.

Trouble with XML parser versions...

2002-08-13 Thread Richard Bolen
I'm having a bear of a time getting FOP V0.20.4 to work with Tomcat 4.0.1/JBoss 2.4.4 on JRE 1.4.0. I'm getting the following exception when trying to run the Embedded servlet example from the distribution: java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLReader

Re: help!!!

2002-08-13 Thread Mark Malone
I think the new boss advice is more useful ;) New boss would say Take existing, make faster, short time to market! This can't be real. -M On Tuesday, August 13, 2002, at 05:28 AM, Rhett Aultman wrote: Rewriting FOP in C++ is not impossible, though it may be quite difficult. I'm really

RE: help!!!

2002-08-13 Thread Rhett Aultman
On the contrary, that's how bosses are. Don't even get me started on mine. -Original Message- From: Mark Malone [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 13, 2002 1:59 PM To: [EMAIL PROTECTED] Subject: Re: help!!! I think the new boss advice is more useful ;) New boss

Re: How to Call FOP thro Java Application?

2002-08-13 Thread Oleg Tkachenko
Amerin Szulr wrote: u mean avalon-framwork-4.0.jar, its already in the path. No, I meant avalon from fop distribution, which includes logger code already. -- Oleg Tkachenko Multiconn International, Israel - To unsubscribe,

Re: just a thought

2002-08-13 Thread J.Pietschmann
Arved Sandstrom wrote: I overlooked the PCDATA as child case...taking that into account there is no doubt that 1 child is an important case. But I am still not convinced this case needs treatment different from the 2 or more children case as Oleg proposed. I also considered what Oleg

Re: PDF Security using FOP.

2002-08-13 Thread J.Pietschmann
Avula, Raj wrote: Hi, I have a basic question about the generated PDF document using FOP. It is possible to apply security features to PDF output like making pdf output read-only and disabling the copy operation on the output etc.. This is not build-in into FOP, but you can

Re: fop documentation

2002-08-13 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: I'm trying to get familar with the fop implementation (0.20.4). Especially with the algorithm to calculate the width and height needed to display text. Is their any more documentation (such as UML diagrams or further describtions wich class/package is doing what and

Re: Rendering document directly

2002-08-13 Thread J.Pietschmann
RamanaJV wrote: Can we directly say Driver.render(Document). It gives me the following error. I'm sure the document is good. Any help? [ERROR]: Logger not set [INFO]: building formatting object tree java.lang.NullPointerException at

Property handling

2002-08-13 Thread Peter B. West
J.Pietschmann wrote: ... Keiron Liddle wrote: Does that mean we should not attempt to solve this problem? Or that we should attempt to solve the problem twice independantly. Actually, this problem has been tackled several times already, in particular if we include Peter's efford,

Re: Property handling

2002-08-13 Thread Peter B. West
Peter B. West wrote: J.Pietschmann wrote: And yes, it is absolutley choc-a-bloc with instancesof and casts, which, Should read absolutely chock-a-block; it is not to be confused with the consumption of chocolate. - Have a FONode method which goes through the attribute list and + gets

Re: Property handling

2002-08-13 Thread Peter B. West
J.Pietschmann wrote: There should be no need to actually store for many properties most of the data types which can be specified in an XML attribute, for example font-size can always be resolved to an absolute value. Bad things are for example alignment-adjust which must still store an

Re: How to Call FOP thro Java Application?

2002-08-13 Thread Amerin Szulr
hi i'm getting the pdf file after executing the progam, but if i try to open the Acrobat output pdf file, it says the following errror. "Actobat could not open 'outputpdf.pdf' because it is either not a supported file type or because the file has been corrupted (for example, it was sent as an

Re: FOP components (was: Re: Avalon integration: First batch ofchanges, Logging)

2002-08-13 Thread Kevin O'Neill
Again, what else obvious components do we use? I'd like to add stuff like PDF encryption, but I don't know enough about this to decide how tight this has to be integrated into the PDF renderer. I've been having a look at encryption and components could be used though to supply say no vs 40

AW: Tasks - layout

2002-08-13 Thread Keiron Liddle
On Mon, 2002-08-12 at 21:17, J.U. Anderegg wrote: o Are there specified packages, classes to be programmed? Are the interfaces/interface objects specified? Mostly yes, and if someone wants more information I can go into more detail. o Are prerequisite packages or test drivers available?

Commit Messages

2002-08-13 Thread Kevin O'Neill
Is there a mailing list for commit messages? -k -- If you don't test then your code is only a collection of bugs which apparently behave like a working program. Website: http://radio.weblogs.com/0111457/ - To unsubscribe,

RE: Commit Messages

2002-08-13 Thread Buchtk, Michal
It's [EMAIL PROTECTED] Michal -Original Message- From: Kevin O'Neill [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 14, 2002 8:08 AM To: FOP Developers Subject: Commit Messages Is there a mailing list for commit messages? -k

Re: Tasks - layout

2002-08-13 Thread Keiron Liddle
On Mon, 2002-08-12 at 13:44, Kevin O'Neill wrote: These are just some of the things, I will add them to the todo list. If there is a decent response then there are more that can be added. Any PDF tasks? - Encryption and signing - Reusing pdf objects that links create - form XObject Those