RE: Free Visual tool for making fo files
I tried XSLFast, it crashed the WHOLE machine (Windows XP) within about 2 minutes of using it. After the reboot and the 2nd crash I gave up on it. If anyone has had more luck with it I'd be interested in how good it is. Richard -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: 24 May 2004 09:01 To: [EMAIL PROTECTED] Subject: Re: Free Visual tool for making fo files Juan Manuel Bellina wrote: > I need to make a report in PDF file, so I want to know > if there is a free XSL Template Designer to make my fo > file in a simple way, some kind of visual tool that > help me with this job. The only free tool I know of is FOA (Formatting Objects Author). There are a couple of commercial products, but none of them are very good. I find them more of a hinderence than a help, but please judge them for yourself: FOA http://foa.sourceforge.net/ Commercial http://www.xslfast.com Chris - 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: Including images from a servlet
Sorry to be a pain, but I'm not having much luck with this. This is what I've done so far: After creating the driver, I've inserted the line org.apache.fop.configuration.Configuration.put("baseDir", "C:/stylesheets/fop"); and in the stylesheet changed the line to However, when I transform it, I get the message: [ERROR] Error while creating area : Invalid Image URL - error on relative URL : unknown protocol: c <---(that's actually where the message ends) I've tried some variations of the baseDir path, but I get the same message just with a different protocol on the end (e.g. /stylesheets/fop/logo2.jpg) Has anyone encountered this before? - Richard Sweeney wrote: > > > is there a way to make it search for the image in the current directory, > i.e. the same one as the XSL-FO stylesheet? You can set the base directory for which relative paths will be resolved against. This can be done using a configuration file, or set in a program. See: http://xml.apache.org/fop/faq.html#servlet-baseDir Chris - 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]
Including images from a servlet
Hi, I'm using FOP with a servlet. The servlet generates XML which is then translated using XSL or, if the user clicks print, will take the XML and generate a PDF. In the XSL-FO I have an image that appears in the produced PDF and reference it like so: if I do it this way though then the image is searched for in the current directory, usually the Web Server's bin directory, so I usually have to write it like so: is there a way to make it search for the image in the current directory, i.e. the same one as the XSL-FO stylesheet? Thanks Richard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: FOP.NET
I'd be no good to Microsoft it was ;) *ducks* -Original Message- From: John Austin [mailto:[EMAIL PROTECTED] Sent: 01 December 2003 13:41 To: [EMAIL PROTECTED] Subject: Re: FOP.NET On Mon, 2003-12-01 at 06:28, SANKAR B wrote: > Hi > > Is there anywhere the current FOP is ported to C#. Ive found one in SF.net, > but its old one and pdf is not ported in that and that proj. was also not > active. Even NFOP the fop port done in J# is a very old one. Y dont Apache > doesnt show much interest on .NET. Im trying to imp. FOP in Mono from > go-mono.com. Looking for ur reply. We have all been wondering why .NET isn't implemented in Open Source components written in Java. > Yours, > Sankar.B > > _ > Contact brides & grooms FREE! Only on www.shaadi.com. > http://www.shaadi.com/ptnr.php?ptnr=hmltag Register now! > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- John Austin <[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: How to reply on a message ?
You should see that the from: address is [EMAIL PROTECTED], you reply to this address and it gets distributed to everyone on the list. To ask a question you send a message to the list at the same address, but you already knew that :) -Original Message- From: Gergely Hajdu [mailto:[EMAIL PROTECTED] Sent: 27 November 2003 09:25 To: [EMAIL PROTECTED] Subject: How to reply on a message ? I sent a message which I have received a reply on. My problem is, how can I reply on it ?? I havent found any answer/reply etc. etc. button/link which I can use. I have also tried to reply on the mail I receive when someone is answering my question, but that did not work either. Please help me, thanks in advance ! /Gergely - 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: Employment Opportunity
Great, now my boss thinks I'm looking for another job :( -Original Message- From: Sean Johnston [mailto:[EMAIL PROTECTED] Sent: 26 November 2003 11:36 To: '[EMAIL PROTECTED]' Subject: Employment Opportunity Apologies in advance if this an inapropriate posting. I'm a specialist Java recruiter and have an opportunity, based in London, which could be of interest to members of your group if UK based and seeking work. I am currently recruiting for a contract Technical Architect;- We seek an experienced Java Developer / Technical Architect to specify and assist in the build of an XML based Document management system that delivers materials designed in Quark and InDesign as PDF's via a web interface. Skills; Excellent knowledge of XML, PDF's, Java, Applets, Servlets, Document Management Systems. In particular some experience with Adobe Document Server would be useful. Duration; 4 weeks initial Location; London Rates; UK market rates Start Date; ASAP Please contact me directly if interested . Many thanks, Sean Johnston Principal Consultant Interactive and Emerging Technologies GCS Computer Recruitment Services London Office Tel - 020 7307 6363 mailto:[EMAIL PROTECTED] www.gcsltd.com ___ GCS Computer Recruitment Services Reading Office Tel: 0118 956 3900 Fax: 0118 959 4554 London Office Tel: 0207 307 6363 Fax: 0207 307 6370 The Best of Both Worlds - our website offers interactive facilities for both clients and candidates. http://www.gcsltd.com We do not intend to send unsolicited email. Kindly accept our apologies if you have received this email in error. Please respond to [EMAIL PROTECTED] if you would like to be removed from our list. All removal requests will be immediately honoured. If you have more than one identity, please inform us. Internet communications are not secure and therefore GCS does not accept legal responsibility for the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of GCS. GCS complies with the provisions of the Data Protection Act 1998 and expects the recipient of this document/communication and any attachments to do so in respect of the contents. GCS will not accept responsibility for any failure by the recipient to comply with the requirements of the Act in respect of any document/communications sent by GCS to the recipient. ___ - 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: Scaling images
Hi, I used which produces a slightly scaled image. I've tried adding width and height and just reducing the pt size to about 96 and 93 respecitvely (the original size is 129x124). This give a more pleasing image but I was wondering if there's a better way of doing it. On another note, you'll notice that I've written "/stylesheets/ING.bmp", I create my fo file from an xsl stylesheet and I can only read the image if I hardcode the complete path to the image, which lives in the same place as the xsl file. Is there a way around this? Thanks Richard -Original Message- From: Chris Adams [mailto:[EMAIL PROTECTED] Sent: 19 November 2003 17:04 To: [EMAIL PROTECTED] Subject: RE: Scaling images Richard, How are you setting the size. Can you post the external-image tag you are using. Only Width and Height attributes are supported in FOP. Chris -----Original Message- From: Richard Sweeney [mailto:[EMAIL PROTECTED] Sent: 19 November, 2003 17:05 To: '[EMAIL PROTECTED]' Subject: Scaling images Sorry if this question is asked alot but I'm having difficulty with images. I was given an example layout by someone to turn into a PDF using FOP. I took the image out of the Word Document they sent me and added it as an external graphic to my fo file. However when it is generated it is slightly bigger (about 20% or so) than the original and it looks jagged. Is there anything I can do about this? I've tried specifying its size based upon the its dimensions but this makes no difference. Any comments would be appreciated. Thanks Richard Sweeney - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Visit our Internet site at http://www.reuters.com Get closer to the financial markets with Reuters Messaging - for more information and to register, visit http://www.reuters.com/messaging Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. - 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]
Scaling images
Sorry if this question is asked alot but I'm having difficulty with images. I was given an example layout by someone to turn into a PDF using FOP. I took the image out of the Word Document they sent me and added it as an external graphic to my fo file. However when it is generated it is slightly bigger (about 20% or so) than the original and it looks jagged. Is there anything I can do about this? I've tried specifying its size based upon the its dimensions but this makes no difference. Any comments would be appreciated. Thanks Richard Sweeney - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Determining table column count
I'm creating a table with a dynamic number of columns and at the top of the table there is a row with a comment on the right hand side. If I specify number-columns-spanned to a value larger than the number of columns then it throws an exception. Basically I have an XML file with all the columns that can appear in the table, but not all of them are listed so I can check what width the column is to determine whether or not I have to create a column. Can I specify a value for number-columns-spanned that will span the all the columns in the table or do I need to do it another way? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Sending directly to printer from servlet
I'm trying to send my rendered PDF directly to the server-side printer. I'm using a Document class and a stream to the XSLT file. This works and my printer prints out the PDF. The only problem I have is that the image included at the top of the page doesn't come out. I also have a page number at the bottom of the page (region-after to be precise) and that doesn't get printed either. Using the same code to render the PDF to the client via a browser prints the image and the page numbers fine. Here's the code I'm using: Driver driver = null; PrinterJob pj = PrinterJob.getPrinterJob(); PrintRenderer renderer = new PrintRenderer(pj); /*If any of these values are null then give up immediately*/ if (doc == null) { System.out.println("Document is null, no point in carrying on..."); return false; } if (xslFile == null) { System.out.println("xslFile is null, no point in carrying on..."); return false; } driver = new Driver(); pj.setCopies(1); driver.setRenderer(renderer); try { Transformer transformer = TransformerFactory.newInstance().newTransformer(new StreamSource (xslFile)); transformer.transform(new DOMSource(doc), new SAXResult(driver.getContentHandler())); } /*If an exception occurs during the transformation, catch it and return null*/ catch (TransformerConfigurationException tce) { System.out.println("TransformerConfigurationException: " + tce.getMessage()); return false; } catch (TransformerException te) { System.out.println("TransformerException: " + te.getMessage()); return false; } /*Everything went fine, return true*/ return true; -- The code for rendering to the browser is only slightly different (get the output stream and use a printWriter etc.) I'm using a landscape layout, would that make any difference? The printer is an P LaserJet 2100 Series PS.