While I completely agree with Bruno (and Yannis) on this topic, I will point 
out that you CAN achieve what you wish IF you use form fields and some 
JavaScript.

Leonard


On 5/6/09 10:26 AM, "1T3XT info" <[email protected]> wrote:

Vincent Guo wrote:
> Hi,
>
> Here is my problem, when using word, you can add a footer to indicate
> the page number, and if you delete one page , the footer can change the
> page number automatically, how can I realize such a footer by using
> iTextSharp, who can help me on this?

Nobody can help you with this, becuase you're asking something that is
impossible in PDF. See http://1t3xt.be/?X000480

I quote: "with Postscript or Word, you need to interpret the 9.998
previous pages if you want to get page 9,999 in a large document. In PDF
you can go to page 9,999 immediately without having to interpret the
preceding pages."

If page 9,999 says it's page 9,999; removing preceding pages WILL NOT
change this information because page 9,999 doesn't depend on the
previous pages. That's common knowledge. I'm surprised you didn't know.
--
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


--
Leonard Rosenthol
PDF Standards Architect
Adobe Systems Incorporated
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to