RE: Page Sequence Master
Kumar Puppala wrote: > Thanks Victor for your response. So did you have any > alternate approaches to resolve this issue in your application? That depends on what you mean by "performance issue". If you have plenty of memory, I don't think your performance speed will be adversely affected by using one page-sequence. If you are running out of memory, probably your least-expensive, quickest-to-implement solution is to run on a machine with more memory. AFAIK, the commercial implementations use more memory than FOP, but that may have changed. Several releases ago, FOP needed to have the entire document in memory, not just one page sequence. So the current state is a vast improvement over that. One of the stated goals for FOP is to be able to process page-sequences of arbitrary size, i.e. limited only by disk space instead of memory. There have been pretty heated discussions among the developers about how best to do this. The trick of course is to come up with a /general/ solution that works or can be made to work for all cases posed. The constraints are significant. Consider the example of a table with auto layout that is 1000 (or 50,000) pages long. You need to know what is going on at both ends of that table to do the auto layout. IIUC, the three rewrite efforts underway each use a different approach, and I don't think any of them are yet complete, so it will be interesting to see what possibilities develop. I wish I had a better answer for you. Your second-best option (see recommended option above) is probably to pick one of the rewrite efforts & support it. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Page Sequence Master
Thanks Victor for your response. So did you have any alternate approaches to resolve this issue in your application? Thanks, Kumar Puppala -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, February 03, 2005 11:03 AM To: [EMAIL PROTECTED] Subject: Re: Page Sequence Master Kumar: Victor answered my similar question last month (snipped below). >Louis.Masters wrote: > >> In order to get around some memory issues, I am creating >> multiple page sequences on my reports. The problem is, every >> time a new page sequence is created, a new page is created. >> Is there any way I can tell FOP not to insert the page break >> after the page sequence? >> >> I know it sounds _funny_ to not have page breaks when there >> is a new page sequence, but I am just using the page >> sequences to break up the memory use in FOP. > >No, there is no way to do what you are trying to do. Even putting the >practical aspects aside (which are overwhelming), it would be a violation of >the XSL-FO standard. > >Victor Mote -Lou ~~ LOG-NET, Inc. The Logistics Network Management System ~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~ CONFIDENTIAL & PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-758-6800) or by electronic mail ([EMAIL PROTECTED]), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~ "Puppala, Kumar (LNG-DAY)" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: snexis.com> Subject: Page Sequence Master 02/03/2005 10:19 Please respond to fop-user I have a page sequence master defined as shown below: This sequence holds good for each individual document in my application. But there are times when I need to generate multiple documents within a job and so I use this sequence repeatedly and it works fine. The only problem is that each time a new document is generated, it starts on a new page (since we are starting a new sequence for this document). I am looking at some option to control this. In some cases I want each individual document to start on a new page but in other cases I would like my next document to start off on the remaining empty page left out by my previous document. Going with one big sequence containing all the documents might work but it will be a performance issue as our documents can get real big. Any help to solve this problem is greatly appreciated. Thanks, Kumar Puppala - 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: Page Sequence Master
Kumar: Victor answered my similar question last month (snipped below). >Louis.Masters wrote: > >> In order to get around some memory issues, I am creating >> multiple page sequences on my reports. The problem is, every >> time a new page sequence is created, a new page is created. >> Is there any way I can tell FOP not to insert the page break >> after the page sequence? >> >> I know it sounds _funny_ to not have page breaks when there >> is a new page sequence, but I am just using the page >> sequences to break up the memory use in FOP. > >No, there is no way to do what you are trying to do. Even putting the >practical aspects aside (which are overwhelming), it would be a violation of >the XSL-FO standard. > >Victor Mote -Lou ~~ LOG-NET, Inc. The Logistics Network Management System ~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~ CONFIDENTIAL & PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-758-6800) or by electronic mail ([EMAIL PROTECTED]), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~ "Puppala, Kumar (LNG-DAY)" To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: snexis.com> Subject: Page Sequence Master 02/03/2005 10:19 Please respond to fop-user I have a page sequence master defined as shown below: This sequence holds good for each individual document in my application. But there are times when I need to generate multiple documents within a job and so I use this sequence repeatedly and it works fine. The only problem is that each time a new document is generated, it starts on a new page (since we are starting a new sequence for this document). I am looking at some option to control this. In some cases I want each individual document to start on a new page but in other cases I would like my next document to start off on the remaining empty page left out by my previous document. Going with one big sequence containing all the documents might work but it will be a performance issue as our documents can get real big. Any help to solve this problem is greatly appreciated. Thanks, Kumar Puppala - 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: page-sequence & master-name ?
"master-name" is incorrect in this case. "master-name" on page-sequence is still Candidate-Recommendation syntax. You have to use "master-reference" instead, as the ZVON reference now correctly indicates. I think it has been behind a long time but is correct now. See also here: http://xml.apache.org/fop/faq.html#faq-N100C4 On 13.12.2002 10:46:56 Fabrizio Tringali wrote: > I see everywhere in the examples the tag 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? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]