OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [office-comment] units for angles test files


Jos,

Thanks for the tests!

Hope you are having a great day!

Patrick

On 04/24/2012 05:15 AM, Jos van den Oever wrote:
On Tuesday 24 April 2012 10:29:49 AM Jos van den Oever wrote:
Here are three test files that contain a rotated rectangle. The rotation is
done by draw:transform="rotate (0.785)". 0.785 is PI / 4 which corresponds
to 45 degrees. In Calligra 2.4.0 and LibreOffice 3.5, this rectangle is
shown rotated 45 degrees for the ODF 1.0, 1.1 and 1.2 files. It would be
useful to check the interpretation of angles in other applications too.
AbiWord and WebODF do not support draw:rect at the moment.

http://tools.oasis-open.org/issues/browse/OFFICE-3750

Here is a summary of some testing. The rectangle is represented by / or \
for 45 degrees clockwise or counterclockwise. An empty space means, that
it is not shown.

                    1.0 1.1 1.2
Calligra 2.4.0       /   /   /
LibreOffice 3.5.1.2  /   /   /
Microsoft Word 2010  \   \   \
Abiword 2.8.6
WebODF master

Microsoft 2010 only opened the v1.2 file after a number of file dialogs
that claimed the file was corrupted.

None of these implementations interpreted the angle in degrees, all
interpreted it as radians.
Another set of test files with skewX and skewY. The angle is taken to be in 
degrees for skewX and skewY by applications that interpret it. But again, the 
direction of rotation varies.

                    skewX        skewY
                    1.0 1.1 1.2  1.0 1.1 1.2
Calligra 2.4.0       /   /   /    /   /   /
LibreOffice 3.5.1.2  /   /   /    \   \   \
Microsoft Word 2010  -   -   -    -   -   -

(- means the object is not skewed)

Cheers,
Jos





-- 
Patrick Durusau
patrick@durusau.net
Chair, V1 - US TAG to JTC 1/SC 34
Convener, JTC 1/SC 34/WG 3 (Topic Maps)
Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300
Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
OASIS Technical Advisory Board (TAB) - member

Another Word For It (blog): http://tm.durusau.net
Homepage: http://www.durusau.net
Twitter: patrickDurusau 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]