Tool for converting PowerPoint angle to degree

Tomaž Vajngerl quikee at gmail.com
Sun Feb 12 22:21:03 UTC 2017


Hi Regina,

On Sun, Feb 12, 2017 at 10:55 PM, Regina Henschel
<rb.henschel at t-online.de> wrote:
> Hi all,
>
> I'm looking at https://bugs.documentfoundation.org/show_bug.cgi?id=99617
> The reason for that bug is a missing convert from the PowerPoint angle unit
> to degree. I can correct it by /60000. But I think, that converting between
> PowerPoint angle unit and degree is such a common task, that there should
> already exist a tool. But I do not find such method.
>
> If it not exists, shall I write it, if yes where? Or shall I simple fix it
> by /60000 ?

Seems like there is a good place in
include/oox/drawingml/drawingmltypes.hxx (where EMU to 100th
conversion is) and as far as I see PER_DEGREE constant is what you are
searching for. If you'll add a conversion method I think it is best to
add it into this header too.

> Kind regards
> Regina

Regards, Tomaž


More information about the LibreOffice mailing list