[xsl] Fitting content to a box in FO

Subject: [xsl] Fitting content to a box in FO
From: Nic Gibson <nicg@xxxxxxxxxxxx>
Date: Wed, 13 Nov 2013 10:27:10 +0100

I have a question. Is there a way to state in XSL-FO here is a block of text
(and possibly images), scale it to this maximum size? The background is that
Im looking to add better printing to the code I use to generate slides for
presentations. The slides are originally HTML and fill a single page - the
screen. I want to print those out 3 or 4 to a page. Given that I know the size
of the page I can work out exactly how large the box for each slide should
be. However, I want to make sure that the slide doesnt overflow the box. I
dont really care that much if content is shrunk to fit, I just want to make
sure it fits the box.

Is that possible in XSL?


Corbas Consulting / @CorbasLtd
Digital Publishing Consultancy and Training
http://www.corbas.co.uk, +44 (0)7718 906817/+44 (0)1273 930765

Current Thread