1
<?xml version="1.0" encoding="utf-8"?>
2
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
3
<xsl:import href="../../base/report/corporate_defaults.xsl"/>
4
<xsl:template match="/">
5
<xsl:apply-templates select="lots"/>
8
<xsl:template match="/">
9
<document xmlns:fo="http://www.w3.org/1999/XSL/Format">
11
<pageTemplate id="all">
12
<frame id="list" x1="1.0cm" y1="6.0cm" width="25.7cm" height="17cm"/>
20
<paraStyle name="small" fontName="Courier" fontSize="12" spaceBefore="0mm" spaceAfter="0mm"/>
21
<paraStyle name="verysmall" fontSize="11" fontName="Courier" spaceBefore="0mm" spaceAfter="0mm"/>
22
<paraStyle name="smallest" fontSize="10" fontName="Courier" spaceBefore="-0.5mm" spaceAfter="-0.5mm"/>
24
<blockTableStyle id="left">
25
<blockValign value="TOP"/>
26
<blockAlignment value="LEFT"/>
27
<blockFont name="Helvetica-Bold" size="10"/>
28
<blockTextColor colorName="black"/>
29
<lineStyle kind="LINEABOVE" thickness="0.5" colorName="black" start="0,0" stop="-1,0"/>
30
<lineStyle kind="LINEBELOW" thickness="0.5" colorName="black"/>
31
<blockBackground colorName="(1,1,1)" start="0,0" stop="-1,-1"/>
32
<blockBackground colorName="(0.88,0.88,0.88)" start="0,0" stop="-1,0"/>
37
<blockTable repeatRows="1" style="left" colWidths="1.8cm,11.0cm,2.3cm,10.5cm">
40
<para style="small"><b t="1">Cat. N.</b></para>
42
<para style="small"><b t="1">Description</b></para>
44
<para style="small"><b t="1">Est.</b></para>
46
<para style="small"><b t="1">Orders</b></para>
49
<xsl:apply-templates select="lots/lot[count(bid[tocall='1'])>0]"/>
55
<xsl:template match="lots/lot[count(bid[tocall='1'])>0]">
58
<para style="verysmall"><xsl:value-of select="number"/></para>
60
<para style="verysmall"><b><xsl:value-of select="artist"/></b></para>
61
<para style="verysmall"><b><xsl:value-of select="title"/></b></para>
62
<para style="verysmall"><xsl:value-of select="substring(desc,0,1024)"/></para>
64
<para style="verysmall">
65
<xsl:if test="est1 != ''">
66
<xsl:value-of select="round(est1)"/>
68
<xsl:text>-</xsl:text>
69
<xsl:if test="est2 != ''">
70
<xsl:value-of select="round(est2)"/>
74
<xsl:for-each select="lots/bid[tocall='1']">
75
<xsl:sort order="descending" data-type="number" select="price"/>
76
<para style="smallest">
77
<xsl:value-of select="name"/>
79
<xsl:text>(</xsl:text><xsl:value-of select="id"/><xsl:text>)</xsl:text>
81
<xsl:if test="round(price)>0">
82
<xsl:text> </xsl:text><b><xsl:value-of select="round(price)"/><xsl:text> EUR</xsl:text></b>
85
<xsl:if test="tocall='1'">
86
<xsl:text t="1">, TEL:</xsl:text><b><xsl:value-of select="contact"/></b>
b'\\ No newline at end of file'