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

            Bug ID: 157991
           Summary: Print scaling not applied when using single column,
                    column wider than page width, with text-wrapping
           Product: LibreOffice
           Version: 4.2.6.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: tmac...@gmail.com

Description:
LO Calc is not applying print scaling when:
* Page Scaling is applied to Page Format
* A sheet only uses one column (A)
* Column A is wider than the page format
* A cell in column A uses text wrapping and contains cells that wraps
Print preview shows that column A is not scaled and is chopped off the right
side of the sheet.

Steps to Reproduce:
1 New Spreadsheet

2 Enable shrink print ranges to 1 page
  * Format -> Page Style -> Sheet
  * Scale -> Scaling mode -> Shrink print range(s) on number of pages, number
of pages: 1
  * OK

3 Set column width to be wider than page format width
  * Right click header for column A -> "Column Width"
  * 9 inches (or wider than page format width)
  * OK

4 Enable text wrapping on cell
  * Right click A1 -> Format Cells -> Alignment -> Enable "Wrap text
automatically"
  * OK

5 Add long text to A1
  * Paste some long text into A1: "Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Morbi sollicitudin, odio et commodo dapibus, mi ex imperdiet
lacus, eu tincidunt nisi neque ac mi. Nunc efficitur, nulla a euismod
consectetur, odio urna aliquam enim, a pellentesque leo mauris a metus."

6 Print Preview

Actual Results:
Cell A1 is not scaled and extends beyond page margins, cutting off text.

Expected Results:
Cell A1 should be scaled to fit within page margins and all text should be
printed.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
If we add some text to column B, column A and B scale correctly.  It also seems
to scale properly if insert a new column to the left of column A.

I'm setting the version to the earliest version I have access to, which is LO
4.2.6.2.  But it also affects 7.5.7.1.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to