OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: 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:elharo@metalab.unc.edu] 
Sent: Thursday, April 20, 2006 1:34 PM
To: docbook-apps@lists.oasis-open.org
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  elharo@metalab.unc.edu
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: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
 
Customer Survey - Help us to help you.
Link is:  http://www.cpms.osd.mil/survey/index.asp


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]