I try to import SVG vector drawings in oowriter:
This is my svg file:
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<g transform="scale(10) translate(298,110)" font-family="Verdana, sans-serif">
<path d="M -270 -107.5 L -280 -107.5 z" stroke="SandyBrown" stroke-width="0.1" />
<path d="M -270 -105 L -280 -105 z" stroke="SandyBrown" stroke-width="0.1" />
<path d="M -270 -100 L -280 -100 z" stroke="SandyBrown" stroke-width="0.1" />
<path d="M -270 -97.5 L -280 -97.5 z" stroke="SandyBrown" stroke-width="0.1" />
<path d="M -255 -102.5 L -245 -102.5 z" stroke="SandyBrown" stroke-width="0.1" />
<text x="-264.375" y="-101.925" text-anchor="middle" font-family="Monospace" font-size="2.3" >I$5417 </text>
<text x="-262.5" y="-106.75" text-anchor="middle" font-family="Monospace" font-size="3" >NO04 </text>
<text x="-239.7461" y="-101.4979" font-family="Monospace" font-size="3.8" >OQ </text>
<text x="-285.1992" y="-106.5422" text-anchor="end" font-family="Monospace" font-size="3.8" >IA </text>
<text x="-285.1992" y="-104.0422" text-anchor="end" font-family="Monospace" font-size="3.8" >IB </text>
<text x="-285.1992" y="-99.0422" text-anchor="end" font-family="Monospace" font-size="3.8" >IC </text>
<text x="-285.1992" y="-96.5422" text-anchor="end" font-family="Monospace" font-size="3.8" >ID </text>
<path d="M -258.001 -102.5 A 7.895 7.895 0 0 0 -264.333 -106.5" fill="none" stroke="Cyan" stroke-width="0.1" />
<path d="M -264.333 -106.5 L -268.5 -106.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -268 -105 L -270 -105 z" stroke="Cyan" stroke-width="0.1" />
<circle cx="-257.251" cy="-102.5" r="0.751" fill="none" stroke="Cyan" stroke-width="0.1" />
<path d="M -256.5 -102.5 L -255 -102.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -270 -107.5 L -268.5 -107.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -268.5 -106.5 L -268.5 -108.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -270 -97.5 L -268.5 -97.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -268 -100 L -270 -100 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -268.5 -98.5 L -268.5 -96.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -268.5 -98.5 A 8.5 8.5 0 0 0 -268.5 -106.5" fill="none" stroke="Cyan" stroke-width="0.1" />
<path d="M -268.5 -98.5 L -264.333 -98.5 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -264.333 -98.5 A 7.895 7.895 0 0 0 -258.001 -102.5" fill="none" stroke="Cyan" stroke-width="0.1" />
<path d="M -245 -102.5 L -242.5 -103.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -240 -103.75 L -242.5 -103.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -245 -102.5 L -242.5 -101.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -240 -101.25 L -242.5 -101.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -240 -101.25 L -240 -103.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -107.5 L -282.5 -108.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -108.75 L -282.5 -108.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -107.5 L -282.5 -106.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -106.25 L -282.5 -106.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -106.25 L -285 -108.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -105 L -282.5 -106.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -106.25 L -282.5 -106.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -105 L -282.5 -103.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -103.75 L -282.5 -103.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -103.75 L -285 -106.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -100 L -282.5 -101.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -101.25 L -282.5 -101.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -100 L -282.5 -98.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -98.75 L -282.5 -98.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -98.75 L -285 -101.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -97.5 L -282.5 -98.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -98.75 L -282.5 -98.75 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -280 -97.5 L -282.5 -96.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -96.25 L -282.5 -96.25 z" stroke="Cyan" stroke-width="0.1" />
<path d="M -285 -96.25 L -285 -98.75 z" stroke="Cyan" stroke-width="0.1" />
</g>
</svg>
If I do oodraw file.svg, the objext is only displayed in black and the texts are missing, see attachment oodraw_nor4.png
If I do a Insert Picture from file the result is as in attachment oowriter_nor4.png,
What do I wrong? Is there a chance, that the display and print results are the
same in inkscape and oowriter?
Also I dont understand the role of the module svg-import-1.2.2.oxt, after installing this nothing has changed. I would be glad I if would get some help or some information, why this is not so easy.
Best regards Robert