1 <?xml version="1.0" encoding="utf-8"?>
3 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
4 <xsl:import href="corporate_defaults.xsl"/>
5 <xsl:template match="/">
6 <xsl:apply-templates select="lots"/>
9 <xsl:template match="/">
10 <document xmlns:fo="http://www.w3.org/1999/XSL/Format">
12 <pageTemplate id="all">
13 <frame id="list" x1="1.0cm" y1="0.0cm" width="19.0cm" height="24cm"/>
21 <paraStyle name="small" fontName="Courier" fontSize="12" spaceBefore="0mm" spaceAfter="0mm"/>
22 <paraStyle name="verysmall" fontSize="10" fontName="Courier" spaceBefore="0mm" spaceAfter="0mm"/>
23 <paraStyle name="smallest" fontSize="8" fontName="Courier" spaceBefore="-1mm" spaceAfter="-1Mm"/>
25 <blockTableStyle id="left">
26 <blockValign value="TOP"/>
27 <blockAlignment value="LEFT"/>
28 <blockFont name="Helvetica-Bold" size="10"/>
29 <blockTextColor colorName="black"/>
30 <lineStyle kind="LINEABOVE" thickness="0.5" colorName="black" start="0,0" stop="-1,0"/>
31 <lineStyle kind="LINEABOVE" thickness="0.5" colorName="black" start="0,0" stop="-1,0"/>
32 <lineStyle kind="LINEBELOW" thickness="0.5" colorName="black"/>
33 <lineStyle kind="LINEBEFORE" thickness="0.5" colorName="black" start="0,0" stop="-1,-1"/>
34 <lineStyle kind="LINEBEFORE" thickness="0.5" colorName="black" start="0,0" stop="0,-1"/>
35 <lineStyle kind="LINEAFTER" thickness="0.5" colorName="black" start="-1,0" stop="-1,-1"/>
36 <blockBackground colorName="(1,1,1)" start="0,0" stop="-1,-1"/>
37 <blockBackground colorName="(0.88,0.88,0.88)" start="0,0" stop="-1,0"/>
42 <blockTable repeatRows="1" style="left" colWidths="1.8cm,10.0cm,2.0cm,1.6cm,2.3cm,2cm">
45 <para style="small"><b t="1">Cat. N.</b></para>
47 <para style="small"><b t="1">Description and bids</b></para>
49 <para style="small"><b t="1">Est.</b></para>
51 <para style="small"><b t="1">Limit</b></para>
53 <para style="small"><b t="1">Inv, Name</b></para>
55 <para style="small"><b t="1">Buyer, Price</b></para>
58 <xsl:apply-templates select="lots/lot"/>
64 <xsl:template match="lots/lot">
67 <para style="verysmall"><xsl:value-of select="lot_num"/></para>
69 <para style="verysmall">
70 <b><xsl:value-of select="artist"/></b>
72 <para style="verysmall">
73 <xsl:value-of select="lot_desc"/>
75 <xsl:for-each select="bid">
76 <xsl:sort order="descending" select="bid_prix"/>
77 <para style="smallest">
79 <xsl:when test="bid_tel_ok='1'">
87 <xsl:value-of select="bid_name"/>
88 <xsl:text>(</xsl:text><xsl:value-of select="bid_id"/><xsl:text>)</xsl:text>
89 <xsl:if test="round(bid_prix)>0">
90 <xsl:text> </xsl:text><b><xsl:value-of select="round(bid_prix)"/><xsl:text> EUR</xsl:text></b>
92 <xsl:if test="bid_tel_ok='1'">
93 <b><xsl:text t="1">, TEL:</xsl:text><xsl:value-of select="bid_tel"/></b>
98 <para style="verysmall">
99 <xsl:if test="lot_est1 != ''">
100 <xsl:value-of select="round(lot_est1)"/>
102 <xsl:text>-</xsl:text>
103 <xsl:if test="lot_est2 != ''">
104 <xsl:value-of select="round(lot_est2)"/>
108 <xsl:if test="lot_limit != ''">
109 <para style="verysmall">
110 <b><xsl:value-of select="round(lot_limit)"/></b>
113 <xsl:if test="lot_limit_net != ''">
114 <para style="verysmall">
119 <para style="verysmall"><xsl:value-of select="deposit_num"/>
120 <xsl:text> </xsl:text><xsl:value-of select="substring(lot_seller_ref,0,5)"/>
121 <xsl:text> </xsl:text><xsl:value-of select="substring(lot_seller,0,9)"/>
124 <para style="verysmall">
125 <xsl:value-of select="buyer_login"/>
126 <xsl:if test="obj_price > 0">
127 <xsl:text>, </xsl:text>
128 <xsl:value-of select="obj_price"/>