poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52574] Sheet.HeaderMargin & Sheet.FooterMargin only supported in XSSF
Date Mon, 27 Feb 2012 15:34:11 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52574

Yegor Kozlov <yegor@dinom.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Yegor Kozlov <yegor@dinom.ru> 2012-02-27 15:34:11 UTC ---
Fixed in r1294181

Actually you could set header/footer margins in HSSF, but in a different
manner:

        sheet.getPrintSetup().setFooterMargin(margin);
and
        sheet.getPrintSetup().setHeaderMargin(margin);

Now setMargin correctly handles all types, the same behavior as in XSSF.

Yegor

-- 
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


Mime
View raw message