Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter, but leave the old version in as deprecated for now
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633114 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d601a0b4b7
commit
0677bb2cff
@ -627,11 +627,18 @@ public class HSSFSheet
|
||||
record.setVCenter(value);
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: Boolean not needed, remove after next release
|
||||
* @deprecated use getVerticallyCenter() instead
|
||||
*/
|
||||
public boolean getVerticallyCenter(boolean value) {
|
||||
return getVerticallyCenter();
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine whether printed output for this sheet will be vertically centered.
|
||||
*/
|
||||
|
||||
public boolean getVerticallyCenter(boolean value)
|
||||
public boolean getVerticallyCenter()
|
||||
{
|
||||
VCenterRecord record =
|
||||
(VCenterRecord) sheet.findFirstRecordBySid(VCenterRecord.sid);
|
||||
|
Loading…
Reference in New Issue
Block a user