From: Russ Burdick (rburdick@che.umn.edu)
Date: Wed Jul 23 2003 - 12:33:08 PDT
On Fri, Jul 18, 2003 at 02:49:58PM +0400, Alexander Peshkov wrote:
>
> The only workaround I can think of is to manually set height of
> fo:basic-link to be equal that of the image. Since inline height
> governed by text-altitude/text-depth properties you should use
> something like this:
>
> <fo:basic-link external-destination="url(http://www.foo.com)"
> text-altitude="150px"
> text-depth="0px">
> <fo:external-graphic src="url(foo.jpg)" height="150px"/>
> </fo:basic-link>
>
> Hope this helps.
>
that works great, thanks.
however, what happens if i do not know teh height/width of the image or
i'm scaling the image during inclusion in the PDF? what i have is
something like this:
<fo:basic-link external-destination="url(http://www.foo.com)">
<fo:external-graphic src="url(foo.png)"
width="100%"
content-width="scale-to-fit"
scaling="uniform"/>
</fo:basic-link>
in this case even if i know that foo.png is 600px x 100px, it is scaled
to fit the page. is there any way to extract the scaled value?
i'm not opposed to resizing these images to be the "right" size as i'm
only using this on a title page and i know what images will be included,
so i dont really need to make this work for all cases. i just wondered
if it's possible. thanks again for your suggestion.
Russ Burdick
Internet Systems Designer and Administrator, VAWOR
rburdick@che.umn.edu
(612)624-8796
University of Minnesota
School of Social Work
MINCAVA
105 Peters Hall
1404 Gortner Ave
St. Paul, MN 55108
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@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
This archive was generated by hypermail 2.1.5 : Wed Jul 23 2003 - 12:36:07 PDT