https://bugs.documentfoundation.org/show_bug.cgi?id=127027

            Bug ID: 127027
           Summary: [FORMATTING] automatic column size for strings seems
                    to be adjusted to string character count, not
                    effective size (it disregards newline characters)
           Product: LibreOffice
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: xtrajo...@gmail.com

Description:
I have a collection (CSV file) of very long strings containing newline
characters to improve readability (not my choice - the API forces me to).
When opening the CSV with LibreOffice Calc, the vertical size of the cells
containing the 'array strings' is correct (shows multiple lines), but the
horizontal cell size seems to be determined by the character count of the
longest string, disregarding newline characters. As a result, the column is
much broader than needs to be for this kind of content. It should only be as
broad as the longest line (which ends on a newline character).

Note: I don't know the earliest affected version, but it's been this way for as
long as I can remember. At least 2 years?

Steps to Reproduce:
1.create long strings that contain newline characters
2.save to csv
3.open again with Calc

Actual Results:
column with long strings is very broad

Expected Results:
column with long strings should be as broad as the longest line (which ends on
a newline character)


Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to