After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 650527 - Visio export (vdx export) not formatting text labels correctly
Visio export (vdx export) not formatting text labels correctly
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: exports
0.97.x
Other All
: Normal normal
: 0.98
Assigned To: Dia maintainers
Dia maintainers
: VDX_LocPin (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-05-18 20:59 UTC by Jonathan Lampe
Modified: 2014-08-29 17:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Zip file containing original DIA project file, a bad Visio export file and a good PDF export file (47.66 KB, application/x-zip-compressed)
2011-05-18 20:59 UTC, Jonathan Lampe
Details
rendered (46.58 KB, image/png)
2011-05-23 12:03 UTC, ericdf
Details
Omnigraphl rendered (from visio xml export) (38.10 KB, image/png)
2011-05-23 12:05 UTC, ericdf
Details
The original dia file for the examples (1.83 KB, application/x-dia-diagram)
2011-05-23 12:07 UTC, ericdf
Details

Description Jonathan Lampe 2011-05-18 20:59:37 UTC
Created attachment 188076 [details]
Zip file containing original DIA project file, a bad Visio export file and a good PDF export file

Dia 97.1's Visio export (vdx export) is not formatting text labels correctly. 

When I export, all my text labels are moved far to the right of their original location.  For example, text that is centered in a box may be exported in Visio format as beginning on the far right side of a box.  

Furthermore, text in the labels is not moved consistently: different lines are shifted by different amounts, and the amount doesn't seem tied to the length of the text in the line or anything else predictable.  

This behavior is not present in the PDF export, which is the other export facility I'd like to use a lot.
Comment 1 ericdf 2011-05-23 12:03:30 UTC
Created attachment 188370 [details]
rendered
Comment 2 ericdf 2011-05-23 12:04:10 UTC
I've tried to export some graphs I made with dia 0.97.1 as Visio XML
If I try to read them from Visio 2010/Vista and Omnigraphl 5.2.3/OSX I see what is described up here and more.

_ The text are outside the boxes, too much on the right.

_ Each UML "activity" is translated into a bold rounded rectangle (which seems right) but the translator also adds a thin rectangle and an horizontal line.

You will find attached an example with the graph made on dig then how Omnigraphl renders it (which looks very much like Vision 2010 renders it)
Comment 3 ericdf 2011-05-23 12:05:35 UTC
Created attachment 188372 [details]
Omnigraphl rendered (from visio xml export)
Comment 4 ericdf 2011-05-23 12:07:50 UTC
Created attachment 188375 [details]
The original dia file for the examples
Comment 6 Hans Breuer 2013-11-19 20:29:53 UTC
*** Bug 684763 has been marked as a duplicate of this bug. ***
Comment 7 Hans Breuer 2014-08-29 17:03:52 UTC
*** Bug 684763 has been marked as a duplicate of this bug. ***