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: [email protected]
Reporter: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]