Re: [iText-questions] Tables in header & footer

2006-12-15 Thread zhu hui

i have add a table into several particular pages using pageevent related
objects and methods. just by set the top margins of the page which i want to
add that table to. and by the page number info and margin height info, it
can work to meet my project' need, hehe~~^_^

On 12/16/06, Bruno Lowagie <[EMAIL PROTECTED]> wrote:


Alexis Pigeon wrote:
> Hi Raffaele,
>
> On 14/12/06, GAMBELLI Raffaele <[EMAIL PROTECTED]> wrote:
>> Is there anybody out there :-)?
>
> Bruno Lowagie (and Paulo Soares too I think), the main contributors of
> iText and the ones that provide 99% of the answers on the mailing
> list, are currently at Javapolis (www.javapolis.com), and can't answer
> as fast as they usually do.
>
> Please be patient, I'm sure you'll get an answer as soon as they get
back.

Thanks for forwarding the information, Alexis.
Paulo and I were both at JavaPolis.
In a few moments, I'll be leaving for the Christmas Market
at my son's school. So please be patient, we'll be back at
full force on the mailing list next week.
br,
Bruno

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


Re: [iText-questions] how to read an existed .pdf file and copy its content to the tails of an document which have been document.open() -ed

2006-12-15 Thread zhu hui

thanks for Rocha's kindly reply~ ^_^

accturally i have noticed the example mentioned in your email, but my
problem is a bit different from that one, as i have stated clearly in my
mails.

thanks all the same,  and hope for further suggestions, ^_^

On 12/16/06, Noe Rocha <[EMAIL PROTECTED]> wrote:



Great.
Thank you guys.


Paulo Soares wrote:
>
> As much as I hate to admit it it's not a Scribus bug. The fix is in the
> CVS.
>
> Paulo
>
> 
>
> From: [EMAIL PROTECTED] on behalf of Bruno
> Lowagie
> Sent: Fri 15-Dec-06 17:44
> To: Post all your questions about iText here
> Subject: Re: [iText-questions] how to read an existed .pdf file and copy
> its content to the tails of an document which have been document.open()
> -ed
>
>
>
> Noe Rocha wrote:
>> Ufff...glad that was just joking.
>> Off topic - can you take a look at my thead - pdf not show the digital
>> signature.
>> This is troubling me for days.
>
> Our mails must have crossed.
> As I said: we'll have a look at it;
> as soon as we find the time.
> The people who have attended JavaPolis now know
> from experience that we are human; there are no
> automated answering machines involved ;-)
> br,
> Bruno
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta
transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta
> mensagem for recebida por engano, por favor envie-a de volta para o
> remetente e apague-a do seu sistema de imediato. É proibido a qualquer
> pessoa que não o destinatário de usar, revelar ou distribuir qualquer
> parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its
> confidentiality. If this message is received by mistake, please send it
> back to the sender and delete it from your system immediately. It is
> forbidden to any person who is not the intended receiver to use,
> distribute or copy any part of this message.
>
>
>
>
-
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> Buy the iText book: http://itext.ugent.be/itext-in-action/
>
>

--
View this message in context:
http://www.nabble.com/how-to-read-an-existed-.pdf-file-and-copy-its-content-to-the-tails-of-an-document-which-have-been-document.open%28%29--ed-tf2825800.html#a7895412
Sent from the iText - General mailing list archive at Nabble.com.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/


[iText-questions] how to read an existed .pdf file and copy its content to the tails of an document which have been document.open() -ed

2006-12-15 Thread zhu hui

i am a new commer to iText, here is part of the code:

...
Document report = new Document();
FileOutputStream genFile = new FileOutputStream(fileName+".pdf");

PdfWriter reportWriter = PdfWriter.getInstance(report, genFile);
PdfCopy reportCopy = new PdfCopy(report, genFile);
...


PdfReader reader1 = new PdfReader(file1);

//retrieve the total number of pages
  int pageNum = reader1.getNumberOfPages();

  for( int i=1;i <= pageNum; i++){
   document.newPage();
   PdfImportedPage page = reportCopy.getImportedPage(reader1, i);
   reportCopy.addPage(page);
  }



this doesn't work. while i found examples in
http://itextdocs.lowagie.com/tutorial/#part1 , they read n and copy and
CREAT to 1. And i have to use this way too: to store the file in processing
first, then read it back, along with the file which i want to copy... but i
am afraid this way may decrease the performance. so i want to do it this
way...

...
document.open()

document.add(part2Generated);
...
document.add(partnReadFromExistedFile);// read in files and attached into
document's tail.
...
document.close()
...


thanks a lot!~ best wishes and looking forward for your kindly
suggestions... ^_^
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/