space-after.optimum="5pt"
background-color="black"
text-align="start">
-<fo:external-graphic src="file:/some/dir/printbanner.gif" />
+<fo:external-graphic src="file://${config["Producer.Image.Path"]}/banner.png" />
</fo:block>
<fo:block font-size="10pt"
font-family="serif"
line-height="18pt"
space-after.optimum="3pt"
text-align="center">
- ${article.title}
+ ${article.content.title}
</fo:block>
<!-- here is the article author and date-->
line-height="13pt"
space-after.optimum="3pt"
text-align="end">
- ${article.creator}, ${article.webdb_create_formatted}
+ ${article.content.creator}, ${article.content.webdb_create_formatted}
</fo:block>
line-height="13pt"
space-after.optimum="3pt"
text-align="justify">
- ${article.description_parsed}
+ ${article.content.description_parsed}
</fo:block>
<!-- here is the header stuff -->
-<if article.creator_main_url || article.creator_email>
+<if article.content.creator_main_url || article.content.creator_email>
<fo:block><fo:leader leader-pattern="rule" leader-length="18cm"
rule-thickness="1pt" color="black"/></fo:block>
</if>
- <if article.creator_email>
+ <if article.content.creator_email>
<fo:block font-size="10pt"
font-family="sans-serif"
line-height="12pt">
- Email: ${article.creator_email}
+ Email: ${article.content.creator_email}
</fo:block>
</if>
- <if article.creator_main_url>
+ <if article.content.creator_main_url>
<fo:block font-size="10pt"
font-family="sans-serif"
line-height="12pt">
- URL: ${article.creator_main_url}
+ URL: ${article.content.creator_main_url}
</fo:block>
</if>
<fo:block><fo:leader leader-pattern="rule" leader-length="18cm"
line-height="15pt"
space-after.optimum="3pt"
text-align="justify">
- ${article.content_data_parsed}
<list data.formatted_content as fc>
<if fc.hasImage == "1">
-<fo:table text-align="justify">
- <fo:table-column column-width="16cm-${fc.img_width}px"/>
+<fo:table>
<fo:table-column column-width="${fc.img_width}px"/>
+ <fo:table-column column-width="8px"/>
+ <fo:table-column column-width="${fc.text_widthCM}cm"/>
<fo:table-body>
<fo:table-row>
- <fo:table-cell>
- <fo:block>${fc.text}</fo:block>
+ <fo:table-cell display-align="center">
+ <fo:external-graphic src="file://${config["Producer.Image.Path"]}${fc.img_src}" content-height="${fc.img_height}px" content-width="${fc.img_width}px" height="${fc.img_height}px" width="${fc.img_width}px" />
+<fo:block font-weight="bold">${fc.img_title}</fo:block>
</fo:table-cell>
- <fo:table-cell>
- <fo:external-graphic src="file://${fc.img_src}" content-height="${fc.img_height}px" content-width="${fc.img_width}px" height="${fc.img_height}px" width="${fc.img_width}px" />
+ <fo:table-cell >
+ </fo:table-cell>
+ <fo:table-cell >
+ <fo:block text-align="justify">${fc.text}</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</if>
</list>
- <list article.to_media_images as media>
+<!-- <list article.content.to_media_images as media>
<fo:external-graphic src="file:${config["Producer.Image.Path"]}/${media["publish_path"]}" />
${media["description"]}
- </list>
+ </list>-->
</fo:block>