Hi Regina,
On Sun, Feb 12, 2017 at 10:55 PM, Regina Henschel
<rb.henschel@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ž
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.