Re: PostScript with Unicode fonts
On 29.01.2003 19:29:02 Rodolfo M. Raya wrote: On Wed, 2003-01-29 at 14:41, Jeremias Maerki wrote: Hi The Arial font you're talking about is TrueType, right? You can't use TrueType fonts with the PostScript renderer, yet. The PostScript renderer is not anywhere near the functionality the PDF renderer offers. I noticed that you introduced a lot of changes in FOP regarding font handling during the last couple of weeks. Any chance this changes will improve PostScript renderer soon? No. You have to be aware that we have to lines of development here: Maintenance (where the current releases come from) and redesign. I'm mostly working on the latter. The other font-related stuff was mostly bugfixing. You will have to go with the PDF renderer for now, I'm afraid. I suggest you generate PDF files and convert them to PostScript using Acrobat Reader (command line only available on Unix), GhostScript or pdf2ps. I need a solution for Windows too. Acrobat Reader is OK in Linux. GhostScript fails converting files with Unicode fonts. Is there any other tool that can convert PDF to PostScript in Windows? Win32 port of pdftops from the xpdf package perhaps: http://sourceforge.net/project/showfiles.php?group_id=23617release_id=91406 Normal procedures for adding fonts to FOP is here: http://xml.apache.org/fop/fonts.html Please be aware that not every renderer support every font. I need to know if PostScript renderer will be able to use Arial Unicode if I embed it in FOP. Any idea? As I already tried to explain, it won't, at least not in the near future. You're invited to help us add that functionality. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
I am new to this mailing list, and sorry if I ask very known question ? But, I have tried the Servlet exmple code and it seems that it uses deprecated methods : com/clipack/portal/util/FOPRenderer.java [40:1] warning: getParser() in org.apache.fop.apps.XSLTInputHandler has been deprecated driver_.render(inputHandler.getParser(),inputHandler.getInputSource()); ^ com/clipack/portal/util/FOPRenderer.java [40:1] warning: getInputSource() in org.apache.fop.apps.XSLTInputHandler has been deprecated driver_.render(inputHandler.getParser(),inputHandler.getInputSource()); ^ 2 warnings Is there any other example using xsl without these deprecated methods ? I have searched an apidocs on the site and in the folder of my distribution, I didn't find it. Are we obliged to download the sources and make our Apidocs or I have not searched well ? regards all, Laurent Forêt. - Original Message - From: J.Pietschmann [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 29, 2003 10:00 PM Subject: Re: Web page embedding Matthew Lancashire wrote: Is there an example of an applet. You should be able to use the servlet example as starting point. There is also some general documentation in http://xml.apache.org/fop/embedding.html J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
Yes, FOP 0.20.5 will contain a set of examples that uses JAXP. They are currently only accessible via CVS. Here's an URL to the example you need: http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/Attic/ExampleXML2PDF.java?rev=1.1.2.1content-type=text/vnd.viewcvs-markup Here's the documentation (see bottom of the page): http://xml.apache.org/fop/embedding.html On 30.01.2003 09:32:11 Laurent Forêt wrote: Is there any other example using xsl without these deprecated methods ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
OK thanks a lot. Now I am lookinkg to the ExampleObj2XML at http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ Attic/ExampleObj2XML.java?rev=1.1.2.1content-type=text/vnd.viewcvs-markup And We don't have the code for the ProjectTeam class, specially getSourceForProjectTeam() method. Source src = team.getSourceForProjectTeam(); My question is now, how can we transform a custom Object (ProjectTeam in the example) into a Source object ? regards, Laurent Forêt. - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 10:17 AM Subject: Re: Web page embedding Yes, FOP 0.20.5 will contain a set of examples that uses JAXP. They are currently only accessible via CVS. Here's an URL to the example you need: http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/ Attic/ExampleXML2PDF.java?rev=1.1.2.1content-type=text/vnd.viewcvs-markup Here's the documentation (see bottom of the page): http://xml.apache.org/fop/embedding.html On 30.01.2003 09:32:11 Laurent Forêt wrote: Is there any other example using xsl without these deprecated methods ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java novice
On 30.01.2003 11:55:11 Matthew Lancashire wrote: I hace created an exe from ExampleXML2PDF. Well, exe don't exist in Java. I guess you mean you ran the build script in examples/embedding and now you've got a bunch of *.class files in the build directory, right? How can I run this. I get NoClassDefFoundError. This means that a class could not be found in the classpath. Usually, the error message also tells you which class. And that will give you an indicator what is missing. Next time you should provide the full error message. I know very little about the runtime environment set-up! It would be best if you got yourself a Java-for-starters book. What you're probably missing are several JAR files in the classpath. You need to do something like: java -cp lib/xml-apis.jar;lib/xercesImpl-2.2.1.jar;lib/xalan-2.4.1.jar;lib/avalon-framework-cvs-20020806.jar;lib/batik.jar;build/fop.jar;examples/embedding/build/classes embedding.ExampleXML2PDF Also is it possible to use Streamed CML instead of seperate XML/XSL files? Sorry, I don't know what you mean by Streamed CML. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java novice
I am using MS VJ++ 6 which builds an exe file! The class is the Driver class (found from debugging not the error message) CML was supposed to be XML. Any clues -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 11:28 To: [EMAIL PROTECTED] Subject: Re: Java novice On 30.01.2003 11:55:11 Matthew Lancashire wrote: I hace created an exe from ExampleXML2PDF. Well, exe don't exist in Java. I guess you mean you ran the build script in examples/embedding and now you've got a bunch of *.class files in the build directory, right? How can I run this. I get NoClassDefFoundError. This means that a class could not be found in the classpath. Usually, the error message also tells you which class. And that will give you an indicator what is missing. Next time you should provide the full error message. I know very little about the runtime environment set-up! It would be best if you got yourself a Java-for-starters book. What you're probably missing are several JAR files in the classpath. You need to do something like: java -cp lib/xml-apis.jar;lib/xercesImpl-2.2.1.jar;lib/xalan-2.4.1.jar;lib/avalon-fra mework-cvs-20020806.jar;lib/batik.jar;build/fop.jar;examples/embedding/build /classes embedding.ExampleXML2PDF Also is it possible to use Streamed CML instead of seperate XML/XSL files? Sorry, I don't know what you mean by Streamed CML. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Nice attitude! FW: OT: Java novice
Is this the sort of help you want to encourage? -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 12:09 To: Matthew Lancashire Subject: Re: OT: Java novice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh no, Am Donnerstag, 30. Januar 2003 12:49 schrieb Matthew Lancashire: I am using MS VJ++ 6 which builds an exe file! MS VJ++ knows how to build exe files but doesn't know Java! Get yourself a real working Java from SUN, IBM, Blackdown or wherever, but NOT FROM MICROSOFT! MS VJ++ sucks completely. And at all, this is totally off topic. For basic questions on how to set up Java try the beginner's forum at java.sun.com. For basic questions why MS VJ++ sucks ask Microsoft Why do 95% of all Java source codes not successfully compile and run when using VJ++? At all, how dare you to bring up Exe's and MS VJ++ on a this list? Apache httpd - MS IIS Java - MS C#/.NET Open Source - MS And don't tell me I'm ideologically blind. It's your Java implementation that doesn't work, not mine. It's MS who do everything to make VJ++ as incompatible with Java as possible. They violate the specs. If you use an SDK from SUN, Borland, IBM etc., it will work fine, not just on *X, but also on Windows. Bye P.S.: I admit I really had to restrain myself not to use a much harsher voice. But this (OT + MS + VJ++) really gets me angry. - -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+ORXjzu6h7O/MKZkRAn40AKDXgrKd6A0HkO9A6m6bxCg/KdE+JQCgnBc4 IBO1k8H2m/It76yLK7glIiI= =qzQK -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Nice attitude! FW: OT: Java novice
We can't do much about the answers/ help offered, but do we want to encourage questions on the J++ language and .EXE files? If the answer is no, how should they be discouraged? See URL: http://www.catb.org/~esr/faqs/smart-questions.html for guidance on answering (and asking) questions; and URL: http://xml.apache.org/fop/gethelp.html for an account the help you can expect from the community here. I expect that most people here would agrww with this statement More general questions regarding Java, including deployment, Java APIs, classpath issues and property definitions should be redirected to some Java specific list. At 12:37 pm + 30/1/2003, Matthew Lancashire wrote: Is this the sort of help you want to encourage? -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 12:09 To: Matthew Lancashire Subject: Re: OT: Java novice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Oh no, Am Donnerstag, 30. Januar 2003 12:49 schrieb Matthew Lancashire: I am using MS VJ++ 6 which builds an exe file! MS VJ++ knows how to build exe files but doesn't know Java! Probabky true: I don't know enough about J++ or .EXE files to say Get yourself a real working Java from SUN, IBM, Blackdown or wherever, but NOT FROM MICROSOFT! Computing 101 stuff to me. And at all, this is totally off topic. For basic questions on how to set up Java try the beginner's forum at java.sun.com. Seems OK. ... If you use an SDK from SUN, Borland, IBM etc., it will work fine, not just on *X, but also on Windows. Probably correct. Looks like a collection of useful pointers and some basic advice. Ben -- Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer do not consent to Internet email messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of ewitness Limited shall be understood as neither given nor endorsed by it. eWitness Limited, Alpha House, Redvers Close, Lawnswood Business Park, Leeds, LS16 6QY Telephone: 0113 2951112 Fax: 0113 2951114 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
Not exactly, my question was more simple : Can I use XMLReaderAdapter (from the SAX package) instead of AbstractObjectReader given in your example? I think yes, but is there something I missed? regards, Laurent Forêt. - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 11:48 AM Subject: Re: Web page embedding I'm not sure that I understand you correctly. The AbstractObjectReader has namespaces disabled per default (See constructor). If you don't use namespaces you don't have to do anything but generating XML content (not using any namespace prefixes just like in the example). If you need to use namespaces it'll get a bit more complicated. Does that answer your question? Link to SAX homepage: http://www.saxproject.org/?selected=namespaces On 30.01.2003 11:41:40 Laurent Forêt wrote: I have now well read your embedding example, ExampleObj2PDF. And I am going to use the same process, I have a litlle question about using which abstract class extending XMLReader : Your own (AbstractObjectReader) or the SAX1 adapter given in sax package (XMLReaderAdapter), knowing that I don't use namespaces ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Nice attitude! FW: OT: Java novice
Title: RE: Nice attitude! FW: OT: Java novice could ye guys please stop clogging up user list with pointless inane rubbish. -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED]] Sent: 30 January 2003 13:51 To: [EMAIL PROTECTED]; Matthew Lancashire Subject: Re: Nice attitude! FW: OT: Java novice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, nice attitude, making privately sent mail public. -/- But I forgive you. I don't mind. I only didn't send it to the list because I think it was off topic. And if you want to, you may also forward the other mail I sent you to the list. But then, why didn't you forward the mail you sent me to the list ;-)? The answer can't be traffic, because otherwise you'd shorten quotes. Am Donnerstag, 30. Januar 2003 13:37 schrieb Matthew Lancashire: Is this the sort of help you want to encourage? -Original privately sent Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED]] [cut] I think you got hold of the wrong end of the stick. :-) Sorry for that. Seemingly I forgot to place some emoticons. Ah.. always the same, either they are too many or they are too few ;-) That doesn't change the facts /:| VJ++ doesn't know Java. VJ++ is not Java compatible. VJ++ may not call itself a Java IDE. The main problem is you try to use an IDE from MS for Java, while MS (8| tries to corrumpt Java, that simply *can't* work. It *can't* (-o-) (-o-). VJ++ still is at the state of Sun Java SDK 1.1.x. That hasn't changed. While I'd bet most users use at least 1.3 and several already upgraded to 1.4.1_01. Despite VJ++ doesn't properly work, it's totally outdated :-}}} So you simply need to get a different IDE. Here's a definitely incomplete list of IDEs working with Java on MS Windows: Visual Age, JBuilder, Eclipse, Forte / NetBeans / Sun Developer Studio, vim, Emacs, Visual Cafe, BlueJ, JCreator, JPE, JEdit, CodeWarrior and many many more, sorry to all those I forgot to include in that list, this list really *is* somewhat incomplete! I'd recommend vim but, as Larry Wall says, I don't claim everyone else's mind works the same as mine does. -=#:-} Bye P.S.: Usually I'd not post such a thing to a list. But if there's still one person out there trying to use FOP that doesn't know VJ++ doesn't work, there might be others, so this post still has some very little informational character, at least because of P.P.S. ;-). P.P.S.: Glossary of used emoticons - -/- provoking trouble :-) little devil ;-) twinkling /:| Mr. Spock (8| darth vader (-o-) imperial fighter :-}}} long beard - -=#:} grinning wizard with beard - -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+OS23zu6h7O/MKZkRAmSpAJ0b3r0kgkOdoLJg2HjlZwus7TfVoQCgsQCx h4AqzBZlKOyRdQEnaN2yy9c= =8Tf+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you should not copy, retransmit or use the e-mail and/or files transmitted with it and should not disclose their contents. In such a case, please notify [EMAIL PROTECTED] and delete the message from your own system. Any opinions expressed in this e-mail and/or files transmitted with it that do not relate to the official business of this company are those solely of the author and should not be interpreted as being endorsed by this company.
Re: Nice attitude! FW: OT: Java novice
I so agree... Celine Murphy wrote: could ye guys please stop clogging up user list with pointless inane rubbish. -Original Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] Sent: 30 January 2003 13:51 To: [EMAIL PROTECTED]; Matthew Lancashire Subject: Re: Nice attitude! FW: OT: Java novice -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, nice attitude, making privately sent mail public. -/- But I forgive you. I don't mind. I only didn't send it to the list because I think it was off topic. And if you want to, you may also forward the other mail I sent you to the list. But then, why didn't you forward the mail you sent me to the list ;-)? The answer can't be traffic, because otherwise you'd shorten quotes. Am Donnerstag, 30. Januar 2003 13:37 schrieb Matthew Lancashire: Is this the sort of help you want to encourage? -Original privately sent Message- From: Herr Christian Wolfgang Hujer [mailto:[EMAIL PROTECTED] [cut] I think you got hold of the wrong end of the stick. :-) Sorry for that. Seemingly I forgot to place some emoticons. Ah.. always the same, either they are too many or they are too few ;-) That doesn't change the facts /:| VJ++ doesn't know Java. VJ++ is not Java compatible. VJ++ may not call itself a Java IDE. The main problem is you try to use an IDE from MS for Java, while MS (8| tries to corrumpt Java, that simply *can't* work. It *can't* (-o-) (-o-). VJ++ still is at the state of Sun Java SDK 1.1.x. That hasn't changed. While I'd bet most users use at least 1.3 and several already upgraded to 1.4.1_01. Despite VJ++ doesn't properly work, it's totally outdated :-}}} So you simply need to get a different IDE. Here's a definitely incomplete list of IDEs working with Java on MS Windows: Visual Age, JBuilder, Eclipse, Forte / NetBeans / Sun Developer Studio, vim, Emacs, Visual Cafe, BlueJ, JCreator, JPE, JEdit, CodeWarrior and many many more, sorry to all those I forgot to include in that list, this list really *is* somewhat incomplete! I'd recommend vim but, as Larry Wall says, I don't claim everyone else's mind works the same as mine does. -=#:-} Bye P.S.: Usually I'd not post such a thing to a list. But if there's still one person out there trying to use FOP that doesn't know VJ++ doesn't work, there might be others, so this post still has some very little informational character, at least because of P.P.S. ;-). P.P.S.: Glossary of used emoticons - -/- provoking trouble :-) little devil ;-) twinkling /:| Mr. Spock (8| darth vader (-o-) imperial fighter :-}}} long beard - -=#:} grinning wizard with beard - -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: [EMAIL PROTECTED] WWW: http://www.itcqis.com/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+OS23zu6h7O/MKZkRAmSpAJ0b3r0kgkOdoLJg2HjlZwus7TfVoQCgsQCx h4AqzBZlKOyRdQEnaN2yy9c= =8Tf+ -END PGP SIGNATURE- - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _ This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you should not copy, retransmit or use the e-mail and/or files transmitted with it and should not disclose their contents. In such a case, please notify [EMAIL PROTECTED] and delete the message from your own system. Any opinions expressed in this e-mail and/or files transmitted with it that do not relate to the official business of this company are those solely of the author and should not be interpreted as being endorsed by this company. -- Johan Åbrandt Technical Project Manager (Tekninen projektipäällikkö) Tel. +358 9 6817 3342 Mobile. +358 40 848 8068 [EMAIL PROTECTED] Profit Software Oy Meritullinkatu 11 C 00170 Helsinki, Finland __ This message and its attachments have been found clean from known viruses with three different antivirus programs. __ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
I don't think so. You'll see when you go that way. If it doesn't work it's easy enough to switch. On 30.01.2003 14:37:39 Laurent Forêt wrote: Not exactly, my question was more simple : Can I use XMLReaderAdapter (from the SAX package) instead of AbstractObjectReader given in your example? I think yes, but is there something I missed? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
I have missed something. I didn't have understood the mecanism between AbstractObjectReader and EasyGenerationContentHandlerProxy. Now, if I have well understood the object which extends AbstractObjectReader will treat the event generated by himself throuh the handler of type EasyGenerationContentHandlerProxy. That's right ? Laurent Forêt. - Original Message - From: Laurent Forêt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 2:37 PM Subject: Re: Web page embedding Not exactly, my question was more simple : Can I use XMLReaderAdapter (from the SAX package) instead of AbstractObjectReader given in your example? I think yes, but is there something I missed? regards, Laurent Forêt. - Original Message - From: Jeremias Maerki [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 30, 2003 11:48 AM Subject: Re: Web page embedding I'm not sure that I understand you correctly. The AbstractObjectReader has namespaces disabled per default (See constructor). If you don't use namespaces you don't have to do anything but generating XML content (not using any namespace prefixes just like in the example). If you need to use namespaces it'll get a bit more complicated. Does that answer your question? Link to SAX homepage: http://www.saxproject.org/?selected=namespaces On 30.01.2003 11:41:40 Laurent Forêt wrote: I have now well read your embedding example, ExampleObj2PDF. And I am going to use the same process, I have a litlle question about using which abstract class extending XMLReader : Your own (AbstractObjectReader) or the SAX1 adapter given in sax package (XMLReaderAdapter), knowing that I don't use namespaces ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Java novice
I would have put it a little differently, but Mr. Hujer is right. You won't have any luck with VisualJ++, especially as a Java novice. I recommend you switch to a more compatible Java VM. As the release notes say you need at least JDK 1.2. FWIW the Driver class is in fop.jar. So you need to get this JAR in your classpath. But staying with VJ++ this will only be the first of many problems. Sorry. On 30.01.2003 12:49:01 Matthew Lancashire wrote: I am using MS VJ++ 6 which builds an exe file! The class is the Driver class (found from debugging not the error message) CML was supposed to be XML. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Web page embedding
Right. AbstractObjectReader constructs the EasyGenerationContentHandlerProxy (See line 64 in AbstractObjectReader) and uses that to initiate SAX events. The proxy then forwards the events to the real ContentHandler. If you just copy the ProjectTeamXMLReader and adjust it to your environment you should be fine. On 30.01.2003 15:31:18 Laurent Forêt wrote: I have missed something. I didn't have understood the mecanism between AbstractObjectReader and EasyGenerationContentHandlerProxy. Now, if I have well understood the object which extends AbstractObjectReader will treat the event generated by himself throuh the handler of type EasyGenerationContentHandlerProxy. That's right ? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Java novice
Thanks for the help. I was using the VJ6++ IDE because I am used to MS IDEs. The class seems just fine. I still use the sun java bits to run the class. Have given up on the exe -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 30 Jan 2003 14:32 To: [EMAIL PROTECTED] Subject: Re: Java novice I would have put it a little differently, but Mr. Hujer is right. You won't have any luck with VisualJ++, especially as a Java novice. I recommend you switch to a more compatible Java VM. As the release notes say you need at least JDK 1.2. FWIW the Driver class is in fop.jar. So you need to get this JAR in your classpath. But staying with VJ++ this will only be the first of many problems. Sorry. On 30.01.2003 12:49:01 Matthew Lancashire wrote: I am using MS VJ++ 6 which builds an exe file! The class is the Driver class (found from debugging not the error message) CML was supposed to be XML. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: preserve space
Toufic Nehme wrote: I have an element with formatted text inside an xml file. When I generate my pdf, all spaces, LF and CR are skipped in the fo:block. I need to output the text as it is formatted in the xml file. I tried with xsl:preserve-space elements=ColorCode/ in the xsl file, with space-treatment=preserve in the fo:block also, but that didn't resolve the problem. That's a FAQ: http://xml.apache.org/fop/faq.html#faq-N10544 J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: preserve space
Toufic Nehme wrote: I have an element with formatted text inside an xml file. When I generate my pdf, all spaces, LF and CR are skipped in the fo:block. I need to output the text as it is formatted in the xml file. I tried with xsl:preserve-space elements=ColorCode/ in the xsl file, with space-treatment=preserve in the fo:block also, but that didn't resolve the problem. I recommend you using of white-space-collapse=false linefeed-treatment=preserve white-space-treatment=preserve combination of properties. Not all of them are implemented actually, but in order to not being forced to modify your stylesheets in the future or while using another formatter just use this triple to preserve original text formatting. -- Oleg Tkachenko eXperanto team Multiconn Technologies, Israel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]