https://issues.apache.org/bugzilla/show_bug.cgi?id=49273
Summary: Font.getCharSet return byte is error
Product: POI
Version: 3.6
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: XSSF
AssignedTo: [email protected]
ReportedBy: [email protected]
Sample XSSFont.getCharSet:
public byte getCharSet() {
CTIntProperty charset = _ctFont.sizeOfCharsetArray() == 0 ? null :
_ctFont.getCharsetArray(0);
int val = charset == null ? FontCharset.ANSI.getValue() :
FontCharset.valueOf(charset.getVal()).getValue();
return (byte)val;
}
//When val great 127,then (byte)val is negative!
//So return type is should change to int
--
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: [email protected]
For additional commands, e-mail: [email protected]