我正在尝试将项目符号与正文垂直对齐。所以子弹应该在中间(垂直)。但我无法实现它。
<fo:list-item>
<fo:list-item-label end-indent="label-end()">
<fo:block>
<xsl:call-template name="gbl-bullet-tick-circle"/>
</fo:block>
</fo:list-item-label>
<fo:list-item-body start-indent="body-start()">
<fo:block font-size="10pt">
here is hell lot of text paragraph i want to print...
here is hell lot of text paragraph i want to print...here is hell lot of text
paragraph i want to print...here is hell lot of text paragraph i want to print...
</fo:block>
</fo:list-item-body>
</fo:list-item>
它正在打印类似下面的内容
. here is hell lot of text paragraph i want to print...
here is hell lot of text paragraph i want to print...here is hell lot of text
paragraph i want to print...here is hell lot of text paragraph i want to print...
但实际上我希望它打印如下
here is hell lot of text paragraph i want to print...
. here is hell lot of text paragraph i want to print...here is hell lot of text
paragraph i want to print...here is hell lot of text paragraph i want to print...
以前有人在 XML:FO 中做过吗,请分享一些关于此的信息。
非常感谢您提前。
问候,莫娜