You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2009/12/01 08:59:06 UTC

DO NOT REPLY [Bug 43693] setLandscape(true) has no effect on a loaded sheet.

https://issues.apache.org/bugzilla/show_bug.cgi?id=43693

Vinu Kumar <vi...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
                 CC|                            |vinu.kumar@gmail.com

--- Comment #4 from Vinu Kumar <vi...@gmail.com> 2009-11-30 23:59:03 UTC ---
I am able to reproduce this behaviour. The methods work fine in xlsx file while
they dont work in xls file. The client in MS Excel 2007. 

            PrintSetup setup = s.getPrintSetup();
            setup.setPaperSize(PrintSetup.LEGAL_PAPERSIZE);
            setup.setLandscape(true);

Print properties for an xlsx file show the paper size as LEGAL and it is also
set to landscape mode, whereas in xls file the paper size is A4 (default) and
its set to portrait.

Note: The get methods show the correct values

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org