https://bugs.freedesktop.org/show_bug.cgi?id=85914

            Bug ID: 85914
           Summary: Shrink to fit cell size cuts text by omitting words
                    which would have overflown if using original size
           Product: LibreOffice
           Version: 4.3.2.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Spreadsheet
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tonic+fdlobugzi...@iki.fi

Problem description: 

Steps to reproduce:
1. Pick a cell (let's call it B4) in LibreOffice Calc. Right click->Format
Cells...->Alignment->Enable "Shrink to fit cell size" under Properties. (Note
with extra detail: The bug is tested to appear when using a wide cell which is
merged from columns B to G, where G is the rightmost column of printable area.
Use Arial with size 10.)
2. Write long enough text to the cell B4 which wouldn't fit to the cell but
would instead overflow with the selected font size 10 (test case had two words
which wouldn't fit).
3. Since the "Shrink to fit cell size" is enabled, the text is shown with small
enough font size on screen that the text fits in cell. Use print preview or
print the page to see the bug.

Current behavior: (tested with version 4.3.2)

The last words of the text get omitted from the cell when printing, even if
they are properly shown in the editing mode. The words which are omitted are
ones which wouldn't fit when using the original font size, as if the shrink
option would have been forgotten at some point of the code and overflowing
words are removed, even if the end result is still using the smaller font size
selected by the shrink option.

Expected behavior: (worked fine in 4.2.4)

Full cell text is printed as expected.

-- Note: I have used this feature over many versions, earlier in OpenOffice.org
and now later over several versions of LibreOffice.

This is broken with this latest version I changed to (4.3.2), but was working
fine with the previous one I used (4.2.4).

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

Reply via email to