Estou com o seguinte código abaixo que deve colocar no pdf várias fotos. O meu problema é o seguinte: preciso que tenha 2 fotos por linha, mas se eu coloco o bean:iterate dentro do table-cell, o FOP sempre coloca as imagens uma abaixo da outra. Mas se eu uso da forma como está, o FOP coloca todas na mesma linha, mas como só cabem 2 imagens por linha, ele sobrepõe as imagens e fica uma coisa tosca.
Alguem saberia uma forma de fazer isso?
<bean:output rendered="${not empty fotosVeiculoList}">
<fo:block space-before="1mm" space-after="1mm" />
<fo:table table-layout="fixed" width="100%">
<fo:table-header border-bottom-style="solid" border="0.5 px">
<fo:table-cell>
<fo:block font-weight="bold" font-size="10pt">FOTOS DOS VEÍCULOS
</fo:block>
</fo:table-cell>
</fo:table-header>
<fo:table-body>
<fo:table-row>
<bean:iterate value="${fotosVeiculoList}" var="foto">
<fo:table-cell relative-position="static">
<fo:block space-before="1mm" space-after="1mm" >
<fo:inline>
<fo:external-graphic content-width="225px" content-height="225px"
src="url("data:image/auto;base64,${foto.imagemFotoBase64};")"/>
</fo:inline>
</fo:block>
</fo:table-cell>
</bean:iterate>
</fo:table-row>
</fo:table-body>
</fo:table>
<fo:block space-before="1mm" space-after="1mm" />
</bean:output>