Re: PNG question, and Link to cgi script that generates image example

2003-02-07 Thread Christian Geisert
J.Pietschmann wrote: Rich Gibson wrote: I've figured out how to link to a file that contains a gif or jpg image, but not a png. ... Exception on thread 'main' java.lang.NoClassDefFoundError: javax/media/jai/PlanarImage I assume that I have the wrong version of jimi, or I did something wrong :-)

AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread Zieseniß, Markus
I also do not understand the wrapper example to count all pages of a document. Has anybody tested that and can explain how to implement? greetings Markus -Ursprüngliche Nachricht- Von: J.Pietschmann [SMTP:[EMAIL PROTECTED] Gesendet am: Mittwoch, 5. Februar 2003 22:32 An: [EMAIL

AW: gif or jpg to svg

2003-02-07 Thread Andr Halama
Is there a tool that converts raster file (gif, jpg etc) to svg file on unix platform? try http://autotrace.sourceforge.net/ a. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

outputting .fo file

2003-02-07 Thread Xavier Prélat
Hi, Is there any ways to access (edit,save,etc) the .fo file (generated by FOP?) while printing (e.g:from command line : fop -xml file.xml -xsl file.xsl ...) or should I have to use Xalan (or XSLT processor..) to do it ?? I guess Fop invokes Xalan to do this but can I get them directly???

XSL_FO generator

2003-02-07 Thread Matthew Lancashire
Is there a nice simple graphical (and free) product that I can have my users use to create fo stylesheetsfor use with FOP Matthew Lancashire IT Project Manager Intitial Electronic Security Ltd Tel: +44 1282 473554 Fax: +44 1254 267552

RE: XSL_FO generator

2003-02-07 Thread Steve Pitchford
I haven't found a nice one, let alone a free one, and I would imagine that a product would have to become very sophisticated ( and hence very likely to be expensive ) in order to allow a user to generate a stylesheet effectively. IMHO allowing users to create stylesheets is a can of worms and I

Page Numbers

2003-02-07 Thread Ben.Temperton
I'm trying to get page numbers to appear in a PDF document using the following code: fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format; fo:layout-master-set fo:simple-page-master master-name=main page-height=29.7cm page-width=21cm

AW: Page Numbers

2003-02-07 Thread Zieseniß, Markus
in your simple-page-master master-name=main you have to insert fo:region-after extent=1cm/. That should work. Markus -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] Gesendet am: Freitag, 7. Februar 2003 12:13 An: [EMAIL PROTECTED] Betreff: Page

RE: Page Numbers - fixed

2003-02-07 Thread Ben.Temperton
Thanks for all the help, it's fixed now :) __ CONFIDENTIALITY NOTICE This communication and the information it contains is intended for the person or organisation to whom it is addressed. Its contents are confidential and may be

RE: Page Numbers

2003-02-07 Thread Kielen, Agnes
I agree with that. I've used it to learn fop. Agnes -Original Message- From: Steve Pitchford [mailto:[EMAIL PROTECTED] Sent: vrijdag 7 februari 2003 12:42 To: [EMAIL PROTECTED] Subject: RE: Page Numbers I'm reading xsl-fo (Making XML Look Good in Print) by o'reilly

Re: XSL_FO generator

2003-02-07 Thread Gian Piero Bottini
Hi all Do somebody know how to integrate log4j and fop?? In my project I have 2 log files created with log4j and I would put the fop output in them. The code should be like this.. Hierarchy hierarchy = Hierarchy.getDefaultHierarchy(); PatternFormatter formatter = new PatternFormatter(

Re: XSL_FO generator

2003-02-07 Thread Balaji Loganathan
Did you tried driver.setLogger(log); ? --- Gian Piero Bottini [EMAIL PROTECTED] wrote: Hi all Do somebody know how to integrate log4j and fop?? In my project I have 2 log files created with log4j and I would put the fop output in them. The code should be like this.. Hierarchy

string to domsource

2003-02-07 Thread Matthew Lancashire
I want to pass a string to FOP instead of a file I can do this by putting my string into a domSource. How do I do this though. Matthew Lancashire IT Project Manager Intitial Electronic Security Ltd Tel: +44 1282 473554 Fax: +44 1254 267552

Re: outputting .fo file

2003-02-07 Thread Chris Bowditch
Hi Xavier, to generate the FO file from your xml and xsl files you currently have to run Xalan separately from FOP. Although there are plans to add a batch file to the FOP distribution to make this easier in future FOP releases. I believe FOP 0.20.5 will have it. From: Xavier Prélat [EMAIL

Re: XSL_FO generator

2003-02-07 Thread Gian Piero Bottini
Oh I have made confusion.. Sorry I think that this code is ok for avalon.framework.Logger. but not for log4j.This is correct?? Anybody know how to use fop with log4j?? Gian - Original Message - From: Balaji Loganathan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 07,

RE: Postscript Error when RIPing document created with FOP

2003-02-07 Thread Victor Mote
Patrick Branley wrote: I have PDF document created with FOP that I sent to Xerox Docucolor 2060 using a Scitex Spire RIP that failed with the following error: ... The printer has a workaround by first distilling the file in Acrobat and then resending it to the RIP, but this affects their

Fop font issues with MDB EJBs

2003-02-07 Thread frederic . kieffer
Hi there! I'm experiencing font problems using Message Driven EJBs. These beans are instanciated/created each time a message is pushed into the JMS queue these beans are bound to. Messages contains objects which I build DOMs from, before being used by a class which does the transformation and

TTFReader problem

2003-02-07 Thread Gerard BUNEL
Hello, I 've tried to use TTFReader to extract metrics from a font file from a customer. The process fail with the following exception: D:\fop-0.20.4java -cp build\fop.jar org.apache.fop.fonts.apps.TTFReader D:\fop- 0.20.4\Ftes-ATL\TrueType\DITIMES_.TTF ditimes.xml TTF Reader v1.1.1 Reading

Generating ASCII output

2003-02-07 Thread Illiano, Vincent
Hi List, I've built a document-generation system around FOP to create both PDF and ASCII text documents. To create the ASCII text output file, I use the -txt command line argument to FOP. I have a couple of small problems with the ASCII text output. Every 30 lines or so in the generated output

RENDER_TXT

2003-02-07 Thread bhati001
I am using FOP for transforming xml to pdf and since it was so easy generate txt just by changing the rendering, i did that too. But I noticed something wierd, FOP while generating txt would occassionally, without any pattern, join the top line with the bottom line and the bottom line text would

page border, not content border

2003-02-07 Thread Roger Roelofs
I'm new to fop, so I may have missed this somewhere, but I'm having trouble getting a border around my page. I tried attaching the border to the region-body and to the root block, and in both cases the bottom of the border comes at the end of the content rather than at the bottom of the page.

Re: FO books (was RE: Page Numbers)

2003-02-07 Thread Clay Leeds
I agree that O'reilly's XSL-FO: Making XML Look Good in Print is a must read for the XSL-FO designer. In addition, I find the following invaluable: O'Reilly's XPath and XPointer: Locating Content in XML Documents useful (along with its reference and tutorial for using the FREE (as in beer)

RE: How to stop a render FOP ?

2003-02-07 Thread Patrick Dean Rusk
How to stop a render FOP ? Philippe, I'm going to assume that you want a human or a program to stop a FOP run that is embedded in a program that should otherwise remain running. If you mean the command line, you can, of course, use ^C or whatever interrupt command is appropriate to

Re: Generating ASCII output

2003-02-07 Thread Chris Bowditch
Hi Vincent, in general terms an XSL Formatting engine is the wrong tool for generating Character Text output. A XSL Formatting engine works with precise coordinates for formatting objects, i.e. the text and when this is translated by a Text Renderer, the coordinates must be rounded to the

Re: RENDER_TXT

2003-02-07 Thread Chris Bowditch
Hi, I have answered this question in the thread titled Generating ASCII Text From: bhati001 [EMAIL PROTECTED] I am using FOP for transforming xml to pdf and since it was so easy generate txt just by changing the rendering, i did that too. But I noticed something wierd, FOP while generating txt

Re: Generating ASCII output

2003-02-07 Thread Fabrizio Tringali
you have to play with textCPI, textLPI and line-height values hi From: Illiano, Vincent [EMAIL PROTECTED] Hi List, I've built a document-generation system around FOP to create both PDF and ASCII text documents. To create the ASCII text output file, I use the -txt command line

Re: RENDER_TXT

2003-02-07 Thread Fabrizio Tringali
you have to play with textCPI, textLPI properties of renderer and with line-height of rows hi From: bhati001 [EMAIL PROTECTED] I am using FOP for transforming xml to pdf and since it was so easy generate txt just by changing the rendering, i did that too. But I noticed something wierd, FOP

Re: string to domsource

2003-02-07 Thread Fabrizio Tringali
byte[] ret = null; InputStream is; String xsltSystemId = file:///C:/someFile.xsl; String xml = somMethodToCreateXML(); org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); //Setup Renderer (output format)

Re: PNG question, and Link to cgi script that generates image example

2003-02-07 Thread Christian Geisert
Christian Geisert wrote: J.Pietschmann wrote: [..] Hm. Maybe there is something wrong with the precompiled version of FOP. FOP 0.20.5rc should work with either Jimi or JAI without recompiling. Just tried it and it doesn't work. Will have a closer look at it. Christian

RE: Generating ASCII output

2003-02-07 Thread Illiano, Vincent
Thanks for the tip. I may indeed end up doing what you suggest - use Xalan directly to get text output. But before I take that plunge, some have mentioned tweaking textCPI and textLPI. How is this done? In the stylesheet? If it requires modifying the FOP Java code, I'd rather not ;) Thanks

Re: AW: Calculate number of pages without complete rendering-process was: Re: Counting the number of pages generated in the pdf file

2003-02-07 Thread J.Pietschmann
Zieseniß, Markus wrote: I also do not understand the wrapper example to count all pages of a document. Has anybody tested that and can explain how to implement? I don't understand what's the problem. 1. Write an XML file, let's say foo.xml: pages page/ page/ page/ page/ page/ /pages 2.

page-number-citation and text-align=right

2003-02-07 Thread Stuart McGrigor
When using page-number-citation to build table of contents, text-align=right doesn't line up all the page numbers properly. At first I thought it was something wrong in fo:leader but changing to tables with border shows the problem is still there. Interestingly 0.20.5RC is less wrong than

FOP Logo Contest

2003-02-07 Thread Dave Biggar
FOPlogo.svg Dave Biggar attachment: FOPlogo.svg- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: page-number-citation and text-align=right

2003-02-07 Thread Clay Leeds
I think this has been covered before. As I understand it, right-aligning page-number stuff is buggy. It has to do with somehow trying to figure out how many digits are _going_ to be in the page-number. Because of this, it doesn't work perfectly. As a workaround, I'd recommend placing some

Re: page-number-citation and text-align=right

2003-02-07 Thread J.Pietschmann
Stuart McGrigor wrote: When using page-number-citation to build table of contents, text-align=right doesn't line up all the page numbers properly. FAQ: http://xml.apache.org/fop/faq.html#faq-N10255 Also already registered on bugzilla #1130. J.Pietschmann