1
我想通過外部圖形覆蓋文本塊,我能夠做到這一點,但每當在圖像上呈現文本塊時我都會看到此錯誤:在Apache中的圖像覆蓋文本FOP
org.apache.fop.layoutmgr.table.TableCellLayoutManager:getContentAreaBPD呼籲未知BPD
我試圖爲表芯,塊容器和模塊,但沒有幫助建立高度。
<fo:table-cell display-align="center" height="229px">
<fo:block>
<fo:block-container z-index="1" top="0px" left="0px">
<fo:block height="229px" absolute-position="absolute">
<fo:external-graphic scaling="non-uniform" src=url("http://previews.123rf.com/images/nujalee/nujalee1108/nujalee110800004/10410227-Beautiful-green-leaf-isolated-on-white-Stock-Photo-leaf-texture.jpg") content-height="229px" content-width="110px"/>
</fo:block>
</fo:block-container>
<fo:block-container z-index="2" background-color="#538000" height="20px" width="77px" bottom="-229px" right="0px" absolute-position="absolute">
<fo:block color="#333333" font-size="10px" height="20px" font-family="Arial" display-align="center" text-align="center">
LEAF
</fo:block>
</fo:block-container>
</fo:block>
</fo:table-cell>
任何人都可以幫助我解決這個錯誤,並指導我可以做什麼錯誤。我使用ApacheFOP 2.1