Re: using multiple page sequences

2004-03-12 Thread Fabrizio Tringali
Hi Brett, It's not about faith, spanning datas across multiple page sequences brings an huge memory saving. We solve issue of constant OutOfMemory errors (according to heap allocation) going to about 2 MB memory consumption on fully written 100 pages documents. You have to identify where in

Re: [fop] FOP for XML - FO?

2003-04-11 Thread Fabrizio Tringali
because that is an XSLT transformation bye From: Robert P. J. Day [EMAIL PROTECTED] it's not mentioned in the online help, so i just wanted to verify that there's no XML - FO transform supported by FOP, which would allow me to examine the intermediate FO before going on to generate the

Re: Generating ASCII output

2003-02-10 Thread Fabrizio Tringali
I agree on in general terms an XSL Formatting engine is the wrong tool for generating Character Text output, but if you must use TXTRenderer because you need something that simulate PdfOutput etc. etc. you can set textCPI and textLPI so: TXTRenderer renderer = new TXTRenderer();

Re: File not found error

2003-02-10 Thread Fabrizio Tringali
this for me works String xsltSystemId = file:///C:/m1/Project1/someFile.xsl; Transformer transformer = factory.newTransformer(new StreamSource(xsltSystemId)); bye From: Matthew Lancashire [EMAIL PROTECTED] I get a file not found error when I do the .transform

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: fop + servlet + multisession

2003-02-03 Thread Fabrizio Tringali
ciao Gian Piero, this is the snippet to set the log level to debug -- //Setup logger Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_DEBUG); driver.setLogger(logger); MessageHandler.setScreenLogger(logger); -- and sometimes the

Re: blanks and txtrenderer

2003-01-07 Thread Fabrizio Tringali
I don't know why, but I solve the problem of inserted empty lines specifying line-height=10pt for each row in tables hope this help From: alex elsholz [EMAIL PROTECTED] Hi, i've problems with the layout using the txt-renderer. sometimes one blank comes to 3, sometimes to 10, sometimes

fop.jar with patches

2003-01-02 Thread Fabrizio Tringali
Happy New Year to everybody, anybody knows how can I take a fop.jar file with the ultimate patches? I'm behind a firewall and so I can't synchronize my source files by CVS. thanks Fabrizio - To unsubscribe, e-mail: [EMAIL

Re: TXTRenderer Setting the encoding

2002-12-20 Thread Fabrizio Tringali
I have the same exception (Alex, Can you say me if the trace is the same?) Anybody knows the reason?? hi [INFO] building formatting object tree [INFO] setting up fonts [INFO] rendering areas to TEXT ; SystemID:

Re: Using String for XML source

2002-12-20 Thread Fabrizio Tringali
For me this work on 0.20.5rc File xslt = new File ("some.xsl"); File pdf = new File("some.pdf"); String xml = createXML(); //Construct driver org.apache.fop.apps.Driver driver = new org.apache.fop.apps.Driver(); //Setup logger Logger logger = new

Re: multiple sequence how-to??

2002-12-17 Thread Fabrizio Tringali
-to?? Fabrizio Tringali wrote: According to http://xml.apache.org/fop/faq.html#faq-N1011A Use multiple page sequences I have to span across multiple sequences my flow. Can anyone show me a simple example to include in a xsl file to implement multiple sequences ?? Follow this pattern

page-sequence master-name ?

2002-12-13 Thread Fabrizio Tringali
I see everywhere in the examples the tag fo:page-sequence master-name=someName but my XMLSpy doesn't validate this tag according to http://zvon.org/xxl/xslfoReference/Output/el_page-sequence.html Which is the right way? If the above tag is correct why the validator throws exception? Tkx

multiple sequence how-to??

2002-12-13 Thread Fabrizio Tringali
According to http://xml.apache.org/fop/faq.html#faq-N1011A Use multiple page sequences I have to span across multiple sequences my flow. Can anyone show me a simple example to include in a xsl file to implement multiple sequences ?? Tnx /// this is my XML input file