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 49185] Implementation of HSSFName#getComment - descriptive text or comment record
Date Mon, 26 Apr 2010 10:39:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49185

--- Comment #1 from Nick Burch <nick.burch@alfresco.com> 2010-04-26 06:39:23 EDT ---
I think NameCmt may be quite a new thing

HSSFName is backed by a NameRecord (sid=0x18), which is called a "Lbl" in the
newer Microsoft docs (page 323 in v20091214)

HSSFName stores the comment in the DescriptionText field of NameRecord (field
15).

Interestingly, the latest docs on Lbl says that the various extra length fields
(eg the description) are reserved and must be zero, so clearly Microsoft have
changed something at some point. This would explain why new files don't have
comments in the same way

I'd suggest you add support for the NameCmt record, and update HSSFName to
check it if the description text on a NameRecord is of length zero

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