我FOP-新手誰願意來生成使用Apache FOP PDF,下面分裂的Apache FOP塊爲多列顯示數據
[ Imagine A4 page has dimensions 800pt x 600pt. The top 200pt x 600 pt will
hold a image and some meta data about the entity. The space below this region
needs to contain the description, but in two-column format (like newspapers).
Sometimes description is so-big, that it spans mutiple pages. ]
描述我打算用我的數據來創建.fo文件,然後使用Apache FOP獲取PDF。當我使用
<fo:region-body
margin-top="1cm" margin-bottom="0.25cm"
column-count="2" column-gap="0.25in"/>
:
<fo:external-graphic src="url('image.jpg')"/>
<fo:block ..... >
出現圖像,但文本從頁面上第二列的頂部開始,位於圖像頂部。請引導我,如何去設計這個佈局。任何指向類似設計的指針都會很有用。感謝所有