Pdf 有没有办法以XSL Fo格式创建嵌套列表?
我希望输出如下所示:Pdf 有没有办法以XSL Fo格式创建嵌套列表?,pdf,xsl-fo,apache-fop,Pdf,Xsl Fo,Apache Fop,我希望输出如下所示: a. Pets' names and preferences i. Charlie 1. Tuna 2. Scratching ii. Fluffy 1. Corn 2. Running 但是找不到通过嵌套将fo:list块嵌套在fo:list项体中来完成此操作的方法 fo:list item body()可以包含任何%块FOs(),而fo:list block()就是其中之一
a. Pets' names and preferences
i. Charlie
1. Tuna
2. Scratching
ii. Fluffy
1. Corn
2. Running
但是找不到通过嵌套
将fo:list块
嵌套在fo:list项体
中来完成此操作的方法
fo:list item body
()可以包含任何%块
FOs(),而fo:list block
()就是其中之一
您最终将得到如下FOs嵌套:
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
您需要在每个
fo:list block
上正确设置开始之间的临时距离()和临时标签间隔(),以便列表项按您想要的方式缩进。嵌套fo:list block
内部fo:list item body
fo:list item body
()可以包含任何%块
FOs(),而fo:list block
()就是其中之一
您最终将得到如下FOs嵌套:
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:list-block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
fo:list-item
fo:list-item-label
fo:block
fo:list-item-body
fo:block
您需要在每个fo:list block
上正确设置开始之间的临时距离(
)和临时标签间隔(
)