|
Hi All, Thanks for this script - but for some reason I keep getting a "TypeError: style has no properties" error. I have tried for hours to debug this. Would really appreciate any input on what I need to change.
I get the rest of the output for the document (not included in the code below), but don't see anything at all of the text that is within the <text:wrap>
Thanks,
Adrian
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000303 Stylable//EN"
"http://www.w3.org/TR/2000/03/WD-SVG-20000303/DTD/svg-20000303-stylable.dtd">
<svg a3:scriptImplementation="Adobe" onload="TextWrap._init()" width="670" height="550" xmlns:a3="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/" xmlns:text="http://xmlns.graougraou.com/svg/text/" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg-20000303-stylable" zoomAndPan="magnify">
<defs>
<script type="text/ecmascript" xlink:href="TextWrap.es" a3:scriptImplementation="Adobe"/>
</defs>
<text:wrap x="250" y="25" width="100" style="font-family: arial; font-size: 10px; font-weight: normal; fill: #000000; text-rendering: optimizeLegibility; text-align: justify; line-interval: 1.5em"> High secondary symptoms indicate serious problems, but low primary indicates other factors may also be involved in causing the conditions.</text:wrap>
</svg>
|