xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Madunic" <Mario_Madu...@newflyer.com>
Subject RE: Problem with vertical align of a list-item-label
Date Mon, 08 Feb 2010 18:04:48 GMT
The text I'm looking to align is the "□" character below in the fo:wrapper (UTF-8 entity
"25a1").

Marijan (Mario) Madunic
Publishing Specialist
New Flyer Industries

-----Original Message-----
From: Venkat Reddy [mailto:vanukuri.venkat@googlemail.com] 
Sent: Monday, February 08, 2010 11:54 AM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Problem with vertical align of a list-item-label

Hi,

Can you please attach your FO file and the expected output?
I am unable to see the text you are looking to align vertically....

Thanks,
Venkat.

Mario Madunic wrote:
> Hi,
>
> I've been trying to vertically align an unordered lists adornment. The font I'm using
is Arial and am using UTF-8 entity "25a1" for the unordered list adornment. Since its initial
vertical alignment is too low, I've been trying to bring it up by aligning it in the "middle".
I've had no luck with this. Below is some sample code of my output. I've used the code below
with wrapper and no wrapper. When there is no wrapper the @s then are nodes of inline. The
@s and their values are the same when I do this. I've also tried using @baseline-shift and
using various values such as 150% (just to see here it lands and modifying from there) and
even super to no avail.
>
> Any help will be appreciated.
>
> <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>
>
> Thanks
>
> Marijan (Mario) Madunic
> Publishing Specialist
> New Flyer Industries
>
>
> --------------------------------------------------------------------
> 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-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@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-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message