• Michael Stahl's avatar
    xmloff: fix ODF import of gradient draw:angle attribute a bit · aadda5d1
    Michael Stahl yazdı
    ODF 1.2 part 3, 18.3.1 angle, says "An angle, as defined in §4.1 of
    [SVG]" and "If no unit identifier is specified, the value is assumed to
    be in degrees."
    
    Unfortunately OOo could only read and write 10th of degree here.
    
    See also https://issues.oasis-open.org/browse/OFFICE-3774
    
    As the first step towards fixing that, implement the import for
    draw:angle values with an angle unit identifier, but leave the import
    as-is if the angle identifier is missing.
    
    Change-Id: Ib88d417c03998ebcfc569b01492f0e1f851bbc85
    aadda5d1
CppunitTest_sd_import_tests.mk 3.21 KB