xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dongjiang tang" <dt...@glassoc.com>
Subject how can I get the double border work?
Date Wed, 04 Dec 2002 19:54:27 GMT
Having trouble to show double border. THis is what I did:
I got an example .fo file from http://www.zvon.org/HowTo/Output/xslfoTests_cbpbp-border6.php?at=border-bottom-style

The example shows how to use double border, as shown in their PDF file (http://www.zvon.org/HowTo/Data/xslfoTests/results/cbpbp-border6.pdf).

but when I run it using command line:  fop -d  -fo test1.fo test1.pdf,  I got a PDF file only
showing the single solid line. Anybody know why?

I attached my PDF file here. I tried both by the FOP0.20.4 and a CVS snapshot(20021204114121).

Thank you very much!

Dtang

test1.fo:
<?xml version="1.0" encoding="utf-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
   <fo:layout-master-set>
      <fo:simple-page-master master-name="test-page-master" page-width="8.5in" page-height="11in">
         <fo:region-body margin-top="0.4in"/>
      </fo:simple-page-master>
   </fo:layout-master-set>
   <fo:page-sequence master-reference="test-page-master">
      <fo:flow flow-name="xsl-region-body">
         <fo:block border-left-color="maroon" border-left-style="double" border-left-width="medium"
border-bottom-color="maroon" border-bottom-style="double" border-bottom-width="medium" border-right-color="maroon"
border-right-style="double" border-right-width="medium" border-top-color="maroon" border-top-style="double"
border-top-width="medium">This element should have a medium maroon double border around
it, even though "border-width"
(complete property) was not explicitly set.  Individual properties are tested here.</fo:block>
      </fo:flow>
   </fo:page-sequence>
</fo:root>

Mime
View raw message