Subhrajyoti Moitra wrote:
 > Thanks for the reply.
 > yes you are right I really dont need to shrink it. Only scale it down
 > wrt to the new page size. Is that what you are saying?

No, that's not what I'm saying. I'm saying there's no reason to change 
the page size.

 > I am not inclined to the image idea since, it wont retain all the
 > interactive features, without a lot of work as you pointed out.

You didn't understand: page content and interactive features are 
separated in a PDF. You haven't read the complete PDF spec yet; 
otherwise you'd understand.

 > Basically I am trying to add headers and footer to every page. Now it so
 > happens that in some pages, the bottom/top margins are very low and this
 > content overlaps my footer/header table
 > So I thought, lets try the idea, where in we scale/shrink the page to a
 > smaller size including the form fields, without loosing their
 > functionality. This is more difficult than I thought.

Yes, it would be much easier if you made the MediaBox larger.

 > is there a way to detect this overlap .. given a reference rectangle?

No. There is code in iText that comes close, but it's still in beta.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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

Reply via email to