<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David+webb</id>
	<title>Apache OpenOffice Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.openoffice.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David+webb"/>
	<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/wiki/Special:Contributions/David_webb"/>
	<updated>2026-11-21T11:46:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.14</generator>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4782</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4782"/>
		<updated>2006-02-09T09:06:36Z</updated>

		<summary type="html">&lt;p&gt;David webb: Bugs Fixed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Bugs Fixed&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The above problem has now been fixed (SVG Filter revision 2158).  It arose because Open Office transforms all co-ordinates. including increments, into an integer number of 0.01 mm units.  The above x-increments transform to 20.53 OpenOffice units which is rounded up to 21.  In a time series plot of 1000 points this produces an error of nearly 5mm!  The workaround is to carry out the increment arithmetic within the filter and to replace all increment co-ordinates by absolute co-ordinates in the file passed to OpenOffice.&lt;br /&gt;
&lt;br /&gt;
An unrelated problem associated with 90 degree clockwise transformations has also been fixed.  One effect of the bug was to always write a y-axis title so that it read from top to bottom.  Thanks to Bernhard for implementing the changes.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 9th February 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Website locked down?&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to find your SVG Import Filter, but I doesn´t have permission to enter the website: http://www.ipd.uka.de/~hauma/svg-import/ --[[User:MilesTeg|MilesTeg]] 19:23, 31 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_Import_Source_Code&amp;diff=4528</id>
		<title>SVG Import Source Code</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_Import_Source_Code&amp;diff=4528"/>
		<updated>2006-02-03T16:12:49Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
There is some interest in integrating the filter into the  project. Until this completed, you can checkout the sources from my SVN repository. This pages describes how to get the sources and build the filter yourself.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Be warned&amp;lt;/b&amp;gt;: The sources are currently not in the best condition. Much documentation is missing. To get started anyway, you need at least some overview of the project. I quote the following from my mail to dev@graphics.openoffice.org:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;blockquote&amp;gt;&lt;br /&gt;
The SVG import filter project currently consists of four &amp;quot;sub-projects&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;The  integration component &amp;lt;b&amp;gt;svg-import&amp;lt;/b&amp;gt;. This provides a [[Main_XImportFilter|XImportFilter]]. This filter builds an annotated SVG DOM tree using Batik, transforms it into an [[OpenDocument]] DOM tree using &amp;lt;b&amp;gt;svg2office&amp;lt;/b&amp;gt; and finally translates the resulting [[OpenDocument]] DOM into SAX events, which are fed into the [[Main_XDocumentHandler|XDocumentHandler]] that is provided by .&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;The &amp;lt;b&amp;gt;svg2office&amp;lt;/b&amp;gt; transformation is structured as visitor of a SVG DOM tree, which is provided by Batik. During its visit, the transformation builds [[OpenDocument]] DOM nodes. For the [[OpenDocument]] DOM, currently, a generic DOM implementation is used (provided by [Java:javax/xml/parsers/[[Main_DocumentBuilder|DocumentBuilder]] javax.xml]). To avoid writing string constants and to have at least some sort of type checking and IDE support, facade classes are generated directly from the [[Main_RelaxNG|RelaxNG]] schema of the [[OpenDocument]] specification. This is accomplished by &amp;lt;b&amp;gt;rng2dom&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The transformation itself mainly relies on the information provided by the SVG DOM API as specified by w3.org. Only where this is not sufficient, implementation details from the Apache Batik SVG engine are used. This means, that the transformation is not built as Batik backend (a transcoder that acts on behalf of the Batik-internal GVT rendering tree). The Batik-internal GVT rendering tree is therefore only consulted, where context information is required, which is not offered by the SVG DOM.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;b&amp;gt;rng2dom&amp;lt;/b&amp;gt; is a set of transformations that distill information out of a [[Main_RelaxNG|RelaxNG]] schema for data-binding. The transformations that are implemented are relatively advanced, but the generated facade classes do not make much use of theses features yet. The [[OpenDocument]] DOM facade simply provides a bunch of methods to create elements from the different [[OpenDocument]] namespaces and to get and set attributes for these elements in a more or less generic fashion.&lt;br /&gt;
&lt;br /&gt;
This sub-project is not an integral part of the filter, since the only dependency is the generated access code for the [[OpenDocument]] DOM. This generated code is included in the svg2office source tree. Therefore, you do not need this project to successfully compile your SVG import filter.&amp;lt;/li&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;A (minimally) hacked version of &amp;lt;b&amp;gt;xml-batik&amp;lt;/b&amp;gt;. That&amp;#039;s a pity, but batik was not primarily designed to offer it&amp;#039;s SVG DOM to third parties. All transcoders in batik rely on the internal GVT tree for rendering, not for transformation. Therefore, the implementation of some &amp;quot;advanced&amp;quot; features of the SVG DOM (like non-exposed subtrees for certain elements) are not yet implemented. To make svg-import more complete, some more effort is necessary to evolve missing features in batik.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To get started, you have to check out all four projects from SVN. The best way to do that is to change to your (Eclipse) workspace directory and type the following commands:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Check out svg-import:&amp;lt;br&amp;gt;&lt;br /&gt;
svn --username anonymous --password &amp;#039;&amp;#039; co &lt;br /&gt;
	http://svn.ipd.uka.de/repos/hauma/haui/trunk/svg-import/&lt;br /&gt;
&lt;br /&gt;
2. Check out svg2office:&amp;lt;br&amp;gt;&lt;br /&gt;
svn --username anonymous --password &amp;#039;&amp;#039; co &lt;br /&gt;
	http://svn.ipd.uka.de/repos/hauma/haui/trunk/svg2office/&lt;br /&gt;
&lt;br /&gt;
3. Optionally check out rng2dom (see above):&amp;lt;br&amp;gt;&lt;br /&gt;
svn --username anonymous --password &amp;#039;&amp;#039; co &lt;br /&gt;
	http://svn.ipd.uka.de/repos/hauma/haui/trunk/rng2dom/&lt;br /&gt;
&lt;br /&gt;
4. Check out xml-batik:&amp;lt;br&amp;gt;&lt;br /&gt;
svn co &lt;br /&gt;
	http://svn.apache.org/repos/asf/xmlgraphics/batik/trunk xml-batik&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Afterwards, you have to apply the patches to batik. The patch file is provided in &amp;lt;tt&amp;gt;svg2office/patches&amp;lt;/tt&amp;gt;. If your current working directory is your workspace, the following should do:&lt;br /&gt;
&lt;br /&gt;
cd xml-batik&amp;lt;br&amp;gt;&lt;br /&gt;
patch -p0 &amp;lt; ../svg2office/patches/xml-batik.patch&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All projects are prepared for the Eclipse IDE. After you have added them to your workspace, eclipse compiles all the sources for you.&lt;br /&gt;
&lt;br /&gt;
Now, you are ready, to create the UNO package and install it into your . The following assumes that you have an Apache Ant installed and your  installation is located at &amp;lt;tt&amp;gt;/opt/openoffice.org1.9.122&amp;lt;/tt&amp;gt;. Type:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
cd svg-import&amp;lt;br&amp;gt;&lt;br /&gt;
ant -Dooo.home=/opt/openoffice.org1.9.122 install&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If everything went fine, you now have a home-browen SVG import&lt;br /&gt;
filter installed as package within your . The zip file of the created UNO package can be found in &amp;lt;tt&amp;gt;svg-import/build&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- [[User:Haui|BernhardHaumacher]] - 18 Aug 2005&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4497</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4497"/>
		<updated>2006-01-30T23:08:12Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve looked at the problem further and concluded that it arises because the test problem draws a long line of small increaments in the x-direction (i.e &amp;quot;l x-increment,y-increment&amp;quot; instead of &amp;quot;L x-value,y-value&amp;quot;).  The SVG filter transforms the SVG pixel (96 pixels = 1 inch) values correctly to OpenOffice units (1 unit = 0.01 mm) but OpenOffice then appears to round each increment value to the nearest number of whole units before adding it to the previously plotted point and plotting the next point.  The error observed in the above and other related problems (sometimes the path is too short) is consistent with this explanation.  The sum of rounding errors is insignificant for simple shapes with a few points but with long time series with hundreds or thousands of regularly spaced points it becomes significant.&lt;br /&gt;
&lt;br /&gt;
The best solution is for OpenOffice itself to support fractional units - at least while it is processing input in the form of increments.  The alternative (practical) solution is to modify the filter to do this, converting the list of increments to a list of absolute coordinates and, to be sure, to make its own conversion to the nearest integer.&lt;br /&gt;
&lt;br /&gt;
Unfortunately my knowledge of Java is not up to working through all the implications of any code changes but if anyone wants a go, the string to convert is the string &amp;#039;result&amp;#039; in &amp;#039;getPathSegmentsAsString&amp;#039; in file &amp;#039;svg2office/src/haui/xml/svg/transformation/SVGToOffice.java&amp;#039;.  The case where the inital point is given relative to svg:x and svg:y also needs to be covered - plus the more complex svg path commands and any changes to the bounding box.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 30th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4495</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4495"/>
		<updated>2006-01-30T18:49:35Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve looked at the problem further and concluded that it arises because the test problem draws a long line of small increaments in the x-direction (i.e &amp;quot;l x-increment,y-increment&amp;quot; instead of &amp;quot;L x-value,y-value&amp;quot;).  The SVG filter transforms the SVG pixel (96 pixels = 1 inch) values correctly to OpenOffice units (1 unit = 0.01 mm) but OpenOffice then rounds each increment value to the nearest number of whole units before adding it to the previously plotted point and plotting the next point.  The error observed in the above and other related problems is consistent with this explanation.  The error is insignificant for simple shapes with a few points but with long time series with hundreds or thousands of points it becomes significant.&lt;br /&gt;
&lt;br /&gt;
The best solution is for OpenOffice itself to support fractional units - at least while it is processing input in the form of increments.  The alternative (practical) solution is to modify the filter to do this, converting the list of increments to a list of absolute coordinates and, to be sure, to make its own conversion to the nearest integer.&lt;br /&gt;
&lt;br /&gt;
Unfortunately my knowledge of Java is not up to writing a foolproof bit of code to do this but if anyone wants a go, the string to convert is the string &amp;#039;result&amp;#039;, in &amp;#039;getPathSegmentsAsString&amp;#039; in file &amp;#039;svg2office/src/haui/xml/svg/transformation/SVGToOffice .java&amp;#039;.  The case where the inital point is given relative to svg:x and svg:y also needs to be handled.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 30th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4494</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4494"/>
		<updated>2006-01-30T18:48:23Z</updated>

		<summary type="html">&lt;p&gt;David webb: Define pixels&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve looked at the problem further and concluded that it arises because the test problem draws a long line of small increaments in the x-direction (i.e &amp;quot;l x-increment,y-increment&amp;quot; instead of &amp;quot;L x-value,y-value&amp;quot;).  The SVG filter transforms the (pixel - 96 pixels = 1 inch) values correctly to OpenOffice units (1 unit = 0.01 mm) but OpenOffice then rounds each increment value to the nearest number of whole units before adding it to the previously plotted point and plotting the next point.  The error observed in the above and other related problems is consistent with this explanation.  The error is insignificant for simple shapes with a few points but with long time series with hundreds or thousands of points it becomes significant.&lt;br /&gt;
&lt;br /&gt;
The best solution is for OpenOffice itself to support fractional units - at least while it is processing input in the form of increments.  The alternative (practical) solution is to modify the filter to do this, converting the list of increments to a list of absolute coordinates and, to be sure, to make its own conversion to the nearest integer.&lt;br /&gt;
&lt;br /&gt;
Unfortunately my knowledge of Java is not up to writing a foolproof bit of code to do this but if anyone wants a go, the string to convert is the string &amp;#039;result&amp;#039;, in &amp;#039;getPathSegmentsAsString&amp;#039; in file &amp;#039;svg2office/src/haui/xml/svg/transformation/SVGToOffice .java&amp;#039;.  The case where the inital point is given relative to svg:x and svg:y also needs to be handled.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 30th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4493</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4493"/>
		<updated>2006-01-30T18:45:45Z</updated>

		<summary type="html">&lt;p&gt;David webb: Spelling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve looked at the problem further and concluded that it arises because the test problem draws a long line of small increaments in the x-direction (i.e &amp;quot;l x-increment,y-increment&amp;quot; instead of &amp;quot;L x-value,y-value&amp;quot;).  The SVG filter transforms the values correctly to OpenOffice units (1 unit = 0.01 mm) but OpenOffice then rounds each increment value to the nearest number of whole units before adding it to the previously plotted point and plotting the next point.  The error observed in the above and other related problems is consistent with this explanation.  The error is insignificant for simple shapes with a few points but with long time series with hundreds or thousands of points it becomes significant.&lt;br /&gt;
&lt;br /&gt;
The best solution is for OpenOffice itself to support fractional units - at least while it is processing input in the form of increments.  The alternative (practical) solution is to modify the filter to do this, converting the list of increments to a list of absolute coordinates and, to be sure, to make its own conversion to the nearest integer.&lt;br /&gt;
&lt;br /&gt;
Unfortunately my knowledge of Java is not up to writing a foolproof bit of code to do this but if anyone wants a go, the string to convert is the string &amp;#039;result&amp;#039;, in &amp;#039;getPathSegmentsAsString&amp;#039; in file &amp;#039;svg2office/src/haui/xml/svg/transformation/SVGToOffice .java&amp;#039;.  The case where the inital point is given relative to svg:x and svg:y also needs to be handled.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 30th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4492</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4492"/>
		<updated>2006-01-30T18:41:34Z</updated>

		<summary type="html">&lt;p&gt;David webb: Error result of OpenOffice rounding each increments to whole units before plotting.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve looked at the problem further and concluded that it arises because the test problem draws a long line of small increaments in the x-direction (i.e &amp;quot;l x-increment,y-increment&amp;quot; instead of &amp;quot;L x-value,y-value&amp;quot;).  The SVG filter transforms the values correctly to OpenOffice units (1 unit = 0.01 mm) but OpenOffice then rounds each increment value to the nearest number of whole units before adding it to the previously plotted point and plotting the next point.  The error observed in the above and other related problems is consistent with this explanation.  The error is insignificant for simple shapes with a few points but with long time series with hundreads or thousand of points it becomes significant.&lt;br /&gt;
&lt;br /&gt;
The best solution is for OpenOffice itself to support fractional units - at least while it is processing input in the form of increments.  The alternative (practical) solution is to modify the filter to do this, converting the list of increments to a list of absolute coordinates and, to be sure, to make its own conversion to the nearest integer.&lt;br /&gt;
&lt;br /&gt;
Unfortunately my knowledge of Java is not up to writing a foolproof bit of code to do this but if anyone wants a go, the string to convert is the string &amp;#039;result&amp;#039;, in &amp;#039;getPathSegmentsAsString&amp;#039; in file &amp;#039;svg2office/src/haui/xml/svg/transformation/SVGToOffice .java&amp;#039;.  The case where the inital point is given relative to svg:x and svg:y also needs to be handled.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 30th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4463</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4463"/>
		<updated>2006-01-29T18:51:40Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4&amp;gt;Further comments&amp;lt;/h4&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The svg2office test program (included with the filter source files) gives the correct results &lt;br /&gt;
- it generates a pseudo (non-compressed and without the full directory structure) Open &lt;br /&gt;
Office .odg file which includes 100 increments of 20.53166 units filling a box of width 2053.1665 units.  &lt;br /&gt;
As far as I can tell this this test does not cover the final link between the filter&lt;br /&gt;
and OpenOffice or the way OpenOffice handles the imported data - so the problem probably&lt;br /&gt;
lies in these last two steps.&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 29th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4462</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=4462"/>
		<updated>2006-01-29T18:33:58Z</updated>

		<summary type="html">&lt;p&gt;David webb: Corrected mistyped 0.0776.  Import still produces error.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[SVG_Import_Todo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
r2131 is a great improvement as regards importing Visio drawings. The only major problem in this area that I see right now is that where text in a Visio text box contains returns (thus giving multiple lines of text), when imported into Draw the returns seem to be lost. The result is that text boxes end up overlaying each other on the screen, and are effectively unreadable.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 19 Jan 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[SVG_Import_ToDo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.776,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG filter on Mac OS X&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have been able to add the import filter into OOo 2.0.1 on Mac OS X 10.4.3 with JRE 1.5.0.    Some preliminary findings are below.&lt;br /&gt;
&lt;br /&gt;
* Experiments with SVG exported from &amp;lt;nowiki&amp;gt;OmniGraffle&amp;lt;/nowiki&amp;gt; have been less than promising, but I&amp;#039;m still tinkering... &lt;br /&gt;
** OG file export to SVG and OOo import of a fairly simple OG flowchart was taking forever (killed process)&lt;br /&gt;
** OG graphics imported to OOo are not in nearly the same proportion I see on the screen in OG... Much bigger.&lt;br /&gt;
** Hopefully this link works...  [[Image:OG4_High_Level_Process_Map_v2.svg]]  The wiki didn&amp;#039;t seem to like the SVG attachment.&lt;br /&gt;
&lt;br /&gt;
* Inkscape seems to work OK, but there are some quirks:&lt;br /&gt;
** Unexpected shape sizes (again, much bigger)&lt;br /&gt;
** Unexpected page borders for the canvas (probably a setting in Inkscape I need to find)&lt;br /&gt;
** etc...&lt;br /&gt;
&lt;br /&gt;
* I ran some very limited, quick tests with Open Clip Art SVG files and things worked well.  &lt;br /&gt;
&lt;br /&gt;
I will post more when time allows.&lt;br /&gt;
&lt;br /&gt;
Thanks to the developer and everyone helping improve this utility.&lt;br /&gt;
&lt;br /&gt;
--[[User:EJ|EJ]] 10:09, 20 January 2006 (CET)&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3943</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3943"/>
		<updated>2006-01-12T16:00:50Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[Main_SVGImportTodo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem with the &amp;#039;path&amp;#039; operator&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I have found what looks like a rounding error when processing the path operator.  The following svg file plots a box of width 77.6 and a path made up of 100 segments each with an x-coordinate step of 0.776.  Thus the path should lie within the box.  When imported into OpenOffice it is found to extend beyond the right hand side of the box.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot;?&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE svg PUBLIC &amp;quot;-//W3C//DTD SVG 1.0//EN&amp;quot;    &amp;quot;http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd&amp;quot; [&lt;br /&gt;
	&amp;lt;!ENTITY ns_svg &amp;quot;http://www.w3.org/2000/svg&amp;quot;&amp;gt;&lt;br /&gt;
]&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;svg	width=&amp;quot;400&amp;quot; height=&amp;quot;100&amp;quot; viewBox=&amp;quot;0 0 400 100&amp;quot; overflow=&amp;quot;visible&amp;quot; enable-background=&amp;quot;new 0 0 400 100&amp;quot;&lt;br /&gt;
	 xml:space=&amp;quot;preserve&amp;quot;&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,5.000v80.000h77.60V5.000H10.000&amp;quot;/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;path fill=&amp;quot;none&amp;quot; stroke=&amp;quot;#000000&amp;quot; stroke-miterlimit=&amp;quot;10&amp;quot; d=&amp;quot;M10.000,40.000&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776,0.200l0.776-0.200l0.776,2.432l0.777,3.070l0.776,4.663&amp;lt;br&amp;gt;&lt;br /&gt;
l0.776-5.669l0.776-5.786l0.776-0.143l0.776-1.883l0.776,1.617&amp;lt;br&amp;gt;&lt;br /&gt;
...  Two lines together containing 10 coordinate pairs repeated 9 more times ...&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt; &amp;quot;/&amp;gt; &amp;lt;/nowiki&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/svg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
-- David Webb - 12th January 2006&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3817</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3817"/>
		<updated>2006-01-07T21:34:28Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[Main_SVGImportTodo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb - 7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3816</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3816"/>
		<updated>2006-01-07T21:32:35Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[Main_SVGImportTodo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
-- David Webb,    7th January 2006&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
	<entry>
		<id>https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3815</id>
		<title>SVG User Experiences</title>
		<link rel="alternate" type="text/html" href="https://wiki.openoffice.org/w/index.php?title=SVG_User_Experiences&amp;diff=3815"/>
		<updated>2006-01-07T21:23:22Z</updated>

		<summary type="html">&lt;p&gt;David webb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{SVGTOC}}&lt;br /&gt;
&lt;br /&gt;
Please add your feedback to this page by pressing the edit button at the bottom of the page! Before, you have to register (press the &amp;#039;register&amp;#039; button in the menu to to the left). The registration is free and easy - and only required to prevent spam on the pages.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 18 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Import SVG in OO Writer as OLE Object&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After installing the svg-import package I&amp;#039;m able to display a svg image as OLE object in OO Writer. My problem is, that the left top corner of the page where the graphics is on is displayed in the result in openoffice.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- TheTschaena - 18 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading image&amp;lt;/h2&amp;gt;&lt;br /&gt;
Hello,&lt;br /&gt;
I tried to import a simple firewall picture from openclipart.org in my [[OpenOffice|OpenOffice]] (1.9.130) over Fedora Core 2,&lt;br /&gt;
but I get an &amp;quot;unknown format error&amp;quot; while I&amp;#039;ve successfully installed the svg-import-r2009 package. Is it because&lt;br /&gt;
the image has some unsupported feature ?&lt;br /&gt;
You can easily get the image by searching for &amp;quot;firewall&amp;quot; in the search engine of the main page of www.openclipart.org&lt;br /&gt;
if needed (2 identical pictures found).&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
We are talking about http://openclipart.org/clipart/computer/firewall_denco_01.svg? I can &amp;quot;File/Open&amp;quot; that image with . You possible tried to &amp;quot;Insert/Picture/From File&amp;quot;? This is (currently) not supported by SVG import (see the post below). Open the image and Cut&amp;amp;Paste it into your document. &lt;br /&gt;
&lt;br /&gt;
BTW. When loading this firewall image, it looks broken in  - This cannot be completely explained with gradient problems and needs further evaluation.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems with transparency gradients&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried your brand new version =svg-import-r2009.uno.zip= using OOo 1.9.124 (the build provided by Novell/SUSE) with Java 1.5.0_03 (part of SUSE Linux 9.3). The filter works quite good. Although differences to how Inkscape renders the sample image can be seen ([http://www.java-lehrbuch.de/images/svg-oodraw-inkscape.png screenshot, 132kB]). The image is taken from [http://openclipart.org/clipart/unsorted/calligraphy.svg].&lt;br /&gt;
&lt;br /&gt;
-- ReneAuberger - 26 Aug 2005&lt;br /&gt;
&lt;br /&gt;
This SVG image excessively uses transparency gradients. However, the result in Draw is that areas that should have been transparent are rendered black. My first impression was that this is a bug in Draw, but this is not the case. The filter in fact produces wrong results for transparency gradients, because I misinterpreted the specs for gradients and opacity. This will hopefully be fixed in the next release. Gradients seem to be most important for artistic images.&lt;br /&gt;
&lt;br /&gt;
Rene, thanks for the hint!&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 27 Aug 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Lenghty error message during Installation&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried installing this package &amp;quot;svg-import-r2009.uno.zip&amp;quot;) into [[OpenOffice|OpenOffice]] 1.9.113 but got a java error at the very last stages of installation.  (com.sun.star.uno.[[Main_RuntimeException|RuntimeException]]){ { Message = &amp;quot;[jni_uno bridge error] UNO calling Java method write[[Main_RegistryInfo|RegistryInfo]]: non-UNO exception occurred: java.lang.[[Main_UnsupportedClassVersionError|UnsupportedClassVersionError]]: haui/office/uno/filter/svgimport/Component (Unsupported major.minor version 49.0)X000ajava stack trace:X000ajava.lang.[[Main_UnspportedClassVersionError|UnspportedClassVersionError]]: ~ looks like a bunch stuff I cannot afford to type it all in by hand - more than 2000 chars of stack trace.&lt;br /&gt;
&lt;br /&gt;
Ok, so I went to [[OpenOffice|OpenOffice]] and downloaded [[OpenOffice|OpenOffice]] 1.9.125.  When I went back in it said the component was already installed.  Ok, so i uninstalled it and tried reinstalling the component, and i got the same error.  Anyway, after installation I tried to open an SVG document and it opened the document in the Word program ~ not in the draw program.&lt;br /&gt;
&lt;br /&gt;
The Package Manager says that &amp;quot;draw_svg_Import.xcu&amp;quot; and &amp;quot;svg-import.jar&amp;quot; are both &amp;quot;Disabled&amp;quot; and there is no way to enable them !&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
The error with the lenghty message is due to an insufficient Java version being installed. The SVG import requires at least jre/1.5. The plugin should give a more informative error message here, sorry.&lt;br /&gt;
&lt;br /&gt;
You can download Java 5 from [http://java.sun.com/] for many platforms.&lt;br /&gt;
&lt;br /&gt;
The plugin should work fine with [[OpenOffice|OpenOffice]] 1.9.113, but now, you already have 1.9.115. That&amp;#039;s fine. This did not help, because you still had the wrong Java version installed.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Graphic not editable after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Ok, so i figured out I needed batik, and managed to find it, but i struggled for an hour to install batik.  I didn&amp;#039;t realize at first that you needed to install batik with the open office package manager.  after i finally got batik, and java 5.0, and svg import enabled, i find that when i open an SVG picture in open office, it appears as a single object (like a groupped object ~ that cannot be ungroupped) that cannot be split - just like it always did before !!  I&amp;#039;m frustrated !!&lt;br /&gt;
&lt;br /&gt;
-- DonaldGillies - 03 Sep 2005&lt;br /&gt;
&lt;br /&gt;
To the best of my knowlege, you do not need to separately install batik, because the relevant batik classes are included in the plugin. But of cause, you need Java 5. That&amp;#039;s the reason, why things changed upon your third attempt.&lt;br /&gt;
&lt;br /&gt;
If you now open an *.svg with [[OpenOffice|OpenOffice]], Draw opens and displays the image, am I right? The plugin in the package manager is enabled now, isn&amp;#039;t it? That&amp;#039;s great, because the filter seems to work now. &lt;br /&gt;
&lt;br /&gt;
The imported image should be editable in Draw. You say, you cannot ungroup the object. You clicked the object and selected &amp;quot;ungroup&amp;quot; from the context menu, but nothing happended? The reason may be that there are several levels of grouping in your SVG image. Just try to repeat the procedure several times: Select the image and select &amp;quot;ungroup&amp;quot; from the context menu, until &amp;quot;ungroup&amp;quot; is no longer available. Afterwards, you can deselect the image and select arbitrary parts thereof.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 04 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;No SVG Insert via Insert/Picture/From File&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m using OO.o 1.9.129 under [[Main_UbuntuLinux|UbuntuLinux]] 5.10 Breezy Badger. I installed the sun java 1.5.0_05, and it&amp;#039;s seen under OO.o Options-&amp;gt;[[OpenOffice|OpenOffice]].org-&amp;gt;Java and it&amp;#039;s chosen as the default (ignoring the gnu 1.4 version which comes std with Ubuntu). I then installed svg-import-r2009, which went smoothly: [[Main_PackageManager|PackageManager]] reports that all three pieces are installed and enabled. I restarted OO.o (and checked ps to make sure that the process was really killed and restarted).&lt;br /&gt;
&lt;br /&gt;
However, when I open a new doc and attempt to import an svg, there are two problems. I go to Insert-&amp;gt;Picture-&amp;gt;From File, and in the chooser menu there&amp;#039;s no svg in the extension list, so directories that contain svgs show nothing. I got around that by naming the file directly. OO.o then gives an &amp;quot;unknown graphic format&amp;quot; message. &lt;br /&gt;
&lt;br /&gt;
I tried this using svgs from the Ubuntu &amp;quot;Human&amp;quot; icon set, and some svgs of statistical graphics using pstoedit from eps files. Same results.&lt;br /&gt;
&lt;br /&gt;
I started oofffice2 from the bash cmd line, but there&amp;#039;s no helpful tracing coming out. Any ideas about what I could check next? thanks in advance, and thanks for this -- SVG *is* what we need to do for serious graphics in docs.&lt;br /&gt;
&lt;br /&gt;
--&lt;br /&gt;
&lt;br /&gt;
The SVG import filter only works in  Draw for opening SVG graphics for editing. Try File-&amp;gt;Open and select the graphic you want to load. This should open a new Draw window with the desired graphics loaded. If you only want to include the graphics into a writer document, you may select the whole image and transfer it with Cut&amp;amp;Paste from the draw window to your document.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 26 Sep 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problem loading SVG image&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tried to open an SVG file in [[OpenOffice|OpenOffice]] Draw and it is different from what we have with Inkscape.&lt;br /&gt;
File : http://openclipart.org/clipart//computer/mouse_the_structorr_.svg.&lt;br /&gt;
&lt;br /&gt;
Anyway, thx a lot for all the work that has been done with openoffice SVG package. It is now possible to use openclipart gallery in [[OpenOffice|OpenOffice]]!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 27 Sep 2005&lt;br /&gt;
&lt;br /&gt;
Thanks for this nice example! This looks really broken when imported into . The problem is due a combination of opacity and color gradients. Both are not supported well by the current filter version. It will be worthwile to check this image with the next version. Unfortunately, I will not have time to complete the improved transformation for gradients before October 25th :-).&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 28 Sep 2005&lt;br /&gt;
&lt;br /&gt;
I understand that you are complety full in your timetable and it&amp;#039;s such a great thing that our requests are taken into consideration... Thx for your answer and I&amp;#039;ll be waiting for the next version... I like openoffice and opencliparts!&lt;br /&gt;
&lt;br /&gt;
-- CyrilJacquenot - 14 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Misplaced characters and *eps import*&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I tested the import filter on a small set of .eps files converted through pstoedit (.sk) then Inkscape to .svg. All look good. Congratulations and thanks for the work. It looks like a workable fix to the nagging poor handling of vector images in OOo, at least for simple enough things like 2d scientific graphs/plots, requiring some manual edition for labelling etc...&lt;br /&gt;
&lt;br /&gt;
However I found an hopefully minor glitch: text are somewhat misplaced i.e. shifted from their correct position. This can be seen using a very simple drawing made with Inkscape: a small text and some vertical and horizontal lines matching vertical and horizontal features of the text.&lt;br /&gt;
Then import in OOo. The drawing looks fine but lines and text are offset.&lt;br /&gt;
&lt;br /&gt;
NB1: I use Helvetica fonts, Inkscape-0.41-1, jre1.5.0_04, OOo 2.0 (official rpm) and svg-import-r2009.uno.zip&lt;br /&gt;
NB2: a *work around* in Inkscape: &amp;lt;tt&amp;gt;Edit/Select all&amp;lt;/tt&amp;gt; then &amp;lt;tt&amp;gt;Object/Ungroup&amp;lt;/tt&amp;gt;&lt;br /&gt;
then &amp;lt;tt&amp;gt;Path/Object to Path&amp;lt;/tt&amp;gt; and save using Inkscape svg format. This can now be imported into OOo draw.&lt;br /&gt;
&lt;br /&gt;
-- JacquesRoux - 01 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Text placement in [[OpenDocument]] graphics is somewhat vague and needs further evaluation. Nevertheless, improved text placement is on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Problems importing from Visio save&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Slight problems importing .svg saved from MS Visio 2003 - certain entities are not displayed in Draw. The attached file presumably contains these entities, since I can re-import it into Visio and it displays as expected. The Gimp also detects the entities concerned.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
Thank&amp;#039;s for this example graphics, &amp;quot;slight&amp;quot; seems to be understatement so. Unfortunately, MS Visio uses some SVG &amp;quot;extensions&amp;quot; to encode the icons as proprietary (?) binary-encoded metafile. As replacement, only a low-resolution bitmap is provided, which is not imported by the filter. &lt;br /&gt;
&lt;br /&gt;
Even if the filter would support embedded bitmaps in SVG files, the imported result would be inferior, because small bitmaps neither scale nor print well. Without enhancing the filter to also convert the embedded &amp;quot;metafile&amp;quot; to [[OpenDocument]], there is no chance to produce acceptable results from those Visio &amp;quot;SVG exports&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
Here is a link to some more information about Visio SVG export and import:&lt;br /&gt;
&lt;br /&gt;
http://www.svgopen.org/2003/papers/SVG_Scenarios_using_Microsoft_Office_Visio_2003/&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 07 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I understand what you&amp;#039;re saying. Having skimmed through the MS document, I&amp;#039;ve had a look at the SVG with a hex editor, and I see where the metafiles occur.&lt;br /&gt;
It occurs to me that these metafiles are almost certainly in WMF format, and that OOo includes code to deal with WMFs.&lt;br /&gt;
I can well understand that you might have little interest in incorporating into your SVG filter any code to deal with non-SVG entities, but...&lt;br /&gt;
Presumably at some point your filter code is likely to form the basis of a filter built into OOo 2.x. Would you foresee that at that time it might be possible for the filter to make use of the existing WMF filter code in order to convert the whole thing more completely to [[OpenDocument]], as per your second paragraph above?&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 09 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It would be a special pleasure for me to enable a perfect import of Visio drawings, since  Draw is a direct competitor to it. I extracted a metafile from your SVG-exported Visio drawing and base64-decoded it. Unfortunately, it does not look like a plain WMF (see the attached file [[/Topologyanon.svg.meta Topologyanon.svg.meta]]). Unix file type detection reports &amp;quot;data&amp;quot;, and I&amp;#039;m not able to load this file e.g. in Draw. Could you help unraveling those mysterious metafiles? Are you able to load the extracted metafile in any M$-Products?&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;m unable to open that file in MS Visio, MS Paint, Windows Picture &amp;amp; Fax Viewer, Gimp or Dia. One thing I notice, however, is that some Visio diagrams in my possession do open successfully as SVGs in Draw - I attach an example.&lt;br /&gt;
It may be that the key here is in the nature of the original Visio shapes used to construct the drawing. I will see whether I can establish anything useful on this question.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Maybe, these drawings contain only bitmap icons even in the Visio source. Then, enabling bitmap import will produce a comparable drawing in . The image you attached that is imported correctly contains an embedded SVG image as replacement for the mysterious metafile. SVGs embedded in SVGs are handled correctly by the import filter.&lt;br /&gt;
&lt;br /&gt;
Bitmap import is on the [[Main_SVGImportTodo|SVGImportTodo]] list.&lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;SVG file stays locked after import&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Also the .svg file remains open in soffice.bin even after Draw has been closed, which causes problems if I re-open it using a different application. Not sure if this is a filter issue, though...&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 06 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
PS I confirm that SVG files stay open in soffice.bin after Draw is closed, though other types of drawing file are closed with the application. I presume that this really is a filter issue.&lt;br /&gt;
&lt;br /&gt;
-- MartinTaylor - 10 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can confirm this issue. Even if the file is not locked on Unix after import, there is an open file handle that stays open until  is closed. I tried a quick fix, but this did not help. Therefore, it&amp;#039;s another item on the [[Main_SVGImportTodo|SVGImportTodo]] list. &lt;br /&gt;
&lt;br /&gt;
-- BernhardHaumacher - 12 Oct 2005&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;allow text scaling (draw:fit-to-size=&amp;quot;true&amp;quot;)&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If an svg contains text, then that text is not scalable when imported into writer. This has also the unpleasant side effect that the image is incorrectly aligned with the page. A correctly aligned, scalable image is obtained by adding the tags&lt;br /&gt;
&lt;br /&gt;
draw:auto-grow-width=&amp;quot;false&amp;quot; draw:auto-grow-height=&amp;quot;false&amp;quot; draw:fit-to-size=&amp;quot;true&amp;quot;&lt;br /&gt;
&lt;br /&gt;
to the text frame style. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
-- Gerd - 09 Dec 2005&lt;br /&gt;
&lt;br /&gt;
PS: I only found an edit button at the top  ;-)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg|Topologyanon.svg MS Visio drawing exported to SVG.]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Topologyanon.svg.meta|Topologyanon.svg.meta Extracted and base64-decoded metafile embedded in Topologyanon.svg]]&lt;br /&gt;
&lt;br /&gt;
[[Bild:Main_SVGUserExperiences_Network20041207.svg|Network20041207.svg ]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h2&amp;gt;Installing SVG and Java 1.5&amp;lt;/h2&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve installed the SVG filter into the Novell Version of OpenOffice 2.0 that came with SuSE 9.3.  There were some minor problems.&lt;br /&gt;
&lt;br /&gt;
First SuSE 9.3 comes with Java 1.4.2, so to install the new filter I needed to download version 1.5.0.  I found that the java.sun.com site (given above) had information on installing the system (see http://java.sun.com/j2se/1.5.0/jre/install-linux.html), but to actually download java 1.5 it is necessary to go to www.java.com.&lt;br /&gt;
&lt;br /&gt;
Second was the question of where to unpack the distribution.  SuSE places java 1.4 under /usr/lib/jvm.  For files which are not part of the main distribution the Filesystem Hierarchy Standard recomends /usr/local.  I created a directory java under this and installed java 1.5 there.  OpenOffice then found the distribution there without any problem.&lt;br /&gt;
&lt;br /&gt;
I downloaded the SVG filter file svg-import-v2131.uno.zip, but then made the error of unzipping the file before adding the macros to OpenOffice.  Each of the three macro files then has to be added separately for the system to work.  A better method, which OpenOffice supports, is to import the whole zip file.  &lt;br /&gt;
&lt;br /&gt;
Took a bit of time but the result is really worthwhile.  Thanks guys.  &lt;br /&gt;
&lt;br /&gt;
[[User:David webb|David webb]]&lt;br /&gt;
&lt;br /&gt;
p.s. All I need now is a way of directly importing ps and eps files which allows me to edit individual lines within OpenOffice.&lt;/div&gt;</summary>
		<author><name>David webb</name></author>
	</entry>
</feed>