Sébastien:


To get around some performance issues I was having with PDFs that were in the 500-1000 range, I currently have it creating new page sequences every n rows.  This results in some strange results when it comes to page breaking so the method you mention is _very_ intriguing.  Could you please explain a bit more?

-Lou



"Foucault, Sebastien" <[EMAIL PROTECTED]>

05/12/2006 08:24

Please respond to
[email protected]

To
"'[email protected]'" <[email protected]>
cc
Subject
RE : page-sequence and memory useage





Hello,

We encountered similar issues a long time ago.
Because of the irregular structure of the page breaks, we used an approach based on SAX filters (quite complex) located just before the FOP ContentHandler aiming at transforming page-break into page sequences.

The SAX filter approach allowed us to keep low memory consumption.

eg.

<doc>
<page-sequence>

  Data set 1

  <break/>

  Data set 2

  <break/>

  Data set 3

</page-sequence>

</doc>

transformed by SAX filters into :

<doc>
  <page-sequence>

     Data set 1

  </page-sequence>

  <page-sequence>

     Data set 2

  </page-sequence>

  <page-sequence>

     Data set 3

  </page-sequence>

</doc>

Regards
--

Sébastien FOUCAULT





-----Message d'origine-----
De : Pascal Sancho [
mailto:[EMAIL PROTECTED]]
Envoyé : vendredi 12 mai 2006 12:00

À : [email protected]

Objet : RE: page-sequence and memory useage

> -----Original Message-----
> From: Giorgio [EMAIL PROTECTED] [
mailto:[EMAIL PROTECTED]]
>
>  > I do not agree with these values.

>  > I use FOP dayly to generate 100-250 pages documents with
> forward  > references (TOC at beginning) without memory
> problem (with FOP 0.20.5).

>  >

>  > We writes documents that can be easily splitted in short
> page-sequences  > (1-6 pages).

>
> This is a very good news for me, Pascal. My question is, how
> do you split your document? I mean, I think page-squence tag
> is made to solve the "splitting document in pages" problem
> but if there are better ways that doesn't consume large
> amount of memory I will be very glad to learn these.

> BTW, there are no examples in the FOP documentation on that task.

We use a writting method that allows to cut heavy documents in short
sequences.

So, each sequence is titled and we can insert a page-break before title.

It's especially an analytic approach, not a physical process, that
consists in structuring and mapping the information.

Since it is out of topic in this list, you can directly email me
[EMAIL PROTECTED] for more information.

Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to