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


Sure there is no possibility to check if it's a column or range and to
give a message likewise?

2011/6/2 Jean-Baptiste Faure <jbf.faure@orange.fr>:
Hi Kohei, all,

Well, despite the IBM/Oracle announce, I want to fix issue 75199 which
is present in LibreOffice too :
http://openoffice.org/bugzilla/show_bug.cgi?id=75199
For that I need some help.

Summary:
The error message is triggered at
http://opengrok.libreoffice.org/xref/calc/sc/source/ui/docshell/docsh.cxx#1202
It is easy to replace the string SCWARN_IMPORT_RANGE_OVERFLOW by
SCWARN_IMPORT_COLUMN_OVERFLOW but I do not know if it is the right
solution. Indeed it is not clear for me if, when the variable bOverflow
is set at true, we know if it is a problem with rows or with columns.
The name of the current string message suggests that we do not know.
In that case maybe the right solution is to modify the message itself
with a less precise content. Perhaps something like
"The maximum number of rows or columns has been exceeded. Excess rows
and columns were not imported!".

On the other hand in this issue there is never done mention of rows,
only columns. But it is easy to verify that if you try to import a file
with more than 1048576 rows, you get the same error message.

So what do you prefer to fix this bug?
1/ replace SCWARN_IMPORT_RANGE_OVERFLOW by SCWARN_IMPORT_COLUMN_OVERFLOW
because excess of column maybe is more probable. The most easy fix but
surely not the best.
or
2/ change the content of SCWARN_IMPORT_RANGE_OVERFLOW
or
3/ something else but what ?

Best regards
JBF

--
Seuls des formats ouverts peuvent assurer la pérennité de vos documents.
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


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.