Another option may be to use iText to split the entire PDF into multiple PDFs 
and then insert your own page at the split.  I don't know if it's possible or 
not, but iText can do some pretty powerful things.

 

Sean Griffin

 

From: Raphael Parree [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 21, 2008 4:57 AM
To: [email protected]
Subject: Re: Break PDF into 2

 

Georg,

Thanks for this i will experiment with your suggestion...looks like a way 
forward.

Tx(!)

Raphael

On Fri, Nov 21, 2008 at 11:08 AM, Georg Datterl <[EMAIL PROTECTED]> wrote:

Hi Raphael,


> Is there a way using FOP to break a PDF into two after x number of 
> pages...using XSL 2.0? getting the page number?
> The problem is that we need to break a book after 600 pages into two books 
> with the book number on the front cover. The other problem is that we would > 
> need to before hand how many pages there will be when processing the front 
> cover. I guess it is not possible...Anybody has experience with this?

Do you really want to break after exactly 600 pages, no matter if you are for 
example in the middle of a text block or so?
If yes, I'd guess it would be possible to define a page-master-sequence 
consisting of the front page, 599 times the data page (with a data region), the 
second front page containing only static content (no data region) and 599 times 
the data page again. Then a flow into the data region should fill 599 pages, 
the generate the second front page without filling in data from the flow, the 
go on filling data pages.

Regards,

Georg Datterl

------ Kontakt ------

Georg Datterl

Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg

HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20

www.geneon.de

Weitere Mitglieder der Willmy MediaGroup:

IRS Integrated Realization Services GmbH:    www.irs-nbg.de
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de


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




-- 
Raphael Parree
CTO
SOA Evangelist

phone +33 683 468663
Disclaimer...
"The information contained in this message may be confidential and is intended 
to be exclusively for the addressee. Sender's written permission is needed 
prior to forwarding or otherwise using the content of the message, whether 
completely or partially. Should you receive this message unintentionally, 
please do not use the contents herein and notify the sender immediately by 
return e-mail. Please rely on your own virus checking, no responsibility is 
taken by the sender for any damage rising out of any bug or virus infection."

----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from 
Cerner Corporation and are intended only for the addressee. The information 
contained in this message is confidential and may constitute inside or 
non-public information under international, federal, or state securities laws. 
Unauthorized forwarding, printing, copying, distribution, or use of such 
information is strictly prohibited and may be unlawful. If you are not the 
addressee, please promptly delete this message and notify the sender of the 
delivery error by e-mail or you may call Cerner's corporate offices in Kansas 
City, Missouri, U.S.A at (+1) (816)221-1024.

Reply via email to