Hello !

you will find, in enclosure, a small sample

Philippe Pithon


-----Message d'origine-----
De : Jeremias Maerki [mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 9 janvier 2004 15:25
À : [EMAIL PROTECTED]
Objet : Re: renderer postscript : border painting

Not a known problem (or I forgot about it). Please post a small sample
FO document that shows the problem. I may be able to point you to the
right place in PSRenderer. 


On 09.01.2004 09:37:06 Philippe PITHON wrote:
> FOP 0.20.5
> in postscript generation I encounter an problem 
> it's a document with many tables, there are invisible border
> on the 1st page the border are invisible 
> it's OK,
> but on the following pages, the border are painting ! 
> known problem?
> a solution? 


Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

<<attachment: border.gif>>

<xsl:stylesheet version="1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format"; xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
   <xsl:output encoding="iso-8859-1" method="xml"/>
   <xsl:template match="/">
      <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
         <fo:layout-master-set>
            <fo:simple-page-master margin-bottom="28px" margin-left="42px" margin-right="41px" margin-top="17px" master-name="mise_en_page_toutes_pages" page-height="845px" page-width="597px">
               <fo:region-before extent="40px"/>
               <fo:region-after extent="-9px"/>
               <fo:region-body margin-bottom="-9px" margin-top="40px"/>
            </fo:simple-page-master>
            <fo:page-sequence-master master-name="traitement_toutes_pages">
               <fo:repeatable-page-master-reference master-reference="mise_en_page_toutes_pages"/>
            </fo:page-sequence-master>
         </fo:layout-master-set>
         <fo:page-sequence master-reference="traitement_toutes_pages">
            <fo:static-content flow-name="xsl-region-before">
               <fo:table border="1" table-layout="fixed">
                  <fo:table-column column-width="515px"/>
                  <fo:table-body>
                     <fo:table-row>
                        <fo:table-cell border-bottom-color="#ffffff" border-bottom-style="solid" border-bottom-width="0.1px" border-left-color="#ffffff" border-left-style="solid" border-left-width="0.1px" border-right-color="#ffffff" border-right-style="solid" border-right-width="0.1px" border-top-color="#ffffff" border-top-style="solid" border-top-width="0.1px" padding-bottom="2px" padding-left="2px" padding-right="2px" padding-top="2px">
                           <fo:block/>
                        </fo:table-cell>
                     </fo:table-row>
                  </fo:table-body>
               </fo:table>
            </fo:static-content>
            <fo:static-content flow-name="xsl-region-after">
               <fo:table border="1" table-layout="fixed">
                  <fo:table-column column-width="515px"/>
                  <fo:table-body>
                     <fo:table-row>
                        <fo:table-cell border-bottom-color="#ffffff" border-bottom-style="solid" border-bottom-width="0.1px" border-left-color="#ffffff" border-left-style="solid" border-left-width="0.1px" border-right-color="#ffffff" border-right-style="solid" border-right-width="0.1px" border-top-color="#ffffff" border-top-style="solid" border-top-width="0.1px" padding-bottom="2px" padding-left="2px" padding-right="2px" padding-top="2px">
                           <fo:block/>
                        </fo:table-cell>
                     </fo:table-row>
                  </fo:table-body>
               </fo:table>
            </fo:static-content>
            <fo:flow flow-name="xsl-region-body">
               <xsl:apply-templates/>
            </fo:flow>
         </fo:page-sequence>
      </fo:root>
   </xsl:template>
   <xsl:template match="INSEE.HOTELLERIE">
      <xsl:apply-templates select="row"/>
   </xsl:template>
   <xsl:template match="INSEE.HOTELLERIE/row">
      <fo:table border="1" space-before="1px" table-layout="fixed">
         <fo:table-column column-width="313px"/>
         <fo:table-body>
            <fo:table-row>
               <fo:table-cell border-bottom-color="#ffffff" border-bottom-style="solid" border-bottom-width="0.1px" border-left-color="#ffffff" border-left-style="solid" border-left-width="0.1px" border-right-color="#ffffff" border-right-style="solid" border-right-width="0.1px" border-top-color="#ffffff" border-top-style="solid" border-top-width="0.1px" padding-bottom="2px" padding-left="2px" padding-right="2px" padding-top="2px">
                  <fo:block/>
                  <fo:block font-family="Helvetica" font-size="14px" hyphenate="true" language="fr" text-align="center" white-space-collapse="false">
                     <xsl:text>text1</xsl:text>
                  </fo:block>
                  <fo:block font-family="Helvetica" font-size="14px" hyphenate="true" language="fr" text-align="center" white-space-collapse="false">
                     <xsl:value-of select="child::ANQUEST"/>
                  </fo:block>
                  <fo:block font-family="Helvetica" font-size="12px" hyphenate="true" language="fr" text-align="center" white-space-collapse="false">
                     <xsl:text>text2</xsl:text>
                  </fo:block>
               </fo:table-cell>
            </fo:table-row>
         </fo:table-body>
      </fo:table>
      <fo:table>
         <fo:table-column column-width="489px"/>
         <fo:table-body>
            <fo:table-row>
               <fo:table-cell>
                  <fo:block break-after="page"/>
               </fo:table-cell>
            </fo:table-row>
         </fo:table-body>
      </fo:table>
      <fo:table border="1" space-before="1px" table-layout="fixed">
         <fo:table-column column-width="0px"/>
         <fo:table-body>
            <fo:table-row>
               <fo:table-cell border-bottom-color="#ffffff" border-bottom-style="solid" border-bottom-width="0.1px" border-left-color="#ffffff" border-left-style="solid" border-left-width="0.1px" border-right-color="#ffffff" border-right-style="solid" border-right-width="0.1px" border-top-color="#ffffff" border-top-style="solid" border-top-width="0.1px" padding-bottom="2px" padding-left="2px" padding-right="2px" padding-top="2px">
                  <fo:block/>
               </fo:table-cell>
            </fo:table-row>
         </fo:table-body>
      </fo:table>
   </xsl:template>
</xsl:stylesheet>

Attachment: 13096.ps
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to