OASIS Open Document Format for Office Applications (OpenDocument) TC

  • 1.  Angle units (Re: [office] OpenDocument TC Coordination Call Minutes 2006-07-10)

    Posted 01-17-2008 22:49
    On Tuesday 11 July 2006, Lars Oppermann wrote:
    > 4. OpenDocument 1.1
    > 
    > Degrees vs. radiants.
    > In general, it should be clarified in the spec, that angle measurements
    > are in units of degrees for draw-elements and -attributes.
    
    It seems that this old resolution hasn't been fully applied in the 1.1 
    specification, nor to the current version of 1.2.
    
    In 1.2-draft6 we found:
    
    "9.5.5.6. Glue Point Leaving Directions
    The draw:glue-point-leaving-directions attribute contains a comma separated 
    list of angles in grad."
    
    and:
    
    "9.5.8.5 Handle Position
    [...]
    the first parameter of the draw:handle-position attribute specifies the angle 
    in grad, the handle radius is specified by the second parameter"
    
    Another thing we noticed is that this unit description is missing in
    15.15.1.7 Angle   (draw:angle, in the gradient section).
    I guess we should do what SVG does. From quick googling it seems 
    that svg allows all three types of angle, like we do for units, as part of the attribute?
    (like "180deg"). That would be a solution too, but well, if we just standardize everything
    on degrees that's a simpler solution.
    
    
    Can the spec be changed to specify degrees for those three angles?
    
    -- 
    David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
    Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
    


  • 2.  Re: [office] Angle units (Re: [office] OpenDocument TC Coordination Call Minutes 2006-07-10)

    Posted 01-21-2008 15:52
    On Thursday 17 January 2008, David Faure wrote:
    > Can the spec be changed to specify degrees for those three angles?
    
    There might be a compability issue here though, since OOo currently generates
    an angle in tens of degrees (!)
    
    Sven wrote:
    > Here is a snippet from a file a generated with OOo using a 63 degrees gradient:
    
    > 


  • 3.  Re: [office] Angle units (Re: [office] OpenDocument TC CoordinationCall Minutes 2006-07-10)

    Posted 01-24-2008 10:18
    David, all,
    
    this is what Christian Lippka thinks of your suggestions:
    
    > I agree with David here to write out the unit so that we are able to fix old documents. Documenting  that we export
    > the degree x 10 does not sound like a good solution for the format.
    > I would further recommend to define angles with given unit for all attributes that store angles to be consistent, even
    > if they are already documented to use degrees. 
    
    What you and Christian say all sounds reasonable to me.
    
    I've checked what units SVG, CSS2 and XSL-FO provide:
    
    http://www.w3.org/TR/SVG11/types.html#BasicDataTypes
    http://www.w3.org/TR/CSS2/syndata.html#q19
    http://www.w3.org/TR/xsl/#azimuth
    
    In all three cases, it is "deg", "rad" and "grad".
    
    Does someone has a list of all attributes that would be affected by this 
    change?
    
    Best regards
    
    Michael
    
    David Faure wrote:
    > On Thursday 17 January 2008, David Faure wrote:
    >> Can the spec be changed to specify degrees for those three angles?
    > 
    > There might be a compability issue here though, since OOo currently generates
    > an angle in tens of degrees (!)
    > 
    > Sven wrote:
    >> Here is a snippet from a file a generated with OOo using a 63 degrees gradient:
    > 
    >>