Hi,

Jeremias Maerki schrieb:
No, the PDF image extension is something else. That's an adapter to
integrate external PDFs.
Ok.
 I believe this should be included directly into
the PDFRenderer like I started it. However, since I don't know what a
"spread layout" is, and what exactly you really need overall, I'm not
sure if I see the whole picture, yet.
Well, spread layout is not my highest priority but in InDesign for example, you can treat a set of pages (usually two of them facing each other) as if they were one page. So you can place an image that spans both pages (often used in magazine layouts). The thing is that there is still a page flow (between the spread pages) and when you produce a PDF, there are actually two Trim Boxes as well.
Anyway, you certainly need to
specify the amount of bleed (what I started). My patch uses
fox:bleed="4mm" (as an example) on the fo:simple-page-master. Then, you
might want to specify the actual media size which could be done as
fox:media-width and fox:media-height, following the same pattern as with
fox:bleed.
Yes, this exactly what is needed.
 Like Oliver, you will probably need to paint cut marks once
you start using bleed. I have some ideas there. Let's get to that when
the first steps are done. So far, I don't see anything too complicated
for you.
Yes, I've seen an example of using SVG to draw the crop marks. I guess this should suffice.
Finally, you need to be able to paint outside the trim box. That's easy,
since you can always use negative coordinates or spaces. I hope that
helps.
Ok.
Let me know if I have an incomplete picture.
I guess so. So be prepared to get a bunch of  newbie dev questions ;-)

Regards,

Max


On 21.10.2008 17:03:19 Maximilian Gaerber wrote:
Hi,

so there we go... I guess since this is only on the FO 2.0 wish list (http://www.w3.org/TR/2008/WD-xslfo20-req-20080326/#bleeds) this would be an extension for now?
Would you advise to take your pdf-image extension as a starting point?

Regards,

Max

Jeremias Maerki schrieb:
On 21.10.2008 16:31:02 Maximilian Gaerber wrote:
Hi Jeremias,

Jeremias Maerki schrieb:
That was discussed some time ago. You might want to read up on the
status here: http://fop.markmail.org/search/?q=trimbox
Yep, that's what I found before posting my question.
I've prepared FOP so TrimBox, BleedBox and MediaBox can all be set [1].
But the wiring into an extension hasn't been completed, yet.

[1] http://svn.apache.org/viewvc?rev=618626&view=rev
Alright, so these methods can't be accessed through configuration etc. right now. I find

setBleedBox(box); ///Recommended by PDF/X
/
very interesting, because I thought it would be quite common to have a bleed area in professional layouts.
So the lack of support didn't cause enough of an itch to anyone to
implement it. I hope you're going to itch enough because I currently don't.

/

I've attached a patch which comes from a working copy where I started an
implementation for bleed. Not sure if it already does anything useful,
but it could be a starting point. HTH
Thanks for the patch. So I guess I'll have to build FOP from source then ;-) FOP does not support customization (like User-Exits), does it? I am willing to test and code a little but modifying FOP core sources is out of scope of my current project.
FOP provides lots of extension points. And since you have the source,
in some cases you can subclass certain classes if you must. But that
might not help you here. Better for the project would be to do it right
and integrate the functionality into FOP. This could be a great
opportunity to contribute something back to the project. That's how FOP
got where it is: People scratched their itches. Of course, you can also
just wait until someone thinks this is fun to implement. It's how Open
Source works.

Remember: You're not alone if you implement this. We're going to help
you with hints and pointers as much as we can. Just keep us in the loop
to avoid late surprises.

Regards,

Max
On 21.10.2008 15:11:58 Maximilian Gaerber wrote:
Hi all,

what is the current status of xsl-fo concerning a Spread-based Layout (like InDesign uses)?

I need to change an existing layout to support blocks/graphics that bleed off the page. I know I could use a custom page size to add the extra area but the resulting PDF won't be correct in terms of Trim Box etc.

What would be the best way to implement such a feature? Add another extension?

Regards

Max


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3542 
(20081021) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com



News des Monats: www.thermopal.de - E-Business Lösung mit System für Thermopal, 
eine Tochter der Pfleiderer AG: Neugestaltung, wegweisende Produktsuche und 
moderne Nutzerführung!

--
infolox GmbH
Maximilian Gärber
Bregenzer Straße 101
D-88131 Lindau

fon +49 8382 / 275 894-70
fax +49 8382 / 275 894-9
mob +49 176 / 20 10 33 24

mail [EMAIL PROTECTED]
www.infolox.de
www.selektofix.de
www.katalogfabrik.de
www.typo3-services.com


Rechtsform: Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Lindau a. B.
Registergericht: Amtsgericht Kempten
Registernummer: HRB 8161
Geschäftsführer: Stefan Bauhuis, Alexander Pircher, Richard Schmid


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__________ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3542 
(20081021) __________

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com





News des Monats: www.thermopal.de - E-Business Lösung mit System für Thermopal, 
eine Tochter der Pfleiderer AG: Neugestaltung, wegweisende Produktsuche und 
moderne Nutzerführung!

--
infolox GmbH
Maximilian Gärber
Bregenzer Straße 101
D-88131 Lindau

fon +49 8382 / 275 894-70
fax +49 8382 / 275 894-9
mob +49 176 / 20 10 33 24

mail [EMAIL PROTECTED]
www.infolox.de
www.selektofix.de
www.katalogfabrik.de
www.typo3-services.com


Rechtsform: Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Lindau a. B.
Registergericht: Amtsgericht Kempten
Registernummer: HRB 8161
Geschäftsführer: Stefan Bauhuis, Alexander Pircher, Richard Schmid


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to