[xep-support] external-graphic problem

From: Mati Hadi <matilda.kapro@yahoo.se>
Date: Mon Aug 06 2007 - 09:29:48 PDT

Hi mailing-list,
I n my xsl-fo I use external-graphic to display
different images. The images have unknown size. When
the image is big enough, everything is ok, but when
the image is small, I want the image in the output pdf
become small. I wonder if there is a way to put i.e.
max width to 120mm and max height to 170mm, so that
the images are scaled to 120mm and 170mm, depending on
their size.
My code is:
                  <fo:table-row>
                     <fo:table-cell
text-align="center" number-columns-spanned="3
height="242mm" display-align="center">
                        <fo:block>
                           <fo:external-graphic
src="url({$Framsida.Bild})"
content-width="scale-to-fit" width="70mm"/>
                        </fo:block>
                     </fo:table-cell>
                  </fo:table-row>
Thank you and regards
Matilda

      __________________________________________________________
Fly(g) från regnet - sök efter resor hos Yahoo! Shopping.
Jämför pris på flygbiljetter och hotellrum här:
http://shopping.yahoo.se/c-169901-resor-biljetter.html?partnerId=96914052
-------------------
(*) 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/terms-of-service.html
Received on Mon Aug 6 10:24:31 2007

This archive was generated by hypermail 2.1.8 : Mon Aug 06 2007 - 10:24:37 PDT