GNOME Bugzilla – Bug 683700
how to work with visio files? vdx full of errors
Last modified: 2013-08-16 19:21:00 UTC
Created attachment 223881 [details] problem with the coding dia Many schemes in the format vsd. The problem is how to open it for editing in the DIA. The only contiguous format - VDX - in DIA opens incorrectly after having been created in Visio. Many elements of the offset, a violation of the group. Most often seen when working with documents Visio 2007-2010. how to get an editable and subsequent use of the scheme, without creating a new scheme? except incorrect opening, DIA over time an error and crashes when it opened Vdx file.
Created attachment 223882 [details] DIA--appcrash
Created attachment 223884 [details] called appcharsh
Not a fix, but possibly a workaround: If you would like to import VSD files to Dia, you could try vsd2svg and import the resulting svg file: http://dia-installer.de/vsd2svg Besides importing, you can also insert the SVG files as image objects in Dia - this way, gradients will be preserved.
Created attachment 223947 [details] called appcharsh.dia - imported and saved with current master I've checked your file with dia-0.97.2 and current master. I see three issues besides some warnings: - somehow the anti-aliased rendering with cairo is broken diacairo-renderer.c:1008, invalid matrix (not invertible) - the error message dialog crashes when "Show repeated messages" is clicked - only with master some of the text is scrambled
Created attachment 225084 [details] Latest version saved as "called appcharsh-2012-09-24.dia" The invalid matrix is no longer passed to cairo (scaling with 0): http://git.gnome.org/browse/dia/commit/?id=49fb1a8638bc932b726add6cabb6b4dab3296ca7 Apparently the scrambled text is with both branches, now fixed on master: http://git.gnome.org/browse/dia/commit/?id=99dc2c8bfa2bb3143a0d1f6247b98da2424f21f3 The master branch has changes related to the message dialog, too. If someone would do the back-port to dia-0-97 that change should be different. Just adding a newline to message_error() in vdx-xml.c should be enough. I'm attaching the newest version the diagram as imported with Dia master. It still shows "Can't decode object EventMultiDrop" but it does not prohibit further working with the file. There are still smaller issues (Dia does not support rotated text, gradients, ...) but IMO the above changes justify to consider this fixed.
Merge crash avoiding parts to dia-0-97 branch: https://git.gnome.org/browse/dia/commit/?h=dia-0-97&id=61431fec37ed855db7284c6737cb3777577cc904