Closed GoogleCodeExporter closed 9 years ago
This requires server support, as client JS cannot achieve this. However, www sql
designer is mainly client-based. Therefore, I cannot do this (until someone
wishes to
completely duplicate wwwsql functionality on server and is able to send a
"patch").
Original comment by ondrej.zara
on 8 Jun 2009 at 3:16
there are multiple ways to achieve the thing.
* draw the whole thing on a <canvas> element, that can be right-clicked & saved
* generate an svg document
* generate a vml document
depending on the browser ;)
Original comment by amaury.j...@gmail.com
on 9 Jun 2009 at 5:49
Most of the visual layout of WWWSQL is done via HTML+CSS (only connector lines
are
vectors). Mimicking this in _any_ way (yes, including svg/vml/canvas
approaches) is
basically duplicating the code - something I strongly opt against. Therefore,
this
issue remains as "wontfix", until somebody insane enough submits a patch.
Original comment by ondrej.zara
on 9 Jun 2009 at 9:03
SVG could be generated by iterating over the tables, rows and connectors and
presenting a pop-up window
where it could be copied from. No code duplication is necessary, as all object
properties (colors, sizes, etc) will
be copied verbatim from existing DOM. I will work on it -- eventually.
Original comment by ober.14@osu.edu
on 28 Dec 2009 at 5:58
Keep in mind that this might be more difficult than you think. First, tables
are HTML
and there is no trivial html <-> svg bijection available. Second, there is no
SVG in
IE. Third, SVG lacks some features present in HTML+CSS, such as word/line
wrapping -
SVG test just does not wrap.
Original comment by ondrej.zara
on 28 Dec 2009 at 8:56
Issue 108 has been merged into this issue.
Original comment by ondrej.zara
on 27 Sep 2010 at 10:25
Original issue reported on code.google.com by
amaury.j...@gmail.com
on 8 Jun 2009 at 2:32