On Mon, Jan 31, 2005 at 12:49:14PM -0500, Daniel Carrera wrote:
Peter Moulder wrote:
> The
http://www.groklaw.net/article.php?story=20050130002908154 article
> says "OpenDocument had [prior to submission to TAC] [the advantage of]
> [r]euse of existing open standards when possible (SVG, [...])."
>
> Is this correct?
>
> Later, the article says "Enhancements such as XForms, SVG, and SMiL were
> needed to meet the `custom-defined schema' requirement."
>
> Does this mean that OpenDocument supports both SVG and this strange
>
OpenOffice.org Draw format? Why the duplication?
OpenDocument is not attached to OOo.
OpenDocument does not include the old OOoDraw format, but it has its own
format which is similar, and was inspired by the old format.
Does this mean that OpenDocument supports both SVG and some strange
format unique to OpenDocument? Why the duplication?
My understanding (I'm no expert) is that OpenDocument uses only
one format
for images, but they regularly copied SVG attributes, using an svg:
namespace. For example, here is a rectangle:
<draw:rect
draw:style-name="gr1" draw:text-style-name="P1"
draw:layer="layout"
svg:width="7.62cm" svg:height="5.715cm" svg:x="8.89cm"
svg:y="9.525cm">
So it includes SVG attributes and non-SVG ones.
Support for this format would be much better if it maximized its use of
SVG such that the many existing SVG applications could at least render
it. E.g. the above would become
<svg:rect
class="gr1 P1" draw:layer="layout"
width="7.62cm" height="5.715cm" x="8.89cm"
y="9.525cm" />
where only the `draw:layer' part isn't in SVG; note that this part isn't
relevant to rendering the document[*1], and isn't necessary even for
editing the document.
[*1] If OpenDocument layers can express "don't render any of the objects
in layer `foo'", then have a stylesheet rule [layer=foo] { display:none }
pjrm.