For PDF, DIV or IMG that fills one page, doesn't overflow?

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
Phlawm53
Sr. Propeller Head
Posts: 442
Joined: Tue Mar 16, 2010 10:58 am
Location: San Francisco, CA
Contact:

For PDF, DIV or IMG that fills one page, doesn't overflow?

Post by Phlawm53 »

------
For Flare 11 although could update if necessary.

How might I dynamically resize artwork so that it never overflows beyond one page of my print/PDF output?

I have pages with anywhere from one to three lines of P text followed by an IMG (usually contained within a DIV). In online outputs it's easy to use relative units (EM, %, et cetera) to handle the dynamic sizing of images so that the content fits the viewing portal (Web browser window, mobile display, et alii).

But how if at all can I detect the available vertical space on a PDF page and dynamically adjust an image's size to so that it doesn't force a page break?

I've played around with relative units BUT -- it seems that Flare has no sense of "maximum available vertical space" on a page layout / PDF page?

Cheers & thanks for your help,
Riley
SFO
Post Reply