GNOME Bugzilla – Bug 707713
Add support for dia diagrams
Last modified: 2014-01-09 16:55:12 UTC
Created attachment 254391 [details] [review] Adds dia support to doxygen The attached patch adds support for including .dia-files directly in doxygen documentation using a \diafile keyword. The support for dia-files is heavily based on \mscfile. Notes: - I don't think there's much point in supporting \dia \enddia, so there's only an \diafile. - I only tested html and latex output. I am unsure how docbook output should look, but I added docbook-support modeled on the msc-support. This patch was done as a part of my first serious look into the doxygen source code, so assume that there are things I have missed to update.
Thanks, I'll include the patch in the next GIT update.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.6. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferrably in the form of a self-contained example).
Created attachment 265479 [details] Bug demonstration Unzip and run doxygen. View the generated html/index.html.
Re: previously attached attachment: Png generated from Dia does not display correctly in FireFox 26.0, but does in IE 11. The new Dia handler is inserting an absolute rather than relative path for the img src, which Firefox considers a security issue. @see http://stackoverflow.com/questions/13802244/firefox-doesnt-show-image-on-ie-works-fine Proposed Fix: Teach doxygen to use relative paths for Dia img src.
Corrected mistaken closed-bug-hijack by moving problem report to https://bugzilla.gnome.org/show_bug.cgi?id=721878.