RE: (Victor) PDF fo:basic-link problem in trunk

2003-10-07 Thread Victor Mote
J.Pietschmann wrote: > Victor Mote wrote: > > Yes, without some sort of regression testing mechanism, > > We should have that now, see > test/java/org/apache/fop/GenericFOPTestCase.java > > I deliberatly went for a self containg test scheme, which > means not even external XML files. Add tests a

"Document Name" when printing

2003-10-07 Thread Clay Leeds
Is there any way to control the document name when printing from the command line (fop-0.20.5, java 1.4.1_01-b01 running under Windows XP Pro). At present it displays "Java Printing". I'd like to *at least* have an option for appending a serial number printing (Java Printing_001, Java Printing_

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Clay Leeds <[EMAIL PROTECTED]> wrote: > Is there any way to control the document name when > printing from the > command line (fop-0.20.5, java 1.4.1_01-b01 running > under Windows XP > Pro). I'm unsure what you mean--are you referring to the -print render type? I don't think so here... G

Re: cvs commit: xml-fop/src/java/org/apache/fop/util CharUtilities.java

2003-10-07 Thread J.Pietschmann
[EMAIL PROTECTED] wrote: public class CharUtilities { ... +public static int getWordWidth(String word, Font fs) { That's ugly. Shouldn't this be a method of Font? J.Pietschmann

cvs commit: xml-fop/src/java/org/apache/fop/apps XSLTInputHandler.java

2003-10-07 Thread gmazza
gmazza 2003/10/07 13:06:17 Modified:src/java/org/apache/fop/apps XSLTInputHandler.java Log: Removed nonfunctional setParameter() function from XSLTInputHandler. (Bug 23624, submitted by Julien Cervelle). Revision ChangesPath 1.10 +0 -9 xml-fop/src/java/org/ap

RE: cvs commit: xml-fop/src/java/org/apache/fop/util CharUtilities.java

2003-10-07 Thread Victor Mote
J.Pietschmann wrote: > [EMAIL PROTECTED] wrote: > >public class CharUtilities { > ... > > +public static int getWordWidth(String word, Font fs) { > > That's ugly. Shouldn't this be a method of Font? Although I don't recognize it as ugly, I have no objection to your proposal. I was makin

Re: "Document Name" when printing

2003-10-07 Thread Eric Galluzzo
Clay Leeds wrote: Is there any way to control the document name when printing from the command line (fop-0.20.5, java 1.4.1_01-b01 running under Windows XP Pro). At present it displays "Java Printing". I'd like to *at least* have an option for appending a serial number printing (Java Printing_

cvs commit: xml-fop/src/org/apache/fop/apps Driver.java

2003-10-07 Thread gmazza
gmazza 2003/10/07 13:38:33 Modified:src/org/apache/fop/apps Tag: fop-0_20_2-maintain Driver.java Log: Porting from trunk back to maintenance a check for a null class loader while loading ElementMappings; code originally done by Keiron http://cvs.apache.org/viewcvs.cgi/xml-fop

DO NOT REPLY [Bug 23480] - [PATCH] NullPointerException when -classpath is empty

2003-10-07 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Eric Galluzzo [mailto:[EMAIL PROTECTED] > > Clay Leeds wrote: > > > Is there any way to control the document name when printing from the > > command line (fop-0.20.5, java 1.4.1_01-b01 running under Windows XP > > Pro). > > > > Any ideas that don't involve ge

cvs commit: xml-fop/src/org/apache/fop/apps PrintStarter.java

2003-10-07 Thread gmazza
gmazza 2003/10/07 14:19:30 Modified:src/org/apache/fop/apps Tag: fop-0_20_2-maintain PrintStarter.java Log: Printer Job name specified as "FOP Document" instead of default "Java Printing" (thanks to Eric Galuzzo for help on this.) Revision Changes

cvs commit: xml-fop/src/java/org/apache/fop/render/awt AWTPrintRenderer.java

2003-10-07 Thread gmazza
gmazza 2003/10/07 14:22:04 Modified:src/java/org/apache/fop/render/awt AWTPrintRenderer.java Log: Document name switched from default "Java Printing" text to "FOP Document". Revision ChangesPath 1.6 +2 -2 xml-fop/src/java/org/apache/fop/render/awt/AWTPrintRend

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Eric Galluzzo <[EMAIL PROTECTED]> wrote: > > The name of a printer job can be set via the > java.awt.print.PrinterJob.setJobName( String ) > method. This would need > to be done within whatever class creates the printer > job and prints it. > > Hmmm, this is probably a really unhelpfu

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > [...] I have been browsing around in the > source, and pinpointed *the* class which needs to be modified (maintenance > branch, but seems to be the same for HEAD, if I'm correct): > > org.apache.fop.apps.PrintSt

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > ( I see Glen, in the meantime has beaten me to it :) ) > > Just tried the following: > > - added a member variable to PrintStarter: > > line 90 -> private String pjname; ^^^ Sorry, too

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Glen Mazza wrote: Not at all-just updated maintenance and trunk to state "FOP Document" instead of "Java Printing". Thanks for the quick pointer on how to do so. File names are not presently available within the AWTPrintRenderer in order to display them--OTOH, I don't think we want to get into

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Clay Leeds [mailto:[EMAIL PROTECTED] > > It would be great if there were a flag/arg that could be added to the > COMMAND LINE to enable some type of identification to be appended (like > the date/time stamp like '200310061500' might be good--or since it's a > fl

Re: "Document Name" when printing

2003-10-07 Thread Glen Mazza
--- Clay Leeds <[EMAIL PROTECTED]> wrote: > It would be great if there were a flag/arg that > could be added to the > COMMAND LINE to enable some type of identification > to be appended (like > the date/time stamp like '200310061500' might be > good--or since it's a > flag/arg, append the filena

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Glen Mazza wrote: --- Clay Leeds <[EMAIL PROTECTED]> wrote: It would be great if there were a flag/arg that could be added to the COMMAND LINE to enable some type of identification to be appended (like the date/time stamp like '200310061500' might be good--or since it's a flag/arg, append the fi

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Clay Leeds [mailto:[EMAIL PROTECTED] > > Thanks again for all of your collective (not to mention quick!) help on > this. > Maestro, If mine is included, you're welcome of course. (No replies? Admittedly, perhaps I do leave little to add ;) ) Considering your

RE: "Document Name" when printing

2003-10-07 Thread Andreas L. Delmelle
> -Original Message- > From: Andreas L. Delmelle [mailto:[EMAIL PROTECTED] > > > If Glen judges that it would hardly be worth the effort, I can understand > perfectly that there are more important issues... So if need be, I'll just > enter a patch one of the coming days. > On second though

Re: "Document Name" when printing

2003-10-07 Thread Clay Leeds
Andreas L. Delmelle wrote: From: Clay Leeds [mailto:[EMAIL PROTECTED] Thanks again for all of your collective (not to mention quick!) help on this. Maestro, If mine is included, you're welcome of course. (No replies? Admittedly, perhaps I do leave little to add ;) ) Don't worry... I don't think t