Re: Tool for converting PowerPoint angle to degree

2017-02-13 Thread Regina Henschel

Hi Tomaž,

Tomaž Vajngerl schrieb:


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.



I'll add it there. It looks indeed suitable.

Kind regards
Regina

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Tool for converting PowerPoint angle to degree

2017-02-12 Thread Tomaž Vajngerl
Hi Regina,

On Sun, Feb 12, 2017 at 10:55 PM, Regina Henschel
 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 /6. 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 /6 ?

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ž
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Tool for converting PowerPoint angle to degree

2017-02-12 Thread Regina Henschel

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 /6. 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 /6 ?


Kind regards
Regina
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice