So lets say I have document of A4 size with contents well below the margin.
If I make my media box larger, than this, still the contents would be
starting off from (0,0) of the new coordinate system? and I would not be
able to add footer/headers neatly. I am not concerned about page size
currently.
Maybe i am not getting the entire picture. I do understand that contents and
interactive features are different.
"Yes, it would be much easier if you made the MediaBox larger." This i am
doing this currently, but cant seem to notice any effect on the resulting
document.
I took the code from link given in this thread before.
Please help!
Thanks,
Subhro.
On Sat, Mar 7, 2009 at 3:41 PM, 1T3XT info <[email protected]> wrote:
> 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
>
------------------------------------------------------------------------------
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