RE: [docbook-apps] Image alignment in FO output

From
Wright, Grace., ,CPMS <>
Date
2006-04-20T17:37:06+00:00
ID
Thread
RE: [docbook-apps] Image alignment in FO output
Do you perhaps need a "format=GIF"?  That's what I include with my .gif
files.  I typically do not use "align=..."

Hope this helps.

Grace 

-----Original Message-----
From: Elliotte Harold [mailto:] 
Sent: Thursday, April 20, 2006 1:34 PM
To: 
Subject: [docbook-apps] Image alignment in FO output

Consider an element like this one:

<imageobject><imagedata fileref='objectprimer.gif' align='left' 
width='109px' depth='140px'></imagedata></imageobject>


With the FO stylesheets this seems to be getting turned into something 
like this:

<fo:block id="d4e14589" text-align="left"><fo:external-graphic 
src="url(file:/Users/elharo/Projects/workspace/CS905/build/week13/objectprim
er.gif)" 
width="109px" height="140px" content-width="scale-to-fit" 
content-height="scale-to-fit" text-align="left"/></fo:block>

The alignment gets lost. I suspect there should be an additional 
attribute to set this. Anyone happen to know what it is?

Or is it just that XSL-FO doesn't support left, right, and center 
alignments for images like HTML does?

-- 
Elliotte Rusty Harold  
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ref=nosim

---------------------------------------------------------------------
To unsubscribe, e-mail: 
For additional commands, e-mail: 
 
Customer Survey - Help us to help you.
Link is:  http://www.cpms.osd.mil/survey/index.asp