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: 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/objectprimer.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


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