Absolutely, yes. In FOP it's even the same code for both external-graphic and instream-foreign-object that figures out the image sizes. Just leave away the height property.
On 22.02.2006 13:59:57 Tracey Zellmann wrote: > Thanks for the pattern, Jeremias. > > Would the same apply to instream-foreign-object? What I really want is to > specify the width, and let the system determine the height, sufficient to > preserve the aspect ratio of the original. > > ----- Original Message ----- > From: "Jeremias Maerki" <[EMAIL PROTECTED]> > To: <[email protected]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, February 21, 2006 2:45 AM > Subject: Re: Help needed for allowing spaces in PDF O/P using fop-0.91beta > version > > > > Nitin Shrivastava does not appear to be on the list so I put the mail > > address in the CC. > > > > In addition to Manuel's reply I want to add something to the question > > further down: > > > > If you want to have an image appear in a box of a certain size, use this > > pattern: > > > > <fo:external-graphic width="5cm" height="4cm" > > content-width="scale-to-fit" content-height="scale-to-fit" src="...."/> Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
