Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


Hi,

I tried to solve bug 74172
https://bugs.documentfoundation.org/show_bug.cgi?id=74172
but I got stuck:

In case of setting a numeric or decimal number the LO code calls
the prepared statement's setInt function, which has only an integer
value as parameter, but no scale. I assumed first that
setObjectWithInfo will be called as it is the only one with a "scale"
parameter, but instead setInt is called. So how can I get the scale?
Is there any documentation for that?
Or a code pointer in the LO code (which uses the sdbc driver,
where setInt is called) may be useful as well.

Another problem is that I cannot change the "Length" (precision) and
"Decimal places" (scale) field properties in Table Design mode. There
might be some unimplemented functions, but I couldn't find the
documentation for that.
To reproduce:
create table -> setting a new decimal field (you can only do that after
applying my changes) -> click on Decimal places Field property in the
bottom -> Try to type in some number. Won't work.

My changes:
https://gerrit.libreoffice.org/30447

Tamás Bunth

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.