Folks here is what I've found out doing more tests on vertical-align. I've changed the character from white square (x25a1) to * and then to '1'. Whenever I used a value of 'middle', 'top', or 'super' the character did not move (did not try any numeric values though), but when I used 'sub' the character moved accordingly. I'm going to run this test with baseline-shift and then also do the test with list-item-body and see if it is an issue with list-item-label in this instance. If you have any more ideas for me to try, I'm all ears.
Snippet of code I've been using for testing. <fo:list-item-label end-indent="label-end()"> <fo:block margin-left="-0.2in"> <fo:inline font-size="10pt" vertical-align="super">1</fo:inline> </fo:block> </fo:list-item-label> and <fo:list-item-label end-indent="label-end()"> <fo:block margin-left="-0.2in"> <fo:inline> <fo:inline font-size="10pt" vertical-align="super">1</fo:inline> </fo:inline </fo:block> </fo:list-item-label> Marijan (Mario) Madunic Publishing Specialist New Flyer Industries -----Original Message----- From: Venkat Reddy [mailto:vanukuri.ven...@googlemail.com] Sent: Tuesday, February 09, 2010 7:27 AM To: fop-users@xmlgraphics.apache.org Subject: Re: Problem with vertical align of a list-item-label Hi, As per my previous, fo:inline should work with vertical-align property... below is the xsl:fo file, for your information... <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="test"> <fo:region-body/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="test"> <fo:flow flow-name="xsl-region-body"> <fo:list-block> <fo:list-item margin-top="7pt" margin-bottom="7pt"> <fo:list-item-label end-indent="label-end()"> <fo:block margin-left="0.2in"> <fo:inline> <fo:inline font-size="10pt" vertical-align="sub">*</fo:inline> </fo:inline> </fo:block> </fo:list-item-label> <fo:list-item-body margin-left="0.3in" start-indent="body-start()"> <fo:block>Axle beam</fo:block> </fo:list-item-body> </fo:list-item> </fo:list-block> </fo:flow> </fo:page-sequence> </fo:root> Cheers, Venkat. Mario Madunic wrote: > fo:character hasn't worked either. This is getting frustrating. Guess I'll do > the old HTML trick and use a graphic, if worse comes to worse. > > Marijan (Mario) Madunic > Publishing Specialist > New Flyer Industries > > -----Original Message----- > From: Mario Madunic [mailto:mario_madu...@newflyer.com] > Sent: Tuesday, February 09, 2010 6:24 AM > To: fop-users@xmlgraphics.apache.org > Subject: RE: Problem with vertical align of a list-item-label > > Thanks Pascal for the heads up. I've already tried fo:inline and it didn't > work. Will try fo:character. > > Marijan (Mario) Madunic > Publishing Specialist > New Flyer Industries > > -----Original Message----- > From: Pascal Sancho [mailto:pascal.san...@takoma.fr] > Sent: Tuesday, February 09, 2010 2:15 AM > To: fop-users@xmlgraphics.apache.org > Subject: Re: Problem with vertical align of a list-item-label > > Hi Mario, > > This cannot work: > - fo:wrapper doesn't generate any area, so the vertical-align has no > effect on it. > - vertical-align is not inheritable, so this has no effect on > descendant characters of fo:wrapper. > > You should apply the vertical-align property on a fo-object that > generates an area, in your case: > - either an fo:inline > - or an fo:character > > Pascal > > Mario Madunic a écrit : > >> <fo:list-item margin-top="7pt" margin-bottom="7pt"> >> >>> <fo:list-item-label end-indent="label-end()"> >>> <fo:block margin-left="-0.2in"> >>> <fo:inline> >>> <fo:wrapper font-size="10pt" vertical-align="middle">□</fo:wrapper> >>> </fo:inline> >>> </fo:block> >>> </fo:list-item-label> >>> <fo:list-item-body margin-left="0.0in" start-indent="body-start()"> >>> <fo:block>Axle beam</fo:block> >>> </fo:list-item-body> >>> </fo:list-item> >>> >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -------------------------------------------------------------------- > Please consider the environment before printing this e-mail. > > CONFIDENTIALITY STATEMENT: This communication (and any and all information > or material transmitted with this communication) is confidential, may be > privileged and is intended only for the use of the intended recipient. If you > are not the intended recipient, any review, retransmission, circulation, > distribution, reproduction, conversion to hard copy, copying or other use of > this communication, information or material is strictly prohibited and may be > illegal. If you received this communication in error or if it is forwarded to > you without the express authorization of New Flyer, please notify us > immediately by telephone or by return email and permanently delete the > communication, information and material from any computer, disk drive, > diskette or other storage device or media. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > -------------------------------------------------------------------- > Please consider the environment before printing this e-mail. > > CONFIDENTIALITY STATEMENT: This communication (and any and all information > or material transmitted with this communication) is confidential, may be > privileged and is intended only for the use of the intended recipient. If you > are not the intended recipient, any review, retransmission, circulation, > distribution, reproduction, conversion to hard copy, copying or other use of > this communication, information or material is strictly prohibited and may be > illegal. If you received this communication in error or if it is forwarded to > you without the express authorization of New Flyer, please notify us > immediately by telephone or by return email and permanently delete the > communication, information and material from any computer, disk drive, > diskette or other storage device or media. Thank you. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org > For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -------------------------------------------------------------------- Please consider the environment before printing this e-mail. CONFIDENTIALITY STATEMENT: This communication (and any and all information or material transmitted with this communication) is confidential, may be privileged and is intended only for the use of the intended recipient. If you are not the intended recipient, any review, retransmission, circulation, distribution, reproduction, conversion to hard copy, copying or other use of this communication, information or material is strictly prohibited and may be illegal. If you received this communication in error or if it is forwarded to you without the express authorization of New Flyer, please notify us immediately by telephone or by return email and permanently delete the communication, information and material from any computer, disk drive, diskette or other storage device or media. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org