[Libreoffice] Patch for ignoring preceding and trailing spaces in cell during csv import

Takeshi Abe tabe at fixedpoint.jp
Tue Dec 14 01:36:21 PST 2010


Hi Kohei,

On Mon, 13 Dec 2010 16:28:34 -0500, Kohei Yoshida <kyoshida at novell.com> wrote:
> I'd like to port a patch to the libreoffice-3-3 branch to ignore
> preceding and trailing spaces in cells during csv import.  The change is
> already committed on master, and the attached is the total difference
> against the current libreoffice-3-3 branch.  The change on master
> consists of several commits.
(snip)
> will be imported as three number cells.  Currently, Calc imports number
> cells as strings in presence of spaces before or after the number.
Great, I would like this stuff for 3.3!

BTW why not check also horizontal tab '\t' or others of the isspace(3) family?

Cheers,
-- Takeshi Abe


More information about the LibreOffice mailing list