Bug ID: 102338
           Summary: shrink-to-fit text causes extraneous column to exist
                    and print
           Product: LibreOffice
           Version: Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc

Created attachment 127531
demo spreadsheet

Appending text to a cell formatted with "shrink to fit" can cause another
column to spring into existence.  The empty column is forced to be printed.  If
there is not enough room horizontally, then extra page(s) are printed
containing nothing.

It is as if LO examines a cell to see if it would overflow the cell width
before realizing that overflow is impossible because "shrink to fit" is in

In the attached spreadsheet, all cells in the first row are "shrink to fit",
yet if the text in the right-most cell is "too long", an extraneous column is
forced to exist and be printed.


1. Open attached demo spreadsheet.
2. View->Page Break checked
3. Edit B1 to replace the "x" with "shrinked"
4. (optional) Print Preview

RESULTS: Column C springs into existence, even though empty, and is printed.

EXPECTED RESULTS: No new column appears; the text in B1 is shrunk to fit B1
without altering the number of columns or pages printed.

You are receiving this mail because:
You are the assignee for the bug.
Libreoffice-bugs mailing list

Reply via email to