[xep-support] variable page size

Laurent Frinking / media access Laurent.Frinking at media-access.net
Tue Aug 10 05:00:06 PDT 2004


Hi Alexander,

>>If you know your advertisement size beforehand you can generate
that's exactly what I don't know. The text in the ad will determin the final size of the page. I would like to find out the size of the page that the flow has generated.

I don't think this can be done with XSL-FO. :-(

Thanks,
Laurent Frinking

-----Original Message-----
From: Alexander Peshkov [mailto:peshkov at renderx.com]
Sent: Dienstag, 10. August 2004 10:45
To: Laurent Frinking / media access
Subject: Re: [xep-support] variable page size


Hello Laurent,

I'm not quite sure I understood your requirements fully.

The size of the page can be specified explicitly at
fo:simple-page-master element using page-width/page-height properties.
If you know your advertisement size beforehand you can generate
appropriate XSL-FO using XSLT stylesheet which, for example, takes
advertisement size as a parameter.

Hope this helps.

Best regards,
Alexander Peshkov                             mailto:peshkov at renderx.com
RenderX

LFma> Imagine an advertisement generator for a newspaper based on XML + XSL-FO. 
LFma> Is it possible to generate a PDF with a variable page size? I would like find out the generated size of the advertisement for accounting purposes.

LFma> If the advertisement has a size 200 mm -> $ xxx
201 - 300 ->> $yyy
LFma> etc etc

LFma> Does anyone know if this can be done at all, or should I look for different approach to determine the size of the advertisement?

LFma> Thanks,
LFma> Laurent Frinking

LFma> -------------------
LFma> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
LFma> in the body of the message to majordomo at renderx.com from the address
LFma> you are subscribed from.
LFma> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html


-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list