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 2014/05/09 12:17:47 UTC
[Bug 56509] New: Page size letter as default only goes well for
united states
https://issues.apache.org/bugzilla/show_bug.cgi?id=56509
Bug ID: 56509
Summary: Page size letter as default only goes well for united
states
Product: POI
Version: 3.10
Hardware: All
Status: NEW
Severity: enhancement
Priority: P2
Component: HSSF
Assignee: dev@poi.apache.org
Reporter: guenther.demetz@wuerth-phoenix.com
We discovered, that if not specifying explicitly any page size, by default each
sheet's page size is set to HSSFPrintSetup.LETTER_PAPERSIZE.
Well this paper size is the most common type in North America, Bolivia,
Colombia, Venezuela, the Philippines and Chile but the common page size in the
the rest of the word is the ISO Standard A4.
Our users in Europe complain about always have to change the paper size on each
sheet before going to print them.
PROPOSED SOLUTION:
Simply not predefine any default paper size in POI.
In this way the default page size of the selected printer get considered.
If inded a user wants a specific paper size, he always can set it explicitly by
using PrintSetup#setPaperSize.
IMHO this would be the more reasonable approach.
Currently to reach this behavior we explicitly set the page size
to the undocumented PAPERSIZE value 0.
WORKAROUND: sheet.getPrintSetup().setPaperSize((short) 0);
--
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
[Bug 56509] Page size "letter" as default
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56509
Nick Burch <ap...@gagravarr.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |WONTFIX
--- Comment #1 from Nick Burch <ap...@gagravarr.org> ---
Removing the current default would be a backwards incompatible change, so I
can't see us doing so given there's an easy workaround
I've added a new constant of SYSTEM_DEFAULT_PAPERSIZE = 0 to hopefully make it
easier for people to pick that if they want to, without breaking existing code
--
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
[Bug 56509] Page size "letter" as default
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=56509
guenther <gu...@wuerth-phoenix.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Page size letter as default |Page size "letter" as
|only goes well for united |default
|states |
OS| |All
--
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