Hi

I get a border surrounding the content, if I transform a fo into a svg.
The border is a <rect> Element with width and height equal to image
width and height (specified in the <svg> element). I am using apache fop
version 20.5.

FO:
<?xml version="1.0" encoding="iso-8859-1"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";>
        <fo:layout-master-set>
                <fo:simple-page-master master-name="esr"
margin-top="0cm" margin-bottom="0cm" margin-left="0cm"
margin-right="0cm" page-width="210mm" page-height="105mm">
                        <fo:region-body/>
                </fo:simple-page-master>
        </fo:layout-master-set>

        <fo:page-sequence master-reference="esr">
                <fo:flow flow-name="xsl-region-body">
                        placetablehere
                </fo:flow>
        </fo:page-sequence>
</fo:root>


SVG:
<?xml version="1.0" encoding="UTF-8"?>
<svg contentScriptType="text/ecmascript" width="595"
xmlns:xlink="http://www.w3.org/1999/xlink"; zoomAndPan="magnify"
contentStyleType="text/css" height="298" preserveAspectRatio="xMidYMid
meet" xmlns="http://www.w3.org/2000/svg"; version="1.0">
        <g id="Page-1" style="font-family:sanserif;font-size:12"
transform="translate(0,0.0)">
                <rect x="0" width="595" y="0" height="298"
style="fill:none;stroke:black" />
                <text x="0" y="11.56" />
                <a xlink:type="simple" xlink:actuate="onRequest"
xlink:show="replace" xmlns:xlink="http://www.w3.org/1999/xlink";
xlink:href="#svgView(viewBox(0, 0.0, 595, 298))">
                        <rect x="0" width="297" y="0" height="298"
style="fill:blue;visibility:hidden" />
                </a>
        </g>
</svg>



Gloor Informatik

Zurlindenstr. 215 a

8003 Zürich


  
  




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

Reply via email to