hello,
thanks for your answer, leonard. i have such a "certain workflow" you
spoke of: i want to generate prepress documents for offset printing.
there are a lot of data structures available yet and the one big thing i
want to avoid is to change the x/y coordinates in these structures. so
my plan is to do following:
- set the mediabox and the physical page size to the overall size (in my
case to the size of the bleed box)
- set the size of the crop box to the size of the trim box, to view the
"final" document size by viewing the pdf
- set the trim box and the crop box centered in the physical page
- move the point of origin to the upper left corner of the crop/trim box
- place the objects as usally
i think i could do so, don't you think?
thanks for your answer(s) again!
martin
Leonard Rosenthol wrote:
At 11:17 AM 5/22/2006, Martin Resch wrote:
i want to set the media box with negative x and y coordinates,
OK. Perfectly legal, albeit unusual.
because my point of origin of any elements is relative to the trim
box. so the media box has to be larger than the trim box. the page
size of the document equals the trim box.
Yes, I've seen that before.
can i do so or do i have to set the page size to the media box?
You can indeed do so - BUT the physical page size will ALWAYS be
the MediaBox. That's how PDF defines it. And the visible page size
will ALWAYS be the CropBox (which defaults to Media, if an explicit one
isn't present).
Trim is ONLY used in certain workflows and is NOT a (normally)
visible box.
setting the media box with different values to page size (doesn't
matter if negative or positive) seems to have no affect. the media box
is allways [0,0,page width, page height]. is this behavior correct or
is it a bug?
It's more than likely a "design decision" in iText - but you can
easily override it...OR since you have the source, change it.
LDR
---------------------------------------------------------------------------
Leonard Rosenthol <mailto:[EMAIL PROTECTED]>
Chief Technical Officer <http://www.pdfsages.com>
PDF Sages, Inc. 215-938-7080 (voice)
215-938-0880 (fax)
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions